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 2008/08/21 12:00:44 UTC

[jira] Assigned: (QPID-1255) SimpleACLTest testClientPublishInvalidQueueSuccess intermittent failure in CI

     [ https://issues.apache.org/jira/browse/QPID-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1255:
------------------------------------

    Assignee:     (was: Martin Ritchie)

As statedin commit this temporary commit applieed to allow CI systems to help diagnose cause of race condition did just that:

org.apache.qpid.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout]
at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:176)
at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:127)
at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:664)
at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:685)
at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:679)
at org.apache.qpid.client.AMQSession_0_8.sendCreateQueue(AMQSession_0_8.java:146)
at org.apache.qpid.client.AMQSession$3.execute(AMQSession.java:1051)
at org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:119)
at org.apache.qpid.client.AMQSession.createQueue(AMQSession.java:1047)
at org.apache.qpid.client.AMQSession.createQueue(AMQSession.java:1027)
at org.apache.qpid.client.AMQSession.createTemporaryQueue(AMQSession.java:1206)
at org.apache.qpid.server.security.acl.SimpleACLTest.testClientPublishInvalidQueueSuccess(SimpleACLTest.java:293)


My guess is that the session is open but closes right after the isClosed call is done. So the client the goes on and does a waitForFrame that never arrives causing the timeout exceptions. As commented in AMQPH if we add our frame listener such that it will receive any existing and subsequent exceptions, such as connection closing whilst we add them to the framelisteners then I think this will resolve the issue.


> SimpleACLTest testClientPublishInvalidQueueSuccess intermittent failure in CI
> -----------------------------------------------------------------------------
>
>                 Key: QPID-1255
>                 URL: https://issues.apache.org/jira/browse/QPID-1255
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: M3
>            Reporter: Martin Ritchie
>             Fix For: M3
>
>
> Summary:
> This test has been failing on and off since yesterdays changes. The test utilises session.createTemporaryQueue() which was changed yesterday to actually create the queue on the broker.
> The test may now be incorrect as a result of the now correctly functioning createTemporaryQueue()

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