From 9a3ec5efea91f564672a1ac9e12c131f681e884f Mon Sep 17 00:00:00 2001 From: alexey bashtanov Date: Mon, 9 Sep 2024 09:41:13 +0100 Subject: [PATCH] tests/migrations: allow certain storage errors in logs Until Storage team can assess whether they are serious --- tests/rptest/tests/data_migrations_api_test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/rptest/tests/data_migrations_api_test.py b/tests/rptest/tests/data_migrations_api_test.py index dd391b5900a96..06c3b76d1a3f1 100644 --- a/tests/rptest/tests/data_migrations_api_test.py +++ b/tests/rptest/tests/data_migrations_api_test.py @@ -30,6 +30,10 @@ from contextlib import nullcontext import requests +MIGRATION_LOG_ALLOW_LIST = [ + 'Error during log recovery: cloud_storage::missing_partition_exception', +] + class TransferLeadersBackgroundThread: def __init__(self, redpanda: RedpandaServiceBase, topic: str): @@ -137,7 +141,7 @@ def migration_is_present(id: int): f"Expected migration with id {migration_id} is not present") return migration_id - @cluster(num_nodes=3) + @cluster(num_nodes=3, log_allow_list=MIGRATION_LOG_ALLOW_LIST) def test_creating_and_listing_migrations(self): self.finjector = Finjector(self.redpanda, self.test_context) @@ -415,7 +419,7 @@ def cancel_inbound(self, migration_id, topic_name): self.cancel(migration_id, topic_name) self.assert_no_topics() - @cluster(num_nodes=4) + @cluster(num_nodes=4, log_allow_list=MIGRATION_LOG_ALLOW_LIST) @matrix(use_alias=[True, False], transfer_leadership=[True, False], cancellation=[None] +