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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, junit-plugin
    • None
    • Windows Server 2008 R2
      Jetty 7.3.0.v20110203
      Jenkins 1.416

      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 ...

          [JENKINS-10030] Builds fail in JUnit test archiving (since 1.416) if specifying JDK other than the container

          Pei-Tang Huang created issue -
          Pei-Tang Huang made changes -
          Summary Original: hudson.util.io.ParserConfigurator anonymous inner class serialzation error in jenkins 1.416 New: Maven build fail (since 1.416) for specifying JDK other than the container
          Fred G made changes -
          Link New: This issue is related to JENKINS-10058 [ JENKINS-10058 ]
          micha4311 made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          kutzi made changes -
          Assignee New: kutzi [ kutzi ]
          kutzi made changes -
          Link Original: This issue is related to JENKINS-10058 [ JENKINS-10058 ]
          kutzi made changes -
          Link New: This issue is duplicated by JENKINS-10058 [ JENKINS-10058 ]
          kutzi made changes -
          Link New: This issue is duplicated by JENKINS-10198 [ JENKINS-10198 ]
          kutzi made changes -
          Summary Original: Maven build fail (since 1.416) for specifying JDK other than the container New: Builds fail in JUnit test archiving (since 1.416) if specifying JDK other than the container
          kutzi made changes -
          Component/s New: junit [ 15499 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: