You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2011/11/23 22:17:22 UTC

Build failed in Jenkins: maven-surefire #123

See <https://builds.apache.org/job/maven-surefire/123/changes>

Changes:

[krosenvold] [SUREFIRE-746] NPE with failing runlisteners.

Testcase submitted by Aslak Knutsen, issues fixed by me. Testcase applied with modifications

[krosenvold] [SUREFIRE-794] Added testcase, unable to reproduce

Check out this testcase and use mvn -PwithXmlFile -Dsurefire.version=2.11-SNAPSHOT -Djunit.version=4.8 test to try to reproduce

[krosenvold] o Removed duplicated code path through classloader creation and parts of the fork logic

This was one of the last significant pieces of mess left in the code base, which was blocking any
further additions like the one i promised stephenc

------------------------------------------
[...truncated 631 lines...]
[INFO] [INFO] Deleting <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target>
                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building SureFire JUnit Runner 2.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ surefire-junit3 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ surefire-junit3 ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to META-INF
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ surefire-junit3 ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ surefire-junit3 ---
[INFO] Compiling 7 source files to <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/classes>
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/src/test/resources>
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ surefire-junit3 ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ surefire-junit3 ---
[INFO] Compiling 1 source file to <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/test-classes>
[INFO] [INFO] Surefire report directory: <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.shadefire.junit.JUnit3Provider

[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ surefire-junit3 ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.surefire.junit.JUnitTestSetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ surefire-junit3 ---
[INFO] Building jar: <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-junit3-2.11-SNAPSHOT.jar>
[INFO] [INFO] Including org.apache.maven.surefire:common-junit3:jar:2.11-SNAPSHOT in the shaded jar.
[INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.11-SNAPSHOT from the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-junit3-2.11-SNAPSHOT.jar> with <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-junit3-2.11-SNAPSHOT-shaded.jar>

[INFO] --- maven-shade-plugin:1.4:shade (default) @ surefire-junit3 ---
[INFO] [INFO] Installing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-junit3-2.11-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/maven/surefire/surefire-junit3/2.11-SNAPSHOT/surefire-junit3-2.11-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/dependency-reduced-pom.xml> to /home/jenkins/.m2/repository/org/apache/maven/surefire/surefire-junit3/2.11-SNAPSHOT/surefire-junit3-2.11-SNAPSHOT.pom

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ surefire-junit3 ---
[JENKINS] Archiving <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/dependency-reduced-pom.xml> to /home/hudson/hudson/jobs/maven-surefire/modules/org.apache.maven.surefire$surefire-junit3/builds/2011-11-23_21-12-47/archive/org.apache.maven.surefire/surefire-junit3/2.11-SNAPSHOT/surefire-junit3-2.11-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit3/target/surefire-junit3-2.11-SNAPSHOT.jar> to /home/hudson/hudson/jobs/maven-surefire/modules/org.apache.maven.surefire$surefire-junit3/builds/2011-11-23_21-12-47/archive/org.apache.maven.surefire/surefire-junit3/2.11-SNAPSHOT/surefire-junit3-2.11-SNAPSHOT.jar
[INFO] [INFO] Deleting <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target>
                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building SureFire JUnit4 Runner 2.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ surefire-junit4 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ surefire-junit4 ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to META-INF
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ surefire-junit4 ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ surefire-junit4 ---
[INFO] Compiling 2 source files to <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/classes>
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/src/test/resources>
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ surefire-junit4 ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ surefire-junit4 ---
[INFO] Compiling 1 source file to <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/test-classes>
[INFO] [INFO] Surefire report directory: <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.shadefire.junit.JUnit3Provider

[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ surefire-junit4 ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.surefire.junit4.JUnit4ProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ surefire-junit4 ---
[INFO] Building jar: <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-junit4-2.11-SNAPSHOT.jar>
[INFO] [INFO] Including org.apache.maven.surefire:common-junit4:jar:2.11-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.maven.surefire:common-junit3:jar:2.11-SNAPSHOT in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-utils:jar:2.1 in the shaded jar.
[INFO] Excluding org.apache.maven.surefire:surefire-api:jar:2.11-SNAPSHOT from the shaded jar.
[INFO] Minimizing jar org.apache.maven.surefire:surefire-junit4:jar:2.11-SNAPSHOT

[INFO] --- maven-shade-plugin:1.4:shade (default) @ surefire-junit4 ---
[INFO] Minimized 134 -> 35 (26%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-junit4-2.11-SNAPSHOT.jar> with <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-junit4-2.11-SNAPSHOT-shaded.jar>
[INFO] [INFO] Installing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-junit4-2.11-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.11-SNAPSHOT/surefire-junit4-2.11-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/dependency-reduced-pom.xml> to /home/jenkins/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.11-SNAPSHOT/surefire-junit4-2.11-SNAPSHOT.pom

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ surefire-junit4 ---
[JENKINS] Archiving <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/dependency-reduced-pom.xml> to /home/hudson/hudson/jobs/maven-surefire/modules/org.apache.maven.surefire$surefire-junit4/builds/2011-11-23_21-12-47/archive/org.apache.maven.surefire/surefire-junit4/2.11-SNAPSHOT/surefire-junit4-2.11-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-surefire/ws/surefire-providers/surefire-junit4/target/surefire-junit4-2.11-SNAPSHOT.jar> to /home/hudson/hudson/jobs/maven-surefire/modules/org.apache.maven.surefire$surefire-junit4/builds/2011-11-23_21-12-47/archive/org.apache.maven.surefire/surefire-junit4/2.11-SNAPSHOT/surefire-junit4-2.11-SNAPSHOT.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Surefire Common 2.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Deleting <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/target>
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ maven-surefire-common ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ maven-surefire-common ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/src/main/resources>
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ maven-surefire-common ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ maven-surefire-common ---
[INFO] Compiling 34 source files to <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/target/classes>
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/src/test/resources>
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ maven-surefire-common ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ maven-surefire-common ---
[INFO] Compiling 9 source files to <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/target/test-classes>
[INFO] [INFO] Surefire report directory: <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.shadefire.junit.JUnit3Provider

[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ maven-surefire-common ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.surefire.booterclient.ForkingRunListenerTest

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
Running org.apache.maven.plugin.surefire.booterclient.BooterDeserializerStartupConfigurationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
Running org.apache.maven.plugin.surefire.booterclient.ForkConfigurationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.maven.plugin.surefire.booterclient.BooterDeserializerProviderConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.surefire.booterclient.TestSetMockReporterFactory
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.maven.plugin.surefire.SummaryTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.maven.surefire.report.FileReporterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.maven.surefire.report.ConsoleOutputFileReporterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Tests run: 48, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [INFO] Building jar: <https://builds.apache.org/job/maven-surefire/ws/maven-surefire-common/target/maven-surefire-common-2.11-SNAPSHOT.jar>

[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ maven-surefire-common ---
Nov 23, 2011 9:17:03 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel channel
java.io.StreamCorruptedException
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
	at hudson.remoting.Channel$ReaderThread.run(Channel.java:1087)
channel stopped
ERROR: Maven JVM terminated unexpectedly with exit code 0



Jenkins build is back to normal : maven-surefire #124

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/maven-surefire/124/changes>