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

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

XMLWordPrintable

      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)

        1. plugins_1.jpg
          293 kB
          Ashwin Somaiah
        2. plugins_2.jpg
          79 kB
          Ashwin Somaiah

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

              Created:
              Updated: