diff --git a/tests/rptest/services/cluster.py b/tests/rptest/services/cluster.py index 7ac89ea10f51d..e39b3d84b88bc 100644 --- a/tests/rptest/services/cluster.py +++ b/tests/rptest/services/cluster.py @@ -138,6 +138,8 @@ def _do_post_test_checks( f"Test {status_str}, doing failure checks on {redpanda.who_am_i()}..." ) + redpanda.export_cluster_config() + if not test_failed and check_allowed_error_logs: # Only do log inspections on tests that are otherwise # successful. This executes *before* the end-of-test @@ -155,8 +157,6 @@ def _do_post_test_checks( redpanda.cloud_storage_diagnostics() raise - redpanda.export_cluster_config() - if isinstance(redpanda, RedpandaService): if test_failed: redpanda.cloud_storage_diagnostics() diff --git a/tests/rptest/tests/audit_log_test.py b/tests/rptest/tests/audit_log_test.py index d21ebe1d73453..787dd82b83272 100644 --- a/tests/rptest/tests/audit_log_test.py +++ b/tests/rptest/tests/audit_log_test.py @@ -2019,6 +2019,8 @@ def __init__(self, test_context): log_allow_list=[ r"Failed to append authentication event to audit log", r"Failed to audit.*", + # This comes from logging the cluster configuration at the post-ops of the test" + r"modify or view cluster configuration was not audited due to audit queues being full.*", ], ) @matrix(audit_transport_mode=get_audit_modes()) @@ -2071,6 +2073,8 @@ def __init__(self, test_context): r"Failed to append authentication event to audit log", r"Failed to audit.*", r"Failed to enqueue mTLS authentication event - audit log system error", + # This comes from logging the cluster configuration at the post-ops of the test" + r"modify or view cluster configuration was not audited due to audit queues being full.*", ], ) @matrix(audit_transport_mode=get_audit_modes())