Matrix plugin does not enumerate Labels and Nodes

Jenkins 2.387.2
Matrix Authorization Strategy Plugin 3.1.7
Matrix Project Plugin 789.v57a_725b_63c79

This week we have found that the Configuration screen for Matrix jobs no longer enumerates Labels and Nodes in Configure > Configuration Matrix > Agents:

This appears to be new behavior this week. I tried creating a new Matrix job but the behavior is the same.

Any suggestions how to fix this please?

A follow-up question on this. On the Jenkins controller where I see the problem, if I create a new Multi-configuration project, I am offered 3 options when adding an axis:

Matrix_A

But on another, newer Jenkins controller, I see only one option:

Matrix_B

It’s a long time since I set-up the matrix jobs. Would the ‘Agents’, ‘Label expression’ options be something I would have set-up or are they automatically offered by the plugin?

If the latter, why are they not offered on the newer controller?

I suspect that you’re seeing a bug that is somehow related to “Unable to reorder elements in jobs” and possibly to “Cannot select secret” . The change in 2.402 seems to be the cause.

Switch to 2.401 while the maintainers investigate alternatives. Would also be good to confirm that [JENKINS-71089] Fix `hasHeader` attribute for `f:hetero-list` by janfaracik · Pull Request #7853 · jenkinsci/jenkins · GitHub is the cause if you’re able to build Jenkins locally with that pull request reverted.

I suspect that you are missing one or more plugins (possibly node label parameter plugin?) on the new controller that are installed on the old controller. When I create a matrix project with Jenkins 2.402, it shows the three items in the dropdown that you see on your other controller.

I am unable to duplicate the problem that you’re seeing on my fresh install of Jenkins 2.402. When I open the configuration matrix I see the expected dropdown for nodes and labels with both Firefox 112 and most recent Google Chrome.

configuration-matrix

Are you running Firefox ESR or some other browser?

Hi Mark, thanks for your help.

Regarding the second controller, which doesn’t offer labels or nodes, I think I have missed the obvious - this controller doesn’t have any agents, so I guess it is reasonable that none are offered.

Regarding the ‘production’ controllers that my first question was about: I am using Edge and Chrome, both browers do not show the Label and Node trees.

It seems, from your latest reply, that the Jenkins version is not the reason. But, anyway, I am using the LTS, which is much earlier.

I have another unresolved thread that questions why the snippet generator is not working for me for some plugins.

Snippet Generator not working - Using Jenkins - Jenkins

Perhaps the two problems are connected?