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

IndexOutOfBoundsException in executor threads

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins Core - 1.509.4
      RHEL6-based Server
      ~400 executors on 80 slave nodes
    • Similar Issues:

      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

            Hide
            danielbeck Daniel Beck added a comment -

            Frederik: Please consider submitting a pull request on Github.

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

            I'm working on a new PR for the issue

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

            Ugh, sorry about the accidental reassignment!

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

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

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

              People

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

                Dates

                • Created:
                  Updated: