You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/12/20 02:06:58 UTC

[jira] Created: (SUREFIRE-413) Ctrl-C during tests won't kill forked processes

Ctrl-C during tests won't kill forked processes
-----------------------------------------------

                 Key: SUREFIRE-413
                 URL: http://jira.codehaus.org/browse/SUREFIRE-413
             Project: Maven Surefire
          Issue Type: Bug
         Environment: Windows XP
            Reporter: Dan Fabulich


Run a long running test, then press Ctrl-C.  The forked child process won't die.

We should attach a shutdown hook to try to kill the forked subprocess.  We might even try to make use of killableprocess to gracefully kill the entire process tree on Windows

http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SUREFIRE-413) Ctrl-C during tests won't kill forked subprocesses

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich updated SUREFIRE-413:
----------------------------------

    Description: 
Run a test that forks a subprocess, then press Ctrl-C.  The forked grandchild process won't die.

We should use killableprocess to gracefully kill the entire process tree on Windows

http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

  was:
Run a long running test, then press Ctrl-C.  The forked child process won't die.

We should attach a shutdown hook to try to kill the forked subprocess.  We might even try to make use of killableprocess to gracefully kill the entire process tree on Windows

http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

        Summary: Ctrl-C during tests won't kill forked subprocesses  (was: Ctrl-C during tests won't kill forked processes)

> Ctrl-C during tests won't kill forked subprocesses
> --------------------------------------------------
>
>                 Key: SUREFIRE-413
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-413
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>
> Run a test that forks a subprocess, then press Ctrl-C.  The forked grandchild process won't die.
> We should use killableprocess to gracefully kill the entire process tree on Windows
> http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (SUREFIRE-413) Ctrl-C during tests won't kill forked subprocesses

Posted by "Peter Janes (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165528#action_165528 ] 

Peter Janes edited comment on SUREFIRE-413 at 2/13/09 1:42 PM:
---------------------------------------------------------------

The same thing happens if the test times out (in Linux at least).

      was (Author: peterj):
    The same thing happens if the test times out.
  
> Ctrl-C during tests won't kill forked subprocesses
> --------------------------------------------------
>
>                 Key: SUREFIRE-413
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-413
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: process forking
>         Environment: Windows XP
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>
> Run a test that forks a subprocess, then press Ctrl-C.  The forked grandchild process won't die.
> We should use killableprocess to gracefully kill the entire process tree on Windows
> http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SUREFIRE-413) Ctrl-C during tests won't kill forked subprocesses

Posted by "Peter Janes (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165528#action_165528 ] 

Peter Janes commented on SUREFIRE-413:
--------------------------------------

The same thing happens if the test times out.

> Ctrl-C during tests won't kill forked subprocesses
> --------------------------------------------------
>
>                 Key: SUREFIRE-413
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-413
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: process forking
>         Environment: Windows XP
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>
> Run a test that forks a subprocess, then press Ctrl-C.  The forked grandchild process won't die.
> We should use killableprocess to gracefully kill the entire process tree on Windows
> http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SUREFIRE-413) Ctrl-C during tests won't kill forked subprocesses

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich updated SUREFIRE-413:
----------------------------------

    Fix Version/s: 2.x

> Ctrl-C during tests won't kill forked subprocesses
> --------------------------------------------------
>
>                 Key: SUREFIRE-413
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-413
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>
> Run a test that forks a subprocess, then press Ctrl-C.  The forked grandchild process won't die.
> We should use killableprocess to gracefully kill the entire process tree on Windows
> http://darkforge.blogspot.com/2007/09/windows-killableprocess-and-case-of.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira