DotCi icon indicating copy to clipboard operation
DotCi copied to clipboard

Build reported failed for unknown reason

Open lstephen opened this issue 10 years ago • 3 comments

It appears that the docker image is created and the build executed successfully, but the build gets reported as a failure. Last lines of build log:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.595 s
[INFO] Finished at: 2015-02-20T20:55:31+00:00
[INFO] Final Memory: 26M/189M
[INFO] ------------------------------------------------------------------------
[ai-search] $ /bin/bash -le /tmp/hudson5602393760619279595.sh
stdin: is not a tty
Build step 'Execute shell' marked build as failure
setting commit status on Github for https://github.com/lstephen/ai-search/commit/b085bbf3198c18ed2c602cc0c461395459ebe67a
Finished: FAILURE

My .ci.yml:

image: maven:3-jdk-8
command:
  - mvn -B package

lstephen avatar Feb 20 '15 22:02 lstephen

@lstephen looks something complaining about the shell not being a real tty.

[ai-search] $ /bin/bash -le /tmp/hudson5602393760619279595.sh stdin: is not a tty

suryagaddipati avatar Feb 20 '15 22:02 suryagaddipati

The build failure may be related to the bug fixed by the commit here: ab308de8185c59edf89211cac587acea277040c4

If I add a link to a postgres container the build is reported as passed.

The error regarding stdin seems to be annoying rather than critical (I get it at the beginning of the build process also). The null seems a little strange too.

Started by user anonymous
null
Building in workspace /var/jenkins/workspace/lstephen/ai-search
[ai-search] $ /bin/bash -le /tmp/hudson7186231254679672245.sh
stdin: is not a tty
$  docker run -d --name postgres_latest_54e7978560b2e2333a8047042015-02-20_22-36-08 postgres:latest

lstephen avatar Feb 20 '15 22:02 lstephen

@lstephen noted. Will get this fixed soon.Thanks for reporting it.

suryagaddipati avatar Feb 20 '15 23:02 suryagaddipati