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

Could not launch job on multiple nodes if Restrict jobs execution at node is active

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Could not launch job on multiple nodes if Restrict jobs execution at node is active.

      I am Admin login to jenkins with userID AAA. 
      job restriction at each node is "Started By User" as shown in below:

       

      Now I (with AAA user login) run one job giving multiple nodes as parameter. Each node has same configuration of restrict jobs as shown above. I am only person allowed to start the test on that machine because of "Restrict job execution" which ristricts execution of job by user other than me.

       

      But jobs start at any one random node and all other nodes are shown as pending as belows :

      Errors shows : pending — oneNode doesn't have label targetRunNode, secondNode doesn't have label targetRunNode,  thirdNode doesn't have label targetRunNode .............

       

      But when I remove this "Restrict job execution at node" then everything works fine as expected. 

       

      For Reference I used following configuration for node-label :

       

      with "Execute concurrent builds if necessary" active.

       

      This issue is reproducible even when we choose "Label parameter" for parallel execution of job on multiple nodes.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I'd guess the NodeLabel Parameter Plgin does not properly pass the upstream cause.
          I need build.xml files for triggered builds to confirm that

          Show
          oleg_nenashev Oleg Nenashev added a comment - I'd guess the NodeLabel Parameter Plgin does not properly pass the upstream cause. I need build.xml files for triggered builds to confirm that

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            umesh Umesh Salotagi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: