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

2.85: StackOverflowError between Queue$Task.getCauseOfBlockage and workflow.job.AfterRestartTask.isBuildBlocked

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The fix of JENKINS-20046 seems to have introduced a critical error.

      mvn -f .../jenkinsci/pipeline-stage-step-plugin -Dtest=StageStepTest\#basics -Djenkins.version=2.84 test
      

      is OK. With 2.85:

      ... jenkins.util.AtmostOneTaskExecutor$1 call
      WARNING: null
      java.lang.StackOverflowError
      	at hudson.model.Queue$Task.getCauseOfBlockage(Queue.java:1844)
      	at org.jenkinsci.plugins.workflow.job.AfterRestartTask.isBuildBlocked(AfterRestartTask.java:60)
      	at hudson.model.Queue$Task.getCauseOfBlockage(Queue.java:1844)
      	at org.jenkinsci.plugins.workflow.job.AfterRestartTask.isBuildBlocked(AfterRestartTask.java:60)
      	at hudson.model.Queue$Task.getCauseOfBlockage(Queue.java:1844)
      	at ...
      

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Note: I have not yet checked for the user impact of this bug, e.g. whether it causes ATH failures in WorkflowPluginTest.

            Show
            jglick Jesse Glick added a comment - Note: I have not yet checked for the user impact of this bug, e.g. whether it causes ATH failures in WorkflowPluginTest .
            Hide
            jglick Jesse Glick added a comment -

            WorkflowPluginTest against 2.85 does print a StackOverflowError at some point, though the test passes anyway.

            Show
            jglick Jesse Glick added a comment - WorkflowPluginTest against 2.85 does print a StackOverflowError at some point, though the test passes anyway.
            Hide
            jglick Jesse Glick added a comment -

            Does not cause test failure in workflow-job.

            Show
            jglick Jesse Glick added a comment - Does not cause test failure in workflow-job .
            Hide
            jglick Jesse Glick added a comment -

            Merged toward 2.86.

            Show
            jglick Jesse Glick added a comment - Merged toward 2.86.
            Hide
            olivergondza Oliver Gondža added a comment -

            Not applicable for 2.73 LTS line. As I understand this affects 2.85 only so keeping the candidate flag here to reevaluate in case we pick 2.85 as the next LTS.

            Show
            olivergondza Oliver Gondža added a comment - Not applicable for 2.73 LTS line. As I understand this affects 2.85 only so keeping the candidate flag here to reevaluate in case we pick 2.85 as the next LTS.
            Hide
            jglick Jesse Glick added a comment -

            Yes this applies only to 2.85.

            Show
            jglick Jesse Glick added a comment - Yes this applies only to 2.85.
            Hide
            jglick Jesse Glick added a comment -

            Finally happened upon a case where PCT would have caught this: WorkflowTest.demo in workflow-cps passes against 2.84 but fails against 2.85. (And passes against 2.86 with the addition of -Djenkins-test-harness.version=2.31 needed due to JENKINS-47393.)

            Show
            jglick Jesse Glick added a comment - Finally happened upon a case where PCT would have caught this: WorkflowTest.demo in workflow-cps passes against 2.84 but fails against 2.85. (And passes against 2.86 with the addition of -Djenkins-test-harness.version=2.31  needed due to  JENKINS-47393 .)

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: