Details

    • Similar Issues:

      Description

      Selenium tests execution Build getting failed in Jenkins due to Sauce error as mentioned below. Please help me on this asap as I am unable to execute tests through Jenkins in Sauce environment.

      Started by user anonymous
      [EnvInject] - Loading node environment variables.
      [EnvInject] - Preparing an environment for the build.
      [EnvInject] - Keeping Jenkins system variables.
      [EnvInject] - Keeping Jenkins build variables.
      [EnvInject] - Injecting as environment variables the properties content
      propfile=propfile.properties
      prepropfile=prepropfile.properties

      [EnvInject] - Variables injected successfully.
      [EnvInject] - Injecting contributions.
      Building remotely on BuildSwarm-e9f1d98bb0a8-apsrp9750.uhc.com (docker-maven-slave) in workspace /home/jenkins/workspace/**************
      Cloning the remote Git repository
      Cloning repository https://codehub***********************
       > git init /home/jenkins/workspace/************** # timeout=10
      Fetching upstream changes from https://codehub*************************
       > git --version # timeout=10
      *
       > git rev-list 9c1823036c5aa4b3c30800aa2e5b542a98901d8b # timeout=10
      Starting pre-build for Sauce Labs plugin
      Starting Sauce Connect on master node using identifier: default
      Launching Sauce Connect on localhost
      /var/jenkins_home/sc-4.4.6-linux/bin/sc already exists, so not extracting
      Time out while waiting for Sauce Connect to start, please check the Sauce Connect log located in /tmp/sc.log
      Flushing Sauce Connect Input Stream
      Flushing Sauce Connect Error Stream
      Closing Sauce Connect process
      *
      ERROR: Failed to parse POMs
      com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager$SauceConnectDidNotStartException: Time out while waiting for Sauce Connect to start, please check the Sauce Connect log located in /tmp/sc.log
       at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:370)
       at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:930)
       at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.setUp(SauceOnDemandBuildWrapper.java:383)
       at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:666)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
       at hudson.model.Run.execute(Run.java:1720)
       at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)
       at hudson.model.ResourceController.execute(ResourceController.java:98)
       at hudson.model.Executor.run(Executor.java:404)

       

        Attachments

          Activity

          Hide
          halkeye Gavin Mogan added a comment -

          This sounds very much like a networking issue. The very best place to get help will be by contacting support@saucelabs.com

          Show
          halkeye Gavin Mogan added a comment - This sounds very much like a networking issue. The very best place to get help will be by contacting support@saucelabs.com
          Hide
          asinha31 Ashish Sinha added a comment -

          Issue resolved after unchecking 'Enable Sauce Connect' under Sauce Labs Option in Jenkins job's configuration. Now tests are getting executed successfully in Sauce environment.

          Show
          asinha31 Ashish Sinha added a comment - Issue resolved after unchecking 'Enable Sauce Connect' under Sauce Labs Option in Jenkins job's configuration. Now tests are getting executed successfully in Sauce environment.

            People

            • Assignee:
              halkeye Gavin Mogan
              Reporter:
              asinha31 Ashish Sinha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: