-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Sauce OnDemand Plug-in v1.109, SauceConnect v4,Jenkins v1.598, Debian v6.0.10 (64 bit)
Intermittently, SauceConnect fails to launch using the OnDemand plugin in Jenkins, failing builds. Usually, this does not appear to be a problem with SauceLabs service, as status.saucelabs.com does not report error, and I am able to launch SauceConnect manually on various other machines.
Unfortunately, this is not readily reproducible – it happens intermittently and seemingly randomly. Hopefully, the stack trace will give you some idea.
Details:
- Sauce Connect launched on slave using credentials set in job
- v3 checkbox is unchecked
- Slave is 64bit linux box running Debian 6.0.10 in ec2
- Configured to use webdriver
Log:
Starting Sauce Connect on slave node using tunnel identifier: default
Launching Sauce Connect on <hostname>
Error launching Sauce Connect
Flushing Sauce Connect Input Stream
Flushing Sauce Connect Error Stream
Closing Sauce Connect process
FATAL: Error launching Sauce Connect
com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager$SauceConnectDidNotStartException: Error launching Sauce Connect
at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:286)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:710)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:663)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
at ......remote call to build9.www.dash.d1.usw1.opendns.com(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.setUp(SauceOnDemandBuildWrapper.java:223)
at hudson.model.Build$BuildExecution.doRun(Build.java:154)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
at hudson.model.Run.execute(Run.java:1718)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)