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

IndexOutOfBoundsException in executor threads

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • core
    • Jenkins Core - 1.509.4
      RHEL6-based Server
      ~400 executors on 80 slave nodes

    Description

      Seems that there is a concurrency issue in queue handlers.
      The issue sometimes appears in jenkins-1.509.4 .

      java.lang.IndexOutOfBoundsException: Index: 62, Size: 62
      at java.util.ArrayList.rangeCheck(ArrayList.java:635)
      at java.util.ArrayList.get(ArrayList.java:411)
      at hudson.model.queue.MappingWorksheet$ReadOnlyList.get(MappingWorksheet.java:102)
      at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:150)
      at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:110)
      at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:298)
      at hudson.model.Queue.maintain(Queue.java:1048)
      at hudson.model.Queue.pop(Queue.java:866)
      at hudson.model.Executor.grabJob(Executor.java:285)
      at hudson.model.Executor.run(Executor.java:206)

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

            Frederik: Please consider submitting a pull request on Github.

            danielbeck Daniel Beck added a comment - Frederik: Please consider submitting a pull request on Github.
            fdeweerdt Frederik Deweerdt added a comment - Done: https://github.com/jenkinsci/jenkins/pull/1300 Thanks, Frederik
            oleg_nenashev Oleg Nenashev added a comment -

            I'm working on a new PR for the issue

            oleg_nenashev Oleg Nenashev added a comment - I'm working on a new PR for the issue
            aaron312 Aaron Curley added a comment -

            Ugh, sorry about the accidental reassignment!

            aaron312 Aaron Curley added a comment - Ugh, sorry about the accidental reassignment!
            oleg_nenashev Oleg Nenashev added a comment -

            aaron312 feel free to take it you want. I will unlikely get to it anytime soon

            oleg_nenashev Oleg Nenashev added a comment - aaron312 feel free to take it you want. I will unlikely get to it anytime soon

            People

              Unassigned Unassigned
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: