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

Flyweight tasks only use one-off executor when they can be scheduled immediately

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Linux/ubuntu14.04

      I have a fresh downloaded jenkins whitout plugins running and configured
      one dumb slave (slave1) connected via ssh+user/password.
      I set up a matrix project (a minimal example is attached) to build on
      slave1 and tie the parent to that slave (in advanced project settings)
      When
      1) the slave has only 1 executor
      2) the slave is configured to get online when needed ("take this slave on-line when in demand and off-line when idle")
      then the deadlock happens if the slave is offline when the project is triggered. The parent build wakes up the slave, but then stucks saying

      Configuration tst ยป slave1 is still in the queue: Waiting for next available executor on slave1

      Note that 1) and 2) are necessary to reproduce the bug. If the slave is
      accidentally online at build start, the project builds fine.

      This is maybe JENKINS-22502 but the minimalistic setup should allow
      to reproduce the bug easily.

          [JENKINS-24519] Flyweight tasks only use one-off executor when they can be scheduled immediately

          felix schwitzer created issue -
          Daniel Beck made changes -
          Component/s Original: matrix [ 15501 ]
          Summary Original: matrix build deadlocks slave New: Flyweight tasks only use one-off executor when they can be scheduled immediately
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-22072 [ JENKINS-22072 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-24748 [ JENKINS-24748 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-10944 [ JENKINS-10944 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-22502 [ JENKINS-22502 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 1513 (Web Link)" [ 12002 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          James Nord made changes -
          Link New: This issue is related to JENKINS-30084 [ JENKINS-30084 ]

            jglick Jesse Glick
            felixschwitzer felix schwitzer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: