[ https://issues.apache.org/jira/browse/CASSANDRA-10097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701517#comment-14701517 ]
Paulo Motta commented on CASSANDRA-10097: ----------------------------------------- The test interrupts bootstrap of a new node by killing one of the seed nodes, and then tries to re-bootstrap the node with the flag {{-Dcassandra.reset_bootstrap_progress=true}}. The problem is, the boostrap is finished before the seed node is killed on Windows , so the new node is already bootstrapped when it tries to re-bootstrap, so the test fails. Probably it works on Linux due to performance differences with ccm and python threads. Basic fix is to limit the stream_throughput_outbound_megabits_per_sec on the seed node, to allow time for killing before the boostrap streaming is complete. For some reason, this was being done only on the joining node. Adding [~philipthompson] as reviewer, since it's a simple cassandra-dtest fix on this [PR|https://github.com/riptano/cassandra-dtest/pull/475]. > Windows dtest 3.0: > bootstrap_test.py:TestBootstrap.bootstrap_with_reset_bootstrap_state_test > fails > -------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-10097 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10097 > Project: Cassandra > Issue Type: Sub-task > Reporter: Joshua McKenzie > Assignee: Paulo Motta > Labels: Windows > Fix For: 3.0.x > > > {noformat} > File "D:\Python27\lib\unittest\case.py", line 329, in run > testMethod() > File > "D:\jenkins\workspace\cassandra-3.0_dtest_win32\cassandra-dtest\tools.py", > line 243, in wrapped > f(obj) > File > "D:\jenkins\workspace\cassandra-3.0_dtest_win32\cassandra-dtest\bootstrap_test.py", > line 184, in bootstrap_with_reset_bootstrap_state_test > node3.watch_log_for("Resetting bootstrap progress to start fresh", > from_mark=mark) > File "build\bdist.win-amd64\egg\ccmlib\node.py", line 382, in watch_log_for > raise TimeoutError(time.strftime("%d %b %Y %H:%M:%S", time.gmtime()) + " > [" + self.name + "] Missing: " + str([e.pattern for e in tofind]) + ":\n" + > reads) > {noformat} > Failure history: > [consistent|http://cassci.datastax.com/view/cassandra-3.0/job/cassandra-3.0_dtest_win32/17/testReport/junit/bootstrap_test/TestBootstrap/bootstrap_with_reset_bootstrap_state_test/history/] > Env: both ci and locally -- This message was sent by Atlassian JIRA (v6.3.4#6332)