[ https://issues.apache.org/jira/browse/SUREFIRE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036674#comment-15036674 ]
Tibor Digana commented on SUREFIRE-1203: ---------------------------------------- [~derehls] Can you check it out with the latest 2.20-SNAPSHOT? > Surefire hangs after Test Execution > ------------------------------------ > > Key: SUREFIRE-1203 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1203 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.19 > Environment: Jenkins 1.634 > Maven 3.0.4 > Oracle JDK1.7.0_15 > Maven goal: install > Maven OPTS: -Xms512m -Xmx4096m -XX:MaxPermSize=2048m > -XX:ReservedCodeCacheSize=256m > Reporter: Fabian Ehls > > Console Output: > {noformat} > [INFO] --- maven-surefire-plugin:2.19:test (default-test) @ ourProject --- > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running path.of.our.test.Test > Running path.of.our.other.test.Test > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.517 sec - > in path.of.our.test.Test > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.589 sec - > in path.of.our.other.test.Test > Results : > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 > {noformat} > After this line the process hangs endlessly. > A threadDump from the build Server shows the following: > {noformat} > Thread 21340: (state = IN_NATIVE) > - java.io.FileInputStream.readBytes(byte[], int, int) @bci=0 (Interpreted > frame) > - java.io.FileInputStream.read(byte[], int, int) @bci=4, line=242 > (Interpreted frame) > - java.io.BufferedInputStream.fill() @bci=175, line=235 (Interpreted frame) > - java.io.BufferedInputStream.read() @bci=12, line=254 (Interpreted frame) > - java.io.DataInputStream.readInt() @bci=4, line=387 (Interpreted frame) > - > org.apache.maven.surefire.booter.MasterProcessCommand.decode(java.io.DataInputStream) > @bci=1, line=117 (Interpreted frame) > - > org.apache.maven.surefire.booter.MasterProcessReader.read(java.io.DataInputStream) > @bci=1, line=421 (Interpreted frame) > - > org.apache.maven.surefire.booter.MasterProcessReader.access$800(org.apache.maven.surefire.booter.MasterProcessReader, > java.io.DataInputStream) @bci=2, line=59 (Interpreted frame) > - org.apache.maven.surefire.booter.MasterProcessReader$CommandRunnable.run() > @bci=44, line=463 (Interpreted frame) > - java.lang.Thread.run() @bci=11, line=722 (Interpreted frame) > {noformat} > For me this looks like surefire is waiting for a file to read from..? -- This message was sent by Atlassian JIRA (v6.3.4#6332)