[
https://issues.apache.org/jira/browse/CASSANDRA-12531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-12531:
----------------------------------------
Status: Patch Available (was: In Progress)
Since they were added for CASSANDRA-12311, these tests have never passed on
2.2; the first run on Jenkins after they were committed is [here|
http://cassci.datastax.com/view/cassandra-2.2/job/cassandra-2.2_dtest/682/].
The reason for the failure is that whilst in 3.0+ the tombstone count is
per-query, in earlier versions the count is per-partition. The data model in
the test is the classic skinny row model, with no clustering columns so the
tombstone-per-partition count never gets above 1 and the warning threshold is
never breached. I've opened [a PR to fix the test
|https://github.com/riptano/cassandra-dtest/pull/1377].
> dtest failure in read_failures_test.TestReadFailures.test_tombstone_failure_v3
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-12531
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12531
> Project: Cassandra
> Issue Type: Bug
> Reporter: Craig Kodman
> Assignee: Sam Tunnicliffe
> Labels: dtest
> Fix For: 2.2.x
>
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.2_dtest/682/testReport/read_failures_test/TestReadFailures/test_tombstone_failure_v3
> http://cassci.datastax.com/job/cassandra-2.2_dtest/682/testReport/read_failures_test/TestReadFailures/test_tombstone_failure_v4
> {code}
> Error Message
> ReadTimeout not raised
> -------------------- >> begin captured logging << --------------------
> dtest: DEBUG: cluster ccm directory: /tmp/dtest-swJYMH
> dtest: DEBUG: Done setting configuration options:
> { 'initial_token': None,
> 'num_tokens': '32',
> 'phi_convict_threshold': 5,
> 'range_request_timeout_in_ms': 10000,
> 'read_request_timeout_in_ms': 10000,
> 'request_timeout_in_ms': 10000,
> 'truncate_request_timeout_in_ms': 10000,
> 'write_request_timeout_in_ms': 10000}
> --------------------- >> end captured logging << ---------------------
> {code}
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/tools.py", line 290, in wrapped
> f(obj)
> File "/home/automaton/cassandra-dtest/read_failures_test.py", line 90, in
> test_tombstone_failure_v3
> self._perform_cql_statement(session, "SELECT value FROM tombstonefailure")
> File "/home/automaton/cassandra-dtest/read_failures_test.py", line 63, in
> _perform_cql_statement
> session.execute(statement)
> File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
> "{0} not raised".format(exc_name))
> "ReadTimeout not raised\n-------------------- >> begin captured logging <<
> --------------------\ndtest: DEBUG: cluster ccm directory:
> /tmp/dtest-swJYMH\ndtest: DEBUG: Done setting configuration options:\n{
> 'initial_token': None,\n 'num_tokens': '32',\n 'phi_convict_threshold':
> 5,\n 'range_request_timeout_in_ms': 10000,\n
> 'read_request_timeout_in_ms': 10000,\n 'request_timeout_in_ms': 10000,\n
> 'truncate_request_timeout_in_ms': 10000,\n 'write_request_timeout_in_ms':
> 10000}\n--------------------- >> end captured logging <<
> ---------------------"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)