From 5e0d5c417d84eb789813e523a47dd6636efbed97 Mon Sep 17 00:00:00 2001 From: ShiyanWangMS Date: Thu, 3 Jul 2025 09:35:06 +0800 Subject: [PATCH] Fix the ignore pattern - leapsecond file expired warning (#19332) What is the motivation for this PR? The following syslog should be ignored. 2025 Jul 1 09:30:14.223456 bjw2-can-8102-1 ERR ntpd[224326]: CLOCK: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): expired less than 4 days ago How did you do it? Change the ignore pattern How did you verify/test it? Verify with physical testbed --- .../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 cdae51da327..07fb8adea0c 100644 --- a/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt +++ b/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt @@ -317,7 +317,7 @@ r, ".* ERR ntpd\[\d*\]: nss_tacplus: .*" r, ".* ERR chronyd\[\d*\]: nss_tacplus: .*" # ignore leap second file NTP daemon (ntpd) is using has passed its expiration date -r, ".* ERR ntpd\[\d*\]:.*leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): expired.*" +r, ".* ERR ntpd\[\d*\]:.*leapsecond file \('/usr/share/zoneinfo/leap-seconds\.list'\): expired.*" # Ignore auditd error r, ".* ERR auditd\[\d*\]: Error receiving audit netlink packet \(No buffer space available\)"