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

Flaky TestTransientReplicationRing.test_move_backwards_and_cleanup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-rc1, 4.0
    • Component/s: Test/dtest/python
    • Labels:
      None

      Description

      Failure here

      Error Message
      
      ccmlib.node.TimeoutError: 27 Apr 2021 00:01:00 [node4] after 90.11/90 seconds Missing: ['Starting listening for CQL clients'] not found in system.log: Tail: INFO  [main] 2021-04-26 23:59:22,590 YamlConfigura
      
      Stacktrace
      
      self = <transient_replication_ring_test.TestTransientReplicationRing object at 0x7f66c51ebd90>
      
          @flaky(max_runs=1)
          @pytest.mark.no_vnodes
          def test_move_backwards_and_cleanup(self):
              """Test moving a node backwards without moving past a neighbor token"""
              move_token = '00005'
              expected_after_move = [gen_expected(range(0, 6), range(31, 40)),
                                     gen_expected(range(0, 21, 2)),
                                     gen_expected(range(1, 6, 2), range(6, 31)),
                                     gen_expected(range(7, 20, 2), range(21, 40))]
              expected_after_repair = [gen_expected(range(0, 6), range(31, 40)),
                                       gen_expected(range(0, 21)),
                                       gen_expected(range(6, 31)),
                                       gen_expected(range(21, 40))]
      >       self.move_test(move_token, expected_after_move, expected_after_repair)
      
      transient_replication_ring_test.py:333: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      transient_replication_ring_test.py:235: in move_test
          node4.start(wait_for_binary_proto=True)
      transient_replication_ring_test.py:50: in new_start
          return old_start(*args, **kwargs)
      ../venv/src/ccm/ccmlib/node.py:901: in start
          self.wait_for_binary_interface(from_mark=self.mark)
      ../venv/src/ccm/ccmlib/node.py:687: in wait_for_binary_interface
          self.watch_log_for("Starting listening for CQL clients", **kwargs)
      ../venv/src/ccm/ccmlib/node.py:588: in watch_log_for
          TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      start = 1619481570.0236456, timeout = 90
      msg = "Missing: ['Starting listening for CQL clients'] not found in system.log:\nTail: INFO  [main] 2021-04-26 23:59:22,590 YamlConfigura"
      node = 'node4'
      
          @staticmethod
          def raise_if_passed(start, timeout, msg, node=None):
              if start + timeout < time.time():
      >           raise TimeoutError.create(start, timeout, msg, node)
      E           ccmlib.node.TimeoutError: 27 Apr 2021 00:01:00 [node4] after 90.11/90 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
      E           Tail: INFO  [main] 2021-04-26 23:59:22,590 YamlConfigura
      
      ../venv/src/ccm/ccmlib/node.py:56: TimeoutError
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bereng Berenguer Blasi
                Reporter:
                bereng Berenguer Blasi
                Authors:
                Berenguer Blasi
                Reviewers:
                Ekaterina Dimitrova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: