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

Pipeline hangs on JUnitResultArchiver step with test publishers

      This occurs both in parallel and in sequential runs.

      stage 'Unit tests'
      node {
          sh './tools/test/run_unit_tests.sh'
          step([$class: 'JUnitResultArchiver', allowEmptyResults: true, testDataPublishers: [[$class: 'StabilityTestDataPublisher']], testResults: '**/reports/junit-unit.xml'])
      }
      

      when executing following stage/step it hangs with last messages:

      [Pipeline] stage (Unit tests)
      Entering stage Unit tests
      Proceeding
      [Pipeline] node
      Running on мастер in /var/lib/jenkins/home/jobs/project/branches/master/workspace
      [Pipeline] {
      [Pipeline] sh
      [workspace] Running shell script
      + ./tools/test/run_unit_tests.sh
      Starting backend unit tests
      ============================= test session starts ==============================
      platform linux -- Python 3.5.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
      rootdir: /var/lib/jenkins/home/jobs/project/branches/master/workspace, inifile: 
      plugins: asyncio-0.4.1, cov-2.3.0, mock-1.1
      collected 2 items
      
      src/tests/unit/magic.py ..
      
       generated xml file: /var/lib/jenkins/home/jobs/project/branches/master/workspace/reports/junit-unit.xml 
      
      ----------- coverage: platform linux, python 3.5.2-final-0 -----------
      Coverage XML written to file reports/coverage-unit.xml
      
      =========================== 2 passed in 0.31 seconds ===========================
      Finished backend unit tests
      [Pipeline] step
      Recording test results
      

      after that spinner spins forever

          [JENKINS-36956] Pipeline hangs on JUnitResultArchiver step with test publishers

          Oleg Korsak created issue -
          Oleg Korsak made changes -
          Description Original: This occurs both in parallel and in sequential runs.

          {code:groovy}
          stage 'Unit tests'
          node {
              sh './tools/test/run_unit_tests.sh'
              step([$class: 'JUnitResultArchiver', allowEmptyResults: true, testDataPublishers: [[$class: 'StabilityTestDataPublisher']], testResults: '**/reports/junit-unit.xml'])
          }
          {code}
          when executing following stage/step it hangs with last messages:


          {noformat}
          [Pipeline] stage (Unit tests)
          Entering stage Unit tests
          Proceeding
          [Pipeline] node
          Running on мастер in /var/lib/jenkins/home/jobs/project/branches/master/workspace
          [Pipeline] {
          [Pipeline] sh
          [workspace] Running shell script
          + ./tools/test/run_unit_tests.sh
          Starting backend unit tests
          ============================= test session starts ==============================
          platform linux -- Python 3.5.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
          rootdir: /var/lib/jenkins/home/jobs/project/branches/master/workspace, inifile:
          plugins: asyncio-0.4.1, cov-2.3.0, mock-1.1
          collected 2 items

          src/tests/unit/magic.py ..

           generated xml file: /var/lib/jenkins/home/jobs/project/branches/master/workspace/reports/junit-unit.xml

          ----------- coverage: platform linux, python 3.5.2-final-0 -----------
          Coverage XML written to file reports/coverage-unit.xml

          =========================== 2 passed in 0.31 seconds ===========================
          Finished backend unit tests
          [Pipeline] step
          Recording test results
          {noformat}

          after that spinner spins forever
          New: This occurs both in parallel and in sequential runs.

          {code:java}
          stage 'Unit tests'
          node {
              sh './tools/test/run_unit_tests.sh'
              step([$class: 'JUnitResultArchiver', allowEmptyResults: true, testDataPublishers: [[$class: 'StabilityTestDataPublisher']], testResults: '**/reports/junit-unit.xml'])
          }
          {code}
          when executing following stage/step it hangs with last messages:


          {noformat}
          [Pipeline] stage (Unit tests)
          Entering stage Unit tests
          Proceeding
          [Pipeline] node
          Running on мастер in /var/lib/jenkins/home/jobs/project/branches/master/workspace
          [Pipeline] {
          [Pipeline] sh
          [workspace] Running shell script
          + ./tools/test/run_unit_tests.sh
          Starting backend unit tests
          ============================= test session starts ==============================
          platform linux -- Python 3.5.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
          rootdir: /var/lib/jenkins/home/jobs/project/branches/master/workspace, inifile:
          plugins: asyncio-0.4.1, cov-2.3.0, mock-1.1
          collected 2 items

          src/tests/unit/magic.py ..

           generated xml file: /var/lib/jenkins/home/jobs/project/branches/master/workspace/reports/junit-unit.xml

          ----------- coverage: platform linux, python 3.5.2-final-0 -----------
          Coverage XML written to file reports/coverage-unit.xml

          =========================== 2 passed in 0.31 seconds ===========================
          Finished backend unit tests
          [Pipeline] step
          Recording test results
          {noformat}

          after that spinner spins forever
          James Dumay made changes -
          Component/s New: workflow-plugin [ 18820 ]
          Component/s Original: pipeline-stage-view-plugin [ 21139 ]
          Component/s Original: pipeline-utility-steps-plugin [ 21135 ]
          Component/s Original: pipeline-view-plugin [ 21435 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Richard Kettelerij made changes -
          Component/s New: junit-plugin [ 15499 ]
          Erik Lattimore made changes -
          Component/s New: test-stability-plugin [ 17661 ]
          Erik Lattimore made changes -
          Link New: This issue is duplicated by JENKINS-41901 [ JENKINS-41901 ]
          Sean Flanigan made changes -
          Link New: This issue relates to JENKINS-33168 [ JENKINS-33168 ]
          Sean Flanigan made changes -
          Link New: This issue relates to JENKINS-42610 [ JENKINS-42610 ]
          James Dumay made changes -
          Assignee Original: Sam Van Oort [ svanoort ] New: Andrew Bayer [ abayer ]

            Unassigned Unassigned
            kamikaze Oleg Korsak
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: