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

Changing slave label doesn't assign queued job with same label to the slave

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Component/s: core
    • Labels:
      None
    • Environment:
      Hudson (ver. 1.357) master on Linux RHEL5: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux

      Slave Windows XP with SP3.
    • Similar Issues:

      Description

      Slave was assigned with label "test".

      1) Job is waiting in queue for next available executor with label "UT".
      2) Slave label changed to "UT".
      3) Job stays waiting in queue.
      4) Slave is marked temporarily offline and online.
      5) Job runs on slave with label "UT".

      I think that the job in queue should be executed with the slave already in the 3rd step and not only after slave is taken offline and online again.

        Attachments

          Activity

          Show
          danielbeck Daniel Beck added a comment - https://github.com/jenkinsci/jenkins/pull/1261
          Hide
          aheritier Arnaud Héritier added a comment - - edited

          Daniel Beck should it be fixed by https://github.com/jenkinsci/jenkins/pull/1860 and related commits ?? See also JENKINS-31055

          Show
          aheritier Arnaud Héritier added a comment - - edited Daniel Beck should it be fixed by https://github.com/jenkinsci/jenkins/pull/1860 and related commits ?? See also JENKINS-31055
          Hide
          danielbeck Daniel Beck added a comment -

          I tested this in Jenkins 2.107 and it now works.

          Show
          danielbeck Daniel Beck added a comment - I tested this in Jenkins 2.107 and it now works.

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              tiainpa tiainpa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: