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 #4
Date Mon, 15 Jun 2009 23:07:08 GMT
See http://grid.sonatype.org/ci/job/surefire-trunk/./jdk=1.5,label=ubuntu/4/changes

Changes:

[Olivier Lamy] [SUREFIRE-551] On Linux (Ubuntu) it fails to escape all special characters
when forking commands.
upgrade to p-u 1.5.9

------------------------------------------
[...truncated 610 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: 3 seconds
[INFO] Finished at: Mon Jun 15 17:02:15 GMT-06:00 2009
[INFO] Final Memory: 9M/56M
[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:
4.366 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 56873 for reservedPort1
[INFO] Reserved port 57660 for reservedPort2
[INFO] Reserved port 41916 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: 56873
reservedPort2: 57660
reservedPort3: 41916
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec <<< FAILURE!
testSystemPropertyGenerateByOtherPlugin(systemProperties.BasicTest)  Time elapsed: 0.001 sec
 <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<41916>
	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: 3 seconds
[INFO] Finished at: Mon Jun 15 17:02:20 GMT-06:00 2009
[INFO] Final Memory: 9M/51M
[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: 10.294 sec
Running org.apache.maven.surefire.its.AggregateReportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.762 sec
Running org.apache.maven.surefire.its.TestNgPathWithSpaces
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.554 sec
Running org.apache.maven.surefire.its.TestSingleTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.879 sec
Running org.apache.maven.surefire.its.TestFailIfNoTests
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.343 sec
Running org.apache.maven.surefire.its.Surefire44InnerClassTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.356 sec
Running org.apache.maven.surefire.its.TestNgVersionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.336 sec
Running org.apache.maven.surefire.its.TestFailIfNoTestsForkMode
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.536 sec
Running org.apache.maven.surefire.its.TimeoutForkedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.284 sec
Running org.apache.maven.surefire.its.TestPlainOldJavaClasspath
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.749 sec
Running org.apache.maven.surefire.its.EnvironmentVariableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.086 sec
Running org.apache.maven.surefire.its.TestNgSuiteXmlTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.742 sec
Running org.apache.maven.surefire.its.TestNgSuiteXmlSingleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.86 sec
Running org.apache.maven.surefire.its.TestJUnit44Hamcrest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.662 sec
Running org.apache.maven.surefire.its.WorkingDirectoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.91 sec
Running org.apache.maven.surefire.its.SiblingAggregatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.483 sec
Running org.apache.maven.surefire.its.TestUseIsolatedClassLoader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.935 sec
Running org.apache.maven.surefire.its.Surefire162CharsetProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.443 sec
Running org.apache.maven.surefire.its.TestNgListenerReporter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.157 sec
Running org.apache.maven.surefire.its.TestNgJdk14Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.729 sec
Running org.apache.maven.surefire.its.TwoTestCasesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec
Running org.apache.maven.surefire.its.Surefire224WellFormedXmlFailuresTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.971 sec
Running org.apache.maven.surefire.its.ForkModeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.852 sec
Running org.apache.maven.surefire.its.Junit4VersionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.355 sec
Running org.apache.maven.surefire.its.TestNgBeforeMethod
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.406 sec
Running org.apache.maven.surefire.its.TestNgGroupThreadParallel
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.678 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: 6 minutes 34 seconds
[INFO] Finished at: Mon Jun 15 17:07:08 GMT-06:00 2009
[INFO] Final Memory: 30M/73M
[INFO] ------------------------------------------------------------------------


Mime
View raw message