-
Bug
-
Resolution: Unresolved
-
Critical
-
None
I have a Matrix Job which runs on multiple agents.
These agents are provided by Swarm Client, and are marked as "exclusive" such that they should only run jobs which match the agent label.
However, the matrix job's initial "flyweight" light weight master job automatically selects this node as the master, and results in the build failing because this particular agent does not have the Git utilities installed, so it cannot run the flyweight task.
I had assumed that "exclusive" really would be "exclusive" and would prevent flyweight tasks from selecting this machine.
For reference, commit 55bf88329027 ("If every node is restricted to tied jobs only, Matrix build jobs can never start.", 2013-06-18) of the Jenkins CORE changed this behavior. Unfortunately, this means that exclusive nodes no longer ignore flyweight jobs if the master node cannot itself host the jobs.
I think this needs to be refined somewhat, and possibly simply be considered an error.