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

Parent executor hangs even though all concurrent child executors have completed.

    XMLWordPrintable

Details

    Description

      We have a jenkins environment configured using the Parameterized Trigger plugin and Node and Label parameter plugin. Among other things, we have a parent executor invoking child executors to run concurrently on different nodes. Of late we have been regularly seeing the issue where the parent executor job hangs waiting for all the child executor jobs to return success, long after all the child executors have completed successfully and returned success. When the hang occurs, the below exception is seen in the jenkins log. The issue happens once every 3 to 4 executions.
      java.util.NoSuchElementException
      at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:154)
      at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1067)
      at java.util.AbstractMap$2$1.next(AbstractMap.java:385)
      at hudson.util.RunList.subList(RunList.java:137)
      at hudson.tasks.LogRotator.perform(LogRotator.java:124)
      at hudson.model.Job.logRotate(Job.java:443)
      at hudson.model.Run.execute(Run.java:1796)
      at hudson.plugins.project_inheritance.projects.InheritanceBuild.run(InheritanceBuild.java:113)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:234)

      Attachments

        Activity

          danielbeck Daniel Beck added a comment -

          Assuming this is caused by the Project Inheritance Plugin that is part of the stack trace unless this also occurs on instances without that plugin.

          danielbeck Daniel Beck added a comment - Assuming this is caused by the Project Inheritance Plugin that is part of the stack trace unless this also occurs on instances without that plugin.

          People

            Unassigned Unassigned
            asomaiah Ashwin Somaiah
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: