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: XXX #13
Date Thu, 24 Jul 2008 00:19:39 GMT
See http://ci.sonatype.org/job/XXX/13/changes

Changes:

[John Casey] Merging changes in from 2.0.10-RC2 release candidate on 2.0.10-RC branch. Still
have two failing unit tests in maven-core; I'll take care of those in a few minutes.

------------------------------------------
[...truncated 8100 lines...]
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
 groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
 groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
 groupId = 'org.apache.maven.plugins'
artifactId = 'maven-assembly-plugin'
goal = 'assembly'
executionId = 'default'
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']

Actual execution plan:
[groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
 groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
 groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
 groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
 groupId = 'org.apache.maven.plugins'
artifactId = 'maven-assembly-plugin'
goal = 'assembly'
executionId = 'default'
 groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
Running org.apache.maven.execution.DefaultMavenRealmManagerTest
[DEBUG] Importing: org.apache.maven.core.test.MyArtifactFactory
with role: org.apache.maven.artifact.factory.ArtifactFactory
and hint: test
from extension realm: /extensions/org.group:artifact-ext:1/thread:main
to project realm: /projects/org.group:artifact-project1:2/thread:main
[DEBUG] Importing: org.apache.maven.core.test.MyArtifactFactory
with role: org.apache.maven.artifact.factory.ArtifactFactory
and hint: test
from extension realm: /extensions/org.group:artifact-ext:1/thread:main
to project realm: /projects/org.group:artifact-project1:2/thread:main
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 sec
Running org.apache.maven.settings.SettingsUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.maven.lifecycle.plan.DefaultBuildPlannerTest
[DEBUG] Importing: org.apache.maven.artifact.handler.DefaultArtifactHandler
with role: org.apache.maven.artifact.handler.ArtifactHandler
and hint: test
from extension realm: /extensions/group:artifact:1/thread:main
to project realm: /projects/group:project:1/thread:main
[DEBUG] Importing: org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
with role: org.apache.maven.lifecycle.mapping.LifecycleMapping
and hint: test
from extension realm: /extensions/group:artifact:1/thread:main
to project realm: /projects/group:project:1/thread:main
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.699 sec
Running org.apache.maven.lifecycle.binding.BindingUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.maven.settings.validation.DefaultSettingsValidatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest
[DEBUG] Importing: org.apache.maven.artifact.handler.DefaultArtifactHandler
with role: org.apache.maven.artifact.handler.ArtifactHandler
and hint: test
from extension realm: /extensions/group:artifact:1/thread:main
to project realm: /projects/group:project:1/thread:main
[DEBUG] Importing: org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
with role: org.apache.maven.lifecycle.mapping.LifecycleMapping
and hint: test
from extension realm: /extensions/group:artifact:1/thread:main
to project realm: /projects/group:project:1/thread:main
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 sec
Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Result: Component Descriptor: role: 'null', implementation: 'null', role hint: 'default'
---
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: 0.719 sec
Running org.apache.maven.lifecycle.LegacyLifecycleMappingParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
Running org.apache.maven.extension.DefaultBuildExtensionScannerTest
[DEBUG] Pre-scanning POM lineage of: pom for build extensions.
[DEBUG] Building model-lineage for: pom to pre-scan for extensions.
[DEBUG] Checking: group:artifact:jar:[inherited] for extensions. (It has 0 modules.)
[DEBUG] Checking group:artifact:jar:[inherited] for extensions.
[DEBUG] Adding plugin: test:artifact as an extension(from model: group:artifact:jar:[inherited])
[DEBUG] Basedir is: null
[DEBUG] Pre-scanning POM lineage of: pom for build extensions.
[DEBUG] Building model-lineage for: pom to pre-scan for extensions.
[DEBUG] Checking: group:parent:jar:[inherited] for extensions. (It has 0 modules.)
[DEBUG] Checking group:parent:jar:[inherited] for extensions.
[DEBUG] Basedir is: null
[DEBUG] Checking: group:artifact:jar:[inherited] for extensions. (It has 0 modules.)
[DEBUG] Checking group:artifact:jar:[inherited] for extensions.
[DEBUG] Adding plugin: test:artifact as an extension(from model: group:artifact:jar:[inherited])
[DEBUG] Basedir is: null
[DEBUG] Pre-scanning POM lineage of: /tmp/DefaultBuildExtensionScannerTest1216858778632/pom.xml
for build extensions.
[DEBUG] Building model-lineage for: /tmp/DefaultBuildExtensionScannerTest1216858778632/pom.xml
to pre-scan for extensions.
[DEBUG] Checking: group:parent:jar:1 for extensions. (It has 0 modules.)
[DEBUG] Checking group:parent:jar:1 for extensions.
[DEBUG] Basedir is: /tmp/DefaultBuildExtensionScannerTest1216858778632
[DEBUG] Checking: group:artifact:jar:1 for extensions. (It has 1 modules.)
[DEBUG] Checking group:artifact:jar:1 for extensions.
[DEBUG] Basedir is: /tmp/DefaultBuildExtensionScannerTest1216858778632
[DEBUG] Scanning module: module
[DEBUG] Assuming POM file 'pom.xml' in module: module under basedir: /tmp/DefaultBuildExtensionScannerTest1216858778632
[DEBUG] Pre-scanning POM lineage of: /tmp/DefaultBuildExtensionScannerTest1216858778632/module/pom.xml
for build extensions.
[DEBUG] Building model-lineage for: /tmp/DefaultBuildExtensionScannerTest1216858778632/module/pom.xml
to pre-scan for extensions.
[DEBUG] Already visited: group:parent; continuing.
[DEBUG] Already visited: group:artifact; continuing.
[DEBUG] Checking: group:module:jar:1 for extensions. (It has 0 modules.)
[DEBUG] Checking group:module:jar:1 for extensions.
[DEBUG] Adding plugin: test:artifact as an extension(from model: group:module:jar:1)
[DEBUG] Basedir is: /tmp/DefaultBuildExtensionScannerTest1216858778632/module
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running org.apache.maven.extension.DefaultExtensionManagerTest







START


Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.143 sec <<< FAILURE!
test_addExtension_usingModel_ShouldLoadExtensionComponent(org.apache.maven.extension.DefaultExtensionManagerTest)
 Time elapsed: 0.078 sec  <<< ERROR!
java.lang.NullPointerException
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:167)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:186)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:314)
	at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:323)
	at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:145)
	at org.apache.maven.extension.DefaultExtensionManagerTest.test_addExtension_usingModel_ShouldLoadExtensionComponent(DefaultExtensionManagerTest.java:157)

test_addExtension_usingModel_ShouldLoadCustomLifecycleMappingAndArtifactHandler(org.apache.maven.extension.DefaultExtensionManagerTest)
 Time elapsed: 0.059 sec  <<< ERROR!
java.lang.NullPointerException
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:167)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:186)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:314)
	at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:323)
	at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:145)
	at org.apache.maven.extension.DefaultExtensionManagerTest.test_addExtension_usingModel_ShouldLoadCustomLifecycleMappingAndArtifactHandler(DefaultExtensionManagerTest.java:209)

Running org.apache.maven.errors.DefaultCoreErrorReporterTest

Maven encountered an error while loading a plugin for use in your build.

Original task invocation:test

While building project:
No project is in use.


Error message:
Test message
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 sec

Results :

Tests in error: 
  test_addExtension_usingModel_ShouldLoadExtensionComponent(org.apache.maven.extension.DefaultExtensionManagerTest)
  test_addExtension_usingModel_ShouldLoadCustomLifecycleMappingAndArtifactHandler(org.apache.maven.extension.DefaultExtensionManagerTest)

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

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

Please refer to http://ci.sonatype.org/job/XXX/ws/maven-2.1.x/maven-core/target/surefire-reports
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to http://ci.sonatype.org/job/XXX/ws/maven-2.1.x/maven-core/target/surefire-reports
 for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	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 http://ci.sonatype.org/job/XXX/ws/maven-2.1.x/maven-core/target/surefire-reports
 for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 10 seconds
[INFO] Finished at: Wed Jul 23 19:19:39 CDT 2008
[INFO] Final Memory: 52M/497M
[INFO] ------------------------------------------------------------------------


Mime
View raw message