Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-295

Non reliable killing of processes by CommandLineUtils

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • maven-shared-utils
    • None

    Description

      CommandLineUtils is used in Maven-Surefire to start forks which execute tests. It is a well known issue that sometimes child processes are not killed correctly. This is a known limitation of JVM, and the only reliable way to implement it would be platform specific.

      Bug report in Surefire JIRA:
      http://jira.codehaus.org/browse/SUREFIRE-773

      JVM bug report. It's Windows specific, but the problem exists on Linux and OSX as well.
      http://bugs.sun.com/view_bug.do?bug_id=4770092

      I'm proposing either 1) to implement several platform specific implementations of ProcessHook or 2) to make the mechanism of killing processes extendable for clients of the library.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krosenvold Kristian Rosenvold
            aklochkov Andrey Klochkov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment