You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by karafman <mv...@comcast.net> on 2011/01/26 23:50:56 UTC

[itest] test failure

Downloaded the trunk and compiled on Windows 7.  got the following failure,
not very descriptive, so no idea what's going on.  Am I the only one getting
this error?
[INFO]
[INFO] --- maven-surefire-plugin:2.3.1:test (default-test) @
archetypes-itests ---
[INFO] Surefire report directory:
C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports
java.lang.NoClassDefFoundError: and
Exception in thread "main"
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16.624s
[INFO] Finished at: Wed Jan 26 17:44:53 EST 2011
[INFO] Final Memory: 22M/44M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test (default-test) on
project archetypes-itests: There are test f
ailures.
[ERROR]
[ERROR] Please refer to
C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test (default-test
) on project archetypes-itests: There are test failures.

Please refer to
C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
individual test results.
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        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:534)
        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.MojoFailureException: There are test
failures.

Please refer to
C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
individual test results.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:455)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 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
C:\workspace\karaf_trunk>

-----
Karafman
Slayer of the JEE
Pounder of the Perl Programmer

-- 
View this message in context: http://karaf.922171.n3.nabble.com/itest-test-failure-tp2358186p2358186.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: [itest] test failure

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Have you the issue ?
I made several build on the trunk this morning without problem.

Regards
JB

On 01/26/2011 11:50 PM, karafman wrote:
>
> Downloaded the trunk and compiled on Windows 7.  got the following failure,
> not very descriptive, so no idea what's going on.  Am I the only one getting
> this error?
> [INFO]
> [INFO] --- maven-surefire-plugin:2.3.1:test (default-test) @
> archetypes-itests ---
> [INFO] Surefire report directory:
> C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports
> java.lang.NoClassDefFoundError: and
> Exception in thread "main"
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16.624s
> [INFO] Finished at: Wed Jan 26 17:44:53 EST 2011
> [INFO] Final Memory: 22M/44M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test (default-test) on
> project archetypes-itests: There are test f
> ailures.
> [ERROR]
> [ERROR] Please refer to
> C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
> individual test results.
> [ERROR] ->  [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test (default-test
> ) on project archetypes-itests: There are test failures.
>
> Please refer to
> C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
> individual test results.
>          at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>          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:534)
>          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.MojoFailureException: There are test
> failures.
>
> Please refer to
> C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports for the
> individual test results.
>          at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:455)
>          at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>          at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>          ... 19 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
> C:\workspace\karaf_trunk>
>
> -----
> Karafman
> Slayer of the JEE
> Pounder of the Perl Programmer
>

Re: [itest] test failure

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Let me make a try and spin on Hudson.

Regards
JB

On 01/26/2011 11:51 PM, karafman wrote:
>
> Oh, and the referred to directory:
> C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports   Was
> non-existant.
>
> -----
> Karafman
> Slayer of the JEE
> Pounder of the Perl Programmer
>

Re: [itest] test failure

Posted by karafman <mv...@comcast.net>.
Oh, and the referred to directory: 
C:\workspace\karaf_trunk\archetypes\itests\target\surefire-reports   Was
non-existant.

-----
Karafman
Slayer of the JEE
Pounder of the Perl Programmer

-- 
View this message in context: http://karaf.922171.n3.nabble.com/itest-test-failure-tp2358186p2358194.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.