Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1723

Not using the manifest jar fails on Windows with 3.0.0-M4 and JDK 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.0.0-M4
    • None
    • Maven Failsafe Plugin
    • None

    Description

      Starting with 3.0.0-M4, passing -Dfailsafe.useSystemClassLoader=false causes builds to fail on Windows using Maven 3.6.2 and OpenJDK 11:
       

      [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (verify-integration-test) @ top-level-project ---
      [INFO] Failsafe report directory: C:\tcagent1\temp\buildTmp\workspace6186354483604327407\target\failsafe-reports
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  0.957 s
      [INFO] Finished at: 2019-11-19T10:53:13+01:00
      [INFO] ------------------------------------------------------------------------
      [INFO] 9 goals, 6 executed, 3 from cache
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M4:verify (verify-integration-test) on project top-level-project: There are test failures.
      [ERROR] 
      [ERROR] Please refer to C:\tcagent1\temp\buildTmp\workspace6186354483604327407\target\failsafe-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] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-11\bin\java" org.apache.maven.surefire.booter.ForkedBooter C:\tcagent1\temp\buildTmp\surefire279704274799607497 2019-11-19T10-53-12_930-jvmRun1 surefire8047384431711941558tmp surefire_060050200511368572tmp"
      [ERROR] Error occurred in starting fork, check output in log
      [ERROR] Process Exit Code: 1
      [ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:690)
      [ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
      [ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:248)
      [ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1217)
      [ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1063)
      [ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:889)
      [ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      [ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      [ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      [ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      [ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      [ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      [ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      [ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      [ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      [ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      [ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      [ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      [ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:243)
      [ERROR] 	at jdk.internal.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at com.gradle.testlib.use.runner.Embedded3xLauncher.run(Embedded3xLauncher.groovy:258)
      [ERROR] 	at com.gradle.testlib.use.runner.MavenExecution.execute(MavenExecution.groovy:73)
      [ERROR] 	at com.gradle.testlib.use.runner.MavenExecution.succeeds(MavenExecution.groovy:50)
      [ERROR] 	at com.gradle.testlib.use.runner.MavenExecution$succeeds.call(Unknown Source)
      [ERROR] 	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy:81)
      [ERROR] 	at jdk.internal.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
      [ERROR] 	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy:75)
      [ERROR] 	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy)
      [ERROR] 	at jdk.internal.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
      [ERROR] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:184)
      [ERROR] 	at com.gradle.maven.cache.extension.test.func.surefire.BaseSurefirePluginCachingFuncTest.$spock_feature_4_28(BaseSurefirePluginCachingFuncTest.groovy:746)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200)
      [ERROR] 	at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      [ERROR] 	at org.spockframework.runtime.extension.builtin.TimeoutInterceptor.intercept(TimeoutInterceptor.java:93)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      [ERROR] 	at org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor$1.evaluate(AbstractRuleInterceptor.java:37)
      [ERROR] 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      [ERROR] 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      [ERROR] 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      [ERROR] 	at org.spockframework.runtime.extension.builtin.TestRuleInterceptor.intercept(TestRuleInterceptor.java:39)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      [ERROR] 	at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source)
      [ERROR] 	at com.gradle.enterprise.buildtool.version.BuildToolVersionContextualExtension$_visitSpec_closure1.doCall(BuildToolVersionContextualExtension.groovy:26)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      [ERROR] 	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      [ERROR] 	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      [ERROR] 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      [ERROR] 	at groovy.lang.Closure.call(Closure.java:405)
      [ERROR] 	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      [ERROR] 	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      [ERROR] 	at com.sun.proxy.$Proxy30.intercept(Unknown Source)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      [ERROR] 	at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source)
      [ERROR] 	at com.gradle.testlib.use.runner.MavenLauncherContextualExtension$_visitSpec_closure1.doCall(MavenLauncherContextualExtension.groovy:15)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      [ERROR] 	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      [ERROR] 	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      [ERROR] 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      [ERROR] 	at groovy.lang.Closure.call(Closure.java:405)
      [ERROR] 	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      [ERROR] 	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      [ERROR] 	at com.sun.proxy.$Proxy30.intercept(Unknown Source)
      [ERROR] 	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73)
      [ERROR] 	at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64)
      [ERROR] 	at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      [ERROR] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      [ERROR] 	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      [ERROR] 	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      [ERROR] 	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      [ERROR] 	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      [ERROR] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      [ERROR] 	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
      [ERROR] 	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
      [ERROR] 	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)
      [ERROR] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      [ERROR] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
      [ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [ERROR] 	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
      [ERROR] 	at java.base/java.lang.Thread.run(Thread.java:834)
      [ERROR] -> [Help 1] 

      The dumpstream file contains the following:

      $ cat 2019-11-19T10-53-12_930.dumpstream
      # Created at 2019-11-19T10:53:13.269
      Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
      
      # Created at 2019-11-19T10:53:13.269
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.booter.ForkedBooter
      

      From failsafe-summary.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <failsafe-summary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/failsafe-summary.xsd" result="254" timeout="false">
          <completed>0</completed>
          <errors>0</errors>
          <failures>0</failures>
          <skipped>0</skipped>
          <failureMessage>org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      Command was cmd.exe /X /C &quot;&quot;C:\Program Files\Java\jdk-11\bin\java&quot; org.apache.maven.surefire.booter.ForkedBooter C:\tcagent1\temp\buildTmp\surefire279704274799607497 2019-11-19T10-53-12_930-jvmRun1 surefire8047384431711941558tmp surefire_060050200511368572tmp&quot;
      Error occurred in starting fork, check output in log
      Process Exit Code: 1
      	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:690)
      	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
      	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:248)
      	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1217)
      	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1063)
      	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:889)
      	at com.gradle.maven.a.a.d.c.a(SourceFile:25)
      	at com.gradle.maven.a.a.d.h.a(SourceFile:26)
      	at com.gradle.maven.a.a.d.l.a(SourceFile:27)
      	at com.gradle.maven.a.a.d.a.c(SourceFile:87)
      	at com.gradle.maven.a.a.d.a.a(SourceFile:59)
      	at com.gradle.maven.a.a.d.e.a(SourceFile:27)
      	at com.gradle.maven.a.a.d.k.a(SourceFile:17)
      	at com.gradle.maven.a.a.d.d.a(SourceFile:35)
      	at com.gradle.maven.a.a.d.b.a(SourceFile:26)
      	at com.gradle.maven.a.a.d.f.a(SourceFile:32)
      	at com.gradle.maven.a.a.d.j.a(SourceFile:59)
      	at com.gradle.maven.a.a.h.b.a(SourceFile:49)
      	at com.sun.proxy.$Proxy1122.execute(Unknown Source)
      	at com.gradle.maven.scan.extension.a.f.a.executeMojo(SourceFile:133)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:243)
      	at jdk.internal.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at com.gradle.testlib.use.runner.Embedded3xLauncher.run(Embedded3xLauncher.groovy:258)
      	at com.gradle.testlib.use.runner.MavenExecution.execute(MavenExecution.groovy:73)
      	at com.gradle.testlib.use.runner.MavenExecution.succeeds(MavenExecution.groovy:50)
      	at com.gradle.testlib.use.runner.MavenExecution$succeeds.call(Unknown Source)
      	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy:81)
      	at jdk.internal.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
      	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
      	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy:75)
      	at com.gradle.maven.cache.extension.test.func.BaseBuildCachingExtensionFuncTest.succeeds(BaseBuildCachingExtensionFuncTest.groovy)
      	at jdk.internal.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
      	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:184)
      	at com.gradle.maven.cache.extension.test.func.surefire.BaseSurefirePluginCachingFuncTest.$spock_feature_4_28(BaseSurefirePluginCachingFuncTest.groovy:746)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200)
      	at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      	at org.spockframework.runtime.extension.builtin.TimeoutInterceptor.intercept(TimeoutInterceptor.java:93)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      	at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408)
      	at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322)
      	at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      	at org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor$1.evaluate(AbstractRuleInterceptor.java:37)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.spockframework.runtime.extension.builtin.TestRuleInterceptor.intercept(TestRuleInterceptor.java:39)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      	at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285)
      	at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275)
      	at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266)
      	at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260)
      	at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243)
      	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
      	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
      	at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235)
      	at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185)
      	at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95)
      	at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98)
      	at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source)
      	at com.gradle.enterprise.buildtool.version.BuildToolVersionContextualExtension$_visitSpec_closure1.doCall(BuildToolVersionContextualExtension.groovy:26)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      	at groovy.lang.Closure.call(Closure.java:405)
      	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      	at com.sun.proxy.$Proxy30.intercept(Unknown Source)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      	at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source)
      	at com.gradle.testlib.use.runner.MavenLauncherContextualExtension$_visitSpec_closure1.doCall(MavenLauncherContextualExtension.groovy:15)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      	at groovy.lang.Closure.call(Closure.java:405)
      	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      	at com.sun.proxy.$Proxy30.intercept(Unknown Source)
      	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97)
      	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475)
      	at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73)
      	at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64)
      	at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
      	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
      	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      </failureMessage>
      </failsafe-summary>
      

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              marcphilipp Marc Philipp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: