Bug: dtest-large.consistency_test.TestAccuracy.test_simple_strategy_users
Status: Resolved
Priority: Normal
Resolution: Won't Fix
Created: 20/Feb/23 01:55
Resolved: 20/Feb/23 08:43

https://ci-cassandra.apache.org/job/Cassandra-trunk/1460/testReport/dtest-large.consistency_test/TestAccuracy/test_simple_strategy_users/


self = <consistency_test.TestAccuracy object at 0x7ffb30a515e0>

    @pytest.mark.resource_intensive
    def test_simple_strategy_users(self):
        """
        Test for a single datacenter, users table, only the each quorum reads.
        """
        self.nodes = 5
        self.rf = 3
    
        combinations = [
            (ConsistencyLevel.ALL, ConsistencyLevel.ALL),
            (ConsistencyLevel.QUORUM, ConsistencyLevel.QUORUM),
            (ConsistencyLevel.ALL, ConsistencyLevel.ONE),
            (ConsistencyLevel.ONE, ConsistencyLevel.ALL),
            (ConsistencyLevel.QUORUM, ConsistencyLevel.ONE),
            (ConsistencyLevel.ONE, ConsistencyLevel.QUORUM),
            (ConsistencyLevel.TWO, ConsistencyLevel.TWO),
            (ConsistencyLevel.ONE, ConsistencyLevel.THREE),
            (ConsistencyLevel.THREE, ConsistencyLevel.ONE),
            (ConsistencyLevel.ANY, ConsistencyLevel.ONE),
            (ConsistencyLevel.ONE, ConsistencyLevel.ONE),
            (ConsistencyLevel.ONE, ConsistencyLevel.TWO),
            (ConsistencyLevel.TWO, ConsistencyLevel.ONE),
            # These are multi-DC consistency levels that should default to quorum calls
            (ConsistencyLevel.EACH_QUORUM, ConsistencyLevel.LOCAL_QUORUM),
            (ConsistencyLevel.LOCAL_QUORUM, ConsistencyLevel.LOCAL_QUORUM),
            (ConsistencyLevel.QUORUM, ConsistencyLevel.SERIAL, ConsistencyLevel.SERIAL),
            (ConsistencyLevel.QUORUM, ConsistencyLevel.LOCAL_SERIAL, ConsistencyLevel.SERIAL),
        ]
    
        logger.debug("Testing single dc, users")
>       self._run_test_function_in_parallel(TestAccuracy.Validation.validate_users, [self.nodes], [self.rf], combinations)

consistency_test.py:596: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
consistency_test.py:528: in _run_test_function_in_parallel
    self._start_cluster(save_sessions=True, requires_local_reads=requires_local_reads)
consistency_test.py:135: in _start_cluster
    cluster.start()
../venv/lib/python3.8/site-packages/ccmlib/cluster.py:548: in start
    node.watch_log_for(start_message, timeout=timeout, process=p, verbose=verbose, from_mark=mark,
../venv/lib/python3.8/site-packages/ccmlib/node.py:589: in watch_log_for
    TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

start = 1676474289.4235764, timeout = 120
msg = "Missing: ['Starting listening for CQL clients'] not found in system.log:\n Head: INFO  [main] 2023-02-15 15:18:03,417...f5f11f/nb-1-big-Data.db (0.097KiB) for commitlog position CommitLogPosition(segmentId=1676474297753, position=37210)\n"
node = 'node1'

    @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: 15 Feb 2023 15:20:09 [node1] after 120.48/120 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
E            Head: INFO  [main] 2023-02-15 15:18:03,417 YamlConfigura
E            Tail: ...olumns-5e7583b5f3f43af19a39b7e1d6f5f11f/nb-1-big-Data.db (0.097KiB) for commitlog position CommitLogPosition(segmentId=1676474297753, position=37210)

../venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError

This error occurs tiwce of same error message of timeout.