Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17315

Test Failure: dtest-novnode.repair_tests.repair_test.TestRepair.test_simple_repair_order_preserving (from Cassandra dtests)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 3.0.x
    • Test/dtest/python
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • User Report
    • All
    • None

    Description

      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.

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmckenzie Josh McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: