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

Using Jenkins 1.583. Today updated plugins, junit publisher now crashes.

    Details

    • Similar Issues:

      Description

      Matrix job, all children "succeed" and then fail when publishing junit report

      ...

      BUILD SUCCESSFUL
      Total time: 21 seconds
      + exit 0
      Recording test results
      ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception
      java.lang.NoClassDefFoundError: jenkins/MasterToSlaveFileCallable
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
      at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756)
      at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:90)
      at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:120)
      at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1770)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      Caused by: java.lang.ClassNotFoundException: jenkins.MasterToSlaveFileCallable
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 23 more

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            The problem is that JUnit 1.3 is actually incompatible with Jenkins before 1.587 except 1.580.1 LTS. Unfortunately this cannot be expressed through dependencies, and to make it available to LTS users, it'll also be made available to users on weeklies >1.580.

            Workarounds:

            • Downgrade JUnit to 1.2
            • Downgrade/cross-grade Jenkins to 1.580.1 LTS
            • Upgrade Jenkins to 1.587 or higher

            As this only affects older weekly releases between 1.580 and 1.586, it's not worth the effort to fix. The general expectation is that users keep their instance fairly close to the current release when using the weeklies.

            Show
            danielbeck Daniel Beck added a comment - The problem is that JUnit 1.3 is actually incompatible with Jenkins before 1.587 except 1.580.1 LTS. Unfortunately this cannot be expressed through dependencies, and to make it available to LTS users, it'll also be made available to users on weeklies >1.580. Workarounds: Downgrade JUnit to 1.2 Downgrade/cross-grade Jenkins to 1.580.1 LTS Upgrade Jenkins to 1.587 or higher As this only affects older weekly releases between 1.580 and 1.586, it's not worth the effort to fix. The general expectation is that users keep their instance fairly close to the current release when using the weeklies.

              People

              • Assignee:
                Unassigned
                Reporter:
                reechard Richard Walker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: