You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2022/01/27 18:01:00 UTC
[jira] [Created] (CASSANDRA-17315) Test Failure: dtest-novnode.repair_tests.repair_test.TestRepair.test_simple_repair_order_preserving (from Cassandra dtests)
Josh McKenzie created CASSANDRA-17315:
-----------------------------------------
Summary: Test Failure: dtest-novnode.repair_tests.repair_test.TestRepair.test_simple_repair_order_preserving (from Cassandra dtests)
Key: CASSANDRA-17315
URL: https://issues.apache.org/jira/browse/CASSANDRA-17315
Project: Cassandra
Issue Type: Bug
Components: Test/dtest/python
Reporter: Josh McKenzie
https://ci-cassandra.apache.org/job/Cassandra-3.0/240/testReport/dtest-novnode.repair_tests.repair_test/TestRepair/test_simple_repair_order_preserving/
Failed 2 times in the last 27 runs. Flakiness: 11%, Stability: 92%
Error Message
cassandra.DriverException: ID mismatch while trying to reprepare (expected b'ba2c66a4f13080265ea718e037637d4a', got b'52faf62235132756a26828817a81168d'). This prepared statement won't work anymore. This usually happens when you run a 'USE...' query after the statement was prepared.
{code}
Stacktrace
self = <repair_tests.repair_test.TestRepair object at 0x7f4d10c146d0>
@pytest.mark.no_vnodes
def test_simple_repair_order_preserving(self):
"""
Calls simple repair test with OPP and sequential repair
@jira_ticket CASSANDRA-5220
"""
> self._simple_repair(order_preserving_partitioner=True)
repair_tests/repair_test.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
repair_tests/repair_test.py:453: in _simple_repair
self._populate_cluster()
repair_tests/repair_test.py:117: in _populate_cluster
insert_c1c2(session, keys=list(range(1001, 2001)), consistency=ConsistencyLevel.ALL, ks='ks')
tools/data.py:36: in insert_c1c2
execute_concurrent_with_args(session, statement, [['k{}'.format(k)] for k in keys])
../venv/src/cassandra-driver/cassandra/concurrent.py:238: in execute_concurrent_with_args
return execute_concurrent(session, zip(cycle((statement,)), parameters), *args, **kwargs)
../venv/src/cassandra-driver/cassandra/concurrent.py:94: in execute_concurrent
return executor.execute(concurrency, raise_on_first_error)
../venv/src/cassandra-driver/cassandra/concurrent.py:201: in execute
return super(ConcurrentExecutorListResults, self).execute(concurrency, fail_fast)
../venv/src/cassandra-driver/cassandra/concurrent.py:120: in execute
return self._results()
../venv/src/cassandra-driver/cassandra/concurrent.py:219: in _results
self._raise(self._exception)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
exc = DriverException("ID mismatch while trying to reprepare (expected b'ba2c66a4f13080265ea718e037637d4a', got b'52faf62235...ed statement won't work anymore. This usually happens when you run a 'USE...' query after the statement was prepared.")
@staticmethod
def _raise(exc):
if six.PY2 and isinstance(exc, tuple):
(exc_type, value, traceback) = exc
six.reraise(exc_type, value, traceback)
else:
> raise exc
E cassandra.DriverException: ID mismatch while trying to reprepare (expected b'ba2c66a4f13080265ea718e037637d4a', got b'52faf62235132756a26828817a81168d'). This prepared statement won't work anymore. This usually happens when you run a 'USE...' query after the statement was prepared.
../venv/src/cassandra-driver/cassandra/concurrent.py:167: DriverException
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org