The job runs, all tests pass, sauce job also looks normal/success.. Jenkins job reports Build Success and the tests reports show all passed. Even so the job is marked as a failure.
I looked in the logs an I noticed this - which might be the culprit.
Feb 01, 2016 8:09:40 PM hudson.triggers.SafeTimerTask run
SEVERE: Timer task hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl$TimeoutTimerTask@68416dbd failed
java.lang.NullPointerException
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.getCurrentHostName(SauceOnDemandBuildWrapper.java:466)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.access$600(SauceOnDemandBuildWrapper.java:78)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.getHostName(SauceOnDemandBuildWrapper.java:340)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:317)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944)
at hudson.plugins.build_timeout.operations.WriteDescriptionOperation.perform(WriteDescriptionOperation.java:65)
at hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl$TimeoutTimerTask.doRun(BuildTimeoutWrapper.java:142)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Feb 01, 2016 8:12:02 PM com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager logMessage
INFO: Decremented process count for ..., now 0
Feb 01, 2016 8:12:02 PM com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager logMessage
INFO: Flushing Sauce Connect Input Stream
Feb 01, 2016 8:12:02 PM com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager logMessage
INFO: Flushing Sauce Connect Error Stream
Feb 01, 2016 8:12:02 PM com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager logMessage
INFO: Closing Sauce Connect process
Feb 01, 2016 8:12:06 PM com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager logMessage
INFO: Sauce Connect stopped for: ...
Feb 01, 2016 8:12:06 PM hudson.model.Run execute
INFO: my_job #1118 main build action completed: FAILURE
I noticed there are newer versions which I might test, but I didn't see anything like this mentioned as fixed in the changelogs.
|