Created
August 27, 2020 07:21
-
-
Save rah003/aabdf2eec26219569dff21c5edad4b16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Running info.magnolia.module.cache.FlushAllListeningPolicyTest | |
2020-08-27 09:18:17,598 main ERROR Could not reconfigure JMX java.lang.LinkageError: loader constraint violation: loader (instance of org/powermock/core/classloader/MockClassLoader) previously initiated loading for a different type with name "javax/management/MBeanServer" | |
at java.lang.ClassLoader.defineClass1(Native Method) | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:763) | |
at org.powermock.core.classloader.MockClassLoader.loadUnmockedClass(MockClassLoader.java:250) | |
at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:194) | |
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass1(DeferSupportingClassLoader.java:77) | |
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) | |
at org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:337) | |
at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:261) | |
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:165) | |
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:141) | |
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:629) | |
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691) | |
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708) | |
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263) | |
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153) | |
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) | |
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) | |
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138) | |
at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45) | |
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48) | |
at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30) | |
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363) | |
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) | |
at info.magnolia.context.AbstractSystemContext.<clinit>(AbstractSystemContext.java:50) | |
at java.lang.Class.forName0(Native Method) | |
at java.lang.Class.forName(Class.java:264) | |
at javassist.runtime.Desc.getClassObject(Desc.java:43) | |
at javassist.runtime.Desc.getClassType(Desc.java:152) | |
at javassist.runtime.Desc.getType(Desc.java:122) | |
at javassist.runtime.Desc.getType(Desc.java:78) | |
at info.magnolia.module.cache.FlushAllListeningPolicyTest.setUp(FlushAllListeningPolicyTest.java:88) | |
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.junit.internal.runners.MethodRoadie.runBefores(MethodRoadie.java:133) | |
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:96) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:300) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:131) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.access$100(PowerMockJUnit47RunnerDelegateImpl.java:59) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner$TestExecutorStatement.evaluate(PowerMockJUnit47RunnerDelegateImpl.java:147) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:288) | |
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:87) | |
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:50) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:208) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:147) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:121) | |
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34) | |
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44) | |
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:123) | |
at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:121) | |
at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53) | |
at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:59) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) | |
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) | |
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) | |
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) | |
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.976 s - in info.magnolia.module.cache.FlushAllListeningPolicyTest | |
[INFO] Running info.magnolia.module.cache.filter.DelegatingBlobCachedEntryTest | |
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core/target/surefire-reports/2020-08-27T09-18-08_228-jvmRun1.dumpstream | |
[INFO] | |
[INFO] Results: | |
[INFO] | |
[INFO] Tests run: 57, Failures: 0, Errors: 0, Skipped: 0 | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Summary for Magnolia Module Cache (Parent POM) 5.9.2-SNAPSHOT: | |
[INFO] | |
[INFO] Magnolia Module Cache (Parent POM) ................. SUCCESS [ 3.265 s] | |
[INFO] Magnolia Module Cache .............................. FAILURE [ 14.631 s] | |
[INFO] Magnolia Module Cache APP .......................... SKIPPED | |
[INFO] Magnolia Module EhCache3 ........................... SKIPPED | |
[INFO] Magnolia Module Memcached .......................... SKIPPED | |
[INFO] Magnolia Cache Browser App ......................... SKIPPED | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 18.290 s | |
[INFO] Finished at: 2020-08-27T09:18:17+02:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project magnolia-cache-core: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core/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] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? | |
[ERROR] Command was /bin/sh -c cd /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core && /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core/target/surefire 2020-08-27T09-18-08_228-jvmRun1 surefire8710452650392091871tmp surefire_02057064656706949345tmp | |
[ERROR] Error occurred in starting fork, check output in log | |
[ERROR] Process Exit Code: 134 | |
[ERROR] Crashed tests: | |
[ERROR] info.magnolia.module.cache.filter.DelegatingBlobCachedEntryTest | |
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? | |
[ERROR] Command was /bin/sh -c cd /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core && /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java org.apache.maven.surefire.booter.ForkedBooter /Users/had/projects/gitnolia/modules/cache/magnolia-cache-core/target/surefire 2020-08-27T09-18-08_228-jvmRun1 surefire8710452650392091871tmp surefire_02057064656706949345tmp | |
[ERROR] Error occurred in starting fork, check output in log | |
[ERROR] Process Exit Code: 134 | |
[ERROR] Crashed tests: | |
[ERROR] info.magnolia.module.cache.filter.DelegatingBlobCachedEntryTest | |
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670) | |
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283) | |
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246) | |
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1161) | |
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1002) | |
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:848) | |
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) | |
[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.main(MavenCli.java:192) | |
[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] | |
[ERROR] -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[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 | |
[ERROR] | |
[ERROR] After correcting the problems, you can resume the build with the command | |
[ERROR] mvn <args> -rf :magnolia-cache-core | |
yans mbp:~/projects/gitnolia/modules/cache had [master] $ java -version | |
java version "1.8.0_131" | |
Java(TM) SE Runtime Environment (build 1.8.0_131-b11) | |
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) | |
yans mbp:~/projects/gitnolia/modules/cache had [master] $ mvn -version | |
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T17:06:16+02:00) | |
Maven home: /Applications/dev/maven | |
Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre | |
Default locale: en_US, platform encoding: UTF-8 | |
OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac" | |
yans mbp:~/projects/gitnolia/modules/cache had [master] $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment