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: mercury #91
Date Wed, 01 Oct 2008 18:53:12 GMT
See http://ci.sonatype.org/job/mercury/91/changes

Changes:

[ogusakov] trying to fix ci build

------------------------------------------
[...truncated 7232 lines...]

testWriteSnapshot(org.apache.maven.mercury.repository.tests.RemoteRepositoryWriterM2NexusTest)
 Time elapsed: 12.931 sec  <<< ERROR!
org.apache.maven.mercury.repository.api.RepositoryException: org.apache.maven.mercury.repository.api.RepositoryException:
[org.apache.maven.mercury.spi.http.client.HttpClientException: Http status code=500 for [http://localhost:8091/nexus/content/repositories/snapshots/org/apache/maven/maven-core/2.0.9-SNAPSHOT/maven-core-2.0.9-SNAPSHOT.jar
<=> /tmp/test-repo-writer5463bin]]
	at org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryWriterM2.writeArtifact(RemoteRepositoryWriterM2.java:270)
	at org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryWriterM2.writeArtifact(RemoteRepositoryWriterM2.java:136)
	at org.apache.maven.mercury.repository.tests.AbstractRepositoryWriterM2Test.testWriteSnapshot(AbstractRepositoryWriterM2Test.java:218)
	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:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: org.apache.maven.mercury.repository.api.RepositoryException: [org.apache.maven.mercury.spi.http.client.HttpClientException:
Http status code=500 for [http://localhost:8091/nexus/content/repositories/snapshots/org/apache/maven/maven-core/2.0.9-SNAPSHOT/maven-core-2.0.9-SNAPSHOT.jar
<=> /tmp/test-repo-writer5463bin]]
	at org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryWriterM2.writeArtifact(RemoteRepositoryWriterM2.java:265)
	... 28 more
Caused by: org.apache.maven.mercury.repository.api.RepositoryException: [org.apache.maven.mercury.spi.http.client.HttpClientException:
Http status code=500 for [http://localhost:8091/nexus/content/repositories/snapshots/org/apache/maven/maven-core/2.0.9-SNAPSHOT/maven-core-2.0.9-SNAPSHOT.jar
<=> /tmp/test-repo-writer5463bin]]
	at org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryWriterM2.writeArtifact(RemoteRepositoryWriterM2.java:265)
	... 28 more

Running org.apache.maven.mercury.repository.tests.LocalRepositoryReaderM2Test
query a:a:3::jar->[a:a:4::jar, a:a:3::jar]
Expected exception: org.apache.maven.mercury.repository.api.RepositoryException: Verifier
for .asc is mandatory, but file http://ci.sonatype.org/job/mercury/ws/mercury/mercury-it/./target/test-classes/repo/a/a/3/a-3.jar.asc
 does not exist
Expected exception: org.apache.maven.mercury.repository.api.RepositoryException: Signature
".asc": verification failed for file http://ci.sonatype.org/job/mercury/ws/mercury/mercury-it/./target/test-classes/repo/a/a/2/a-2.jar

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 sec
Running org.apache.maven.mercury.repository.tests.RemoteRepositoryReaderM2Test
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:60380
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:40458
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:44471
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:43096
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:53290
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
query a:a:3::jar->[a:a:3::jar, a:a:4::jar]
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:40807
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector@0.0.0.0:50576
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:40587
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:41287
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:10 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:10 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:54250
Oct 1, 2008 1:53:10 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:60695
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:52309
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:51446
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:59524
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
Expected Exceptions: {a:a:3::jar=org.apache.maven.mercury.repository.api.RepositoryException:
[org.apache.maven.mercury.spi.http.client.HttpClientException: java.lang.Exception: Mandatory
checksum file not found /repo/a/a/3/a-3.jar.asc for [http://localhost:59524/repo/a/a/3/a-3.jar
<=> /tmp/repo/a/a/3/a-3.jar]]}
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:49261
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
Expected Exceptions: {a:a:2::jar=org.apache.maven.mercury.repository.api.RepositoryException:
[org.apache.maven.mercury.spi.http.client.HttpClientException: Checksum failed for [http://localhost:49261/repo/a/a/2/a-2.jar
<=> /tmp/repo/a/a/2/a-2.jar]]}
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:44602
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.197 sec
Running org.apache.maven.mercury.repository.tests.ReadWriteTest
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:60681
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.tests.ReadWriteTest setUp
INFO: local repo is in /tmp/local5491repo
added 4
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.tests.ReadWriteTest testOneArtifact
INFO: a:a:jar:4:compile - pom length is 467
./target/test-classes/repo
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: jetty-6.1.12.rc2
Oct 1, 2008 1:53:11 PM sun.reflect.GeneratedMethodAccessor5 invoke
INFO: Started SocketConnector@0.0.0.0:36259
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryReaderM2
<init>
INFO: temporary repository  folder set to /tmp/repo
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.tests.ReadWriteTest setUp
INFO: local repo is in /tmp/local5493repo
added 4
Oct 1, 2008 1:53:11 PM org.apache.maven.mercury.repository.tests.ReadWriteTest testOneArtifactWithClassifier
INFO: a:a:jar:sources:4:compile - pom length is 467
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
Running org.apache.maven.mercury.repository.tests.LocalRepositoryWriterM2Test
skipping
skipping
added 2.0.9
added 2.0.9-20080805.215925-8
added 2.0.9-SNAPSHOT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.254 sec

Results :

Tests in error: 
  testWriteArtifact(org.apache.maven.mercury.repository.tests.RemoteRepositoryWriterM2NexusTest)
  testWriteSnapshotAsTS(org.apache.maven.mercury.repository.tests.RemoteRepositoryWriterM2NexusTest)
  testWriteSnapshot(org.apache.maven.mercury.repository.tests.RemoteRepositoryWriterM2NexusTest)

Tests run: 41, Failures: 0, Errors: 3, Skipped: 0

[INFO] Stopping plexus application.
Requesting Shutdown on Port 33002...
...Requested Shutdown on Port 33002 Completed
[INFO] Port 33002 Received shutdown command. Shutting down application.
[INFO] Port 33002 Controller Thread Complete
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to http://ci.sonatype.org/job/mercury/ws/mercury/mercury-it/target/surefire-reports
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to http://ci.sonatype.org/job/mercury/ws/mercury/mercury-it/target/surefire-reports
 for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	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 http://ci.sonatype.org/job/mercury/ws/mercury/mercury-it/target/surefire-reports
 for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 12 seconds
[INFO] Finished at: Wed Oct 01 13:53:12 CDT 2008
[INFO] Final Memory: 66M/149M
[INFO] ------------------------------------------------------------------------


Mime
View raw message