You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/12/05 00:45:11 UTC

[jira] [Closed] (SUREFIRE-1203) Surefire hangs after Test Execution

     [ https://issues.apache.org/jira/browse/SUREFIRE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed SUREFIRE-1203.
----------------------------------
    Resolution: Duplicate

Seems to be duplicate of SUREFIRE-1193.

> 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
>            Assignee: Tibor Digana
>             Fix For: 2.19.1
>
>
> 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)