cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12856) dtest failure in replication_test.SnitchConfigurationUpdateTest.test_cannot_restart_with_different_rack
Date Tue, 03 Jan 2017 09:41:58 GMT


Stefania commented on CASSANDRA-12856:

I'm trying to reproduce the problem one more time [here|].

Other than the exception above, there isn't anything else in the logs. Therefore, it's not
possible to know for sure what caused the problem unless we can reproduce it but, from source
code inspection, this [line|]
would explain the problem, if  [{{stop()}}|]
is called before the thrift server thread has executed it. It doesn't look like it's needed
either, since {{serve()}} is only called once. The test that fails, starts and stops the node
immediately, so this is a valid possibility.

I've prepared the patch for the following branches, I've skipped trunk because Thirft was
removed and 3.11 because it is very similar to 3.X:


The 2.1 patch applies cleanly on all branches, CI is currently running on 2.1 only. I'm not
sure which branches this patch should be committed to: the race is extremely rare but the
consequences are quite bad (a thread looping forever).

> dtest failure in replication_test.SnitchConfigurationUpdateTest.test_cannot_restart_with_different_rack
> -------------------------------------------------------------------------------------------------------
>                 Key: CASSANDRA-12856
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sean McCarthy
>            Assignee: Stefania
>              Labels: dtest, test-failure
>         Attachments: node1.log
> example failure:
> {code}
> Error Message
> Problem stopping node node1
> {code}{code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/", line 630, in test_cannot_restart_with_different_rack
>     node1.stop(wait_other_notice=True)
>   File "/usr/local/lib/python2.7/dist-packages/ccmlib/", line 727, in stop
>     raise NodeError("Problem stopping node %s" %
> {code}

This message was sent by Atlassian JIRA

View raw message