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

running a build on multiple nodes no longer works.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Selecting multiple nodes to run the build on no longer works (I assume it did before but I have no knowledge of this).

      nodelabelparameter 1.7.1
      Jenkins 1.642.1

      Can be observed via the failing tests in ATH as well as locally.

      plugins.NodeLabelParameterPluginTest.run_on_online_slave_and_master_with_node_restriction

      java.lang.AssertionError: 
      Expected: Build history containing a build of FreeStyleJob[http://127.0.0.1:63955/job/genuine_aid/]
           but: Build history: .
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
      	at plugins.NodeLabelParameterPluginTest.run_on_online_slave_and_master_with_node_restriction(NodeLabelParameterPluginTest.java:531)
      

      plugins.NodeLabelParameterPluginTest.run_on_several_slaves

      java.lang.AssertionError: 
      Expected: is <3>
           but: was <2>
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
      	at plugins.NodeLabelParameterPluginTest.run_on_several_slaves(NodeLabelParameterPluginTest.java:170)
      

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -
          Show
          oleg_nenashev Oleg Nenashev added a comment - Here is a pull request for it: https://github.com/jenkinsci/nodelabelparameter-plugin/pull/13
          Hide
          imod Dominik Bartholdi added a comment -

          PR merged

          Show
          imod Dominik Bartholdi added a comment - PR merged

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: