[ http://jira.codehaus.org/browse/MNG-1743?page=all ] Vincent Massol closed MNG-1743: -------------------------------
Assign To: Vincent Massol (was: Jason van Zyl) Resolution: Won't Fix It seems there was a problem with the publishing of the plugin. I have built it from sources and it's no longer causing this problem. > Surefire plugin reports error without explanation > ------------------------------------------------- > > Key: MNG-1743 > URL: http://jira.codehaus.org/browse/MNG-1743 > Project: Maven 2 > Type: Bug > Components: maven-surefire-plugin > Versions: 2.0.1 > Reporter: Vincent Massol > Assignee: Vincent Massol > > > I think this is due to some recent changes in the surefire plugin. I have the > maven2 snapshot repo defined and this morning when I tried the tests I got > the following error (yesterday I was also getting an error but that an error > from my project and the explanation was printed as a stak trace): > [...] > [INFO] [surefire:test] > [INFO] Setting reports dir: > C:\dev\cargo\trunk\samples\java\target/surefire-reports > [DEBUG] Setting system property [cargo.tomcat3x.port]=[8280] > [DEBUG] Setting system property [cargo.containers.timeout]=[60000] > [DEBUG] Setting system property > [cargo.tomcat5x.url]=[http://www.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.3 > 0.zip] > [DEBUG] Setting system property > [cargo.orion2x.url]=[http://www.orionserver.com/distributions/orion2.0.5.zip] > [DEBUG] Setting system property [cargo.resin3x.port]=[8280] > [DEBUG] Setting system property > [cargo.target.dir]=[C:\dev\cargo\trunk\samples\java/target] > [DEBUG] Setting system property > [cargo.testdata.expanded-war]=[org/codehaus/cargo/samples/testdata/expanded-war/0.7-SNAPSHOT/expan > ded-war-0.7-SNAPSHOT.war] > [DEBUG] Setting system property > [cargo.resin2x.url]=[http://www.caucho.com/download/resin-2.1.16.zip] > [DEBUG] Setting system property > [cargo.resin3x.url]=[http://www.caucho.com/download/resin-3.0.15.zip] > [DEBUG] Setting system property [cargo.version]=[0.7-SNAPSHOT] > [DEBUG] Setting system property [cargo.tomcat5x.port]=[8280] > [DEBUG] Setting system property [cargo.orion2x.port]=[8280] > [DEBUG] Setting system property > [cargo.install.dir]=[C:\dev\cargo\trunk\samples\java/../../target/installs] > [DEBUG] Setting system property > [cargo.testdata.authentication-war]=[org/codehaus/cargo/samples/testdata/authentication-war/0.7-SN > APSHOT/authentication-war-0.7-SNAPSHOT.war] > [DEBUG] Setting system property [cargo.orion1x.port]=[8280] > [DEBUG] Setting system property [cargo.oc4j9x.port]=[8280] > [DEBUG] Setting system property [cargo.containers]=[resin3x, orion2x, > tomcat5x, jetty4xEmbedded] > [DEBUG] Setting system property > [cargo.jo1x.url]=[http://www.tagtraum.com/download/jo1.1beta1.zip] > [DEBUG] Setting system property [cargo.weblogic8x.port]=[8280] > [DEBUG] Setting system property > [cargo.testdata.empty-ear]=[org/codehaus/cargo/samples/testdata/empty-ear/0.7-SNAPSHOT/empty-ear-0 > .7-SNAPSHOT.ear] > [DEBUG] Setting system property [cargo.resin2x.port]=[8280] > [DEBUG] Setting system property > [cargo.tomcat3x.url]=[http://www.apache.org/dist/jakarta/tomcat-3/v3.3.2/bin/jakarta-tomcat-3.3.2. > zip] > [DEBUG] Setting system property > [cargo.testdata.simple-war]=[org/codehaus/cargo/samples/testdata/simple-war/0.7-SNAPSHOT/simple-wa > r-0.7-SNAPSHOT.war] > [DEBUG] Setting system property > [cargo.testdata.tomcatcontext-war]=[org/codehaus/cargo/samples/testdata/tomcatcontext-war/0.7-SNAP > SHOT/tomcatcontext-war-0.7-SNAPSHOT.war] > [DEBUG] Setting system property [cargo.jetty4xEmbedded.port]=[8280] > [DEBUG] Setting system property [cargo.jo1x.port]=[8280] > [DEBUG] Setting system property > [cargo.testdata.simple-ear]=[org/codehaus/cargo/samples/testdata/simple-ear/0.7-SNAPSHOT/simple-ea > r-0.7-SNAPSHOT.ear] > [DEBUG] Setting system property [cargo.jboss4x.port]=[8280] > [DEBUG] Setting system property > [cargo.tomcat4x.url]=[http://www.apache.org/dist/jakarta/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.3 > 1.zip] > [DEBUG] Setting system property > [cargo.jboss4x.url]=[http://ovh.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.zip] > [DEBUG] Setting system property > [cargo.orion1x.url]=[http://www.orionserver.com/distributions/orion1.6.0b.zip] > [DEBUG] Setting system property [cargo.tomcat4x.port]=[8280] > [DEBUG] Test Classpath : > [DEBUG] C:\dev\cargo\trunk\samples\java\target\test-classes > [DEBUG] C:\dev\cargo\trunk\samples\java\target\classes > [DEBUG] C:\dev\cargo\trunk\samples\java\target\classes > [DEBUG] C:\dev\cargo\trunk\samples\java\target\test-classes > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\javax\servlet\jsp-api\2.0\jsp-api-2.0.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\geronimo-spec\geronimo-spec-j2ee-deployment\1.1-rc4\geronimo-spec- > j2ee-deployment-1.1-rc4.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-weblogic\0.7-SNAPSHOT\carg > o-core-container-weblogic-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-jo\0.7-SNAPSHOT\cargo-core > -container-jo-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-resin\0.7-SNAPSHOT\cargo-c > ore-container-resin-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-api-container\0.7-SNAPSHOT\cargo-cor > e-api-container-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\xerces\xercesImpl\2.6.2\xercesImpl-2.6.2.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\tomcat\jasper-runtime\4.1.30\jasper-runtime-4.1.30.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-tomcat\0.7-SNAPSHOT\cargo- > core-container-tomcat-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-api-util\0.7-SNAPSHOT\cargo-core-api > -util-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-api-module\0.7-SNAPSHOT\cargo-core-a > pi-module-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\xml-apis\xml-apis\1.3.02\xml-apis-1.3.02.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-api-generic\0.7-SNAPSHOT\cargo-core- > api-generic-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-jboss\0.7-SNAPSHOT\cargo-c > ore-container-jboss-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\ant\ant\1.5.4\ant-1.5.4.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-orion\0.7-SNAPSHOT\cargo-c > ore-container-orion-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\cargo\cargo-core-container-jetty\0.7-SNAPSHOT\cargo-c > ore-container-jetty-0.7-SNAPSHOT.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\tomcat\jasper-compiler\4.1.30\jasper-compiler-4.1.30.jar > [DEBUG] C:\Documents and Settings\Vincent > Massol\.m2\repository\jetty\org.mortbay.jetty\4.2.20\org.mortbay.jetty-4.2.20.jar > [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\Vincent > Massol\.m2\repository\junit\junit\3.8.1\junit-3.8.1.j > ar > [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\Vincent > Massol\.m2\repository\surefire\surefire-booter\1.5-SN > APSHOT\surefire-booter-1.5-SNAPSHOT.jar > [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\Vincent > Massol\.m2\repository\surefire\surefire\1.5-SNAPSHOT\ > surefire-1.5-SNAPSHOT.jar > [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\Vincent > Massol\.m2\repository\org\codehaus\plexus\plexus-util > s\1.0.4\plexus-utils-1.0.4.jar > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] There are some test failure. > [INFO] > ---------------------------------------------------------------------------- > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: There are some test > failure. > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > 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:324) > 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.MojoExecutionException: There are some > test failure. > at > org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:327) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) > ... 16 more > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 3 seconds > [INFO] Finished at: Sun Dec 04 12:35:15 CET 2005 > [INFO] Final Memory: 4M/8M > [INFO] > ---------------------------------------------------------------------------- > C:\dev\cargo\trunk\samples\java> > The C:\dev\cargo\trunk\samples\java\target/surefire-reports directory does > not get created. > I can't know what's wrong... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]