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

Embedded Sauce Report does not show up when session ID present in xunit file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: sauce-ondemand-plugin
    • Labels:
    • Environment:
      Sauce OnDemand Plugin v1.104
      Jenkins ver. 1.580.1
      browser: chrome
      language: python 2.7
    • Similar Issues:

      Description

      I am using RobotFramework and SauceLabs in my Jenkins job to do some automated testing. I am generating xunit reports with Robot and have it configured in such a way to log messages from stdout. Here is an example snippet of my xunit file:

      <system-out>
      <![CDATA[
      SauceOnDemandSessionID=93b1f4c98c2140108f97857326f9affe job-name=Some job name
      ]]>
      </system-out>
      

      I have set up the post-build script to process this xunit file and I have checked the box for embedding the SauceLabs report. Despite all of this, I am getting this message in my console output:

      The Sauce OnDemand plugin is configured, but no session IDs were found in the test output

      I am completely stumped as to why it is not working. Any help with this issue would be greatly appreciated!

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I suspect it's an issue for a Jenkins plugin => project = JENKINS
            INFRA project targets Jenkins backend infrastructure.

            Show
            oleg_nenashev Oleg Nenashev added a comment - I suspect it's an issue for a Jenkins plugin => project = JENKINS INFRA project targets Jenkins backend infrastructure.
            Hide
            rossrowe Ross Rowe added a comment -

            My apologies for taking so long to respond to this issue, can you tell me if it's still a problem? If so, can you tell me if you have selected the 'Run Sauce Labs Test Publisher' post build action?

            Show
            rossrowe Ross Rowe added a comment - My apologies for taking so long to respond to this issue, can you tell me if it's still a problem? If so, can you tell me if you have selected the 'Run Sauce Labs Test Publisher' post build action?
            Hide
            tshewmake Thomas Shewmake added a comment -

            Hi Ross,

            I was still able to reproduce the issue after some thorough investigation. I have also ensured that the "Run Sauce Labs Test Publisher" Post Build Action is enabled.

            Show
            tshewmake Thomas Shewmake added a comment - Hi Ross, I was still able to reproduce the issue after some thorough investigation. I have also ensured that the "Run Sauce Labs Test Publisher" Post Build Action is enabled.
            Hide
            rossrowe Ross Rowe added a comment -

            Okay, thanks for letting me know, I'll try setup my environment to replicate the issue. As a workaround, can you try set the 'build' capability, using the value of the 'JENKINS_BUILD_NUMBER' environment variable? This should cause the Sauce job to be updated to include the Jenkins build number, which should in turn cause the Sauce jobs to appear within the build/test results.

            Show
            rossrowe Ross Rowe added a comment - Okay, thanks for letting me know, I'll try setup my environment to replicate the issue. As a workaround, can you try set the 'build' capability, using the value of the 'JENKINS_BUILD_NUMBER' environment variable? This should cause the Sauce job to be updated to include the Jenkins build number, which should in turn cause the Sauce jobs to appear within the build/test results.
            Hide
            rossrowe Ross Rowe added a comment -

            Hi again, if you're using nosetest, would you be able to try add the -s argument to the command line? This should cause the output to be printed to Jenkins console log. If you're not using nosetest or you're still having issues, would you be able to attach your xunit xml file to this ticket so that I can run it through my environment (or you could raise a ticket via support.saucelabs.com, and attach the file to the ticket)

            Show
            rossrowe Ross Rowe added a comment - Hi again, if you're using nosetest, would you be able to try add the -s argument to the command line? This should cause the output to be printed to Jenkins console log. If you're not using nosetest or you're still having issues, would you be able to attach your xunit xml file to this ticket so that I can run it through my environment (or you could raise a ticket via support.saucelabs.com, and attach the file to the ticket)
            Hide
            chhotu Chhotu singh added a comment -

            I am able reproduce the issue as well.

             
            Started by user
            sha
            Building in workspace F:\jenkins latest\workspace\MavenTest
            > git.exe rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git.exe config remote.origin.url
            https://github.com/shadab36/Maventest.git

            1. timeout=10
              Fetching upstream changes from
              https://github.com/shadab36/Maventest.git
              > git.exe --version # timeout=10
              using GIT_ASKPASS to set credentials
              > git.exe fetch --tags --progress
              https://github.com/shadab36/Maventest.git
              +refs/heads/:refs/remotes/origin/
              > git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
              > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
              Checking out Revision 775980044f0045bc2537903fdc4a47e69b6a50b5 (refs/remotes/origin/master)
              > git.exe config core.sparsecheckout # timeout=10
              > git.exe checkout -f 775980044f0045bc2537903fdc4a47e69b6a50b5
              Commit message: "Update pom.xml"
              > git.exe rev-list --no-walk 128976ee1babe0fb54f21e7b674a18f2daa0c7d7 # timeout=10
              Starting pre-build for Sauce Labs plugin
              Starting Sauce Connect on master node using identifier: default
              Launching Sauce Connect on amw-g1.mshome.net
              C:\Users\AL Moin Webtech\sc-4.4.11-win32\bin\sc.exe already exists, so not extracting
              20180820 153124.439 [11856] Sauce Connect 4.4.11, build 1833 c3795fd -dirty
              20180820 153124.443 [11856] Trying to autodetect proxy settings
              20180820 153124.452 [11856] Starting up; pid 11856
              20180820 153124.452 [11856] Command line arguments: C:\Users\AL Moin Webtech\sc-4.4.11-win32\bin\sc.exe -u coludapp -k **** -P 4445 -l -
              20180820 153124.454 [11856] Log file: -
              20180820 153124.454 [11856] Pid file: C:\Users\AL Moin Webtech\AppData\Roaming/sc_client.pid
              20180820 153124.454 [11856] Timezone: IST GMT offset: 5h
              20180820 153124.454 [11856] Using no proxy for connecting to Sauce Labs REST API.
              20180820 153125.712 [11856] ***********************************************************
              20180820 153125.712 [11856] A newer version of Sauce Connect (build 2150) is available!
              20180820 153125.712 [11856] Download it here:
              20180820 153125.712 [11856]
              https://saucelabs.com/downloads/sc-4.5.0-win32.zip
              20180820 153125.712 [11856] ***********************************************************
              20180820 153125.713 [11856] PROXY *** scproxy started ***
              20180820 153125.762 [11856] PROXY found DNS server 192.168.1.1
              20180820 153126.149 [11856] Started scproxy on port 54516.
              20180820 153126.149 [11856] Please wait for 'you may start your tests' to start your tests.
              20180820 153149.218 [11856] Secure remote tunnel VM provisioned.
              20180820 153149.218 [11856] Tunnel ID: 6438bbf2d8ca4d50aff9a623f3c90a65
              20180820 153149.218 [11856] Using no proxy for connecting to tunnel VM.
              20180820 153149.220 [11856] Starting Selenium listener...
              20180820 153149.221 [11856] Establishing secure TLS connection to tunnel...
              20180820 153149.233 [11856] [EVDNS] Added nameserver 192.168.1.1:53 as 037D9D18
              20180820 153149.234 [11856] MAIN connecting to maki87072.miso.saucelabs.com:443
              20180820 153149.473 [11856] Selenium listener started on port 4445.
              20180820 153149.741 [11856] MAIN connecting to KGP server maki87072.miso.saucelabs.com took 504 ms
              20180820 153151.439 [11856] Sauce Connect is up, you may start your tests.
              Sauce Connect 4.4.11 now launched for: coludapp
              Incremented process count for coludapp, now 1
              Finished pre-build for Sauce Labs plugin
              The Sauce plugin has set the following environment variables:
              SELENIUM_PLATFORM: Windows 10
              SELENIUM_BROWSER: chrome
              SELENIUM_VERSION: 66
              SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}]
              JENKINS_BUILD_NUMBER: jenkins-MavenTest-51
              SAUCE_BUILD_NAME: jenkins-MavenTest-51
              SAUCE_USER_NAME: coludapp
              SAUCE_USERNAME: coludapp
              SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SELENIUM_HOST: amw-g1.mshome.net
              SAUCE_USE_CHROME: false
              SELENIUM_PORT: 4445
              Parsing POMs
              Modules changed, recalculating dependency graph
              Established TCP socket on 54573
              [WebDrivertest] $ "C:\Program Files\Java\jdk1.8.0_131/bin/java" -cp "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.12-alpha-1.jar;C:\Program Files\apache-maven-3.5.2\boot\plexus-classworlds-2.5.2.jar;C:\Program Files\apache-maven-3.5.2/conf/logging" jenkins.maven3.agent.Maven35Main "C:\Program Files\apache-maven-3.5.2" "F:\jenkins latest\war\WEB-INF\lib\remoting-3.21.1.jar" "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.12-alpha-1.jar" "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.12-alpha-1.jar" 54573
              <===[JENKINS REMOTING CAPACITY]===>channel started
              Executing Maven: -B -f F:\jenkins latest\workspace\MavenTest\WebDrivertest\pom.xml clean install test
              [INFO] Scanning for projects...[WARNING] [WARNING] Some problems were encountered while building the effective model for WebDrivertest:WebDrivertest:jar:0.0.1-SNAPSHOT[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.saucelabs:sauce-connect:jar -> duplicate declaration of version 3.1.32 @ line 52, column 15[WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.[WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.[WARNING] [INFO]
              [INFO] ------------------------------------------------------------------------
              [INFO] Building WebDrivertest 0.0.1-SNAPSHOT
              [INFO] -----------------------------------------------------------------------[WARNING] The POM for com.saucelabs:sauce-connect:jar:3.1.32 is missing, no dependency information available[WARNING] Attempt to (de)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/[INFO] ------------------------------------------------------------------------
              [INFO] BUILD FAILURE
              [INFO] ------------------------------------------------------------------------
              [INFO] Total time: 3.542 s
              [INFO] Finished at: 2018-08-20T15:32:02+05:30
              [INFO] Final Memory: 15M/163M
              [INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal on project WebDrivertest: Could not resolve dependencies for project WebDrivertest:WebDrivertest:jar:0.0.1-SNAPSHOT: Failure to find com.saucelabs:sauce-connect:jar:3.1.32 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException[JENKINS] Archiving F:\jenkins latest\workspace\MavenTest\WebDrivertest\pom.xml to WebDrivertest/WebDrivertest/0.0.1-SNAPSHOT/WebDrivertest-0.0.1-SNAPSHOT.pom
              Starting post-build for Sauce Labs plugin
              Shutting down Sauce Connect
              The Sauce plugin has set the following environment variables:
              SELENIUM_PLATFORM: Windows 10
              SELENIUM_BROWSER: chrome
              SELENIUM_VERSION: 66
              SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}]
              JENKINS_BUILD_NUMBER: jenkins-MavenTest-51
              SAUCE_BUILD_NAME: jenkins-MavenTest-51
              SAUCE_USER_NAME: coludapp
              SAUCE_USERNAME: coludapp
              channel stopped
              SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SELENIUM_HOST: amw-g1.mshome.net
              SAUCE_USE_CHROME: false
              SELENIUM_PORT: 4445
              The Sauce plugin has set the following environment variables:
              SELENIUM_PLATFORM: Windows 10
              SELENIUM_BROWSER: chrome
              SELENIUM_VERSION: 66
              SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}]
              JENKINS_BUILD_NUMBER: jenkins-MavenTest-51
              SAUCE_BUILD_NAME: jenkins-MavenTest-51
              SAUCE_USER_NAME: coludapp
              SAUCE_USERNAME: coludapp
              SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4
              SELENIUM_HOST: amw-g1.mshome.net
              SAUCE_USE_CHROME: false
              SELENIUM_PORT: 4445
              Decremented process count for coludapp, now 0
              Flushing Sauce Connect Input Stream
              Flushing Sauce Connect Error Stream
              Closing Sauce Connect process
              Sauce Connect stopped for: coludapp
              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
              Finished: FAILURE
            Show
            chhotu Chhotu singh added a comment - I am able reproduce the issue as well.   Started by user sha Building in workspace F:\jenkins latest\workspace\MavenTest > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url https://github.com/shadab36/Maventest.git timeout=10 Fetching upstream changes from https://github.com/shadab36/Maventest.git > git.exe --version # timeout=10 using GIT_ASKPASS to set credentials > git.exe fetch --tags --progress https://github.com/shadab36/Maventest.git +refs/heads/ :refs/remotes/origin/ > git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10 Checking out Revision 775980044f0045bc2537903fdc4a47e69b6a50b5 (refs/remotes/origin/master) > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f 775980044f0045bc2537903fdc4a47e69b6a50b5 Commit message: "Update pom.xml" > git.exe rev-list --no-walk 128976ee1babe0fb54f21e7b674a18f2daa0c7d7 # timeout=10 Starting pre-build for Sauce Labs plugin Starting Sauce Connect on master node using identifier: default Launching Sauce Connect on amw-g1.mshome.net C:\Users\AL Moin Webtech\sc-4.4.11-win32\bin\sc.exe already exists, so not extracting 20180820 153124.439 [11856] Sauce Connect 4.4.11, build 1833 c3795fd -dirty 20180820 153124.443 [11856] Trying to autodetect proxy settings 20180820 153124.452 [11856] Starting up; pid 11856 20180820 153124.452 [11856] Command line arguments: C:\Users\AL Moin Webtech\sc-4.4.11-win32\bin\sc.exe -u coludapp -k **** -P 4445 -l - 20180820 153124.454 [11856] Log file: - 20180820 153124.454 [11856] Pid file: C:\Users\AL Moin Webtech\AppData\Roaming/sc_client.pid 20180820 153124.454 [11856] Timezone: IST GMT offset: 5h 20180820 153124.454 [11856] Using no proxy for connecting to Sauce Labs REST API. 20180820 153125.712 [11856] *********************************************************** 20180820 153125.712 [11856] A newer version of Sauce Connect (build 2150) is available! 20180820 153125.712 [11856] Download it here: 20180820 153125.712 [11856] https://saucelabs.com/downloads/sc-4.5.0-win32.zip 20180820 153125.712 [11856] *********************************************************** 20180820 153125.713 [11856] PROXY *** scproxy started *** 20180820 153125.762 [11856] PROXY found DNS server 192.168.1.1 20180820 153126.149 [11856] Started scproxy on port 54516. 20180820 153126.149 [11856] Please wait for 'you may start your tests' to start your tests. 20180820 153149.218 [11856] Secure remote tunnel VM provisioned. 20180820 153149.218 [11856] Tunnel ID: 6438bbf2d8ca4d50aff9a623f3c90a65 20180820 153149.218 [11856] Using no proxy for connecting to tunnel VM. 20180820 153149.220 [11856] Starting Selenium listener... 20180820 153149.221 [11856] Establishing secure TLS connection to tunnel... 20180820 153149.233 [11856] [EVDNS] Added nameserver 192.168.1.1:53 as 037D9D18 20180820 153149.234 [11856] MAIN connecting to maki87072.miso.saucelabs.com:443 20180820 153149.473 [11856] Selenium listener started on port 4445. 20180820 153149.741 [11856] MAIN connecting to KGP server maki87072.miso.saucelabs.com took 504 ms 20180820 153151.439 [11856] Sauce Connect is up, you may start your tests. Sauce Connect 4.4.11 now launched for: coludapp Incremented process count for coludapp, now 1 Finished pre-build for Sauce Labs plugin The Sauce plugin has set the following environment variables: SELENIUM_PLATFORM: Windows 10 SELENIUM_BROWSER: chrome SELENIUM_VERSION: 66 SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}] JENKINS_BUILD_NUMBER: jenkins-MavenTest-51 SAUCE_BUILD_NAME: jenkins-MavenTest-51 SAUCE_USER_NAME: coludapp SAUCE_USERNAME: coludapp SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SELENIUM_HOST: amw-g1.mshome.net SAUCE_USE_CHROME: false SELENIUM_PORT: 4445 Parsing POMs Modules changed, recalculating dependency graph Established TCP socket on 54573 [WebDrivertest] $ "C:\Program Files\Java\jdk1.8.0_131/bin/java" -cp "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.12-alpha-1.jar;C:\Program Files\apache-maven-3.5.2\boot\plexus-classworlds-2.5.2.jar;C:\Program Files\apache-maven-3.5.2/conf/logging" jenkins.maven3.agent.Maven35Main "C:\Program Files\apache-maven-3.5.2" "F:\jenkins latest\war\WEB-INF\lib\remoting-3.21.1.jar" "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.12-alpha-1.jar" "F:\jenkins latest\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.12-alpha-1.jar" 54573 <=== [JENKINS REMOTING CAPACITY] ===>channel started Executing Maven: -B -f F:\jenkins latest\workspace\MavenTest\WebDrivertest\pom.xml clean install test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for WebDrivertest:WebDrivertest:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.saucelabs:sauce-connect:jar -> duplicate declaration of version 3.1.32 @ line 52, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building WebDrivertest 0.0.1-SNAPSHOT [INFO] ----------------------------------------------------------------------- [WARNING] The POM for com.saucelabs:sauce-connect:jar:3.1.32 is missing, no dependency information available [WARNING] Attempt to (de )serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.542 s [INFO] Finished at: 2018-08-20T15:32:02+05:30 [INFO] Final Memory: 15M/163M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project WebDrivertest: Could not resolve dependencies for project WebDrivertest:WebDrivertest:jar:0.0.1-SNAPSHOT: Failure to find com.saucelabs:sauce-connect:jar:3.1.32 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [JENKINS] Archiving F:\jenkins latest\workspace\MavenTest\WebDrivertest\pom.xml to WebDrivertest/WebDrivertest/0.0.1-SNAPSHOT/WebDrivertest-0.0.1-SNAPSHOT.pom Starting post-build for Sauce Labs plugin Shutting down Sauce Connect The Sauce plugin has set the following environment variables: SELENIUM_PLATFORM: Windows 10 SELENIUM_BROWSER: chrome SELENIUM_VERSION: 66 SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}] JENKINS_BUILD_NUMBER: jenkins-MavenTest-51 SAUCE_BUILD_NAME: jenkins-MavenTest-51 SAUCE_USER_NAME: coludapp SAUCE_USERNAME: coludapp channel stopped SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SELENIUM_HOST: amw-g1.mshome.net SAUCE_USE_CHROME: false SELENIUM_PORT: 4445 The Sauce plugin has set the following environment variables: SELENIUM_PLATFORM: Windows 10 SELENIUM_BROWSER: chrome SELENIUM_VERSION: 66 SELENIUM_DRIVER: sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ONDEMAND_BROWSERS: [\{"os":"Windows 10","platform":"Windows 10","browser":"chrome","browser-version":"66","long-name":"Google Chrome","long-version":"66.0.3359.117","url":"sauce-ondemand:?os=Windows 10&browser=chrome&browser-version=66&username=coludapp&access-key=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4"}] JENKINS_BUILD_NUMBER: jenkins-MavenTest-51 SAUCE_BUILD_NAME: jenkins-MavenTest-51 SAUCE_USER_NAME: coludapp SAUCE_USERNAME: coludapp SAUCE_API_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SAUCE_ACCESS_KEY: eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJKZW5raW5zLzIuMTIxLjMgSmVua2luc1NhdWNlT25EZW1hbmQvMS4xNzEiLCJleHAiOjE1MzQ3NzcyODIsImlhdCI6MTUzNDc1OTI4Mn0.PK5B_npNFXlVSTbL2Pz8L5J3RMm3AjoibQYMUI9iJe4 SELENIUM_HOST: amw-g1.mshome.net SAUCE_USE_CHROME: false SELENIUM_PORT: 4445 Decremented process count for coludapp, now 0 Flushing Sauce Connect Input Stream Flushing Sauce Connect Error Stream Closing Sauce Connect process Sauce Connect stopped for: coludapp 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 Finished: FAILURE
            Hide
            nudgegoonies Andreas Wirooks added a comment -

            We have a similar problem. The report was shown with sauce plugin version 1.157. But because of dependency problems we had to update it. We could not update other plugins when we stayed on 1.157. First we updated to 1.176 and then to 1.177. With both versions the reports are not shown. The build log files look identical. Session ids are there and the link to the report is inside but the report is not shown. We use 2.138.2 together with sauce plugin 1.177.

            Show
            nudgegoonies Andreas Wirooks added a comment - We have a similar problem. The report was shown with sauce plugin version 1.157. But because of dependency problems we had to update it. We could not update other plugins when we stayed on 1.157. First we updated to 1.176 and then to 1.177. With both versions the reports are not shown. The build log files look identical. Session ids are there and the link to the report is inside but the report is not shown. We use 2.138.2 together with sauce plugin 1.177.

              People

              Assignee:
              rossrowe Ross Rowe
              Reporter:
              tshewmake Thomas Shewmake
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: