Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31376

Sauce connect intermmentantly fails to launch



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: sauce-ondemand-plugin
    • Labels:
    • Environment:
      Jenkins 1.635, Debian GNU/Linux 6.0.10, Sauce OnDemand plugin 1.140
    • Similar Issues:


      Since upgrading Jenkins and sauce-ondemand we are having mostly failures with sauce connect launching. Occasionally sauce does launch correctly. Jenkins is running on Ubuntu 12.04, but we're launching sauce on the slave which is Debian 6.0.10. We are not using sauce on demand 1.142 because that was working even worse for us.

      Starting Sauce Connect on slave node using tunnel identifier: test-pull-requests-jsunit-tests-1446583886414
      Launching Sauce Connect on localhost
      03 Nov 20:51:04 - Sauce Connect 4.3.11, build 1757 2b421bb
      03 Nov 20:51:04 - Using CA certificate bundle /etc/ssl/certs/ca-certificates.crt.
      03 Nov 20:51:04 - Using CA certificate verify path /etc/ssl/certs.
      03 Nov 20:51:04 - Starting up; pid 7789
      03 Nov 20:51:04 - Command line arguments: /home/autotest/sc-4.3.11-linux/bin/sc -u jenkinsbuild -k **** -P 4445
      03 Nov 20:51:04 - Using no proxy for connecting to Sauce Labs REST API.
      03 Nov 20:51:04 - Resolving saucelabs.com to took 1 ms.
      03 Nov 20:51:04 - Started scproxy on port 35287.
      03 Nov 20:51:04 - Please wait for 'you may start your tests' to start your tests.
      03 Nov 20:51:04 - Starting secure remote tunnel VM...
      03 Nov 20:51:09 - Secure remote tunnel VM provisioned.
      03 Nov 20:51:09 - Tunnel ID: 98cdb43fe69b49c48ef2098d332ceded
      03 Nov 20:51:09 - Secure remote tunnel VM is now: booting
      03 Nov 20:52:16 - Error bringing up tunnel VM.
      03 Nov 20:52:16 - Sauce Connect could not establish a connection.
      03 Nov 20:52:16 - Please check your firewall and proxy settings.
      03 Nov 20:52:16 - You can also use sc --doctor to launch Sauce Connect in diagnostic mode.
      03 Nov 20:52:16 - Cleaning up.
      03 Nov 20:52:16 - Checking domain overlap for my domain sauce-connect.proxy, other tunnel domain sauce-connect.proxy
      03 Nov 20:52:16 - Overlapping domain: sauce-connect.proxy, shutting down tunnel 98cdb43fe69b49c48ef2098d332ceded.
      03 Nov 20:52:19 - Goodbye.
      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:320)
      at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:841)
      at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:777)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      at ......remote call to pullrequests.www.dash.d1.usw1.opendns.com(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      at hudson.remoting.Channel.call(Channel.java:778)
      at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.setUp(SauceOnDemandBuildWrapper.java:315)
      at hudson.model.Build$BuildExecution.doRun(Build.java:156)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Notifying upstream projects of job completion
      Finished: FAILURE




            kohsuke Kohsuke Kawaguchi
            mmerritt Michael Merritt
            0 Vote for this issue
            2 Start watching this issue