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-3.0.x-bootstrap » 1.5,ubuntu #1123
Date Wed, 11 Aug 2010 19:11:04 GMT
See <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/1123/changes>

Changes:

[John Casey] [MNG-4761] Force plugin-level dependencies to use runtime scope, so conflict
resolution doesn't make a determination based on dependency scoping.

------------------------------------------
[...truncated 667 lines...]
     [java] 	at java.lang.reflect.Method.invoke(Method.java:585)
     [java] 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
     [java] 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
     [java] 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
     [java] 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:585)
     [java] 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
     [java] 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.535 sec
     [java] Running org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
     [java] Running org.apache.maven.project.artifact.DefaultMavenMetadataCacheTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
     [java] Running org.apache.maven.project.MavenProjectTest
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.894 sec
     [java] Running org.apache.maven.project.canonical.CanonicalProjectBuilderTest
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec
     [java] Running org.apache.maven.ProjectDependenciesResolverTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.447 sec
     [java] Running org.apache.maven.lifecycle.internal.ConcurrencyDependencyGraphTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
     [java] Running org.apache.maven.execution.ProjectSorterTest
     [java] [MavenProject: groupId:parent-declarer:1.0 @ , MavenProject: groupId:plugin:1.0
@ , MavenProject: groupId:plugin-level-dep:1.0 @ ]
     [java] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
     [java] Running org.apache.maven.project.ProjectBuilderTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec
     [java] Running org.apache.maven.settings.SettingsUtilsTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.lifecycle.internal.ProjectBuildListTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
     [java] Running org.apache.maven.lifecycle.DefaultSchedulesTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
     [java] Running org.apache.maven.repository.TestRepositorySystem
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.toolchain.RequirementMatcherFactoryTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
     [java] Running org.apache.maven.project.TestMetadataSource
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.settings.PomConstructionWithSettingsTest
     [java] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.357 sec
     [java] Running org.apache.maven.lifecycle.internal.LifecycleWeaveBuilderTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
     [java] Running org.apache.maven.lifecycle.LifecycleExecutorSubModulesTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
     [java] Running org.apache.maven.lifecycle.internal.ThreadConfigurationServiceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.lifecycle.LifecycleExecutorTest
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <configuration>
     [java]   <version default-value="1.0">${version}</version>
     [java] </configuration>
     [java] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.579 sec
     [java] Running org.apache.maven.execution.DefaultMavenExecutionTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.plugin.PluginManagerTest
     [java] java.io.FileNotFoundException: <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/target/local-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.pom>
(No such file or directory)
     [java] 	at java.io.FileInputStream.open(Native Method)
     [java] 	at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [java] 	at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:56)
     [java] 	at org.apache.maven.repository.TestRepositorySystem.resolve(TestRepositorySystem.java:220)
     [java] 	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:124)
     [java] 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:328)
     [java] 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:276)
     [java] 	at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:189)
     [java] 	at org.apache.maven.plugin.PluginManagerTest.testThatPluginDependencyThatHasSystemScopeIsResolved(PluginManagerTest.java:233)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:585)
     [java] 	at junit.framework.TestCase.runTest(TestCase.java:164)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:130)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.77 sec <<<
FAILURE!
     [java] 	at junit.framework.TestResult.run(TestResult.java:109)
     [java] 	at junit.framework.TestCase.run(TestCase.java:120)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:225)
     [java] 	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:585)
     [java] 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
     [java] 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
     [java] 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
     [java] 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:585)
     [java] 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
     [java] 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
     [java] testThatPluginDependencyThatHasSystemScopeIsResolved(org.apache.maven.plugin.PluginManagerTest)
 Time elapsed: 0.145 sec  <<< ERROR!
     [java] org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.its.plugins:maven-it-plugin:0.1
or one of its dependencies could not be resolved: Missing:
     [java] ----------
     [java] 1) org.apache.maven.its.mng3586:tools:jar:1.5.0
     [java]   Try downloading the file manually from the project website.
     [java]   Then, install it using the command: 
     [java]       mvn install:install-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools
-Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
     [java]   Alternatively, if you host your own repository you can deploy the file there:

     [java]       mvn deploy:deploy-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools
-Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     [java] ----------
     [java] 1 required artifact is missing.
     [java] for artifact: 
     [java]   org.apache.maven.its.plugins:maven-it-plugin:maven-plugin:0.1
     [java] from the specified remote repositories:
     [java]   central (file://<http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/src/test/remote-repo/,>
releases=true, snapshots=true)
     [java] 	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:132)
     [java] 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:328)
     [java] 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:276)
     [java] 	at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:189)
     [java] 	at org.apache.maven.plugin.PluginManagerTest.testThatPluginDependencyThatHasSystemScopeIsResolved(PluginManagerTest.java:233)
     [java] Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
     [java] ----------
     [java] 1) org.apache.maven.its.mng3586:tools:jar:1.5.0
     [java]   Try downloading the file manually from the project website.
     [java]   Then, install it using the command: 
     [java]       mvn install:install-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools
-Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
     [java]   Alternatively, if you host your own repository you can deploy the file there:

     [java]       mvn deploy:deploy-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools
-Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     [java] ----------
     [java] 1 required artifact is missing.
     [java] for artifact: 
     [java]   org.apache.maven.its.plugins:maven-it-plugin:maven-plugin:0.1
     [java] from the specified remote repositories:
     [java]   central (file://<http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/src/test/remote-repo/,>
releases=true, snapshots=true)
     [java] 	at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
     [java] 	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:128)
     [java] 	... 29 more
     [java] 
     [java] Running org.apache.maven.project.artifact.MavenMetadataSourceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
     [java] Running org.apache.maven.lifecycle.internal.PhaseRecorderTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
     [java] Running org.apache.maven.lifecycle.MavenExecutionPlanTest
     [java] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
     [java] Running org.apache.maven.MavenTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
     [java] Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
     [java] Result: Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation:
'null', role hint: 'org.myco.plugins:my-plugin:1:null'
     [java] ---
     [java] Result: [group:artifact:jar:1:compile]
     [java] Result: {group:artifact=group:artifact:jar:1:compile}
     [java] Result: my-plugin
     [java] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.675 sec
     [java] Running org.apache.maven.lifecycle.internal.ThreadOutputMuxerTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
     [java] Running org.apache.maven.project.PomConstructionTest
     [java] Tests run: 122, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.857 sec
     [java] Running org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStubTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.project.DefaultMavenProjectBuilderTest
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] org/apache/maven/project/AbstractMavenProjectTestCase.xml
     [java] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec
     [java] Running org.apache.maven.lifecycle.internal.BuildListCalculatorTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.lifecycle.internal.LifecycleTaskSegmentCalculatorImplTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
     [java] Running org.apache.maven.lifecycle.internal.BuilderCommonTest
     [java] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.lifecycle.internal.ConcurrentBuildLoggerTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.project.ExtensionDescriptorBuilderTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.lifecycle.DefaultLifecyclesTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
     [java] 
     [java] Results :
     [java] 
     [java] Tests in error: 
     [java]   testThatPluginDependencyThatHasSystemScopeIsResolved(org.apache.maven.plugin.PluginManagerTest)
     [java] 
     [java] Tests run: 226, Failures: 0, Errors: 1, Skipped: 0
     [java] 
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Reactor Summary:
     [java] [INFO] 
     [java] [INFO] Apache Maven 3.x .................................. SUCCESS [8.784s]
     [java] [INFO] Maven Model ....................................... SUCCESS [29.331s]
     [java] [INFO] Maven Settings .................................... SUCCESS [15.036s]
     [java] [INFO] Maven Settings Builder ............................ SUCCESS [7.192s]
     [java] [INFO] Maven Repository Metadata Model ................... SUCCESS [1.872s]
     [java] [INFO] Maven Artifact .................................... SUCCESS [5.154s]
     [java] [INFO] Maven Plugin API .................................. SUCCESS [5.955s]
     [java] [INFO] Maven Model Builder ............................... SUCCESS [22.312s]
     [java] [INFO] Maven Core ........................................ FAILURE [55.368s]
     [java] [INFO] Maven Compat ...................................... SKIPPED
     [java] [INFO] Maven Embedder .................................... SKIPPED
     [java] [INFO] Maven Distribution ................................ SKIPPED
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] BUILD FAILURE
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Total time: 2:33.502s
     [java] [INFO] Finished at: Wed Aug 11 13:10:36 GMT-06:00 2010
     [java] [INFO] Final Memory: 26M/152M
     [java] [INFO] ------------------------------------------------------------------------
     [java] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test
(default-test) on project maven-core: There are test failures.
     [java] 
     [java] Please refer to <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/target/surefire-reports>
for the individual test results.
     [java] -> [Help 1]
     [java] 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-core:
There are test failures.
     [java] 
     [java] Please refer to <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/target/surefire-reports>
for the individual test results.
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:87)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:79)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:86)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:58)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
     [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:252)
     [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:100)
     [java] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:443)
     [java] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:166)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:130)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
     [java] Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
     [java] 
     [java] Please refer to <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/maven-core/target/surefire-reports>
for the individual test results.
     [java] 	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
     [java] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:144)
     [java] 	... 12 more
     [java] [ERROR] 
     [java] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
     [java] [ERROR] 
     [java] [ERROR] For more information about the errors and possible solutions, please read
the following articles:
     [java] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
     [java] [ERROR] 
     [java] [ERROR] After correcting the problems, you can resume the build with the command
     [java] [ERROR]   mvn <goals> -rf :maven-core

BUILD FAILED
<http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=ubuntu/ws/trunk/build.xml>:227:
Java returned: 1

Total time: 4 minutes 55 seconds
Archiving artifacts


Mime
View raw message