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

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

      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 ...
      

          [JENKINS-47517] 2.85: StackOverflowError between Queue$Task.getCauseOfBlockage and workflow.job.AfterRestartTask.isBuildBlocked

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue blocks JENKINS-20046 [ JENKINS-20046 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 3099 (Web Link)" [ 17901 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          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.

          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 .

          Jesse Glick added a comment -

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

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

          Jesse Glick added a comment -

          Does not cause test failure in workflow-job.

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

          Jesse Glick added a comment -

          Merged toward 2.86.

          Jesse Glick added a comment - Merged toward 2.86.
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: