From 574c81eac6fb79cd3052d01ac1889544e03e545f Mon Sep 17 00:00:00 2001 From: Evgeniy Naydanov Date: Sun, 23 Mar 2025 07:54:40 +0000 Subject: [PATCH] test.py: random_failures: deselect topology ops for some injections After recent changes #18640 and #19151 started to reproduce for stop_after_sending_join_node_request and stop_after_bootstrapping_initial_raft_configuration error injections too. The solution is the same: deselect the tests. Fixes #23302 Closes scylladb/scylladb#23405 --- .../cluster/random_failures/cluster_events.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/test/cluster/random_failures/cluster_events.py b/test/cluster/random_failures/cluster_events.py index 66ac6dcd32..b0971ed557 100644 --- a/test/cluster/random_failures/cluster_events.py +++ b/test/cluster/random_failures/cluster_events.py @@ -341,6 +341,13 @@ async def execute_lwt_transaction(manager: ManagerClient, ], reason="See issue #19151 (decommission process stuck while boostrapping node is paused)", ) +@deselect_for( + error_injections=[ + "stop_after_sending_join_node_request", + "stop_after_bootstrapping_initial_raft_configuration", + ], + reason="See https://github.com/scylladb/scylladb/issues/23302 (could not get host_id for endpoint)", +) async def init_tablet_transfer(manager: ManagerClient, random_tables: RandomTables, error_injection: str) -> AsyncIterator[None]: @@ -454,6 +461,13 @@ async def remove_data_dir_of_dead_node(manager: ManagerClient, ], reason="See issue #18640 (failed to add a node to a cluster if another bootstrapping node is stuck)", ) +@deselect_for( + error_injections=[ + "stop_after_sending_join_node_request", + "stop_after_bootstrapping_initial_raft_configuration", + ], + reason="See https://github.com/scylladb/scylladb/issues/23302 (could not get host_id for endpoint)", +) async def add_new_node(manager: ManagerClient, random_tables: RandomTables, error_injection: str) -> AsyncIterator[None]: @@ -476,6 +490,13 @@ async def add_new_node(manager: ManagerClient, ], reason="See issue #19151 (decommission process stuck while bootstrapping node is paused)", ) +@deselect_for( + error_injections=[ + "stop_after_sending_join_node_request", + "stop_after_bootstrapping_initial_raft_configuration", + ], + reason="See https://github.com/scylladb/scylladb/issues/23302 (could not get host_id for endpoint)", +) async def decommission_node(manager: ManagerClient, random_tables: RandomTables, error_injection: str) -> AsyncIterator[None]: @@ -501,6 +522,13 @@ async def decommission_node(manager: ManagerClient, ], reason="Can't add a node to a cluster with a banned node", ) +@deselect_for( + error_injections=[ + "stop_after_sending_join_node_request", + "stop_after_bootstrapping_initial_raft_configuration", + ], + reason="See https://github.com/scylladb/scylladb/issues/23302 (could not get host_id for endpoint)", +) async def remove_node(manager: ManagerClient, random_tables: RandomTables, error_injection: str) -> AsyncIterator[None]: