From a3b43636940190bd01ce306e7508e50059cea87b Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Mon, 27 Jul 2026 20:12:36 -0500 Subject: [PATCH 1/2] Updated the logfile exclusions defined in log_file_checks::logs_are_error_free() so that when drunc debug messages are enabled, we don't complain about irrelevant messages. --- src/integrationtest/log_file_checks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/integrationtest/log_file_checks.py b/src/integrationtest/log_file_checks.py index 26e3a35..99aa426 100644 --- a/src/integrationtest/log_file_checks.py +++ b/src/integrationtest/log_file_checks.py @@ -108,7 +108,10 @@ def logs_are_error_free(log_file_names, show_all_problems=True, print_logfilenam # some strings to the excluded substring map so we don't trigger on those debug messages if verbosity_helper.compare_level(IntegtestVerbosityLevels.drunc_debug): excluded_substring_map.setdefault("SSH_SHELL_process_manager", []).extend( - ["RAN:", "LogLevel=error"] + ["LogLevel=error", "key:\s\"DUNEDAQ_ERS_"] + ) + excluded_substring_map.setdefault("drunc", []).extend( + ["LogLevel=error", "key:\s\"DUNEDAQ_ERS_", "DUNEDAQ_ERS_.*erstrace", "export DUNEDAQ_ERS_"] ) # 21-Jul-2026, KAB: phrases that we always want to exclude From 8c3b99648fbc1272053ed5bae45d31ee9b8f82f1 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Tue, 28 Jul 2026 15:00:45 +0200 Subject: [PATCH 2/2] Added another drunc logfile exclusion message when drunc debugging is enabled. --- src/integrationtest/log_file_checks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/integrationtest/log_file_checks.py b/src/integrationtest/log_file_checks.py index 99aa426..5c4c961 100644 --- a/src/integrationtest/log_file_checks.py +++ b/src/integrationtest/log_file_checks.py @@ -111,7 +111,8 @@ def logs_are_error_free(log_file_names, show_all_problems=True, print_logfilenam ["LogLevel=error", "key:\s\"DUNEDAQ_ERS_"] ) excluded_substring_map.setdefault("drunc", []).extend( - ["LogLevel=error", "key:\s\"DUNEDAQ_ERS_", "DUNEDAQ_ERS_.*erstrace", "export DUNEDAQ_ERS_"] + ["LogLevel=error", "key:\s\"DUNEDAQ_ERS_", "DUNEDAQ_ERS_.*erstrace", "export DUNEDAQ_ERS_", + "NewConnectionError.* Failed to establish a new connection: \[Errno 111\] Connection refused"] ) # 21-Jul-2026, KAB: phrases that we always want to exclude