Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1342

Acknowledge normal exit of JVM and drain shared memory between processes

    Details

      Description

      Version 2.19.1 and the prior ones sent the event BYE and then the forked JVM exited.
      This caused the stdin buffer could not be read completely.
      The completion of JVM could not be marked in master process in Maven and therefore it was considered as a serious JVM error.
      Version 2.19.2 implemented acknowledgement of JVM exit by sending BYE_ACK command from master to the fork.

        Activity

        Show
        tibor17 Tibor Digana added a comment - https://git-wip-us.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=da7ff6aa25a72094705c24981afbf8294ac4b1dc
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1680 (See https://builds.apache.org/job/maven-surefire/1680/)
        SUREFIRE-1342 Acknowledge normal exit of JVM and drain shared memory (tibor17: http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=da7ff6aa25a72094705c24981afbf8294ac4b1dc)

        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ThreadedStreamConsumer.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
        • (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/CommandReader.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
        • (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/MasterProcessCommand.java
        • (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStreamTest.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/NotifiableTestStream.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/AbstractCommandStream.java
        • (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/MockNotifiableTestStream.java
        • (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestLessInputStream.java
        • (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/Shutdown.java
        • (edit) surefire-api/src/test/java/org/apache/maven/surefire/booter/MasterProcessCommandTest.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire141PluggableProvidersIT.java
        • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
        • (edit) surefire-api/src/main/java/org/apache/maven/surefire/util/internal/DumpFileUtils.java
        • (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/Command.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1680 (See https://builds.apache.org/job/maven-surefire/1680/ ) SUREFIRE-1342 Acknowledge normal exit of JVM and drain shared memory (tibor17: http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=da7ff6aa25a72094705c24981afbf8294ac4b1dc ) (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ThreadedStreamConsumer.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/CommandReader.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/MasterProcessCommand.java (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStreamTest.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/NotifiableTestStream.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/AbstractCommandStream.java (edit) maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/MockNotifiableTestStream.java (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestLessInputStream.java (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/Shutdown.java (edit) surefire-api/src/test/java/org/apache/maven/surefire/booter/MasterProcessCommandTest.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire141PluggableProvidersIT.java (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java (edit) surefire-api/src/main/java/org/apache/maven/surefire/util/internal/DumpFileUtils.java (edit) surefire-api/src/main/java/org/apache/maven/surefire/booter/Command.java

          People

          • Assignee:
            tibor17 Tibor Digana
            Reporter:
            tibor17 Tibor Digana
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development