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

Matrix build on multiple hosts cant be imported by 1.373

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      Solaris 10, sparc. Hudson home on nfs server mounted with v3. JVM 1.5.0_06-b05
      Windows
      Linux ubuntu

      Description

      After upgrade to 1.373 our matrix build stop working. Even creating of a new job did not work. The job executes a shell script on multiple nodes in parallel. Configuration changes are simply lost. A NPE option was thrown :

      Caused by: java.lang.NullPointerException
      at java.util.ArrayList.<init>(ArrayList.java:133)
      at hudson.matrix.Axis.<init>(Axis.java:74)
      at hudson.matrix.LabelAxis.<init>(LabelAxis.java:40)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:409)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:355)
      at hudson.model.Descriptor.newInstance(Descriptor.java:466)
      at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:743)
      at hudson.util.DescribableList.rebuildHetero(DescribableList.java:172)
      at hudson.matrix.MatrixProject.submit(MatrixProject.java:561)
      at hudson.model.Job.doConfigSubmit(Job.java:1086)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:571)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:259)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

      a roll back to 1.372 fixed the issue.

      1. stdouterror.txt
        10 kB
        emmulator
      2. UIerror.txt
        5 kB
        emmulator
      1. doubleSlaveConfig.png
        20 kB

        Issue Links

          Activity

          Hide
          ken_graham ken_graham added a comment -

          Start with a clean 1.377
          // no additional plugins - no command line flags, nothing special.

          Add two slaves, specifying only the number of executors, home path, and how to connect.
          // does not seem to matter what they are or how they are connected (ssh or windows service).

          Add a Multi-configuration job.

          Select "Add Axis" then select "Slaves".
          // This should pull up a dialog box, where only Individual Nodes is expandable, if directions above were followed.

          Select all entries (should be three if directions above were followed).

          Save the job.

          The display should show three status indicators.

          Select Configure.

          Expand the "Individual Nodes" node in the Slaves dialog box.

          Note that the Master node is the only one selected.

          Show
          ken_graham ken_graham added a comment - Start with a clean 1.377 // no additional plugins - no command line flags, nothing special. Add two slaves, specifying only the number of executors, home path, and how to connect. // does not seem to matter what they are or how they are connected (ssh or windows service). Add a Multi-configuration job. Select "Add Axis" then select "Slaves". // This should pull up a dialog box, where only Individual Nodes is expandable, if directions above were followed. Select all entries (should be three if directions above were followed). Save the job. The display should show three status indicators. Select Configure. Expand the "Individual Nodes" node in the Slaves dialog box. Note that the Master node is the only one selected.
          Hide
          ken_graham ken_graham added a comment -

          Above behavior is repeated in 1.378, with the exception that upon selecting configure after saving, no slaves are displayed as selected.

          Show
          ken_graham ken_graham added a comment - Above behavior is repeated in 1.378, with the exception that upon selecting configure after saving, no slaves are displayed as selected.
          Hide
          nparry Nathan Parry added a comment -

          The last couple of comments sound similar to JENKINS-7500

          Show
          nparry Nathan Parry added a comment - The last couple of comments sound similar to JENKINS-7500
          Hide
          ircmicks ircmicks added a comment -

          This issue is still reproducible on 1.384.
          Any idea when this will be fixed ?

          Show
          ircmicks ircmicks added a comment - This issue is still reproducible on 1.384. Any idea when this will be fixed ?
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          As of 1.398 I can no longer reproduce this problem. So I'm marking this as fixed.

          If people continue to see the problem, please post the steps to reproduce the problem, which would make it a lot easier for us to fix the problem.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - As of 1.398 I can no longer reproduce this problem. So I'm marking this as fixed. If people continue to see the problem, please post the steps to reproduce the problem, which would make it a lot easier for us to fix the problem.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              kofemann kofemann
            • Votes:
              19 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: