maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: core-integration-testing-maven-3-windows #86
Date Fri, 09 Dec 2011 19:41:34 GMT
See <https://builds.apache.org/job/core-integration-testing-maven-3-windows/86/changes>

Changes:

[bimargulies] MNG-5214: Dependency resolution substitutes g:a:v:jar for j:a:v:something-else
when something-else isn't in the reacto

o When Aether asks the ReactorReader for a file for an artifact, remember to match type and
classifier. And if all else
  fails, do not return target/classes if the desired artifact is not of type 'jar'. Arguably,
if type or classifier
  are non-default, then we should never return those default paths at all.
o Add 'dir' format to make it quicker to run a quick test. If everyone hates this I'll revert
it.

------------------------------------------
[...truncated 5250 lines...]
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Integration Test :: MNG-2871 :: Parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Integration Test :: MNG-2871 :: EJB Client JAR Provider 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-it-plugin-artifact:2.1-SNAPSHOT:set (install) @ ejbs ---
[INFO] [MAVEN-CORE-IT-LOG] Setting main artifact file: target/classes
[INFO] [MAVEN-CORE-IT-LOG] Set main artifact file: F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\test-classes\mng-2871\ejbs\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:0.1-stub-SNAPSHOT:resources (default-resources) @ ejbs ---
[INFO] [MAVEN-CORE-IT-LOG] Using output file path: target/resources-resources.txt
[INFO] [MAVEN-CORE-IT-LOG] Creating output file: F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\test-classes\mng-2871\ejbs\target\resources-resources.txt
[INFO] [MAVEN-CORE-IT-LOG] Created output file: F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\test-classes\mng-2871\ejbs\target\resources-resources.txt
[INFO] 
[INFO] --- maven-compiler-plugin:0.1-stub-SNAPSHOT:compile (default-compile) @ ejbs ---
[INFO] [MAVEN-CORE-IT-LOG] Using output file path: target/compiler-compile.txt
[INFO] [MAVEN-CORE-IT-LOG] Creating output file: F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\test-classes\mng-2871\ejbs\target\compiler-compile.txt
[INFO] [MAVEN-CORE-IT-LOG] Created output file: F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\test-classes\mng-2871\ejbs\target\compiler-compile.txt
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Integration Test :: MNG-2871 :: Dependency Consumer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Maven Integration Test :: MNG-2871 :: Parent ...... SUCCESS [0.013s]
[INFO] Maven Integration Test :: MNG-2871 :: EJB Client JAR Provider  SUCCESS [0.670s]
[INFO] Maven Integration Test :: MNG-2871 :: Dependency Consumer  FAILURE [0.025s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.874s
[INFO] Finished at: Fri Dec 09 19:33:15 GMT 2011
[INFO] Final Memory: 7M/736M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project consumer: Could not resolve dependencies for project
org.apache.maven.its.mng2871:consumer:jar:1.0-SNAPSHOT: Could not find artifact org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
consumer: Could not resolve dependencies for project org.apache.maven.its.mng2871:consumer:jar:1.0-SNAPSHOT:
Could not find artifact org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:544)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:197)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:592)
	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.project.DependencyResolutionException: Could not resolve dependencies
for project org.apache.maven.its.mng2871:consumer:jar:1.0-SNAPSHOT: Could not find artifact
org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
	... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact
org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
	... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact
org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
	... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.apache.maven.its.mng2871:ejbs:jar:client:1.0-SNAPSHOT
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:528)
	... 26 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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :consumer

	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1397)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1240)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1234)
	at org.apache.maven.it.MavenITmng2871PrePackageSubartifactResolutionTest.testitMNG2871(MavenITmng2871PrePackageSubartifactResolutionTest.java:54)
	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:592)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.apache.maven.it.AbstractMavenIntegrationTestCase.runTest(AbstractMavenIntegrationTestCase.java:220)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	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:592)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:120)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:194)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:134)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:97)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:592)
	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)

Results :

Tests in error: 
  testit(org.apache.maven.it.MavenITmng4056ClassifierBasedDepResolutionFromReactorTest): Exit
code was non-zero: 1; command line and log = 
  testitTestPhase(org.apache.maven.it.MavenITmng3043BestEffortReactorResolutionTest): Exit
code was non-zero: 1; command line and log = 
  testitMNG2871(org.apache.maven.it.MavenITmng2871PrePackageSubartifactResolutionTest): Exit
code was non-zero: 1; command line and log = 

Tests run: 707, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Maven Core ITs .................................... SUCCESS [3.767s]
[INFO] Maven IT Support .................................. SUCCESS [0.097s]
[INFO] Maven IT :: Plugins ............................... SUCCESS [0.054s]
[INFO] Maven IT Plugin :: Active Collection .............. SUCCESS [2.357s]
[INFO] Maven IT Plugin :: Ant-Based ...................... SUCCESS [0.836s]
[INFO] Maven IT Plugin :: Artifact ....................... SUCCESS [1.131s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency A ... SUCCESS [0.502s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency B ... SUCCESS [0.554s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency C ... SUCCESS [0.148s]
[INFO] Maven IT Plugin :: Class Loader ................... SUCCESS [2.036s]
[INFO] Maven IT Plugin :: Class Loader :: Aggregator ..... SUCCESS [0.076s]
[INFO] Maven IT Plugin :: Configuration .................. SUCCESS [1.049s]
[INFO] Maven IT Plugin :: Context Passing ................ SUCCESS [0.508s]
[INFO] Maven ITs :: Core Plugin Stubs .................... SUCCESS [0.027s]
[INFO] Maven IT Clean Plugin Stub ........................ SUCCESS [0.530s]
[INFO] Maven IT Compiler Plugin Stub ..................... SUCCESS [0.472s]
[INFO] Maven IT Deploy Plugin Stub ....................... SUCCESS [0.487s]
[INFO] Maven IT EAR Plugin Stub .......................... SUCCESS [0.544s]
[INFO] Maven IT EJB Plugin Stub .......................... SUCCESS [0.463s]
[INFO] Maven IT Install Plugin Stub ...................... SUCCESS [0.551s]
[INFO] Maven IT JAR Plugin Stub .......................... SUCCESS [0.608s]
[INFO] Maven IT Javadoc Plugin Stub ...................... SUCCESS [0.465s]
[INFO] Maven IT Plugin Plugin Stub ....................... SUCCESS [0.523s]
[INFO] Maven IT RAR Plugin Stub .......................... SUCCESS [0.537s]
[INFO] Maven IT Resources Plugin Stub .................... SUCCESS [0.497s]
[INFO] Maven IT Site Plugin Stub ......................... SUCCESS [0.599s]
[INFO] Maven IT Source Plugin Stub ....................... SUCCESS [0.578s]
[INFO] Maven IT Surefire Plugin Stub ..................... SUCCESS [0.536s]
[INFO] Maven IT WAR Plugin Stub .......................... SUCCESS [0.464s]
[INFO] Maven IT Plugin :: Dependency Collection .......... SUCCESS [1.014s]
[INFO] Maven IT Plugin :: Dependency Resolution .......... SUCCESS [0.756s]
[INFO] Maven IT Plugin :: Expression ..................... SUCCESS [1.273s]
[INFO] Maven IT Plugin :: Error Mojos .................... SUCCESS [0.953s]
[INFO] Maven IT Component ................................ SUCCESS [0.586s]
[INFO] Maven IT Plugin :: Extension Consumer ............. SUCCESS [0.445s]
[INFO] Maven IT Plugin :: Extension Provider ............. SUCCESS [0.444s]
[INFO] Maven IT Plugin :: Fork ........................... SUCCESS [0.777s]
[INFO] Maven IT Plugin :: Invalid Descriptor ............. SUCCESS [0.671s]
[INFO] Maven IT Plugin :: Log File ....................... SUCCESS [0.445s]
[INFO] Maven IT Plugin :: No Default Component ........... SUCCESS [0.557s]
[INFO] Maven IT Plugin :: No Project ..................... SUCCESS [0.864s]
[INFO] Maven IT Plugin :: Online ......................... SUCCESS [0.415s]
[INFO] Maven IT Plugin :: Optional Mojos ................. SUCCESS [0.465s]
[INFO] Maven IT Plugin :: Packaging ...................... SUCCESS [0.466s]
[INFO] Maven IT Plugin :: Parameter Implementation ....... SUCCESS [0.438s]
[INFO] Maven IT Plugin :: Plugin Dependency .............. SUCCESS [0.751s]
[INFO] Maven IT Plugin :: Project ........................ SUCCESS [0.576s]
[INFO] Maven IT Helper Library ........................... SUCCESS [1.697s]
[INFO] Maven IT Plugin :: Project Interpolation .......... SUCCESS [0.852s]
[INFO] Maven IT Plugin :: Setter ......................... SUCCESS [0.491s]
[INFO] Maven IT Plugin :: Singleton Component ............ SUCCESS [0.474s]
[INFO] Maven IT Plugin :: Site ........................... SUCCESS [0.660s]
[INFO] Maven IT Plugin :: Toolchain ...................... SUCCESS [1.816s]
[INFO] Maven IT Plugin :: Touch .......................... SUCCESS [0.839s]
[INFO] Maven IT Plugin :: Uses Properties Plugin ......... SUCCESS [0.480s]
[INFO] Maven IT Plugin :: Uses Wagon Plugin .............. SUCCESS [1.223s]
[INFO] Maven IT Plugin :: This plugin should contain the mojos needed by all tests.  SUCCESS
[0.441s]
[INFO] Maven IT Plugin :: Plexus Utils 1.1 ............... SUCCESS [0.560s]
[INFO] Maven IT Plugin :: Plexus Utils New ............... SUCCESS [0.679s]
[INFO] Maven IT Plugin :: Plexus Component API ........... SUCCESS [0.846s]
[INFO] Maven IT Plugin :: Log4J Client ................... SUCCESS [0.545s]
[INFO] maven-it-plugin-extension1 ........................ SUCCESS [0.375s]
[INFO] maven-it-plugin-extension2 ........................ SUCCESS [0.400s]
[INFO] Maven IT Plugin :: Plexus Lifecycle ............... SUCCESS [1.333s]
[INFO] Maven IT Toolchain ................................ SUCCESS [0.938s]
[INFO] Maven IT Wagon .................................... SUCCESS [1.214s]
[INFO] Maven IT Support Artifacts ........................ SUCCESS [0.469s]
[INFO] Maven IT Extension ................................ SUCCESS [0.274s]
[INFO] Maven ITs ......................................... FAILURE [31:24.238s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:15.817s
[INFO] Finished at: Fri Dec 09 19:41:02 GMT 2011
[INFO] Final Memory: 36M/677M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test)
on project core-it-suite: There are test failures.
[ERROR] 
[ERROR] Please refer to F:\hudson\hudson-slave\workspace\core-integration-testing-maven-3-windows\core-it\core-it-suite\target\surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 :core-it-suite
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results


Mime
View raw message