You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/10 15:54:58 UTC

[jira] [Commented] (SUREFIRE-859) Exception in thread "TreadedStreamConsumer" java.lang.RuntimeException during GC

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

ASF GitHub Bot commented on SUREFIRE-859:
-----------------------------------------

Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/426
  
    Looks good and works much better, see the [new build](https://builds.apache.org/view/Brooklyn/job/brooklyn-integration-tests/52/console)
    
    ```
    2016-11-10 15:47:31,205 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.javalang.MemoryUsageTrackerTest.testSoftUsageAndClearance()
    2016-11-10 15:47:31,206 INFO  Memory usage at start of test: MemoryUsageSummary{total=772 MB, free=652 MB, used=120 MB, usedFraction=0.1555049937704335}
    SUREFIRE-859: [GC (Allocation Failure)  265638K->264541K(753664K), 0.0252673 secs]
    SUREFIRE-859: [GC (Allocation Failure)  460429K->459760K(753152K), 0.0260455 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  459760K->351817K(753152K), 0.0518254 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  548263K->548101K(753152K), 0.1852436 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  719375K->718997K(753152K), 0.0680970 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  720275K->719974K(753152K), 0.0546380 secs]
    SUREFIRE-859: [Full GC (Allocation Failure)  719974K->8048K(753152K), 0.0267869 secs]
    2016-11-10 15:47:31,782 INFO  First soft reference cleared after 730 1M blocks created; 729 of them cleared; memory just before collected is MemoryUsageSummary{total=771 MB, free=33.7 MB, used=738 MB, usedFraction=0.9563477890253229}
    SUREFIRE-859: [Full GC (Ergonomics)  704594K->702492K(753152K), 0.2032216 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  712258K->711185K(753152K), 0.0347821 secs]
    SUREFIRE-859: [Full GC (Allocation Failure)  711185K->711185K(753152K), 0.0322254 secs]
    SUREFIRE-859: [Full GC (System.gc())  711185K->8055K(753152K), 0.0285412 secs]
    SUREFIRE-859: [GC (System.gc())  8055K->8055K(645632K), 0.0029759 secs]
    SUREFIRE-859: [Full GC (System.gc())  8055K->8055K(645632K), 0.0225672 secs]
    2016-11-10 15:47:32,244 INFO  Forcing memory eviction: allocated 725 MB +- 5 MB really free memory in 10 MB chunks; memory used from 11.5 MB -> 8.25 MB / 661 MB
    SUREFIRE-859: [GC (System.gc())  9315K->8215K(699392K), 0.0011906 secs]
    SUREFIRE-859: [Full GC (System.gc())  8215K->8063K(699392K), 0.0333181 secs]
    SUREFIRE-859: [GC (System.gc())  8063K->8063K(699392K), 0.0021073 secs]
    SUREFIRE-859: [Full GC (System.gc())  8063K->8063K(699392K), 0.0225468 secs]
    2016-11-10 15:47:32,305 INFO  Final memory usage (after forcing clear, and GC): MemoryUsageSummary{total=716 MB, free=708 MB, used=8.26 MB, usedFraction=0.01152881940671326}
    2016-11-10 15:47:32,305 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.javalang.MemoryUsageTrackerTest.testSoftUsageAndClearance() finished in 1100 ms
    ```
    
    Merging.


> Exception in thread "TreadedStreamConsumer" java.lang.RuntimeException during GC
> --------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-859
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-859
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support, Maven Surefire Plugin, process forking
>    Affects Versions: 2.11, 2.12
>         Environment: Solaris  5.10, jdk16-1.6.0_11-0 (same with jdk1.5.0_14), apache-maven-2.2.1
>            Reporter: Magnus Naeslund
>            Assignee: Tibor Digana
>             Fix For: 2.18.1
>
>         Attachments: runtimeexception.txt
>
>
> When executing 151 integration tests with 829 test methods on a Solaris machine, there is an exception: 
> ===
> Exception in thread "ThreadStreamConsumer" java.lang.RuntimeException: 176: [GC 100,177: [ParNew
> ...
> java.langh.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> ===
> (see attachment for full stack traces)
> The message of the RuntimeException suggests that the problem is connected to garbage collection. The stack trace points to ForkClient.java. It looks as if the method "consumeLine" in ForkClient.java is fed with GC information instead of the expected string.
> The exception occurs with concurrency configuration "parallel='none'" as well as with "parallel='classes'" in both versions of the surefire plugin, 2.11 and 2.12.
> However, this problem does not show up on a Windows/Cygwin environment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)