You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vlad Skarzhevskyy (JIRA)" <ji...@codehaus.org> on 2007/07/25 22:26:13 UTC
[jira] Reopened: (SUREFIRE-318) Fails to run build on Windows
Server 2003
[ http://jira.codehaus.org/browse/SUREFIRE-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlad Skarzhevskyy reopened SUREFIRE-318:
----------------------------------------
Build on Windows Server 2003 failed again!
---- build log ---
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire/2.3.1-SNAPSHOT/surefire-2.3.1-20070606.164150-5.pom
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-surefire-plugin/2.3.1-SNAPSHOT/maven-surefire-plugin-2.3.1-20070606.164150-5.jar
........
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
---- build log ---
May be the the problem is because I don't have any tests defined in a module But it works fine on WinXP
I removed the empty directories for test cases and the module build compleated.
but now next module fails that real has Unit tests.
C:\build\work\pyx4j-gwt\log4gwt>m2 -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building pyx4j-log4gwt
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\build\work\pyx4j-gwt\log4gwt\target\surefire-reports
[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:560)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:443)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Jul 25 14:38:39 EDT 2007
[INFO] Final Memory: 5M/178M
[INFO] ------------------------------------------------------------------------
C:\build\work\pyx4j-gwt\log4gwt>
Maven version: 2.0.6
> Fails to run build on Windows Server 2003
> -----------------------------------------
>
> Key: SUREFIRE-318
> URL: http://jira.codehaus.org/browse/SUREFIRE-318
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.3
> Environment: Maven 2.0.5 or 2.0.6 , Windows Server 2003, Java 1.5 or 1.6
> Reporter: Vlad Skarzhevskyy
> Assignee: Brett Porter
> Fix For: 2.3.1
>
> Attachments: build-log.txt
>
>
> After Upgrade to Surefire 2.3 our build server fails to run tests on any project.
> Get the message:
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> All works fine on Linux, WinXP and Win2000.
> But when I try to build on any Windows Server 2003 build will fail.
> See the log
> mvn -X test > build-log.txt
--
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