Skip to content

Commit 39c5320

Browse files
authored
[autorestart] ignore more error messages observed in tests (#2630)
Summary: Add more log ignore regexes. Approach What is the motivation for this PR? autorestart test fails randomly with loganalyzer errors. How did you do it? ignore more error logs that could come up during test. We are checking the system health status after the test. so ignoring these logs are not fatal. How did you verify/test it? Run autorestart test and get a pass.
1 parent b2bbd93 commit 39c5320

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/autorestart/test_container_autorestart.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ def ignore_expected_loganalyzer_exception(loganalyzer, enum_dut_feature):
7070
".*ERR syncd#syncd.*processQuadEvent.*",
7171
".*WARNING syncd#syncd.*skipping since it causes crash.*",
7272
".*ERR swss#portsyncd.*readData.*netlink reports an error=-33 on reading a netlink socket.*",
73+
".*ERR teamd#teamsyncd.*readData.*netlink reports an error=-33 on reading a netlink socket.*",
7374
".*ERR swss#orchagent.*set status: SAI_STATUS_ATTR_NOT_IMPLEMENTED_0.*",
7475
".*ERR swss#orchagent.*setIntfVlanFloodType.*",
76+
".*ERR snmp#snmpd.*",
7577
]
7678
ignore_regex_dict = {
7779
'common' : [
@@ -83,6 +85,7 @@ def ignore_expected_loganalyzer_exception(loganalyzer, enum_dut_feature):
8385
'pmon' : [
8486
".*ERR pmon#xcvrd.*initializeGlobalConfig.*",
8587
".*ERR pmon#thermalctld.*Caught exception while initializing thermal manager.*",
88+
".*ERR pmon#xcvrd.*Could not establish the active side.*",
8689
],
8790
'swss' : swss_syncd_teamd_regex,
8891
'syncd' : swss_syncd_teamd_regex,

0 commit comments

Comments
 (0)