Reproduction case:

      Create a concurrent matrix job with a user defined axis that does a 'sleep 120' as its build step. Launch several of these jobs, enough that all available executors are taken up and there are still builds in the queue. Some of these builds will abort, with a console message similar to:

      [...]
      9 completed with result SUCCESS
      24 completed with result SUCCESS
      23 completed with result SUCCESS
      2 completed with result SUCCESS
      10 appears to be cancelled
      10 completed with result ABORTED
      25 appears to be cancelled
      25 completed with result ABORTED
      18 appears to be cancelled
      18 completed with result ABORTED
      13 appears to be cancelled
      [...]

      For my test case, I have 26 slaves, 82 executors, 25 sub-jobs. I can reproduce reliably if I launch 5 or more top level jobs at once.

          [JENKINS-13972] Concurrent matrix builds abort

          John Koleszar created issue -
          Sven Appenrodt made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          aleksas made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Miro Vnuk made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Oleg Nenashev made changes -
          Component/s New: matrix-project [ 18765 ]
          Component/s Original: concurrent-build [ 15628 ]
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144440 ] New: JNJira + In-Review [ 186061 ]
          Oliver Gondža made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          pjdarton made changes -
          Link New: This issue relates to JENKINS-46453 [ JENKINS-46453 ]

            Unassigned Unassigned
            jkoleszar John Koleszar
            Votes:
            25 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated:
              Resolved: