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

Sauce plugin jobs timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: sauce-ondemand-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.164.2 sauceondemand plugin latest
      1.184
    • Similar Issues:

      Description

      few of maven jobs are hanging for long time with following console output 

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running TestSuite
      May 20, 2019 5:48:26 AM org.openqa.selenium.remote.ProtocolHandshake createSession
      INFO: Detected dialect: W3C

       

      Here are jenkins logs 

      Error retrieving Sauce Results java.io.FileNotFoundException: https://saucelabs.com/rest/v1/xxxxxxx  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:450) at com.saucelabs.saucerest.SauceREST.getBuild(SauceREST.java:927) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.retrieveBuildFromSauce(SauceOnDemandBuildAction.java:154) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:129) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:112) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:119) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.processBuildOutput(SauceOnDemandReportPublisher.java:372) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:161) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:75) at hudson.maven.MavenTestDataPublisher.perform(MavenTestDataPublisher.java:86) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1841) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
      May 20, 2019 7:12:55 AM WARNING hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction retrieveBuildFromSauce
      Sauce REST API get build JSON Response was empty for jenkins-QA-ServiceNow-AskDiscovery-Service-Catalog-Access-and-Permissions-Broadway-Access-Request-300
      May 20, 2019 7:13:02 AM WARNING com.splunk.splunkjenkins.utils.LogEventHelper sendFiles
      can not find files using includes:*/.log excludes:null in workspace:/opt/jenkins-executor/workspace/QA/ServiceNow/AskDiscovery/Service Catalog/Access and Permissions/Broadway Access Request

       

      Few of them successful jobs are not able to show sauce session info 

      Starting post-build for Sauce Labs plugin
      Updating the custom data field for jobs with Jenkins build info for analytics
      channel stopped
      Stopped/completed/updated 0 jobs
      Finished post-build for Sauce Labs plugin
      Starting Sauce Labs test publisher
      The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
      Finished Sauce Labs test publisher
      Starting Sauce Labs test publisher
      The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
      Finished Sauce Labs test publisher
      Starting Sauce Labs test publisher
      The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
      Finished Sauce Labs test publisher

        Attachments

          Activity

          yrsurya suryatej yaramada created issue -
          yrsurya suryatej yaramada made changes -
          Field Original Value New Value
          Description few of maven jobs are hanging for long time with following console output 

          -------------------------------------------------------
           T E S T S
          -------------------------------------------------------
          Running TestSuite
          May 20, 2019 5:48:26 AM org.openqa.selenium.remote.ProtocolHandshake createSession
          INFO: Detected dialect: W3C

           

          Here are jenkins logs 

          Error retrieving Sauce Results java.io.FileNotFoundException: https://saucelabs.com/rest/v1/DLCDQA/builds/jenkins-QA-ServiceNow-AskDiscovery-Service-Catalog-Access-and-Permissions-Broadway-Access-Request-300 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:450) at com.saucelabs.saucerest.SauceREST.getBuild(SauceREST.java:927) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.retrieveBuildFromSauce(SauceOnDemandBuildAction.java:154) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:129) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:112) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:119) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.processBuildOutput(SauceOnDemandReportPublisher.java:372) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:161) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:75) at hudson.maven.MavenTestDataPublisher.perform(MavenTestDataPublisher.java:86) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1841) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
          May 20, 2019 7:12:55 AM WARNING hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction retrieveBuildFromSauce
          Sauce REST API get build JSON Response was empty for jenkins-QA-ServiceNow-AskDiscovery-Service-Catalog-Access-and-Permissions-Broadway-Access-Request-300
          May 20, 2019 7:13:02 AM WARNING com.splunk.splunkjenkins.utils.LogEventHelper sendFiles
          can not find files using includes:**/*.log excludes:null in workspace:/opt/jenkins-executor/workspace/QA/ServiceNow/AskDiscovery/Service Catalog/Access and Permissions/Broadway Access Request

           

          Few of them successful jobs are not able to show sauce session info 

          Starting post-build for Sauce Labs plugin
          Updating the custom data field for jobs with Jenkins build info for analytics
          channel stopped
          Stopped/completed/updated 0 jobs
          Finished post-build for Sauce Labs plugin
          Starting Sauce Labs test publisher
          The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
          Finished Sauce Labs test publisher
          Starting Sauce Labs test publisher
          The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
          Finished Sauce Labs test publisher
          Starting Sauce Labs test publisher
          The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
          Finished Sauce Labs test publisher
          few of maven jobs are hanging for long time with following console output 

          -------------------------------------------------------
           T E S T S
           -------------------------------------------------------
           Running TestSuite
           May 20, 2019 5:48:26 AM org.openqa.selenium.remote.ProtocolHandshake createSession
           INFO: Detected dialect: W3C

           

          Here are jenkins logs 

          Error retrieving Sauce Results java.io.FileNotFoundException: [https://saucelabs.com/rest/v1/xxxxxxx  |https://saucelabs.com/rest/v1/DLCDQA/builds/jenkins-QA-ServiceNow-AskDiscovery-Service-Catalog-Access-and-Permissions-Broadway-Access-Request-300]at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:450) at com.saucelabs.saucerest.SauceREST.getBuild(SauceREST.java:927) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.retrieveBuildFromSauce(SauceOnDemandBuildAction.java:154) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:129) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:112) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction.getSauceBuild(SauceOnDemandBuildAction.java:119) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.processBuildOutput(SauceOnDemandReportPublisher.java:372) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:161) at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:75) at hudson.maven.MavenTestDataPublisher.perform(MavenTestDataPublisher.java:86) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1841) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
           May 20, 2019 7:12:55 AM WARNING hudson.plugins.sauce_ondemand.SauceOnDemandBuildAction retrieveBuildFromSauce
           Sauce REST API get build JSON Response was empty for jenkins-QA-ServiceNow-AskDiscovery-Service-Catalog-Access-and-Permissions-Broadway-Access-Request-300
           May 20, 2019 7:13:02 AM WARNING com.splunk.splunkjenkins.utils.LogEventHelper sendFiles
           can not find files using includes:**/*.log excludes:null in workspace:/opt/jenkins-executor/workspace/QA/ServiceNow/AskDiscovery/Service Catalog/Access and Permissions/Broadway Access Request

           

          Few of them successful jobs are not able to show sauce session info 

          Starting post-build for Sauce Labs plugin
           Updating the custom data field for jobs with Jenkins build info for analytics
           channel stopped
           Stopped/completed/updated 0 jobs
           Finished post-build for Sauce Labs plugin
           Starting Sauce Labs test publisher
           The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
           Finished Sauce Labs test publisher
           Starting Sauce Labs test publisher
           The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
           Finished Sauce Labs test publisher
           Starting Sauce Labs test publisher
           The Sauce OnDemand plugin is configured, but no session IDs were found in the test output.
           Finished Sauce Labs test publisher
          yrsurya suryatej yaramada made changes -
          Environment Jenkins 2.164.2 sauceondemand plugin latest Jenkins 2.164.2 sauceondemand plugin latest
          1.184

            People

            Assignee:
            yfangsl Yeh Fang
            Reporter:
            yrsurya suryatej yaramada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: