[
https://issues.apache.org/jira/browse/CASSANDRA-12057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355067#comment-15355067
]
Paulo Motta commented on CASSANDRA-12057:
-----------------------------------------
I suspect {{dclocal_read_repair_chance}} (default=0.1) was triggered, that's
why node3 was repaired before repair was actually run, so I updated
{{dtest.create_cf}} to also set {{dclocal_read_repair_chance}} when
{{read_repair}} is specified (read_repair should be fully disabled for this
test).
This test was also breaking on Windows (CASSANDRA-12046), because it was
upgrading from 2.1.9 which is unsupported on Windows, so I updated it to
upgrade from 2.2.4 instead.
I also took the chance to move this test to {{upgrade_tests}} so it's run
together with the upgrade suite.
I submitted a [multiplexer
run|https://cassci.datastax.com/view/Parameterized/job/parameterized_dtest_multiplexer/154/]
to verify the changes indeed fixed the test flakiness.
In order to check the changes did not break existing tests, I also submitted a
[full dtest run on
trunk|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-trunkcopy-dtest/17/].
Will set to PA when CI and multiplexer results look good.
> dtest failure in repair_tests.repair_test.TestRepair.repair_after_upgrade_test
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-12057
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12057
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: DS Test Eng
> Labels: dtest
> Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log,
> node2_debug.log, node2_gc.log, node3.log, node3_debug.log, node3_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_dtest/1279/testReport/repair_tests.repair_test/TestRepair/repair_after_upgrade_test
> Failed on CassCI build trunk_dtest #1279
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/tools.py", line 288, in wrapped
> f(obj)
> File "/home/automaton/cassandra-dtest/repair_tests/repair_test.py", line
> 217, in repair_after_upgrade_test
> self._repair_and_verify(True)
> File "/home/automaton/cassandra-dtest/repair_tests/repair_test.py", line
> 287, in _repair_and_verify
> self.check_rows_on_node(node3, 2000, missings=[1000])
> File "/home/automaton/cassandra-dtest/repair_tests/repair_test.py", line
> 70, in check_rows_on_node
> self.assertEqual(len(result), rows)
> File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
> raise self.failureException(msg)
> '2001 != 2000
> {code}
> Logs are attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)