You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Hudson <Hu...@sonatype.org> on 2010/05/18 19:03:29 UTC

Build failed in Hudson: maven-3.0.x-ITs » 1.5,ubuntu #259

See <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/259/changes>

Changes:

[Benjamin Bentmann] o Refactored code

[Benjamin Bentmann] [MNG-4679] [regression] command line option "-update-snapshots" does not work for dependency:copy-dependencies

o Added IT

------------------------------------------
[...truncated 902 lines...]
	at org.apache.maven.it.Embedded3xLauncher.run(Embedded3xLauncher.java:176)
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1326)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng4270ArtifactHandlersFromPluginDepsTest.testProjectPackagingUsage(MavenITmng4270ArtifactHandlersFromPluginDepsTest.java:59)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
  Try downloading the file manually from the project website.
  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)
	at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:79)
	... 52 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/PluginResolutionException
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1348)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng4270ArtifactHandlersFromPluginDepsTest.testProjectPackagingUsage(MavenITmng4270ArtifactHandlersFromPluginDepsTest.java:59)
	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:164)
	at org.apache.maven.it.AbstractMavenIntegrationTestCase.runTest(AbstractMavenIntegrationTestCase.java:198)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	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:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

testProjectPackagingUsage(org.apache.maven.it.MavenITmng4238ArtifactHandlerExtensionUsageTest)  Time elapsed: 1.637 sec  <<< ERROR!
org.apache.maven.it.VerificationException: Exit code was non-zero: 1; command line and log = 
<http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/ws/core-integration-tests/target/distro/bin/mvn> -e --batch-mode -Dmaven.repo.local=/opt/repos/local-repository org.apache.maven.plugins:maven-clean-plugin:clean install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] snapshot org.apache.maven.its:core-it-extension:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its:core-integration-testing:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its:core-integration-testing-parent:2.1-SNAPSHOT: checking for updates from Nexus
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building mng-4238 1
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.436s
[INFO] Finished at: Tue May 18 10:54:57 GMT-06:00 2010
[INFO] Final Memory: 24M/45M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.1 or one of its dependencies could not be resolved: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
  Try downloading the file manually from the project website.
  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)
-> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.1 or one of its dependencies could not be resolved: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
  Try downloading the file manually from the project website.
  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)
	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:83)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:127)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:241)
	at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:194)
	at org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.setupMojoExections(LifecycleExecutionPlanCalculatorImpl.java:143)
	at org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.calculateExecutionPlan(LifecycleExecutionPlanCalculatorImpl.java:118)
	at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:78)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:173)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:151)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:248)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:97)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:142)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.maven.it.Embedded3xLauncher.run(Embedded3xLauncher.java:176)
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1326)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng4238ArtifactHandlerExtensionUsageTest.testProjectPackagingUsage(MavenITmng4238ArtifactHandlerExtensionUsageTest.java:57)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
  Try downloading the file manually from the project website.
  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1
from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)
	at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:79)
	... 52 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/PluginResolutionException
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1348)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng4238ArtifactHandlerExtensionUsageTest.testProjectPackagingUsage(MavenITmng4238ArtifactHandlerExtensionUsageTest.java:57)
	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:164)
	at org.apache.maven.it.AbstractMavenIntegrationTestCase.runTest(AbstractMavenIntegrationTestCase.java:198)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	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:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


Results :

Failed tests: 
  testit(org.apache.maven.it.MavenITmng4679SnapshotUpdateInPluginTest)

Tests in error: 
  testProjectPackagingUsage(org.apache.maven.it.MavenITmng4270ArtifactHandlersFromPluginDepsTest)
  testProjectPackagingUsage(org.apache.maven.it.MavenITmng4238ArtifactHandlerExtensionUsageTest)

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:25.611s
[INFO] Finished at: Tue May 18 11:03:29 GMT-06:00 2010
[INFO] Final Memory: 7M/63M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project core-it-suite: There are test failures.

Please refer to <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/ws/core-integration-tests/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 core-it-suite: There are test failures.

Please refer to <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/ws/core-integration-tests/target/surefire-reports> for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:137)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:173)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:151)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:248)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:97)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
	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 <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/ws/core-integration-tests/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.internal.MojoExecutor.execute(MojoExecutor.java:133)
	... 19 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
Emma: looking for coverage reports in the provided path: core-integration-tests/target/site/emma/coverage.xml


Hudson build is back to normal : maven-3.0.x-ITs » 1.5,ubuntu #260

Posted by Hudson <Hu...@sonatype.org>.
See <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=ubuntu/260/changes>