maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GRiD .ORG" <bui...@lists.sonatype.com>
Subject Build failed in Hudson: surefire » java-5x,windows #268
Date Fri, 18 Mar 2011 18:04:12 GMT
See <https://grid.sonatype.org/ci/job/surefire/./jdk=java-5x,label=windows/268/changes>

Changes:

[Kristian Rosenvold] o  FIxed proper isolation for integration tests.

Made separate module for set-up, IT's themselves run with
stock version of 'previous' version of surefire.

------------------------------------------
[...truncated 976 lines...]
[INFO] skip non existing resourceDirectory X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-failsafe-plugin\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ maven-failsafe-plugin
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ maven-failsafe-plugin ---
[INFO] Surefire report directory: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-failsafe-plugin\target\surefire-reports
[INFO] Using configured provider org.apache.maven.surefire.shadefire.junit.JUnit3Provider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ maven-failsafe-plugin ---
[INFO] Building jar: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-failsafe-plugin\target\maven-failsafe-plugin-2.8.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:2.7:addPluginArtifactMetadata (default-addPluginArtifactMetadata)
@ maven-failsafe-plugin ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ maven-failsafe-plugin ---
[INFO] Installing X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-failsafe-plugin\target\maven-failsafe-plugin-2.8.1-SNAPSHOT.jar
to x:\slave\workspace\surefire\jdk\java-5x\label\windows\.repository\org\apache\maven\plugins\maven-failsafe-plugin\2.8.1-SNAPSHOT\maven-failsafe-plugin-2.8.1-SNAPSHOT.jar
[INFO] Installing X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-failsafe-plugin\pom.xml
to x:\slave\workspace\surefire\jdk\java-5x\label\windows\.repository\org\apache\maven\plugins\maven-failsafe-plugin\2.8.1-SNAPSHOT\maven-failsafe-plugin-2.8.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ maven-failsafe-plugin ---
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
(795 B at 23.5 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-failsafe-plugin-2.8.1-20110318.180354-10.jar
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-failsafe-plugin-2.8.1-20110318.180354-10.jar
(47 KB at 3295.9 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-failsafe-plugin-2.8.1-20110318.180354-10.pom
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-failsafe-plugin-2.8.1-20110318.180354-10.pom
(13 KB at 1500.5 KB/sec)
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/maven-metadata.xml
(459 B at 37.4 KB/sec)
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml (7 KB
at 2283.5 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
(798 B at 194.8 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-failsafe-plugin/maven-metadata.xml
(459 B at 149.4 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml (7 KB at
1712.6 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Surefire Report Plugin 2.8.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ maven-surefire-report-plugin ---
[INFO] Deleting X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target
[INFO] 
[INFO] --- maven-plugin-plugin:2.7:helpmojo (generated-helpmojo) @ maven-surefire-report-plugin
---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 2 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-plugin-plugin:2.7:descriptor (default-descriptor) @ maven-surefire-report-plugin
---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 3 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ maven-surefire-report-plugin
---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ maven-surefire-report-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ maven-surefire-report-plugin
---
[INFO] Compiling 8 source files to X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ maven-surefire-report-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ maven-surefire-report-plugin
---
[INFO] Compiling 6 source files to X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ maven-surefire-report-plugin ---
[INFO] Surefire report directory: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugins.surefire.report.ReportTestCaseTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.maven.plugins.surefire.report.ReportTestSuiteTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.maven.plugins.surefire.report.SurefireReportMojoTest
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.975 sec
Running org.apache.maven.plugins.surefire.report.SurefireReportParserTest
WARNING: no time attribute found on testsuite element
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec

Results :

Tests run: 24, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ maven-surefire-report-plugin ---
[INFO] Building jar: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target\maven-surefire-report-plugin-2.8.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:2.7:addPluginArtifactMetadata (default-addPluginArtifactMetadata)
@ maven-surefire-report-plugin ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ maven-surefire-report-plugin
---
[INFO] Installing X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\target\maven-surefire-report-plugin-2.8.1-SNAPSHOT.jar
to x:\slave\workspace\surefire\jdk\java-5x\label\windows\.repository\org\apache\maven\plugins\maven-surefire-report-plugin\2.8.1-SNAPSHOT\maven-surefire-report-plugin-2.8.1-SNAPSHOT.jar
[INFO] Installing X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\maven-surefire-report-plugin\pom.xml
to x:\slave\workspace\surefire\jdk\java-5x\label\windows\.repository\org\apache\maven\plugins\maven-surefire-report-plugin\2.8.1-SNAPSHOT\maven-surefire-report-plugin-2.8.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ maven-surefire-report-plugin
---
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
(802 B at 19.6 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-surefire-report-plugin-2.8.1-20110318.180402-10.jar
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-surefire-report-plugin-2.8.1-20110318.180402-10.jar
(40 KB at 3291.7 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-surefire-report-plugin-2.8.1-20110318.180402-10.pom
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-surefire-report-plugin-2.8.1-20110318.180402-10.pom
(8 KB at 916.3 KB/sec)
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/maven-metadata.xml
(466 B at 22.8 KB/sec)
Downloading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml
Downloaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml (7 KB
at 1712.6 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/2.8.1-SNAPSHOT/maven-metadata.xml
(805 B at 196.5 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-surefire-report-plugin/maven-metadata.xml
(466 B at 113.8 KB/sec)
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml
Uploaded: file:/opt/repos/deploy-junk/org/apache/maven/plugins/maven-metadata.xml (7 KB at
1712.6 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Surefire Integration Test Setup 2.8.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ surefire-setup-integration-tests
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (require-maven-2.1.0) @ surefire-setup-integration-tests
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ surefire-setup-integration-tests
---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ surefire-setup-integration-tests
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ surefire-setup-integration-tests
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-help-plugin:2.1:effective-settings (settings.xml) @ surefire-setup-integration-tests
---
[INFO] Effective-settings written to: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\private\settings.xml
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ surefire-setup-integration-tests
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ surefire-setup-integration-tests
---
[INFO] Compiling 2 source files to X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ surefire-setup-integration-tests
---
[INFO] Surefire report directory: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.surefire.its.SetUpForIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ surefire-setup-integration-tests ---
[INFO] Building jar: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\surefire-setup-integration-tests-2.8.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:1.5:install (default) @ surefire-setup-integration-tests ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SureFire .......................................... SUCCESS [8.601s]
[INFO] surefire-shadefire ................................ SUCCESS [4.280s]
[INFO] SureFire API ...................................... SUCCESS [7.739s]
[INFO] SureFire Booter ................................... SUCCESS [2.694s]
[INFO] SureFire Providers ................................ SUCCESS [0.178s]
[INFO] Shared JUnit3 provider code ....................... SUCCESS [1.743s]
[INFO] Shared Junit4 Provider Code ....................... SUCCESS [2.227s]
[INFO] SureFire JUnit Runner ............................. SUCCESS [1.557s]
[INFO] SureFire JUnit4 Runner ............................ SUCCESS [2.877s]
[INFO] SureFire JUnitCore Runner ......................... SUCCESS [11.951s]
[INFO] SureFire TestNG Utils ............................. SUCCESS [2.158s]
[INFO] SureFire TestNG Runner ............................ SUCCESS [1.314s]
[INFO] Maven Surefire Common ............................. SUCCESS [7.754s]
[INFO] Maven Surefire Plugin ............................. SUCCESS [4.323s]
[INFO] Maven Failsafe Plugin ............................. SUCCESS [4.684s]
[INFO] Maven Surefire Report Plugin ...................... SUCCESS [7.852s]
[INFO] Maven Surefire Integration Test Setup ............. FAILURE [8.646s]
[INFO] Maven Surefire Integration Tests .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.537s
[INFO] Finished at: Fri Mar 18 11:04:11 PDT 2011
[INFO] Final Memory: 18M/38M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.5:install (default)
on project surefire-setup-integration-tests: Failed to create local repository: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\$X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\it-repo:
Failed to create directory: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\$X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\it-repo
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.5:install
(default) on project surefire-setup-integration-tests: Failed to create local repository:
X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\$X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\it-repo
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create local repository:
X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\$X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\it-repo
	at org.apache.maven.plugin.invoker.InstallMojo.createTestRepository(InstallMojo.java:190)
	at org.apache.maven.plugin.invoker.InstallMojo.execute(InstallMojo.java:148)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: java.io.IOException: Failed to create directory: X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\$X:\slave\workspace\surefire\jdk\java-5x\label\windows\trunk\surefire-setup-integration-tests\target\it-repo
	at org.apache.maven.plugin.invoker.InstallMojo.createTestRepository(InstallMojo.java:178)
	... 22 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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :surefire-setup-integration-tests


Mime
View raw message