From 169c7be38ef8d123c77e2cc0934b14c1e899ab9a Mon Sep 17 00:00:00 2001 From: ShiyanWangMS Date: Mon, 6 Jan 2025 15:32:07 +0800 Subject: [PATCH] Ignore NTP leap second file expired syslog (#16347) What is the motivation for this PR? Recently testcase fails with the syslog error: 2024 Dec 30 15:13:59.746932 str3-7260cx3-acs-14 ERR ntpd[64974]: CLOCK: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): expired less than 3 days ago How did you do it? Ignore this syslog error for now. --- .../test/files/tools/loganalyzer/loganalyzer_common_ignore.txt | 3 +++ 1 file changed, 3 insertions(+) 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 e1ed3eb5c03..99d5a04065c 100644 --- a/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt +++ b/ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt @@ -312,6 +312,9 @@ r, ".* ERR sshd\[\d*\]: auth fail.*" # ignore NTP nss_tacplus error, which will happen when reload config, because NTPD will invoke getpwnap API but nss_tacplus will re-render during reload config r, ".* ERR ntpd\[\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.*" + # Ignore auditd error r, ".* ERR auditd\[\d*\]: Error receiving audit netlink packet \(No buffer space available\)" r, ".* ERR audisp-tacplus: tac_connect_single: connection failed with.*Interrupted system call"