[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Shuler updated CASSANDRA-12218: --- Fix Version/s: (was: 3.9) 3.8 > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie >Assignee: Sam Tunnicliffe > Labels: unittest > Fix For: 3.8 > > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe updated CASSANDRA-12218: Resolution: Fixed Fix Version/s: 3.9 Status: Resolved (was: Ready to Commit) Thanks, committed to 3.9 in {{b447ffc4242c1514dd33e4ace96b719d892ff4a2}} > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie >Assignee: Sam Tunnicliffe > Labels: unittest > Fix For: 3.9 > > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Eriksson updated CASSANDRA-12218: Status: Ready to Commit (was: Patch Available) > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie >Assignee: Sam Tunnicliffe > Labels: unittest > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshua McKenzie updated CASSANDRA-12218: Reviewer: Marcus Eriksson > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie >Assignee: Sam Tunnicliffe > Labels: unittest > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe updated CASSANDRA-12218: The problem is that there is only a single point in {{IndexSummaryRedistribution::redistributeSummaries}} which checks the flag to see if it should halt. On occasion, this point is passed before the stop is actually requested, the redistribution completes normally and no {{CompactionInterruptedException}} is thrown. With the linked branch, I haven't been able to repro the failure in over 150 runs (without it I couldn't get above ~50 iterations without a failure). The patch may seem quite large, but it's really just a refactoring. The significant change is an extension of {{IndexSummaryRedistribution}} that pauses until signaled before running. Only {{testCancelIndex}} makes use of this, all other tests are unchanged. ||branch||testall||dtest|| |[12218-3.9|https://github.com/beobal/cassandra/tree/12218-3.9]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12218-3.9-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12218-3.9-dtest]| > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie >Assignee: Sam Tunnicliffe > Labels: unittest > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12218) IndexSummaryManagerTest.testCancelIndex is flaky
[ https://issues.apache.org/jira/browse/CASSANDRA-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshua McKenzie updated CASSANDRA-12218: Labels: unittest (was: test) > IndexSummaryManagerTest.testCancelIndex is flaky > > > Key: CASSANDRA-12218 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12218 > Project: Cassandra > Issue Type: Test >Reporter: Joshua McKenzie > Labels: unittest > > Test appears to be flaky given the history: > [History|http://cassci.datastax.com/job/cassandra-3.9_testall/25/testReport/org.apache.cassandra.io.sstable/IndexSummaryManagerTest/testCancelIndex/history/] > {noformat} > Error Message > Expected compaction interrupted exception > Stacktrace > junit.framework.AssertionFailedError: Expected compaction interrupted > exception > at > org.apache.cassandra.io.sstable.IndexSummaryManagerTest.testCancelIndex(IndexSummaryManagerTest.java:655) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)