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: maven-release » 1.5,windows #111
Date Tue, 26 Jan 2010 15:11:33 GMT
See <http://grid.sonatype.org/ci/job/maven-release/./jdk=1.5,label=windows/111/changes>

Changes:

[Brett Porter] [MRELEASE-515] release:prepare eats the root cause of the exception. Upgraded
Maven prerequisite to 2.0.9

[Brett Porter] [MRELEASE-261] adjust the mechanism of deciding the base directories, using
the common root of reactor projects. Add tests for projects that have multiple directory levels
in their immediate modules list.

------------------------------------------
[...truncated 818 lines...]
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.pom
3 KB downloaded at 27.8 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
33 KB downloaded at 145.3 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
10 KB downloaded at 84.4 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar
50 KB downloaded at 395.3 KB/sec
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- plexus-maven-plugin:1.3.8:merge-descriptors (merge) @ maven-release-manager ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ maven-release-manager ---
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
3 KB downloaded at 25.6 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom
624 B downloaded at 1.4 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom
2 KB downloaded at 9.6 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom
634 B downloaded at 5.4 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom
797 B downloaded at 5.0 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom
8 KB downloaded at 56.2 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
918 B downloaded at 12.1 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
160 KB downloaded at 1333.0 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
20 KB downloaded at 206.4 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
6 KB downloaded at 63.1 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
14 KB downloaded at 161.8 KB/sec
[INFO] Compiling 65 source files to C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ maven-release-manager
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 578 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ maven-release-manager
---
[INFO] Compiling 36 source files to C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ maven-release-manager ---
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
7 KB downloaded at 45.1 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire/2.4.3/surefire-2.4.3.pom
8 KB downloaded at 31.4 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.pom
2 KB downloaded at 8.3 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.pom
3 KB downloaded at 5.5 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom
3 KB downloaded at 0.6 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
4 KB downloaded at 6.0 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
262 KB downloaded at 597.3 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
504 KB downloaded at 1507.8 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
206 KB downloaded at 635.0 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.pom
2 KB downloaded at 7.1 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-providers/2.4.3/surefire-providers-2.4.3.pom
2 KB downloaded at 6.1 KB/sec
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.jar
15 KB downloaded at 34.2 KB/sec
[INFO] Surefire report directory: C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.shared.release.phase.RestoreBackupPomsPhaseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.446 sec
Running org.apache.maven.shared.release.DefaultReleaseManagerTest
[ERROR] Cannot perform release - the preparation step was stopped mid-way. Please re-run release:prepare
to continue, or perform the release from an SCM tag.
[ERROR] No SCM URL was provided to perform the release from
[ERROR] No such provider: '...'.
[ERROR] ...
[ERROR] ...
[ERROR] 
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.98 sec
Running org.apache.maven.shared.release.phase.InputVariablesPhaseTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.747 sec
Running org.apache.maven.shared.release.phase.RewritePomsForDevelopmentPhaseTest
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.947 sec
Running org.apache.maven.shared.release.phase.RemoveReleasePomsPhaseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.603 sec
Running org.apache.maven.shared.release.phase.RunPrepareGoalsPhaseTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.37 sec
Running org.apache.maven.shared.release.phase.RunPerformGoalsPhaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
Running org.apache.maven.shared.release.exec.CommandLineFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.191 sec
Running org.apache.maven.shared.release.config.PropertiesReleaseDescriptorStoreTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.027 sec
Running org.apache.maven.shared.release.config.ReleaseUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.maven.shared.release.phase.RewritePomsForReleasePhaseTest
Tests run: 57, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.048 sec <<< FAILURE!
testRewritePomForFlatMultiModule(org.apache.maven.shared.release.phase.RewritePomsForReleasePhaseTest)
 Time elapsed: 0.151 sec  <<< FAILURE!
junit.framework.ComparisonFailure: Check the transformed POM expected:<...o/tags/release-label[/root-project</connection>
   <developerConnection>scm:svn:file://localhost/tmp/scm-repo/tags/release-label/root-project</developerConnection>
   <url>file://localhost/tmp/scm-repo/tags/release-label/root-project]</url> 
</scm>  <mod...> but was:<...o/tags/release-label[</connection>    <developerConnection>scm:svn:file://localhost/tmp/scm-repo/tags/release-label</developerConnection>
   <url>file://localhost/tmp/scm-repo/tags/release-label]</url>  </scm>
 <mod...>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at org.apache.maven.shared.release.phase.AbstractReleaseTestCase.comparePomFiles(AbstractReleaseTestCase.java:286)
	at org.apache.maven.shared.release.phase.AbstractReleaseTestCase.comparePomFiles(AbstractReleaseTestCase.java:271)
	at org.apache.maven.shared.release.phase.AbstractReleaseTestCase.comparePomFiles(AbstractReleaseTestCase.java:255)
	at org.apache.maven.shared.release.phase.AbstractReleaseTestCase.comparePomFiles(AbstractReleaseTestCase.java:236)
	at org.apache.maven.shared.release.phase.AbstractReleaseTestCase.comparePomFiles(AbstractReleaseTestCase.java:230)
	at org.apache.maven.shared.release.phase.RewritePomsForReleasePhaseTest.testRewritePomForFlatMultiModule(RewritePomsForReleasePhaseTest.java:352)

Running org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhaseTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.549 sec
Running org.apache.maven.shared.release.phase.ScmCommitPhaseTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.826 sec
Running org.apache.maven.shared.release.scm.DefaultScmRepositoryConfiguratorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.59 sec
Running org.apache.maven.shared.release.phase.ScmTagPhaseTest
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.73 sec <<< FAILURE!
testCommitForFlatMultiModule(org.apache.maven.shared.release.phase.ScmTagPhaseTest)  Time
elapsed: 0.164 sec  <<< ERROR!
org.apache.maven.shared.release.scm.ReleaseScmRepositoryException: Unexpected URL: scm:svn:file://localhost/tmp/scm-repo/trunk/root-project
	at org.apache.maven.shared.release.phase.ScmTagPhase.execute(ScmTagPhase.java:85)
	at org.apache.maven.shared.release.phase.ScmTagPhaseTest.testCommitForFlatMultiModule(ScmTagPhaseTest.java:162)

Running org.apache.maven.shared.release.phase.CheckPomPhaseTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.623 sec
Running org.apache.maven.shared.release.phase.MapVersionsPhaseTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.646 sec
Running org.apache.maven.shared.release.phase.GenerateReleasePomsPhaseTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.41 sec
Running org.apache.maven.shared.release.exec.TeeConsumerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.shared.release.phase.ScmCheckModificationsPhaseTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 sec
Running org.apache.maven.shared.release.util.ReleaseUtilTest
Tests run: 10, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.83 sec <<< FAILURE!
testGetCommonBasedirSingleProject(org.apache.maven.shared.release.util.ReleaseUtilTest)  Time
elapsed: 0.083 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/working/directory/flat-multi-module/]project>
but was:<[C:\working\directory\flat-multi-module\]project>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.shared.release.util.ReleaseUtilTest.testGetCommonBasedirSingleProject(ReleaseUtilTest.java:46)

testGetCommonBasedirOfFlatMultiModule(org.apache.maven.shared.release.util.ReleaseUtilTest)
 Time elapsed: 0.101 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/working/directory/flat-multi-module]>
but was:<[C:\working\directory\flat-multi-module\]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.shared.release.util.ReleaseUtilTest.testGetCommonBasedirOfFlatMultiModule(ReleaseUtilTest.java:53)

testGetCommonBasedirOfRegularMultiModule(org.apache.maven.shared.release.util.ReleaseUtilTest)
 Time elapsed: 0.118 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/working/directory/]flat-multi-module>
but was:<[C:\working\directory\]flat-multi-module>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.shared.release.util.ReleaseUtilTest.testGetCommonBasedirOfRegularMultiModule(ReleaseUtilTest.java:62)

testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels(org.apache.maven.shared.release.util.ReleaseUtilTest)
 Time elapsed: 0.106 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/working/directory/flat-multi-module]>
but was:<[C:\working\directory\flat-multi-module\]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.shared.release.util.ReleaseUtilTest.testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels(ReleaseUtilTest.java:71)

testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy(org.apache.maven.shared.release.util.ReleaseUtilTest)
 Time elapsed: 0.046 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/working/directory/flat-multi-module]>
but was:<[C:\working\directory\flat-multi-module\]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.shared.release.util.ReleaseUtilTest.testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy(ReleaseUtilTest.java:82)

Running org.apache.maven.shared.release.versions.DefaultVersionInfoTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.529 sec
Running org.apache.maven.shared.release.phase.CreateBackupPomsPhaseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.247 sec
Running org.apache.maven.shared.release.exec.TeeOutputStreamTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.shared.release.phase.EndReleasePhaseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 sec

Results :

Failed tests: 
  testRewritePomForFlatMultiModule(org.apache.maven.shared.release.phase.RewritePomsForReleasePhaseTest)
  testGetCommonBasedirSingleProject(org.apache.maven.shared.release.util.ReleaseUtilTest)
  testGetCommonBasedirOfFlatMultiModule(org.apache.maven.shared.release.util.ReleaseUtilTest)
  testGetCommonBasedirOfRegularMultiModule(org.apache.maven.shared.release.util.ReleaseUtilTest)
  testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels(org.apache.maven.shared.release.util.ReleaseUtilTest)
  testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy(org.apache.maven.shared.release.util.ReleaseUtilTest)

Tests in error: 
  testCommitForFlatMultiModule(org.apache.maven.shared.release.phase.ScmTagPhaseTest)

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

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Maven Release Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Maven Release ..................................... SUCCESS [1:06.957s]
[INFO] Maven Release Manager ............................. FAILURE [3:22.258s]
[INFO] Maven Release Plugin .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:30.827s
[INFO] Finished at: Tue Jan 26 07:11:00 PST 2010
[INFO] Final Memory: 8M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test)
on project maven-release-manager: There are test failures.

Please refer to C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\surefire-reports
for the individual test results.
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test
(default-test) on project maven-release-manager: There are test failures.

Please refer to C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\surefire-reports
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:566)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:317)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:423)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:158)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:123)
	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to C:\home\hudson\workspace\maven-release\jdk\1.5\label\windows\trunk\maven-release-manager\target\surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:562)
	... 14 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-release-manager


Mime
View raw message