[
https://issues.apache.org/jira/browse/QPID-3868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214458#comment-13214458
]
Keith Wall commented on QPID-3868:
----------------------------------
Logs suggest a broker issue rather than test issue.
You can see the VirtualHostHouseKeepingTask runs removing messages from 1-44
then 46-50 in a timely fashion. However the 45th message is left on queue and
then remains there for a further two minutes until the test times out. The
logs suggest that the TTL was set correctly on the 45th.
{code}
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,107 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 1
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,108 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 2
(snip)
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,118 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 44
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,118 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 46
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,119 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 47
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,119 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 48
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,119 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 49
test:VirtualHostHouseKeepingTask 2012-02-22 11:17:32,120 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 50
{code}
At the end of test we see the message finally being dequeued as part of
teardown.
{code}
IoReceiver - /127.0.0.1:41572 2012-02-22 11:19:32,184 DEBUG
[server.store.berkeleydb.BDBMessageStore] Removing message id 45
{code}
> Test org.apache.qpid.server.queue.TimeToLiveTest.testActiveTTL fails very
> occasionally on slow CI box.
> ------------------------------------------------------------------------------------------------------
>
> Key: QPID-3868
> URL: https://issues.apache.org/jira/browse/QPID-3868
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Affects Versions: 0.15
> Reporter: Keith Wall
> Assignee: Keith Wall
> Attachments:
> TEST-org.apache.qpid.server.queue.TimeToLiveTest.testActiveTTL.out
>
>
> Test org.apache.qpid.server.queue.TimeToLiveTest.testActiveTTL occasionally
> seen to fail on the java-bdb.0-9-1 profile on a slow CI box.
> {code}
> junit.framework.AssertionFailedError: Messages not automatically expired:
> expected:<0> but was:<1>
> at
> org.apache.qpid.server.queue.TimeToLiveTest.testActiveTTL(TimeToLiveTest.java:207)
> at
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]