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 » 1.5,windows #733
Date Wed, 11 Aug 2010 19:10:31 GMT
See <http://grid.sonatype.org/ci/job/maven-3.0.x/./jdk=1.5,label=windows/733/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 1466 lines...]
	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 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)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.97 sec
Running org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.maven.project.artifact.DefaultMavenMetadataCacheTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec
Running org.apache.maven.project.MavenProjectTest
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.934 sec
Running org.apache.maven.project.canonical.CanonicalProjectBuilderTest
org/apache/maven/project/AbstractMavenProjectTestCase.xml
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
Running org.apache.maven.ProjectDependenciesResolverTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.974 sec
Running org.apache.maven.lifecycle.internal.ConcurrencyDependencyGraphTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.maven.execution.ProjectSorterTest
[MavenProject: groupId:parent-declarer:1.0 @ , MavenProject: groupId:plugin:1.0 @ , MavenProject:
groupId:plugin-level-dep:1.0 @ ]
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.maven.settings.SettingsUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.maven.project.ProjectBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec
Running org.apache.maven.lifecycle.internal.ProjectBuildListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.maven.lifecycle.DefaultSchedulesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
Running org.apache.maven.repository.TestRepositorySystem
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.apache.maven.toolchain.RequirementMatcherFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.apache.maven.settings.PomConstructionWithSettingsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.466 sec
Running org.apache.maven.project.TestMetadataSource
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.maven.lifecycle.internal.LifecycleWeaveBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running org.apache.maven.lifecycle.LifecycleExecutorSubModulesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
Running org.apache.maven.lifecycle.internal.ThreadConfigurationServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.lifecycle.LifecycleExecutorTest
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <version default-value="1.0">${version}</version>
</configuration>
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.422 sec
Running org.apache.maven.execution.DefaultMavenExecutionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.maven.plugin.PluginManagerTest
java.io.FileNotFoundException: C:\home\hudson\workspace\maven-3.0.x\jdk\1.5\label\windows\trunk\maven-core\target\local-repo\org\apache\maven\its\plugins\maven-it-plugin\0.1\maven-it-plugin-0.1.pom
(The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:56)
	at org.apache.maven.repository.TestRepositorySystem.resolve(TestRepositorySystem.java:220)
	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:124)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:328)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:276)
	at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:189)
	at org.apache.maven.plugin.PluginManagerTest.testThatPluginDependencyThatHasSystemScopeIsResolved(PluginManagerTest.java:233)
	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 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 sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	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)
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.042 sec <<< FAILURE!
testThatPluginDependencyThatHasSystemScopeIsResolved(org.apache.maven.plugin.PluginManagerTest)
 Time elapsed: 0.191 sec  <<< ERROR!
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:
----------
1) org.apache.maven.its.mng3586:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools -Dversion=1.5.0
-Dpackaging=jar -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.its.mng3586 -DartifactId=tools -Dversion=1.5.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.its.plugins:maven-it-plugin:maven-plugin:0.1

from the specified remote repositories:
  central (file:///C:/home/hudson/workspace/maven-3.0.x/jdk/1.5/label/windows/trunk/maven-core/src/test/remote-repo/,
releases=true, snapshots=true)

	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:132)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:328)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:276)
	at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:189)
	at org.apache.maven.plugin.PluginManagerTest.testThatPluginDependencyThatHasSystemScopeIsResolved(PluginManagerTest.java:233)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.apache.maven.its.mng3586:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.its.mng3586 -DartifactId=tools -Dversion=1.5.0
-Dpackaging=jar -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.its.mng3586 -DartifactId=tools -Dversion=1.5.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.its.plugins:maven-it-plugin:maven-plugin:0.1

from the specified remote repositories:
  central (file:///C:/home/hudson/workspace/maven-3.0.x/jdk/1.5/label/windows/trunk/maven-core/src/test/remote-repo/,
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:128)
	... 29 more

Running org.apache.maven.project.artifact.MavenMetadataSourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.apache.maven.lifecycle.internal.PhaseRecorderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.maven.lifecycle.MavenExecutionPlanTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.maven.MavenTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Result: Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'null',
role hint: 'org.myco.plugins:my-plugin:1:null'
---
Result: [group:artifact:jar:1:compile]
Result: {group:artifact=group:artifact:jar:1:compile}
Result: my-plugin
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.604 sec
Running org.apache.maven.lifecycle.internal.ThreadOutputMuxerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.595 sec
Running org.apache.maven.project.PomConstructionTest
Tests run: 122, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.157 sec
Running org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStubTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.maven.project.DefaultMavenProjectBuilderTest
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
org/apache/maven/project/AbstractMavenProjectTestCase.xml
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.403 sec
Running org.apache.maven.lifecycle.internal.BuildListCalculatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.maven.lifecycle.internal.LifecycleTaskSegmentCalculatorImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.maven.lifecycle.internal.BuilderCommonTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.maven.lifecycle.internal.ConcurrentBuildLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.project.ExtensionDescriptorBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.maven.lifecycle.DefaultLifecyclesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec

Results :

Tests in error: 
  testThatPluginDependencyThatHasSystemScopeIsResolved(org.apache.maven.plugin.PluginManagerTest)

Tests run: 226, Failures: 0, Errors: 1, Skipped: 0

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

Please refer to C:\home\hudson\workspace\maven-3.0.x\jdk\1.5\label\windows\trunk\maven-core\target\surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x\jdk\1.5\label\windows\trunk\maven-core\target\surefire-reports
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	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 C:\home\hudson\workspace\maven-3.0.x\jdk\1.5\label\windows\trunk\maven-core\target\surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 6 seconds
[INFO] Finished at: Wed Aug 11 12:10:30 PDT 2010
[INFO] Final Memory: 34M/63M
[INFO] ------------------------------------------------------------------------


Mime
View raw message