Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7014

MNG-6551 causes some tests to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Integration Tests
    • None

    Description

      Clone Maven + Core ITs from branches MNG-6169/MNG-6551 and run ITs. Result is:

      [ERROR] Tests run: 857, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 267.86 s <<< FAILURE! - in org.apache.maven.it.IntegrationTestSuite
      [ERROR] testItShouldWaitForConcurrentModulesToFinish(org.apache.maven.it.MavenITmng6720FailFastTest)  Time elapsed: 0.947 s  <<< FAILURE!
      junit.framework.AssertionFailedError
              at org.apache.maven.it.MavenITmng6720FailFastTest.testItShouldWaitForConcurrentModulesToFinish(MavenITmng6720FailFastTest.java:67)
      
      [ERROR] testRunCustomPomWithDot(org.apache.maven.it.MavenITmng6071GetResourceWithCustomPom)  Time elapsed: 3.006 s  <<< ERROR!
      org.apache.maven.it.VerificationException:
      Exit code was non-zero: 1; command line and log =
      /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/apache-maven/bin/mvn --global-settings /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/settings.xml -f ./pom.xml -e --batch-mode -Dmaven.repo.local=/usr/home/mosipov/var/Projekte/maven-integration-testing/repo verify
      [INFO] Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO]
      [INFO] -------------------------< mng-6071:mng-6071 >--------------------------
      [INFO] Building my-app 1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [WARNING] Version not locked for default bindings plugins [maven-resources-plugin, maven-compiler-plugin, maven-jar-plugin], you should define versions in pluginManagement section of your pom.xml or parent
      [INFO]
      [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mng-6071 ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Using 'UTF-8' encoding to copy filtered properties files.
      [INFO] skip non existing resourceDirectory /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/src/main/resources
      [INFO] skip non existing resourceDirectory /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/src/main/resources-filtered
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mng-6071 ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ mng-6071 ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Using 'UTF-8' encoding to copy filtered properties files.
      [INFO] skip non existing resourceDirectory /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/src/test/resources
      [INFO] skip non existing resourceDirectory /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/src/test/resources-filtered
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mng-6071 ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 1 source file to /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/target/test-classes
      [INFO]
      [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ mng-6071 ---
      [INFO] Surefire report directory: /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/target/surefire-reports
      [INFO]
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [ERROR] java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [INFO]
      [INFO] Results:
      [INFO]
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  1.801 s
      [INFO] Finished at: 2020-11-10T14:33:17+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project mng-6071: There are test failures.
      [ERROR]
      [ERROR] Please refer to /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/target/surefire-reports for the individual test results.
      [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      [ERROR] There was an error in the forked process
      [ERROR] java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR] org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      [ERROR] Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR]         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
      [ERROR]         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
      [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
      [ERROR]         ... 6 more
      [ERROR]
      [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
      [ERROR] java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR] org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
      [ERROR]         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      [ERROR] Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      [ERROR]         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
      [ERROR]         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
      [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      [ERROR]         at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
      [ERROR]         ... 6 more
      [ERROR]
      [ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:733)
      [ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
      [ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
      [ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
      [ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
      [ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
      [ERROR]         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:136)
      [ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
      [ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
      [ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:151)
      [ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:115)
      [ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:79)
      [ERROR]         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:64)
      [ERROR]         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:131)
      [ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      [ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:206)
      [ERROR]         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:119)
      [ERROR]         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:982)
      [ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:296)
      [ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:200)
      [ERROR]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR]         at java.lang.reflect.Method.invoke(Method.java:498)
      [ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      [ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      [ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      [ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project mng-6071: There are test failures.
      
      Please refer to /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/target/surefire-reports for the individual test results.
      Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      There was an error in the forked process
      java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
              at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
              at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
              ... 6 more
      
      org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
      java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
              at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
              at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
              ... 6 more
      
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:733)
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:136)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:151)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:115)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:79)
              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:64)
              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:131)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:206)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:119)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:982)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:296)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:200)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:218)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:319)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:206)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:119)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:982)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:296)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:200)
          at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.plugin.MojoExecutionException: There are test failures.
      
      Please refer to /var/mosipov/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6071/target/surefire-reports for the individual test results.
      Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      There was an error in the forked process
      java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
              at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
              at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
              ... 6 more
      
      org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
      java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
              at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
              at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
              ... 6 more
      
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:733)
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
              at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:136)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:151)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:115)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:79)
              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:64)
              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:131)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:206)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:119)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:982)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:296)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:200)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      
          at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:266)
          at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)
          at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:453)
          at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1175)
          at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:932)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:319)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:206)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:119)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:982)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:296)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:200)
          at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
      java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
      org.apache.maven.surefire.api.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:203)
              at org.apache.maven.surefire.api.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:121)
              at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:491)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junit4.JUnit4Provider
              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              at org.apache.maven.surefire.api.util.ReflectionUtils.loadClass(ReflectionUtils.java:199)
              ... 6 more
      
          at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (ForkStarter.java:733)
          at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:305)
          at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:265)
          at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1314)
          at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1159)
          at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:932)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:319)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:206)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:119)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:982)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:296)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:200)
          at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      [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/MojoExecutionException
      
              at org.apache.maven.it.MavenITmng6071GetResourceWithCustomPom.testRunCustomPomWithDot(MavenITmng6071GetResourceWithCustomPom.java:33)
      
      [ERROR] testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed(org.apache.maven.it.MavenITmng5760ResumeFeatureTest)  Time elapsed: 2.569 s  <<< ERROR!
      org.apache.maven.it.VerificationException: Text found in log: Building module-b 1.0
              at org.apache.maven.it.MavenITmng5760ResumeFeatureTest.verifyTextNotInLog(MavenITmng5760ResumeFeatureTest.java:193)
              at org.apache.maven.it.MavenITmng5760ResumeFeatureTest.testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed(MavenITmng5760ResumeFeatureTest.java:154)
      
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR]   MavenITmng6720FailFastTest>AbstractMavenIntegrationTestCase.runTest:255->testItShouldWaitForConcurrentModulesToFinish:67
      [ERROR] Errors:
      [ERROR]   MavenITmng5760ResumeFeatureTest>AbstractMavenIntegrationTestCase.runTest:255->testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed:154->verifyTextNotInLog:193 Verification
      [ERROR]   MavenITmng6071GetResourceWithCustomPom>AbstractMavenIntegrationTestCase.runTest:255->testRunCustomPomWithDot:33 ยป Verification
      [INFO]
      [ERROR] Tests run: 857, Failures: 1, Errors: 2, Skipped: 0
      [INFO]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: