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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: