[ 
https://issues.apache.org/jira/browse/SUREFIRE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972332#comment-16972332
 ] 

Adolfo Cia commented on SUREFIRE-1631:
--------------------------------------

[~tibordigana]

 

No changes :(
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  28.413 s
[INFO] Finished at: 2019-11-12T09:18:39-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-SNAPSHOT:test 
(default-test) on project ltl-java-linehauloperations-ensemble: There are test 
failures.
[ERROR]
[ERROR] Please refer to 
C:\liberty_development\workspaces\services\ltl-java-linehauloperations-ensemble\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 cmd.exe /X /C 
"C:\liberty_development\wlp\java\java\jre\bin\java 
-javaagent:C:\Users\adolfo.cia\.m2\repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
 -jar 
C:\Users\adolfo.cia\AppData\Local\Temp\surefire5938653218136437530\surefirebooter6299009151736715710.jar
 C:\Users\adolfo.cia\AppData\Local\Temp\surefire5938653218136437530 
2019-11-12T09-18-29_447-jvmRun1 surefire2278304519788026291tmp 
surefire_05740206142647884844tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbnailMinuetTest
[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:\liberty_development\wlp\java\java\jre\bin\java 
-javaagent:C:\Users\adolfo.cia\.m2\repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
 -jar 
C:\Users\adolfo.cia\AppData\Local\Temp\surefire5938653218136437530\surefirebooter6299009151736715710.jar
 C:\Users\adolfo.cia\AppData\Local\Temp\surefire5938653218136437530 
2019-11-12T09-18-29_447-jvmRun1 surefire2278304519788026291tmp 
surefire_05740206142647884844tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbnailMinuetTest
[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:1213)
[ERROR]         at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1059)
[ERROR]         at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:886)
[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:90)
[ERROR]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[ERROR]         at java.lang.reflect.Method.invoke(Method.java:508)
[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)

{code}
dump file:
{code:java}
# Created at 2019-11-12T09:18:39.081
Killing self fork JVM. Maven process died.
Thread dump before killing the process (16760@LAP0462):
"main" 
   java.lang.Thread.State: RUNNABLE
        at 
org.apache.maven.surefire.shade.api.org.apache.commons.codec.binary.Base64.encode(Base64.java:387)
        at 
org.apache.maven.surefire.shade.api.org.apache.commons.codec.binary.BaseNCodec.encode(BaseNCodec.java:452)
        at 
org.apache.maven.surefire.shade.api.org.apache.commons.codec.binary.BaseNCodec.encode(BaseNCodec.java:431)
        at 
org.apache.maven.surefire.booter.ForkedChannelEncoder.toBase64(ForkedChannelEncoder.java:406)
        at 
org.apache.maven.surefire.booter.ForkedChannelEncoder.setOutErr(ForkedChannelEncoder.java:171)
        at 
org.apache.maven.surefire.booter.ForkedChannelEncoder.stdOut(ForkedChannelEncoder.java:160)
        at 
org.apache.maven.surefire.booter.ForkingRunListener.writeTestOutput(ForkingRunListener.java:133)
        at 
org.apache.maven.surefire.report.ConsoleOutputCapture$ForwardingPrintStream.write(ConsoleOutputCapture.java:57)
        at 
org.apache.logging.log4j.core.util.CloseShieldOutputStream.write(CloseShieldOutputStream.java:53)
        at 
org.apache.logging.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:261)
        at 
org.apache.logging.log4j.core.appender.OutputStreamManager.flushBuffer(OutputStreamManager.java:293)
        at 
org.apache.logging.log4j.core.appender.OutputStreamManager.drain(OutputStreamManager.java:350)
        at 
org.apache.logging.log4j.core.layout.TextEncoderHelper.drainIfByteBufferFull(TextEncoderHelper.java:260)
        at 
org.apache.logging.log4j.core.layout.TextEncoderHelper.writeAndEncodeAsMuchAsPossible(TextEncoderHelper.java:199)
        at 
org.apache.logging.log4j.core.layout.TextEncoderHelper.encodeChunkedText(TextEncoderHelper.java:147)
        at 
org.apache.logging.log4j.core.layout.TextEncoderHelper.encodeText(TextEncoderHelper.java:58)
        at 
org.apache.logging.log4j.core.layout.StringBuilderEncoder.encode(StringBuilderEncoder.java:68)
        at 
org.apache.logging.log4j.core.layout.StringBuilderEncoder.encode(StringBuilderEncoder.java:32)
        at 
org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:220)
        at 
org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:58)
        at 
org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.directEncodeEvent(AbstractOutputStreamAppender.java:197)
        at 
org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.tryAppend(AbstractOutputStreamAppender.java:190)
        at 
org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:181)
        at 
org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
        at 
org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
        at 
org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
        at 
org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
        at 
org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:464)
        at 
org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:448)
        at 
org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:431)
        at 
org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
        at 
org.apache.logging.log4j.core.config.DefaultReliabilityStrategy.log(DefaultReliabilityStrategy.java:49)
        at org.apache.logging.log4j.core.Logger.logMessage(Logger.java:146)
        at 
org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2170)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2125)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2108)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2002)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1974)
        at 
org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:741)
        at 
com.xpo.ltl.api.exception.AbstractExceptionBuilder.build(AbstractExceptionBuilder.java:236)
        at 
com.xpo.ltl.api.exception.AbstractApiExceptionBuilder.build(AbstractApiExceptionBuilder.java:21)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbNailMinuet.throwExceptionForMissingArchivedDocument(Unknown
 Source)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbNailMinuet.getByteCodeForDocument(Unknown
 Source)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbNailMinuet.execute(Unknown
 Source)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbnailMinuetTest.lambda$testExecute_withDocClassNullBecauseOfSubtypeCdNull_shouldReturnServiceException$3(Unknown
 Source)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbnailMinuetTest$$Lambda$300.0000000013192480.execute(Unknown
 Source)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37)
        at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:2952)
        at 
com.xpo.ltl.linehauloperations.service.ejb.v1.GetImageThumbnailMinuetTest.testExecute_withDocClassNullBecauseOfSubtypeCdNull_shouldReturnServiceException(Unknown
 Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:675)
        at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:125)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:132)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:124)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:74)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$117.00000000115970D0.apply(Unknown
 Source)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall$$Lambda$118.000000001159D530.apply(Unknown
 Source)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker$$Lambda$246.0000000011696A70.apply(Unknown
 Source)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:104)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:62)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:43)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:35)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:202)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$276.00000000116D6670.execute(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:198)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$190.00000000115B28C0.execute(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$189.00000000115B2440.invoke(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$188.00000000115B1FE0.execute(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
        at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService$$Lambda$194.00000000115B35F0.accept(Unknown
 Source)
        at java.util.ArrayList.forEach(ArrayList.java:1268)
        at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$190.00000000115B28C0.execute(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$189.00000000115B2440.invoke(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$188.00000000115B1FE0.execute(Unknown
 Source)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)"JIT
 Compilation Thread-0" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-1 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-2 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-3 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-4 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-5 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Compilation Thread-6 Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT Diagnostic Compilation Thread-7 
Suspended" 
   java.lang.Thread.State: RUNNABLE"JIT-SamplerThread" 
   java.lang.Thread.State: TIMED_WAITING"IProfiler" 
   java.lang.Thread.State: RUNNABLE"Signal Dispatcher" 
   java.lang.Thread.State: RUNNABLE
        at com.ibm.misc.SignalDispatcher.waitForSignal(Native Method)
        at 
com.ibm.misc.SignalDispatcher.run(SignalDispatcher.java:73)"Concurrent Mark 
Helper" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"GC Slave" 
   java.lang.Thread.State: RUNNABLE"Finalizer thread" 
   java.lang.Thread.State: RUNNABLE"Attach API wait loop" 
   java.lang.Thread.State: RUNNABLE
        at com.ibm.tools.attach.target.IPC.waitSemaphore(Native Method)
        at 
com.ibm.tools.attach.target.CommonDirectory.waitSemaphore(CommonDirectory.java:254)
        at 
com.ibm.tools.attach.target.WaitLoop.waitForNotification(WaitLoop.java:66)
        at 
com.ibm.tools.attach.target.WaitLoop.run(WaitLoop.java:154)"surefire-forkedjvm-command-thread"
 
   java.lang.Thread.State: RUNNABLE
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:272)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:257)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:297)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:356)
        at com.ibm.jvm.io.ConsoleInputStream.read(ConsoleInputStream.java:245)
        at java.io.DataInputStream.readFully(DataInputStream.java:206)
        at java.io.DataInputStream.readInt(DataInputStream.java:398)
        at 
org.apache.maven.surefire.booter.MasterProcessCommand.decode(MasterProcessCommand.java:113)
        at 
org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:383)
        at java.lang.Thread.run(Thread.java:812)"surefire-forkedjvm-ping-30s" 
   java.lang.Thread.State: RUNNABLE
        at 
com.ibm.java.lang.management.internal.ThreadMXBeanImpl.getMultiThreadInfoImpl(Native
 Method)
        at 
com.ibm.java.lang.management.internal.ThreadMXBeanImpl.getThreadInfo(ThreadMXBeanImpl.java:257)
        at 
org.apache.maven.surefire.booter.ForkedBooter.generateThreadDump(ForkedBooter.java:542)
        at 
org.apache.maven.surefire.booter.ForkedBooter.access$400(ForkedBooter.java:65)
        at 
org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:232)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:319)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:191)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.lang.Thread.run(Thread.java:812)"MemoryMXBean notification 
dispatcher" 
   java.lang.Thread.State: RUNNABLE
        at 
com.ibm.lang.management.internal.MemoryNotificationThread.processNotificationLoop(Native
 Method)
        at 
com.ibm.lang.management.internal.MemoryNotificationThread.run(MemoryNotificationThread.java:183)
{code}

> Forked VM terminated without properly saying goodbye with AciveMQ
> -----------------------------------------------------------------
>
>                 Key: SUREFIRE-1631
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1631
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.20.1, 2.22.0, 3.0.0-M2, 3.0.0-M1
>            Reporter: Aaron Digulla
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.0-M4
>
>         Attachments: cmd.PNG, cmd2.PNG, shurefire-shutdownhook-bug-0.0.1.zip
>
>
> I'm seeing spurious "The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?" messages when running unit tests in 
> a big multi-module project.
> OS: Windows 10, running Maven 3.5.0 to 3.6.0 and different versions of 
> Surefire (2.20.1 to 3.0.0.-M2), Java 8u171 to 8u191.
> I'm running Maven from the command line using MinTTY (Cygwin).
> Things I tried which have no effect:
>  * Reboot / Cold boot (happens first thing on Monday morning when I come into 
> the office and turn on my PC).
>  * More free memory (happens when I only have a single window open). I have 
> 16GB of RAM.
>  * Different terminal. I tried CMD prompt and urxvt (Cygwin/X).
>  * Different versions of the Surefire plugin or Maven
>  * Different JDK 8 builds
> Things that affect the bug:
>  * Redirecting Maven's stdout to a file: mvn ... | tee mvn.log
>  * Redirecting all log output to a file using logback-test.xml
>  * Running Surefire with forkCount=0
>  * Running a subset of the tests (-Dtest=...)
>  * Pending Windows updates (I think, not sure about this one).
> Counts: I've never seen it with forkCount=0 (~ 20 test builds). I've never 
> seen it with redirecting log output (~ 10 builds). Redirecting sometimes 
> helps but not always.
> One thing which I notice is that one of the tests creates an ActiveMQ broker 
> and uses a shutdown hook to stop it. So I created a small test project which 
> demonstrates that Surefire will sometimes cut off stdout. I think that 
> happens because the main process kills the child after a timeout (correct?).
> So my guess would be that shutdown hooks can mess with the pipeline between 
> the surefire child VM and main Maven process. ActiveMQ might be worse since 
> it stops threads and execution pools (so the output comes slowly with a 
> couple of exceptions sprinkled in when one component loses connection because 
> another is shutting down).
> But now, it gets weird. When the build succeeds, it takes about ~5 minutes to 
> run 1028 tests. The log is 25 MB.
> When it fails, it takes ~8 minutes to run ~700-800 tests (this number varies) 
> and the log stops in the middle of a test but is also 25 MB.
> Some of the time discrepancy is probably because writing to a file is faster 
> than printing on a terminal. The strange part is that the log file is about 
> the same size but 30% of the tests haven't run. Most tests log a lot, do I 
> would expect to see a difference of at least a few MB. The Maven part (which 
> contains escape sequences, etc). is just 60 KB.
> Maybe the parent takes some part of the log output as "child terminated".
> I'm running out of ideas what to try next. I think a way to log the 
> communication between parent and child would help. Also the parent should 
> terminate the child and then read stdout until EOF to we can see anything 
> that happens afterwards.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to