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

Flaky dTest: repair_tests.repair_test.TestRepair.test_simple_sequential_repair

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Test/dtest
    • Labels:
    • Severity:
      Normal

      Description

      https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-dtest/lastCompletedBuild/testReport/repair_tests.repair_test/TestRepair/test_simple_sequential_repair/

       

      Failed 5 times in the last 30 runs. Flakiness: 24%, Stability: 83%
      
      Error Message
      cassandra.cluster.NoHostAvailable: ('Unable to complete the operation against any hosts', {<Host: 127.0.0.1 datacenter1>: ConnectionException('Host has been marked down or removed',), <Host: 127.0.0.3 datacenter1>: ConnectionException('Pool is shutdown',)})
      Stacktrace
      self = <repair_tests.repair_test.TestRepair object at 0x7fb3bbc72908>
      
          def test_simple_sequential_repair(self):
              """
                  Calls simple repair test with a sequential repair
                  """
      >       self._simple_repair(sequential=True)
      
      repair_tests/repair_test.py:350: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      repair_tests/repair_test.py:440: in _simple_repair
          self._populate_cluster()
      repair_tests/repair_test.py:115: in _populate_cluster
          insert_c1c2(session, keys=list(range(1001, 2001)), consistency=ConsistencyLevel.ALL)
      tools/data.py:29: in insert_c1c2
          execute_concurrent_with_args(session, statement, [['k{}'.format(k)] for k in keys])
      ../venv/src/cassandra-driver/cassandra/concurrent.py:239: in execute_concurrent_with_args
          return execute_concurrent(session, zip(cycle((statement,)), parameters), *args, **kwargs)
      ../venv/src/cassandra-driver/cassandra/concurrent.py:95: in execute_concurrent
          return executor.execute(concurrency, raise_on_first_error)
      ../venv/src/cassandra-driver/cassandra/concurrent.py:202: in execute
          return super(ConcurrentExecutorListResults, self).execute(concurrency, fail_fast)
      ../venv/src/cassandra-driver/cassandra/concurrent.py:121: in execute
          return self._results()
      ../venv/src/cassandra-driver/cassandra/concurrent.py:220: in _results
          self._raise(self._exception)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      exc = NoHostAvailable('Unable to complete the operation against any hosts', {<Host: 127.0.0.1 datacenter1>: ConnectionException('Host has been marked down or removed',), <Host: 127.0.0.3 datacenter1>: ConnectionException('Pool is shutdown',)})
      
          @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.cluster.NoHostAvailable: ('Unable to complete the operation against any hosts', {<Host: 127.0.0.1 datacenter1>: ConnectionException('Host has been marked down or removed',), <Host: 127.0.0.3 datacenter1>: ConnectionException('Pool is shutdown',)})
      
      ../venv/src/cassandra-driver/cassandra/concurrent.py:168: NoHostAvailable
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jay.zhuang Jay Zhuang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: