[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714161#comment-13714161 ] Timothy Bish commented on AMQ-4296: --- QueueBrowsingLevelDBTest is failing because the LevelDB store isn't using the Message incrementReferenceCount and decrementReferenceCount methods as KahaDB does so first three messages get added to the cursors batch list befire the memory usage exceeds the set value. In the KahaDB versions of the test the usage exceeds the set value on send of the third message so it's not added to the Cursor's batch list and its usage drops after the store finishes its write so we can then page in one page worth of messages after the first two messages are sent to the browser. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682768#comment-13682768 ] Timothy Bish commented on AMQ-4296: --- found out what was breaking the run of QueueMasterSlaveSingleUrlTest, fixed the clean settings to remove old test stores. Works now for me on Mac and Linux. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664599#comment-13664599 ] Timothy Bish commented on AMQ-4296: --- Most look pretty good now, QueueMasterSlaveSingleUrlTest is still hanging though. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660815#comment-13660815 ] Hiram Chirino commented on AMQ-4296: The bug causing ThreeBrokerVirtualTopicNetwork to fail is now fixed. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660053#comment-13660053 ] Hiram Chirino commented on AMQ-4296: Implemented a pure LevelDB test for the StoreQueueCursorNoDuplicateTest and fix the bug that was causing it to fail. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659896#comment-13659896 ] Hiram Chirino commented on AMQ-4296: Added a LevelDB version of AMQ2149Test.java. It's working now. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659878#comment-13659878 ] Hiram Chirino commented on AMQ-4296: Have just committed a fix for LevelDBXARecoveryBrokerTest. The topic GC was being to agressive and was GC messages which had acks that were prepared but not committed. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659655#comment-13659655 ] Hiram Chirino commented on AMQ-4296: Found a thread safety issue in the leveldb imp. Should now be fixed as of r1483369 > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623984#comment-13623984 ] Kevin Earls commented on AMQ-4296: -- And AMQ2580Test > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620264#comment-13620264 ] Kevin Earls commented on AMQ-4296: -- Also: QueueMasterSlaveSingleUrlTest > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616784#comment-13616784 ] Timothy Bish commented on AMQ-4296: --- Patch applied. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > Attachments: AMQ-4415B.patch > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616715#comment-13616715 ] Kevin Earls commented on AMQ-4296: -- Also, these cause issues at least on AIX and Solaris. AMQ2584Test AMQ2870Test QueueMbeanRestartTest FailoverTransactionTest ConcurrentProducerDurableConsumerTest DurableSubscriptionOfflineTest > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2870Test > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581279#comment-13581279 ] Gary Tully commented on AMQ-4296: - also - org.apache.activemq.usecases.ThreeBrokerVirtualTopicNetworkAMQPATest > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581249#comment-13581249 ] Gary Tully commented on AMQ-4296: - org.apache.activemq.bugs.AMQ2149Test needs a leveldb variant, and will fail atm > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581241#comment-13581241 ] Gary Tully commented on AMQ-4296: - adding failing org.apache.activemq.broker.region.cursors.StoreQueueCursorJournalNoDuplicateTest, but scenario where journal is used over a journaled pa is dubious. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages > LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
[ https://issues.apache.org/jira/browse/AMQ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570413#comment-13570413 ] Timothy Bish commented on AMQ-4296: --- We can disable the LevelDB variations for now and address these in v5.9 as KahaDB is still the default persistence adapter. > Unit tests fail intermittently when using LevelDB adapter > - > > Key: AMQ-4296 > URL: https://issues.apache.org/jira/browse/AMQ-4296 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases >Affects Versions: 5.8.0 >Reporter: Timothy Bish >Priority: Minor > Fix For: 5.9.0 > > > A couple of the unit tests that have be modified to run with LevelDB as the > persistence adapter fail intermittently. > AMQ2584Test#testSize > DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira