[jira] Created: (MEVENIDE-566) Impossible to stop running test

View: New views
11 Messages — Rating Filter:   Alert me  

[jira] Created: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Impossible to stop running test
-------------------------------

                 Key: MEVENIDE-566
                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
             Project: mevenide
          Issue Type: Bug
          Components: mevenide2-netbeans
    Affects Versions: NB_3.0
         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
            Reporter: Laurent Foret
         Attachments: forktest.rar

When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.

The simplest way to reproduce it, is to create a project from the quickstart project archetype.
Thenchange the code of the test like this:

  public void testApp()
    {
        while (true) {
        assertTrue( true );
        }
    }

the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.

If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Assigned: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint reassigned MEVENIDE-566:
-------------------------------------

    Assignee: Milos Kleint

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.0
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Updated: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-566:
----------------------------------

    Fix Version/s: NB_3.0

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>             Fix For: NB_3.0
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Updated: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-566:
----------------------------------

    Fix Version/s:     (was: NB_3.0)
                   NB_3.1

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Assigned: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anuradha Gunasekara reassigned MEVENIDE-566:
--------------------------------------------

    Assignee: Anuradha Gunasekara  (was: Milos Kleint)

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Anuradha Gunasekara
>             Fix For: NB_3.1
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Work started: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MEVENIDE-566 started by Anuradha Gunasekara.

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Anuradha Gunasekara
>             Fix For: NB_3.1
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anuradha Gunasekara reassigned MEVENIDE-566:
--------------------------------------------

    Assignee: Milos Kleint  (was: Anuradha Gunasekara)

it seems problem with surefire side

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-566:
----------------------------------

    Fix Version/s:     (was: NB_3.1)
                   NB_3.2

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140624#action_140624 ]

Milos Kleint commented on MEVENIDE-566:
---------------------------------------

it boils down to plexus-utils' CommandLineUtils class. The killProcess method is correctly called on interrupted exception.
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4770092 could be related as noted in the killProcess() method comment.


> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142269#action_142269 ]

Magne Nordtveit commented on MEVENIDE-566:
------------------------------------------

Is this related to why I cant kill a process running with the red "Stop the currently executing build" (It reports as "killed" but it is still running in the background), or should i open a new issue?

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (MEVENIDE-566) Impossible to stop running test

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint closed MEVENIDE-566.
---------------------------------

    Resolution: Duplicate

marking this issue as duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=145256

as part of converting issues to netbeans.org slowly..

> Impossible to stop running test
> -------------------------------
>
>                 Key: MEVENIDE-566
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-566
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: Win32/ Netbeans 6.0 beta2/ mevenide3.0.8
>            Reporter: Laurent Foret
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: forktest.rar
>
>
> When I stop the debug session it stop the test running. But When I click on the stop button in a running session it does not kill the java process launched.
> The simplest way to reproduce it, is to create a project from the quickstart project archetype.
> Thenchange the code of the test like this:
>   public void testApp()
>     {
>         while (true) {
>         assertTrue( true );
>         }
>     }
> the stop running action of that test never kill the forked java process. To kill the processI have to go to the Windows System Process Manager.
> If I launch the test in the debug session, I put a break point to the "assertTrue" line code and stop the debug session, it works fine.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email