Class | Name | Status | Type | Time(s) |
8_cythonno_x86_64_14_64 | test_killed_wiped_node_cannot_join | Failure | ccmlib.node.TimeoutError: 19 Sep 2024 00:27:25 [node4] after 600.65/600 seconds Missing: ['A node with address /127.0.0.4:7000 already exists, cancelling join'] not found in system.log:
Head: INFO [main] 2024-09-19 00:17:26,346 YamlConfigura
Tail: ...va:143)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
self = <bootstrap_test.TestBootstrap object at 0x7fdff25c0700>
def test_killed_wiped_node_cannot_join(self):
> self._wiped_node_cannot_join_test(gently=False)
bootstrap_test.py:621:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
bootstrap_test.py:663: in _wiped_node_cannot_join_test
node4.watch_log_for("A node with address {} already exists, cancelling join".format(node4.address_for_current_version_slashy()), from_mark=mark)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:610: in watch_log_for
TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
start = 1726705044.9348392, timeout = 600
msg = "Missing: ['A node with address /127.0.0.4:7000 already exists, cancelling join'] not found in system.log:\n Head: INF...t.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"
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: 19 Sep 2024 00:27:25 [node4] after 600.65/600 seconds Missing: ['A node with address /127.0.0.4:7000 already exists, cancelling join'] not found in system.log:
E Head: INFO [main] 2024-09-19 00:17:26,346 YamlConfigura
E Tail: ...va:143)
E at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
E at java.base/java.lang.Thread.run(Thread.java:829)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError | 679.999 |
8_cythonno_x86_64_22_64 | test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions | Failure | AssertionError: Expected nothing from SELECT * FROM t WHERE k1 = 0 LIMIT 1, but got [[0, 1, 10, 100]]
self = <replica_side_filtering_test.TestSecondaryIndexes object at 0x7f228f035eb0>
def test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions(self):
self._skip_if_filtering_partition_columns_is_not_supported()
self._prepare_cluster(
create_table="CREATE TABLE t (k1 int, k2 int, c int, s int STATIC, PRIMARY KEY ((k1, k2), c))",
create_index="CREATE INDEX ON t(k1)",
both_nodes=["INSERT INTO t (k1, k2, c, s) VALUES (0, 1, 10, 100)",
"INSERT INTO t (k1, k2, c, s) VALUES (0, 2, 20, 200)"],
only_node1=["DELETE FROM t WHERE k1 = 0 AND k2 = 1"],
only_node2=["DELETE FROM t WHERE k1 = 0 AND k2 = 2"])
> self._assert_none("SELECT * FROM t WHERE k1 = 0 LIMIT 1")
replica_side_filtering_test.py:202:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replica_side_filtering_test.py:81: in _assert_none
assert_none(self.session, decorated_query)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
session = <cassandra.cluster.Session object at 0x7f228c2d7430>
query = 'SELECT * FROM t WHERE k1 = 0 LIMIT 1', cl = None
def assert_none(session, query, cl=None):
"""
Assert query returns nothing
@param session Session to use
@param query Query to run
@param cl Optional Consistency Level setting. Default ONE
Examples:
assert_none(self.session1, "SELECT * FROM test where key=2;")
assert_none(cursor, "SELECT * FROM test WHERE k=2", cl=ConsistencyLevel.SERIAL)
"""
simple_query = SimpleStatement(query, consistency_level=cl)
res = session.execute(simple_query)
list_res = _rows_to_list(res)
> assert list_res == [], "Expected nothing from {}, but got {}".format(query, list_res)
E AssertionError: Expected nothing from SELECT * FROM t WHERE k1 = 0 LIMIT 1, but got [[0, 1, 10, 100]]
tools/assertions.py:149: AssertionError | 78.672 |
8_cythonno_x86_64_23_64 | test_complementary_deletion_with_limit_on_clustering_key_column | Failure | AssertionError: Expected nothing from SELECT * FROM t WHERE c = 0 LIMIT 1, but got [[1, 0]]
self = <replica_side_filtering_test.TestSecondaryIndexes object at 0x7fd452f7f250>
def test_complementary_deletion_with_limit_on_clustering_key_column(self):
self._prepare_cluster(
create_table="CREATE TABLE t (k int, c int, PRIMARY KEY (k, c))",
create_index="CREATE INDEX ON t(c)",
both_nodes=["INSERT INTO t (k, c) VALUES (1, 0)",
"INSERT INTO t (k, c) VALUES (2, 0)"],
only_node1=["DELETE FROM t WHERE k = 1"],
only_node2=["DELETE FROM t WHERE k = 2"])
> self._assert_none("SELECT * FROM t WHERE c = 0 LIMIT 1")
replica_side_filtering_test.py:213:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replica_side_filtering_test.py:81: in _assert_none
assert_none(self.session, decorated_query)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
session = <cassandra.cluster.Session object at 0x7fd4501a68b0>
query = 'SELECT * FROM t WHERE c = 0 LIMIT 1', cl = None
def assert_none(session, query, cl=None):
"""
Assert query returns nothing
@param session Session to use
@param query Query to run
@param cl Optional Consistency Level setting. Default ONE
Examples:
assert_none(self.session1, "SELECT * FROM test where key=2;")
assert_none(cursor, "SELECT * FROM test WHERE k=2", cl=ConsistencyLevel.SERIAL)
"""
simple_query = SimpleStatement(query, consistency_level=cl)
res = session.execute(simple_query)
list_res = _rows_to_list(res)
> assert list_res == [], "Expected nothing from {}, but got {}".format(query, list_res)
E AssertionError: Expected nothing from SELECT * FROM t WHERE c = 0 LIMIT 1, but got [[1, 0]]
tools/assertions.py:149: AssertionError | 80.009 |