maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hudson <Hud...@sonatype.org>
Subject Build failed in Hudson: surefire-trunk » 1.5,ubuntu #3
Date Mon, 15 Jun 2009 21:25:40 GMT
See http://grid.sonatype.org/ci/job/surefire-trunk/./jdk=1.5,label=ubuntu/3/

------------------------------------------
[...truncated 2210 lines...]
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:600)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Jun 15 15:19:13 GMT-06:00 2009
[INFO] Final Memory: 9M/58M
[INFO] ------------------------------------------------------------------------
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:918)
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:786)
	at org.apache.maven.surefire.its.SystemPropertiesTest.testSystemProperties(SystemPropertiesTest.java:31)
	at org.apache.maven.surefire.its.SystemPropertiesTest.testSystemProperties(SystemPropertiesTest.java:31)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

testSystemPropertiesNoFork(org.apache.maven.surefire.its.SystemPropertiesTest)  Time elapsed:
6.509 sec  <<< ERROR!
org.apache.maven.it.VerificationException: Exit code was non-zero: 1; log = 
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT: checking for
updates from central
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT: checking for
updates from central
[INFO] snapshot org.apache.maven.surefire:surefire:2.5-SNAPSHOT: checking for updates from
central
[INFO] snapshot org.apache.maven.surefire:surefire:2.5-SNAPSHOT: checking for updates from
central
[INFO] Searching repository for plugin with prefix: 'clean'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] ------------------------------------------------------------------------
[INFO] Building Test for systemProperties
[INFO]    task-segment: [clean:clean, test]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target
[INFO] [build-helper:reserve-network-port {execution: default}]
[INFO] Reserved port 39687 for reservedPort1
[INFO] Reserved port 45961 for reservedPort2
[INFO] Reserved port 52949 for reservedPort3
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] skip non existing resourceDirectory /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/src/main/resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] skip non existing resourceDirectory /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/test-classes
[INFO] snapshot org.apache.maven.surefire:surefire-booter:2.5-SNAPSHOT: checking for updates
from central
[INFO] snapshot org.apache.maven.surefire:surefire-booter:2.5-SNAPSHOT: checking for updates
from central
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.5-SNAPSHOT: checking for updates
from central
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.5-SNAPSHOT: checking for updates
from central
[WARNING] DEPRECATED [systemProperties]: use systemPropertyVariables instead
[INFO] [surefire:test]
[INFO] snapshot org.apache.maven.surefire:surefire-junit:2.5-SNAPSHOT: checking for updates
from central
[INFO] snapshot org.apache.maven.surefire:surefire-providers:2.5-SNAPSHOT: checking for updates
from central
[INFO] Surefire report directory: /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/surefire-reports
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running systemProperties.BasicTest
reservedPort1: 39687
reservedPort2: 45961
reservedPort3: 52949
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
testSystemPropertyGenerateByOtherPlugin(systemProperties.BasicTest)  Time elapsed: 0.002 sec
 <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<52949>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:282)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:201)
	at junit.framework.Assert.assertEquals(Assert.java:207)
	at systemProperties.BasicTest.testSystemPropertyGenerateByOtherPlugin(BasicTest.java:46)
Results :
Failed tests: 
  testSystemPropertyGenerateByOtherPlugin(systemProperties.BasicTest)
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/surefire-reports
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
	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 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/test-classes/system-properties/target/surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:600)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Jun 15 15:19:19 GMT-06:00 2009
[INFO] Final Memory: 9M/65M
[INFO] ------------------------------------------------------------------------
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:918)
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:786)
	at org.apache.maven.surefire.its.SystemPropertiesTest.testSystemPropertiesNoFork(SystemPropertiesTest.java:52)
	at org.apache.maven.surefire.its.SystemPropertiesTest.testSystemPropertiesNoFork(SystemPropertiesTest.java:52)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

Running org.apache.maven.surefire.its.PlexusConflictTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.573 sec
Running org.apache.maven.surefire.its.AggregateReportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.585 sec
Running org.apache.maven.surefire.its.TestNgPathWithSpaces
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.317 sec
Running org.apache.maven.surefire.its.TestSingleTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.274 sec
Running org.apache.maven.surefire.its.TestFailIfNoTests
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.088 sec
Running org.apache.maven.surefire.its.Surefire44InnerClassTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.543 sec
Running org.apache.maven.surefire.its.TestNgVersionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.533 sec
Running org.apache.maven.surefire.its.TestFailIfNoTestsForkMode
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.822 sec
Running org.apache.maven.surefire.its.TimeoutForkedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.901 sec
Running org.apache.maven.surefire.its.TestPlainOldJavaClasspath
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.689 sec
Running org.apache.maven.surefire.its.EnvironmentVariableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.769 sec
Running org.apache.maven.surefire.its.TestNgSuiteXmlTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.602 sec
Running org.apache.maven.surefire.its.TestNgSuiteXmlSingleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.177 sec
Running org.apache.maven.surefire.its.TestJUnit44Hamcrest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.084 sec
Running org.apache.maven.surefire.its.WorkingDirectoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.892 sec
Running org.apache.maven.surefire.its.SiblingAggregatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.023 sec
Running org.apache.maven.surefire.its.TestUseIsolatedClassLoader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.117 sec
Running org.apache.maven.surefire.its.Surefire162CharsetProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.54 sec
Running org.apache.maven.surefire.its.TestNgListenerReporter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.164 sec
Running org.apache.maven.surefire.its.TestNgJdk14Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.918 sec
Running org.apache.maven.surefire.its.TwoTestCasesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.328 sec
Running org.apache.maven.surefire.its.Surefire224WellFormedXmlFailuresTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.212 sec
Running org.apache.maven.surefire.its.ForkModeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.879 sec
Running org.apache.maven.surefire.its.Junit4VersionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.846 sec
Running org.apache.maven.surefire.its.TestNgBeforeMethod
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.121 sec
Running org.apache.maven.surefire.its.TestNgGroupThreadParallel
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.177 sec

Results :

Failed tests: 
  testExecuteError(org.apache.maven.surefire.its.TestNgExecuteErrorTest)

Tests in error: 
  testSystemProperties(org.apache.maven.surefire.its.SystemPropertiesTest)
  testSystemPropertiesNoFork(org.apache.maven.surefire.its.SystemPropertiesTest)

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/hudson/workspace/surefire-trunk/jdk/1.5/label/ubuntu/trunk/surefire-integration-tests/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 3 seconds
[INFO] Finished at: Mon Jun 15 15:25:40 GMT-06:00 2009
[INFO] Final Memory: 24M/85M
[INFO] ------------------------------------------------------------------------


Mime
View raw message