From 624b6864e0be4ebb02be7c0f482e8caa4df8cd45 Mon Sep 17 00:00:00 2001 From: weguo-NV <154216071+weiguo-nvidia@users.noreply.github.com> Date: Tue, 16 Dec 2025 10:45:41 +0800 Subject: [PATCH] Update regex to ignore known error log (#21232) PR #10502 already ignore the error log, but the regex .* ERR ntpd.*: statistics directory .* does not exist or is unwriteable, error No such file or directory can not match this error log. So update the regex. ERR ntpd[25710]: statistics directory /var/log/ntpsec/ does not exist or is unwriteable, error Permission denied --- .../test/files/tools/loganalyzer/loganalyzer_common_ignore.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt b/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt index 69df461b967..9664680cd4b 100644 --- a/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt +++ b/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt @@ -209,7 +209,7 @@ r, ".* ERR syncd\d*#syncd.*SAI_API_UNSPECIFIED:sai_bulk_object_get_stats.*" r, ".* ERROR: Failed to parse lldp age.*" # NTPsec always expects the statistics directory to be available, but for now, we don't need NTP stats to be logged -r, ".* ERR ntpd.*: statistics directory .* does not exist or is unwriteable, error No such file or directory" +r, ".* ERR ntpd.*: statistics directory .* does not exist or is unwriteable.*" # NTPsec logs a message with ERR in it at NOTICE level when exiting gracefully, ignore it r, ".* NOTICE ntpd.*: ERR: ntpd exiting on signal 15.*"