maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: Maven-2.1.x-with-bootstrap #256
Date Tue, 06 Jan 2009 21:19:42 GMT
See http://hudson.zones.apache.org/hudson/job/Maven-2.1.x-with-bootstrap/256/changes

Changes:

[ogusakov] looks like I added a file by mistake. Don't know where it came from - contains
a copy of maven POM, should it be ignored instead - as a build product?

[ogusakov] added a unit test for un-substituted variable
Issue id: MNG-3856

------------------------------------------
[...truncated 640 lines...]
     [java] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [java] [INFO] skip non existing resourceDirectory /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/main/resources
     [java] [INFO] Copying 3 resources
     [java] [INFO] [compiler:compile]
     [java] [INFO] Compiling 63 source files to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/target/classes
     [java] [INFO] [plexus-component-metadata:generate-metadata]
     [java] [INFO] Discovered 15 component descriptors(s)
     [java] [INFO] [resources:testResources]
     [java] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [java] [INFO] Copying 213 resources
     [java] [INFO] Copying 3 resources
     [java] [INFO] [compiler:testCompile]
     [java] [INFO] Compiling 38 source files to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/target/test-classes
     [java] [INFO] [surefire:test]
     [java] [INFO] Surefire report directory: /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/target/surefire-reports
     [java] 
     [java] -------------------------------------------------------
     [java]  T E S T S
     [java] -------------------------------------------------------
     [java] Running org.apache.maven.project.inheritance.t04.ProjectInheritanceTest
     [java] Artifact: maven-test:t04-a:jar 1.0 Optional=false
     [java] Artifact: maven-test:t04-b:jar 1.0 Optional=false
     [java] Artifact: maven-test:t04-c:jar 1.0 Optional=false
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.769 sec
     [java] Running org.apache.maven.profiles.activation.JdkPrefixProfileActivatorTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
     [java] Running org.apache.maven.project.ProjectBuilderURITest
     [java] Original URL String:
     [java] jar:file:/c:/Program Files/maven2.1/bin/../lib/maven-project-2.1-SNAPSHOT.jar!/org/apache/maven/project/pom-4.0.0.xml
     [java] URI result:
     [java] jar:file:/c:/Program%20Files/maven2.1/bin/../lib/maven-project-2.1-SNAPSHOT.jar!/org/apache/maven/project/pom-4.0.0.xml
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
     [java] Running org.apache.maven.project.canonical.CanonicalProjectBuilderTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.322 sec
     [java] Running org.apache.maven.project.MavenProjectTest
     [java] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.014 sec
     [java] Running org.apache.maven.project.artifact.TestModelDefaultsInjector
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.profiles.activation.FileProfileActivatorTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec
     [java] Running org.apache.maven.project.inheritance.t11.ProjectInheritanceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec
     [java] Running org.apache.maven.project.inheritance.t02.ProjectInheritanceTest
     [java] Local repository is at: /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/test/resources/inheritance-repo/t02
     [java] Location of project-4's POM: /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/test/resources/inheritance-repo/t02/p0/p1/p2/p3/p4/pom.xml
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.591 sec
     [java] Running org.apache.maven.project.inheritance.t06.ProjectInheritanceTest
     [java] Artifact: maven-test:t06-a:jar 1.0 Optional=false
     [java] Artifact: maven-test:t06-b:jar 1.0 Optional=false
     [java] Artifact: maven-test:t06-c:jar 1.0 Optional=false
     [java] Artifact: maven-test:t06-d:jar 1.0 Optional=false
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
     [java] Running org.apache.maven.project.ProjectClasspathTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
     [java] Running org.apache.maven.project.inheritance.t12scm.ProjectInheritanceTest
     [java] 
     [java] 
     [java] 
     [java] Parent SCM URL is: http://host/viewer?path=/p0
     [java] Child SCM URL is: http://host/viewer?path=/p0/p1
     [java] 
     [java] Parent SCM connection is: scm:svn:http://host/p0
     [java] Child SCM connection is: scm:svn:http://host/p0/p1
     [java] 
     [java] Parent SCM developer connection is: scm:svn:https://host/p0
     [java] Child SCM developer connection is: scm:svn:https://host/p0/p1
     [java] 
     [java] 
     [java] 
     [java] Child SCM URL is: http://host/viewer?path=/p0/p1
     [java] Child SCM connection is: scm:svn:http://host/p0/p1
     [java] Child SCM developer connection is: scm:svn:https://host/p0/p1
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.361 sec
     [java] Running org.apache.maven.project.inheritance.t00.ProjectInheritanceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec
     [java] Running org.apache.maven.project.validation.DefaultModelValidatorTest
     [java] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.06 sec
     [java] Running org.apache.maven.project.DefaultMavenProjectHelperTest
     [java] [WARNING] Duplicate artifact attachment detected. (project: unknown:empty-project:jar:0;
illegal attachment: group:artifact:jar:c:1)
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
     [java] Running org.apache.maven.project.inheritance.t01.ProjectInheritanceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.468 sec
     [java] Running org.apache.maven.project.inheritance.t07.ProjectInheritanceTest
     [java] Project maven-t07:p1:pom:1.0 MavenProject: maven-t07:p1:1.0 @ /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/test/resources/inheritance-repo/t07/p0/p1/pom.xml
     [java] Artifact: maven-test:t07-a:jar 1.0 Optional=false
     [java] Artifact: maven-test:t07-b:jar 1.0 Optional=false
     [java] Artifact: maven-test:t07-c:jar 1.0 Optional=false
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.644 sec
     [java] Running org.apache.maven.project.inheritance.t05.ProjectInheritanceTest
     [java] Artifact: maven-test:t05-a:jar 1.0 Scope: runtime
     [java] Artifact: maven-test:t05-b:jar 1.0 Scope: runtime
     [java] Artifact: maven-test:t05-c:jar 1.0 Scope: runtime
     [java] Artifact: maven-test:t05-d:jar 1.0 Scope: runtime
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.343 sec
     [java] Running org.apache.maven.project.injection.TestProfileInjector
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.project.artifact.MavenMetadataSourceTest
     [java] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
     [java] Running org.apache.maven.project.inheritance.t12.ProjectInheritanceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 sec
     [java] Running org.apache.maven.project.TestArtifactResolver
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
     [java] Running org.apache.maven.project.builder.PomConstructionTest
     [java] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.194 sec
     [java] Running org.apache.maven.project.SuperPomProjectBuilderTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
     [java] Running org.apache.maven.project.inheritance.t08.ProjectInheritanceTest
     [java] Project maven-t08:p1:pom:1.0 MavenProject: maven-t08:p1:1.0 @ /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/test/resources/inheritance-repo/t08/p0/p1/pom.xml
     [java] Artifact: maven-test:t08-a:jar 1.0 Optional=false
     [java] Artifact: maven-test:t08-b:jar 1.0 Optional=false
     [java] Artifact: maven-test:t08-c:jar 1.0 Optional=false
     [java] Artifact: maven-test:t08-d:jar 1.0 Optional=true
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
     [java] Running org.apache.maven.project.inheritance.t03.ProjectInheritanceTest
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
     [java] Running org.apache.maven.project.DefaultMavenProjectBuilderTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec
     [java] Running org.apache.maven.profiles.activation.SystemPropertyProfileActivatorTest
     [java] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
     [java] Running org.apache.maven.project.injection.DefaultModelDefaultsInjectorTest
     [java] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
     [java] Running org.apache.maven.project.inheritance.t10.ProjectInheritanceTest
     [java] Project maven-t10:p1:pom:1.0 MavenProject: maven-t10:p1:1.0 @ /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/src/test/resources/inheritance-repo/t10/p0/p1/pom.xml
     [java] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 sec
     [java] Running org.apache.maven.profiles.injection.DefaultProfileInjectorTest
     [java] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
     [java] Running org.apache.maven.project.ModelUtilsTest
     [java] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
     [java] Running org.apache.maven.project.TestProjectBuilder
     [java] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
     [java] Running org.apache.maven.profiles.manager.DefaultProfileManagerTest
     [java] [WARNING] Cannot locate java version property: java.version. NOT enabling profile:
notActivated
     [java] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
     [java] Running org.apache.maven.project.inheritance.t09.ProjectInheritanceTest
     [java] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.324 sec
     [java] 
     [java] Results :
     [java] 
     [java] Tests run: 109, Failures: 0, Errors: 0, Skipped: 0
     [java] 
     [java] [INFO] [jar:jar]
     [java] [INFO] Building jar: /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/target/maven-project-3.0-SNAPSHOT.jar
     [java] [INFO] [install:install]
     [java] [INFO] Installing /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-project/target/maven-project-3.0-SNAPSHOT.jar
to /export/home/hudson/.m2/repository/org/apache/maven/maven-project/3.0-SNAPSHOT/maven-project-3.0-SNAPSHOT.jar
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Building Maven Mercury
     [java] [INFO] 
     [java] [INFO] Id: org.apache.maven:maven-mercury:jar:3.0-SNAPSHOT
     [java] [INFO] task-segment: [clean, install]
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] [clean:clean]
     [java] [INFO] Deleting directory /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target
     [java] url = http://repo1.maven.org/maven2
     [java] Downloading: http://repo1.maven.org/maven2/org/apache/maven/mercury/mercury-transport-http/1.0.0-alpha-2/mercury-transport-http-1.0.0-alpha-2-tests.jar
     [java] 86K downloaded
     [java] [INFO] [remote-resources:process]
     [java] [INFO] [resources:resources]
     [java] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [java] [INFO] skip non existing resourceDirectory /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/src/main/resources
     [java] [INFO] Copying 3 resources
     [java] [INFO] [compiler:compile]
     [java] [INFO] Compiling 3 source files to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target/classes
     [java] [INFO] [plexus-component-metadata:generate-metadata]
     [java] [INFO] Discovered 1 component descriptors(s)
     [java] [INFO] [resources:testResources]
     [java] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [java] [INFO] Copying 11 resources
     [java] [INFO] Copying 3 resources
     [java] [INFO] [compiler:testCompile]
     [java] [INFO] Compiling 1 source file to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target/test-classes
     [java] [INFO] [surefire:test]
     [java] [INFO] Surefire report directory: /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target/surefire-reports
     [java] 
     [java] -------------------------------------------------------
     [java]  T E S T S
     [java] -------------------------------------------------------
     [java] Running org.apache.maven.mercury.MavenDependencyProcessorTest
     [java] 2009-01-06 21:19:36.760::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
     [java] ./target/test-classes/repo
     [java] 2009-01-06 21:19:36.854::INFO:  jetty-6.1.12
     [java] 2009-01-06 21:19:36.915::INFO:  Started SocketConnector@0.0.0.0:41299
     [java] [org.apache.maven:maven-artifact:${maven.version}::jar, org.apache.maven:maven-plugin-api:${maven.version}::jar,
org.apache.maven:maven-project:${maven.version}::jar, org.apache.maven:maven-model:${maven.version}::jar,
org.apache.maven:maven-core:${maven.version}::jar, org.apache.maven.shared:maven-plugin-testing-tools:1.0-alpha-3::jar,
org.apache.maven.shared:maven-plugin-testing-harness:1.1::jar, org.codehaus.plexus:plexus-archiver:1.0-alpha-9::jar,
org.codehaus.plexus:plexus-utils:1.4.6::jar, org.apache.maven.shared:file-management:1.1::jar,
junit:junit:3.8.2::jar, org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1::jar,
org.apache.maven.shared:maven-dependency-analyzer:1.0::jar, org.apache.maven.shared:maven-dependency-tree:1.1::jar,
org.apache.maven.shared:maven-common-artifact-filters:1.0::jar, org.codehaus.plexus:plexus-io:1.0-alpha-1::jar,
org.apache.maven.reporting:maven-reporting-api:2.0.6::jar, org.apache.maven.reporting:maven-reporting-impl:2.0.4::jar,
org.apache.maven.doxia:doxia-sink-api:1.0-alpha-8::jar, org.apache.maven.doxia:doxia-site-renderer:1.0-alpha-8::jar]
     [java] Jetty on :41299 destroyed
     [java] <========
     [java] 
     [java] 
     [java] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.353 sec <<<
FAILURE!
     [java] 
     [java] Results :
     [java] 
     [java] Failed tests: 
     [java]   testMavenVersion(org.apache.maven.mercury.MavenDependencyProcessorTest)
     [java] 
     [java] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
     [java] 
     [java] [INFO] 
     [java] [INFO] 
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Reactor Summary:
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Apache Maven .......................................... SUCCESS [3.879s]
     [java] [INFO] Maven Lifecycle Model ................................. SUCCESS [7.985s]
     [java] [INFO] Maven Reporting API ................................... SUCCESS [3.398s]
     [java] [INFO] Maven Model ........................................... SUCCESS [8.523s]
     [java] [INFO] Maven Compat .......................................... SUCCESS [31.863s]
     [java] [INFO] Maven Plugin API ...................................... SUCCESS [4.188s]
     [java] [INFO] Maven Project Builder ................................. SUCCESS [5.269s]
     [java] [INFO] Maven Project Builder ................................. SUCCESS [27.004s]
     [java] [INFO] Maven Mercury ......................................... FAILED [14.807s]
     [java] [INFO] Maven Core ............................................ NOT BUILT
     [java] [INFO] Maven Toolchains ...................................... NOT BUILT
     [java] [INFO] Maven Embedder ........................................ NOT BUILT
     [java] [INFO] Maven Distribution .................................... NOT BUILT
     [java] [INFO] ------------------------------------------------------------------------
     [java] [ERROR] 
     [java] There are test failures.
     [java] 
     [java] Please refer to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target/surefire-reports
for the individual test results.null
     [java] Error stacktrace:
     [java] org.apache.maven.ProjectBuildFailureException: Build for project: org.apache.maven:maven-mercury:jar:3.0-SNAPSHOT
failed during execution of mojo: org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test
     [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:287)
     [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:201)
     [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:164)
     [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:207)
     [java] 	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:846)
     [java] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:52)
     [java] Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
     [java] 
     [java] Please refer to /zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/maven-mercury/target/surefire-reports
for the individual test results.
     [java] 	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
     [java] 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:631)
     [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:492)
     [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:259)
     [java] 	... 7 more
     [java] 
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] BUILD FAILED
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Total time: 2 minutes 1 second
     [java] [INFO] Finished at: Tue Jan 06 21:19:39 UTC 2009
     [java] [INFO] Final Memory: 32M/187M
     [java] [INFO] ------------------------------------------------------------------------

BUILD FAILED
/zonestorage/hudson/home/hudson/hudson/jobs/Maven-2.1.x-with-bootstrap/workspace/trunk/build.xml:194:
Java returned: 1

Total time: 2 minutes 59 seconds


Mime
View raw message