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 » windows #523
Date Sun, 17 Jan 2010 18:03:00 GMT
See <http://grid.sonatype.org/ci/job/maven-3.0.x/./label=windows/523/changes>

Changes:

[Hervé Boutemy] [MNG-2281] 1.0-beta-3 should be < 1.0-SNAPSHOT

[Hervé Boutemy] moved some unit-tests to follow tested classes move done in r828793

------------------------------------------
[...truncated 199 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.model.ResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.apache.maven.model.ContributorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.apache.maven.model.DependencyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.maven.model.DeveloperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.maven.model.ReportingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.maven.model.NotifierTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.apache.maven.model.ReportSetTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.maven.model.DependencyManagementTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.maven.model.SiteTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.maven.model.RepositoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.maven.model.ActivationPropertyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.maven.model.RepositoryPolicyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.maven.model.PluginManagementTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.apache.maven.model.MailingListTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ maven-model ---
[INFO] Building jar: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-model\target\maven-model-3.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.2:install (default-install) @ maven-model ---
[INFO] Installing C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-model\target\maven-model-3.0-SNAPSHOT.jar
to C:\opt\repos\bootstrap-maven-3.x\org\apache\maven\maven-model\3.0-SNAPSHOT\maven-model-3.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-deploy-plugin:2.4:deploy (default-deploy) @ maven-model ---
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/maven-model/3.0-SNAPSHOT/maven-model-3.0-20100117.180238-2.jar
121 KB uploaded at 5719.2 KB/sec
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact org.apache.maven:maven-model'
[INFO] Uploading project information for maven-model 3.0-20100117.180238-2
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot org.apache.maven:maven-model:3.0-SNAPSHOT'
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Settings 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ maven-settings ---
[INFO] Deleting C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target
[INFO] 
[INFO] --- modello-maven-plugin:1.1:java (standard) @ maven-settings ---
[INFO] outputDirectory: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\generated-sources\modello
[INFO] Working on model: src/main/mdo/settings.mdo
[INFO] Generating current version: 1.1.0
[INFO] 
[INFO] --- modello-maven-plugin:1.1:xpp3-reader (standard) @ maven-settings ---
[INFO] outputDirectory: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\generated-sources\modello
[INFO] Working on model: src/main/mdo/settings.mdo
[INFO] Generating current version: 1.1.0
[INFO] 
[INFO] --- modello-maven-plugin:1.1:xpp3-writer (standard) @ maven-settings ---
[INFO] outputDirectory: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\generated-sources\modello
[INFO] Working on model: src/main/mdo/settings.mdo
[INFO] Generating current version: 1.1.0
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ maven-settings ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ maven-settings ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ maven-settings ---
[INFO] Compiling 17 source files to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ maven-settings
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ maven-settings
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ maven-settings ---
[INFO] Surefire report directory: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\surefire-reports

-------------------------------------------------------
 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.2:jar (default-jar) @ maven-settings ---
[INFO] Building jar: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\maven-settings-3.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.2:install (default-install) @ maven-settings ---
[INFO] Installing C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-settings\target\maven-settings-3.0-SNAPSHOT.jar
to C:\opt\repos\bootstrap-maven-3.x\org\apache\maven\maven-settings\3.0-SNAPSHOT\maven-settings-3.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-deploy-plugin:2.4:deploy (default-deploy) @ maven-settings ---
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: file:/opt/repos/deploy-junk/org/apache/maven/maven-settings/3.0-SNAPSHOT/maven-settings-3.0-20100117.180238-2.jar
45 KB uploaded at 11223.6 KB/sec
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot org.apache.maven:maven-settings:3.0-SNAPSHOT'
[INFO] Uploading project information for maven-settings 3.0-20100117.180238-2
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact org.apache.maven:maven-settings'
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Artifact 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ maven-artifact ---
[INFO] Deleting C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ maven-artifact ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ maven-artifact ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ maven-artifact ---
[INFO] Compiling 27 source files to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\classes
[INFO] 
[INFO] --- plexus-component-metadata:1.5.2:generate-metadata (default) @ maven-artifact ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ maven-artifact
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ maven-artifact
---
[INFO] Compiling 3 source files to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\test-classes
[INFO] 
[INFO] --- plexus-component-metadata:1.5.2:generate-test-metadata (default) @ maven-artifact
---
[INFO] 
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ maven-artifact ---
[INFO] Surefire report directory: C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.artifact.versioning.VersionRangeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.apache.maven.artifact.versioning.ComparableVersionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.maven.artifact.versioning.DefaultArtifactVersionTest
Tests run: 7, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec <<< FAILURE!
testVersionComparing(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)  Time
elapsed: 0.027 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 1.0-SNAPSHOT should be older than 1.0-beta-1
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.assertVersionOlder(DefaultArtifactVersionTest.java:192)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.testVersionComparing(DefaultArtifactVersionTest.java:106)

testVersionSnapshotComparing(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)
 Time elapsed: 0.023 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 1.0-SNAPSHOT-SNAPSHOT should be older than 1.0-beta-1-SNAPSHOT
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.assertVersionOlder(DefaultArtifactVersionTest.java:192)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.testVersionSnapshotComparing(DefaultArtifactVersionTest.java:147)

testSnapshotVsReleases(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)  Time
elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 1.0-SNAPSHOT should be older than 1.0-RC1
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.assertVersionOlder(DefaultArtifactVersionTest.java:192)
	at org.apache.maven.artifact.versioning.DefaultArtifactVersionTest.testSnapshotVsReleases(DefaultArtifactVersionTest.java:167)


Results :

Failed tests: 
  testVersionComparing(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)
  testVersionSnapshotComparing(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)
  testSnapshotVsReleases(org.apache.maven.artifact.versioning.DefaultArtifactVersionTest)

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven 3.x .................................. SUCCESS [1.753s]
[INFO] Maven Model ....................................... SUCCESS [6.697s]
[INFO] Maven Settings .................................... SUCCESS [2.463s]
[INFO] Maven Artifact .................................... FAILURE [5.586s]
[INFO] Maven Plugin API .................................. SKIPPED
[INFO] Maven Model Builder ............................... SKIPPED
[INFO] Maven Core ........................................ SKIPPED
[INFO] Maven Compat ...................................... SKIPPED
[INFO] Maven Embedder .................................... SKIPPED
[INFO] Maven Distribution ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.883s
[INFO] Finished at: Sun Jan 17 10:02:53 PST 2010
[INFO] Final Memory: 15M/28M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test)
on project maven-artifact: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\surefire-reports
for the individual test results.
-> [Help 1]
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-artifact: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\surefire-reports
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:566)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:317)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:423)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:158)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:123)
	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:597)
	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.MojoFailureException: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x\label\windows\trunk\maven-artifact\target\surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:562)
	... 14 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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-artifact


Mime
View raw message