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

hudson.tasks.junit.AbortException thrown on some maven2 projects

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: Linux

      I'm currently using hudson with several maven2 projects. After upgrading from
      version 1.126 to 1.129, all of the projects which run JUnit tests fail after the
      integration-test phase. The projects are all configured to monitor svn targets,
      and the maven goals being executed are "clean deploy". The following is the
      stack trace:

      [HUDSON] Recording test results
      [HUDSON] Archiving
      /usr/local/hudson/.hudson/jobs/Platform-Trunk/workspace/platform-trunk/client-plugin/pom.xml
      [HUDSON] Archiving
      /usr/local/hudson/.hudson/jobs/Platform-Trunk/workspace/platform-trunk/client-plugin/target/client-
      plugin-0.8.19-SNAPSHOT.jar
      [HUDSON] Archiving
      /usr/local/hudson/.hudson/jobs/Platform-Trunk/workspace/platform-trunk/client-plugin/target/client-plugin-0.8.19-SNAPSHOT-sources.jar
      [INFO] ------------------------------------------------------------------------

      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Test reports were found but none of them are new. Did tests run? For
      example,
      /usr/local/hudson/.hudson/jobs/Platform-Trunk/workspace/platform-trunk/client-plugin/target/surefire-reports/TEST-
      net.mobio.qname.LocalNameMapTest.xml is 0 seconds old

      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      hudson.tasks.junit.AbortException: Test reports were found but none of them are
      new. Did tests run? For example,
      /usr/local/hudson/.hudson/jobs/Platform-Trunk/workspace/platform-trunk/client-plugin/target/surefire-reports/TEST-
      net.mobio.qname.LocalNameMapTest.xml is 0 seconds old

      at hudson.tasks.junit.TestResult.<init>(TestResult.java:90)
      at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:67)
      at hudson.maven.PluginManagerInterceptor.postExecute
      (PluginManagerInterceptor.java:111)
      at
      hudson.maven.agent.PluginManagerInterceptor$1MojoConfig.callPost(PluginManagerInterceptor.java:102)
      at
      hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java
      :133)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
      :475)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
      :306)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:35)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:327)
      at org.apache.maven.DefaultMaven.execute
      (DefaultMaven.java:120)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:263)
      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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
      :315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:89)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:172)
      at hudson.maven.MavenBuild$Builder.call
      (MavenBuild.java:140)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:178)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
      (ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 25 seconds
      [INFO] Finished at: Thu Aug 16 10:33:06 PDT 2007
      [INFO] Final Memory: 12M/29M
      [INFO] ------------------------------------------------------------------------
      finished: FAILURE

          [JENKINS-751] hudson.tasks.junit.AbortException thrown on some maven2 projects

          lozdvc5 created issue -
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          lozdvc5 made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Richard Bywater made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          Frank Mueller made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Frank Mueller made changes -
          Link New: This issue is related to JENKINS-25356 [ JENKINS-25356 ]
          Frank Mueller made changes -
          Link New: This issue is related to JENKINS-25356 [ JENKINS-25356 ]
          Frank Mueller made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Frank Mueller made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130824 ] New: JNJira + In-Review [ 200146 ]

            Unassigned Unassigned
            lozdvc5 lozdvc5
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: