You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexey Popov (JIRA)" <ji...@codehaus.org> on 2006/05/05 09:35:40 UTC
[jira] Created: (MSUREFIRE-103) Test failures in
Test failures in
-----------------
Key: MSUREFIRE-103
URL: http://jira.codehaus.org/browse/MSUREFIRE-103
Project: Maven 2.x Surefire Plugin
Type: Bug
Versions: 2.1.3
Environment: j2sdk1.4.2_06
Reporter: Alexey Popov
After an update the following error always occurs
[INFO] [compiler:testCompile]
Compiling 1 source file to ...\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: ...\target/surefire-reports
java.lang.NoSuchMethodError
at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
Exception in thread "main"
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
2)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:303)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
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: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.MojoExecutionException: There are test failures.
at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
... 16 more
--
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
[jira] Commented: (MSUREFIRE-103) Test failures in
Posted by "Alexey Popov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSUREFIRE-103?page=comments#action_64841 ]
Alexey Popov commented on MSUREFIRE-103:
----------------------------------------
I typed "mvn clean install" for my appication.
Maven downloads surefire-booter-1.5.3, surefire-1.5.3.
Tests show the java.lang.NoSuchMethodError .
Test folder exists and contains only resources folder with log4j.properties
I use j2sdk1.4.2_06
> Test failures in
> -----------------
>
> Key: MSUREFIRE-103
> URL: http://jira.codehaus.org/browse/MSUREFIRE-103
> Project: Maven 2.x Surefire Plugin
> Type: Bug
> Versions: 2.1.3
> Environment: j2sdk1.4.2_06
> Reporter: Alexey Popov
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> After an update the following error always occurs
> [INFO] [compiler:testCompile]
> Compiling 1 source file to ...\target\test-classes
> [INFO] [surefire:test]
> [INFO] Setting reports dir: ...\target/surefire-reports
> java.lang.NoSuchMethodError
> at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
> at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
> Exception in thread "main"
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 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: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.MojoExecutionException: There are test failures.
> at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
> ... 16 more
--
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
[jira] Closed: (MSUREFIRE-103) Test failures in
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSUREFIRE-103?page=all ]
fabrizio giustina closed MSUREFIRE-103.
---------------------------------------
Assignee: fabrizio giustina
Resolution: Cannot Reproduce
Fix Version/s: (was: 2.3)
2.1.1
looks like an old issue that has been fixed time ago.
> Test failures in
> -----------------
>
> Key: MSUREFIRE-103
> URL: http://jira.codehaus.org/browse/MSUREFIRE-103
> Project: Maven 2.x Surefire Plugin
> Issue Type: Bug
> Affects Versions: 2.1.3
> Environment: j2sdk1.4.2_06
> Reporter: Alexey Popov
> Assigned To: fabrizio giustina
> Fix For: 2.1.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After an update the following error always occurs
> [INFO] [compiler:testCompile]
> Compiling 1 source file to ...\target\test-classes
> [INFO] [surefire:test]
> [INFO] Setting reports dir: ...\target/surefire-reports
> java.lang.NoSuchMethodError
> at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
> at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
> Exception in thread "main"
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 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: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.MojoExecutionException: There are test failures.
> at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
> ... 16 more
--
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
[jira] Commented: (MSUREFIRE-103) Test failures in
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSUREFIRE-103?page=comments#action_64827 ]
Brett Porter commented on MSUREFIRE-103:
----------------------------------------
"after an update" - how did you get the update?
> Test failures in
> -----------------
>
> Key: MSUREFIRE-103
> URL: http://jira.codehaus.org/browse/MSUREFIRE-103
> Project: Maven 2.x Surefire Plugin
> Type: Bug
> Versions: 2.1.3
> Environment: j2sdk1.4.2_06
> Reporter: Alexey Popov
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> After an update the following error always occurs
> [INFO] [compiler:testCompile]
> Compiling 1 source file to ...\target\test-classes
> [INFO] [surefire:test]
> [INFO] Setting reports dir: ...\target/surefire-reports
> java.lang.NoSuchMethodError
> at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
> at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
> Exception in thread "main"
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 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: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.MojoExecutionException: There are test failures.
> at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
> ... 16 more
--
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
[jira] Moved: (SUREFIRE-207) Test failures in
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MSUREFIRE-103 to SUREFIRE-207:
-------------------------------------------------
Affects Version/s: (was: 1.5.3 (2.1.3 plugin))
Fix Version/s: (was: 1.5.1 (2.1.1 plugin))
Key: SUREFIRE-207 (was: MSUREFIRE-103)
Project: Maven Surefire (was: Maven 2.x Surefire Plugin)
> Test failures in
> -----------------
>
> Key: SUREFIRE-207
> URL: http://jira.codehaus.org/browse/SUREFIRE-207
> Project: Maven Surefire
> Issue Type: Bug
> Environment: j2sdk1.4.2_06
> Reporter: Alexey Popov
> Assigned To: fabrizio giustina
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After an update the following error always occurs
> [INFO] [compiler:testCompile]
> Compiling 1 source file to ...\target\test-classes
> [INFO] [surefire:test]
> [INFO] Setting reports dir: ...\target/surefire-reports
> java.lang.NoSuchMethodError
> at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
> at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
> Exception in thread "main"
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 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: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.MojoExecutionException: There are test failures.
> at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
> ... 16 more
--
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
[jira] Updated: (MSUREFIRE-103) Test failures in
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSUREFIRE-103?page=all ]
Brett Porter updated MSUREFIRE-103:
-----------------------------------
Fix Version/s: 2.3
> Test failures in
> -----------------
>
> Key: MSUREFIRE-103
> URL: http://jira.codehaus.org/browse/MSUREFIRE-103
> Project: Maven 2.x Surefire Plugin
> Issue Type: Bug
> Affects Versions: 2.1.3
> Environment: j2sdk1.4.2_06
> Reporter: Alexey Popov
> Fix For: 2.3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After an update the following error always occurs
> [INFO] [compiler:testCompile]
> Compiling 1 source file to ...\target\test-classes
> [INFO] [surefire:test]
> [INFO] Setting reports dir: ...\target/surefire-reports
> java.lang.NoSuchMethodError
> at org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:291)
> at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
> Exception in thread "main"
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are test failures.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 2)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 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: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.MojoExecutionException: There are test failures.
> at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
> ... 16 more
--
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