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 #132
Date Tue, 04 Nov 2008 02:49:01 GMT
See http://ci.sonatype.org/job/mercury/132/changes

Changes:

[ogusakov] scoping, filtering work

------------------------------------------
[...truncated 6401 lines...]
[INFO] Retrieving previous metadata from apache.snapshots
[INFO] Uploading repository metadata for: 'snapshot org.apache.maven.mercury:mercury-repo-virtual:1.0.0-alpha-2-SNAPSHOT'
[INFO] Retrieving previous build number from apache.snapshots
Uploading: http://localhost:8081/content/repositories/maven.snapshots/org/apache/maven/mercury/mercury-repo-virtual/1.0.0-alpha-2-SNAPSHOT/mercury-repo-virtual-1.0.0-alpha-2-20081104.024735-31-tests.jar
5K uploaded
[INFO] ------------------------------------------------------------------------
[INFO] Building Mercury Dependency Builder:     1.0.0-alpha-2-SNAPSHOT
[INFO]    task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://ci.sonatype.org/job/mercury/ws/mercury/mercury-md/mercury-md-sat/target

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://localhost:8081/content/groups/public/org/sat4j/org.sat4j.core/2.0.0/org.sat4j.core-2.0.0.pom
258b downloaded
Downloading: http://localhost:8081/content/groups/public/org/sat4j/org.sat4j.pb/2.0.0/org.sat4j.pb-2.0.0.pom
256b downloaded
Downloading: http://localhost:8081/content/groups/public/org/sat4j/org.sat4j.core/2.0.0/org.sat4j.core-2.0.0.jar
154K downloaded
Downloading: http://localhost:8081/content/groups/public/org/sat4j/org.sat4j.pb/2.0.0/org.sat4j.pb-2.0.0.jar
81K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 20 source files to http://ci.sonatype.org/job/mercury/ws/mercury/mercury-md/mercury-md-sat/target/classes

[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.maven.mercury:mercury-repo-local-m2:1.0.0-alpha-2-SNAPSHOT: checking
for updates from central
[INFO] snapshot org.apache.maven.mercury:mercury-repo-local-m2:1.0.0-alpha-2-SNAPSHOT: checking
for updates from sona.staging
[INFO] snapshot org.apache.maven.mercury:mercury-repo-local-m2:1.0.0-alpha-2-SNAPSHOT: checking
for updates from sona.central
[INFO] [compiler:testCompile]
[INFO] Compiling 5 source files to http://ci.sonatype.org/job/mercury/ws/mercury/mercury-md/mercury-md-sat/target/test-classes

[INFO] [surefire:test]
[INFO] Surefire report directory: http://ci.sonatype.org/job/mercury/ws/mercury/mercury-md/mercury-md-sat/target/surefire-reports


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.mercury.metadata.ClassicDepthComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running org.apache.maven.mercury.metadata.DependencyTreeBuilderTest
Asking for pom: a:a:1::jar
request for a:a:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:1::jar
request for c:c:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:2::jar
request for a:a:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:2::jar
request for c:c:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:2::jar
request for a:a:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:2::jar
request for c:c:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:4::jar
request for a:a:4::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:3::jar
request for c:c:3::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:2::jar
request for c:c:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:4::jar
request for a:a:4::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:2::jar
request for c:c:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:2::jar
request for a:a:2::jar, classifier=, type=pom
release
data found in null, results shipped back
testResolveConflicts: [a:a:2::jar, b:b:2::jar, c:c:2::jar]
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:2::jar
request for a:a:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:1::jar
request for b:b:1::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:2::jar
request for a:a:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: a:a:3::jar
request for a:a:3::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: b:b:2::jar
request for b:b:2::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:3::jar
request for c:c:3::jar, classifier=, type=pom
release
data found in null, results shipped back
Asking for pom: c:c:2::jar
request for c:c:2::jar, classifier=, type=pom
release
data found in null, results shipped back
testResolveScopedConflictsWithFilteringOne: [a:a:2::jar, b:b:2::jar]
testResolveScopedConflictsWithFilteringTwo: [a:a:2::jar, b:b:1::jar]
testResolveScopedConflictsWithFilteringTwo: [a:a:2::jar]
BigRes: [a:a:3::jar, b:b:2::jar, c:c:3::jar]
Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.336 sec <<< FAILURE!
testResolveScopedConflicts(org.apache.maven.mercury.metadata.DependencyTreeBuilderTest)  Time
elapsed: 0.042 sec  <<< FAILURE!
junit.framework.AssertionFailedError: wrong tree size expected:<2> but was:<3>
	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 org.apache.maven.mercury.metadata.DependencyTreeBuilderTest.testResolveScopedConflicts(DependencyTreeBuilderTest.java:118)

testResolveScopedConflictsWithFiltering(org.apache.maven.mercury.metadata.DependencyTreeBuilderTest)
 Time elapsed: 0.06 sec  <<< FAILURE!
junit.framework.AssertionFailedError: wrong tree size expected:<2> but was:<3>
	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 org.apache.maven.mercury.metadata.DependencyTreeBuilderTest.testResolveScopedConflictsWithFiltering(DependencyTreeBuilderTest.java:143)

Running org.apache.maven.mercury.metadata.ClassicVersionComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.maven.mercury.metadata.sat.DefaultSatSolverTest


==========================
context test



==========================
optimization test

optimized buckets: {a:a=[a:a:1::jar:d=0], c:c=[c:c:1::jar:d=1], b:b=[b:b:1::jar:d=1, b:b:2::jar:d=2]}


==========================
simplest 3-node tree

model:  1 -2 3 -4 -5 6
Result: t:a:1::jar t:b:2::jar t:c:2::jar
[a:a:1::jar:d=0, b:b:1::jar:d=0]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec

Results :

Failed tests: 
  testResolveScopedConflicts(org.apache.maven.mercury.metadata.DependencyTreeBuilderTest)
  testResolveScopedConflictsWithFiltering(org.apache.maven.mercury.metadata.DependencyTreeBuilderTest)

Tests run: 17, Failures: 2, Errors: 0, Skipped: 0

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

Please refer to http://ci.sonatype.org/job/mercury/ws/mercury/mercury-md/mercury-md-sat/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-md/mercury-md-sat/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-md/mercury-md-sat/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: 1 minute 37 seconds
[INFO] Finished at: Mon Nov 03 20:49:01 CST 2008
[INFO] Final Memory: 56M/136M
[INFO] ------------------------------------------------------------------------


Mime
View raw message