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

Builds fail in JUnit test archiving (since 1.416) if specifying JDK other than the container

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: core, junit-plugin
    • Labels:
      None
    • Environment:
      Windows Server 2008 R2
      Jetty 7.3.0.v20110203
      Jenkins 1.416

      Description

      After update Jenkins from 1.415 to 1.416,
      our maven projects build fail every time.

      The console output is list as below:

      ... skipped ...

      [TASKS] Skipping maven reporter: there is already a result available.
      [JENKINS] Recording test results
      [JENKINS] Archiving D:\AppData\jenkins\jobs\pac\workspace\pac-core\pom.xml to D:\AppData\jenkins\jobs\pac\modules\pac$pac-core\builds\2011-06-20_18-25-35\archive\pac\pac-core\1.0-SNAPSHOT\pac-core-1.0-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test': hudson.util.io.ParserConfigurator$1; local class incompatible: stream classdesc serialVersionUID = 6472613931861772577, local class serialVersionUID = -2178106894481500733
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 50 seconds
      [INFO] Finished at: Mon Jun 20 18:27:29 CST 2011
      [INFO] Final Memory: 97M/263M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data

      ... skipped ...

        Issue Links

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/util/io/ParserConfigurator.java
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/jenkins/307fca204598d2496325455ee49b1b634e71fdf2
          Log:
          [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/util/io/ParserConfigurator.java maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/jenkins/307fca204598d2496325455ee49b1b634e71fdf2 Log: [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/6b5ef4bd4aa8703f26ca7bda421171b56f9d7db9
          Log:
          added changelog entry for JENKINS-10030

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html http://jenkins-ci.org/commit/jenkins/6b5ef4bd4aa8703f26ca7bda421171b56f9d7db9 Log: added changelog entry for JENKINS-10030
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/util/io/ParserConfigurator.java
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/jenkins/9d8ac5f85bdfd6a52ece375996b92262e30fc31b
          Log:
          [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is(cherry picked from commit 307fca204598d2496325455ee49b1b634e71fdf2)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/util/io/ParserConfigurator.java maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/jenkins/9d8ac5f85bdfd6a52ece375996b92262e30fc31b Log: [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is(cherry picked from commit 307fca204598d2496325455ee49b1b634e71fdf2)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          http://jenkins-ci.org/commit/jenkins/2c20cf6b0a4d89d80c4a2faee7cd8c1d8bfa88ea
          Log:
          added changelog entry for JENKINS-10030

          Cherry-picked-from: 6b5ef4bd4aa8703f26ca7bda421171b56f9d7db9

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: http://jenkins-ci.org/commit/jenkins/2c20cf6b0a4d89d80c4a2faee7cd8c1d8bfa88ea Log: added changelog entry for JENKINS-10030 Cherry-picked-from: 6b5ef4bd4aa8703f26ca7bda421171b56f9d7db9
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/maven-plugin/da1597b76f1dc9530d8a20b8a58441bb39bdfa83
          Log:
          [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is
          Originally-Committed-As: 307fca204598d2496325455ee49b1b634e71fdf2

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/maven-plugin/da1597b76f1dc9530d8a20b8a58441bb39bdfa83 Log: [FIXED JENKINS-10030] builds failing while JUnit result archiving if build is running in different VM than Jenkins is Originally-Committed-As: 307fca204598d2496325455ee49b1b634e71fdf2

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              beta Pei-Tang Huang
            • Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: