You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Hudson <Hu...@sonatype.org> on 2009/06/26 23:12:14 UTC

Build failed in Hudson: Maven 2.2.x » 1.5,windows #11

See http://grid.sonatype.org/ci/job/Maven%202.2.x/./jdk=1.5,label=windows/11/changes

Changes:

[John Casey] Merging changes up to revId 788569 from maven-2.2.0-RC branch.

[John Casey] reverting mistaken commit.

[John Casey] repairing from merge

------------------------------------------
[...truncated 1145 lines...]

<configuration>
  ...
  <testName>VALUE</testName>
</configuration>

-OR-

<configuration>
  ...
  <testAlias>VALUE</testAlias>
</configuration>


-OR-

on the command line, specify: '-Dproject.build.finalName=VALUE'

---------------------------------------------------------------------
Visual output for testParamWithOneProjectAPIBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] on the command line, specify: '-Dproject.distributionManagementArtifactRepository=VALUE'

---------------------------------------------------------------------
Visual output for testNonEditableParamWithOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] on the command line, specify: '-Dproject.build.finalName=VALUE'

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.apache.maven.usability.InvalidArtifactDiagnoserTest
------------------------------------------------------------
|  Test diagnosis for missing groupId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     <<< MISSING >>>
    o ArtifactID:  test-artifact
    o Version:     1.0
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing artifactId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  <<< MISSING >>>
    o Version:     1.0
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing version
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  test-artifact
    o Version:     <<< MISSING >>>
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing type
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  test-artifact
    o Version:     1.0
    o Type:        <<< MISSING >>>

------------------------------------------------------------
|  Test diagnosis for missing groupId and artifactId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     <<< MISSING >>>
    o ArtifactID:  <<< MISSING >>>
    o Version:     1.0
    o Type:        jar

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.232 sec
Running org.apache.maven.cli.MavenCliTest
Execution properties:


-- listing properties --
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=C:\opt\java\sdk\1.5\jre\bin
java.vm.version=1.5.0_17-b04
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\home\hudson\workspace\Maven 2.2.x\...
java.runtime.version=1.5.0_17-b04
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
basedir=C:\home\hudson\workspace\Maven 2.2.x\...
java.endorsed.dirs=C:\opt\java\sdk\1.5\jre\lib\endorsed
os.arch=x86
java.io.tmpdir=C:\tmp\
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
os.name=Windows Vista
sun.jnu.encoding=Cp1252
java.library.path=C:\opt\java\sdk\1.5\jre\bin;.;C:\Wind...
java.specification.name=Java Platform API Specification
java.class.version=49.0
sun.management.compiler=HotSpot Client Compiler
os.version=6.0
user.home=C:\Users\hudson
user.timezone=America/Los_Angeles
test.property.3=3.0
test.property.2=2.1
java.awt.printerjob=sun.awt.windows.WPrinterJob
test.property.1=1.0
file.encoding=Cp1252
java.specification.version=1.5
java.class.path=C:\opt\repos\maven-2.2.x\org\apache\m...
user.name=hudson
java.vm.specification.version=1.0
java.home=C:\opt\java\sdk\1.5\jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Sun Microsystems Inc.
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.5.0_17
java.ext.dirs=C:\opt\java\sdk\1.5\jre\lib\ext
sun.boot.class.path=C:\opt\java\sdk\1.5\jre\lib\rt.jar;C:...
java.vendor=Sun Microsystems Inc.
localRepository=C:\opt\repos\maven-2.2.x
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport...
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+m...


User properties:


-- listing properties --
test.property.3=3.0
test.property.2=2.1
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.497 sec <<< FAILURE!
testGetExecutionProperties(org.apache.maven.cli.MavenCliTest)  Time elapsed: 3.49 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertNotNull(Assert.java:220)
	at junit.framework.Assert.assertNotNull(Assert.java:213)
	at org.apache.maven.cli.MavenCliTest.testGetExecutionProperties(MavenCliTest.java:63)
	at org.apache.maven.cli.MavenCliTest.testGetExecutionProperties(MavenCliTest.java:63)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)


Results :

Failed tests: 
  testGetExecutionProperties(org.apache.maven.cli.MavenCliTest)

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
	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.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 19 seconds
[INFO] Finished at: Fri Jun 26 14:12:05 PDT 2009
[INFO] Final Memory: 35M/68M
[INFO] ------------------------------------------------------------------------


Hudson build is back to normal: Maven 2.2.x » 1.5,windows #12

Posted by Hudson <Hu...@sonatype.org>.
See http://grid.sonatype.org/ci/job/Maven%202.2.x/./jdk=1.5,label=windows/12/