You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2010/06/22 13:14:55 UTC

[jira] Created: (QPID-2683) Investigate cause of test hangs in java profile

Investigate cause of test hangs in java profile
-----------------------------------------------

                 Key: QPID-2683
                 URL: https://issues.apache.org/jira/browse/QPID-2683
             Project: Qpid
          Issue Type: Task
          Components: Java Broker
            Reporter: Martin Ritchie
             Fix For: 0.7


Investigate the cause of the hangs being seen in ci builds as highlighted in this mail thread:
http://osdir.com/ml/dev-qpid.apache.org/2010-06/msg00046.html

It appears that the hangs started with the introduction of the new plugins.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2683) Investigate cause of test hangs in java profile

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881173#action_12881173 ] 

Martin Ritchie commented on QPID-2683:
--------------------------------------

The hangs have only occured during the java test profile runs.

The broker is not cleanly shutdown in this scenario which may be adding to the complexity here.

In the java test profile the external broker is started with a Process object when it is time to shutdown it calls process.destroy()

This should be equivelllant of a kill -9 however the investigation showed the broker was still up and the ant test was blocked waiting for process.destroy() to complete.

> Investigate cause of test hangs in java profile
> -----------------------------------------------
>
>                 Key: QPID-2683
>                 URL: https://issues.apache.org/jira/browse/QPID-2683
>             Project: Qpid
>          Issue Type: Task
>          Components: Java Broker
>            Reporter: Martin Ritchie
>             Fix For: 0.7
>
>
> Investigate the cause of the hangs being seen in ci builds as highlighted in this mail thread:
> http://osdir.com/ml/dev-qpid.apache.org/2010-06/msg00046.html
> It appears that the hangs started with the introduction of the new plugins.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2683) Investigate cause of test hangs in java profile

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881171#action_12881171 ] 

Martin Ritchie commented on QPID-2683:
--------------------------------------

Manged to reproduce hang locally and extracted some running details.

Broker appeared to be mid shutdown in that there was no Qpid MBeans in the server and there was a Shutdown thread.

Three threads were due to components in Felix that were in a WAITING state rather than the TIMED_WAIT that the majority of the other threads were in.

Investigation of the code highlights that one of the threads does not use a Daemon thread so this may be holidng the VM open.

Raised JIRA and emailed FELIX team for assistence : FELIX-2434


> Investigate cause of test hangs in java profile
> -----------------------------------------------
>
>                 Key: QPID-2683
>                 URL: https://issues.apache.org/jira/browse/QPID-2683
>             Project: Qpid
>          Issue Type: Task
>          Components: Java Broker
>            Reporter: Martin Ritchie
>             Fix For: 0.7
>
>
> Investigate the cause of the hangs being seen in ci builds as highlighted in this mail thread:
> http://osdir.com/ml/dev-qpid.apache.org/2010-06/msg00046.html
> It appears that the hangs started with the introduction of the new plugins.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org