-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.249.2, Windows 8, Windows 10
Matrix jobs not running on nodes even though label selection matches
I have the master, 8 windows build nodes, some test nodes, some linux nodes etc.
Each of the windows build nodes have the general configuration:
# of executors | 1 |
Labels | Builders |
Usage | Only build jobs with label expressions matching this node |
Launch method | Launch agents via SSH |
Availability | Keep this agent online as much as possible |
I have a multi-configuration project FlywheelServer defined with Restricht where this project can be run set to "Builders". The notes say "Label Builders matches 8 nodes. Permissions or restrictions provided by plugins may further reduce that list."
The matrix options are versions of Visual Studio: VS2012, VS2013, VS2015, VS2017 and bit architecture 32, 64.
The job hangs when it runs.
The 'controlling' job "FlywheelServer" is running on one of the build nodes. However the build job itself "FlywheelServer 64,VS2017" hangs forever in the build queue with a message
‘BUILD-W10-A61’ is reserved for jobs with matching label expression; ‘BUILD-W10-A62’ is reserved for jobs with matching label expression; ‘BUILD-W10-A71’ is reserved for jobs with matching label expression; ‘BUILD-W10-A72’ is reserved for jobs with matching label expression; ‘BUILD-W10-A81’ is reserved for jobs with matching label expression; ‘BUILD-W10-A82’ is reserved for jobs with matching label expression; ‘BUILD-W10-A91’ is reserved for jobs with matching label expression; ‘BUILD-W10-A92’ is reserved for jobs with matching label expression; ‘BuildSigner’ is reserved for jobs with matching label expression; ‘Jenkins’ is reserved for jobs with matching label expression; ‘LIN-CENT-OS7’ is reserved for jobs with matching label expression; ‘LIN-FEDORA20’ is reserved for jobs with matching label expression; ‘LIN-OPENSUSE-15’ is reserved for jobs with matching label expression; ‘LIN-SCILIN-6’ is reserved for jobs with matching label expression; ‘LIN-UBUNTU-18’ is reserved for jobs with matching label expression; ‘OSX-STRATOVANS-MAC’ is reserved for jobs with matching label expression; ‘TEST-W07-01’ is reserved for jobs with matching label expression; ‘TEST-W07-02’ is reserved for jobs with matching label expression; ‘TEST-W08-01’ is reserved for jobs with matching label expression; ‘TEST-W08-02’ is reserved for jobs with matching label expression; ‘TEST-W10-01’ is reserved for jobs with matching label expression; ‘TEST-W10-02’ is reserved for jobs with matching label expression)
The job has the label Builders and the controlling job correctly runs, but the child job that actually does the work is not correctly matching it's label.
I'm not sure if this is a matrix plugin issue or a node restriction issue.