Skip to content

Commit

Permalink
[generic_config_updater] add GCU ignore regex (#5509)
Browse files Browse the repository at this point in the history
Summary: Add regex to unblock PR check

What is the motivation for this PR?
Add gcu ignore regex to unblock PR check

How did you do it?
Add regex pattern

How did you verify/test it?
Run unit test locally
  • Loading branch information
wen587 committed Apr 14, 2022
1 parent b5608bb commit b77809f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/generic_config_updater/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def ignore_expected_loganalyzer_exceptions(duthost, loganalyzer):
".*ERR swss[0-9]*#orchagent: :- getPortOperSpeed.*", # test_portchannel_interface replace mtu
".*ERR.*Failed to apply Json change.*", # validator need updater submodule
".*ERR GenericConfigUpdater: Change Applier: service invoked.*", # validator need updater submodule
".*ERR swss[0-9]*#orchagent.*getResAvailableCounters.*", # test_monitor_config
".*ERR swss[0-9]*#orchagent.*objectTypeGetAvailability.*", # test_monitor_config
".*ERR dhcp_relay[0-9]*#dhcrelay.*", # test_dhcp_relay
]
loganalyzer[duthost.hostname].ignore_regex.extend(ignoreRegex)

Expand All @@ -38,7 +41,7 @@ def check_image_version(duthost):
"""Skips this test if the SONiC image installed on DUT is older than 202112
Args:
duthost: Hostname of DUT.
duthost: DUT host object.
Returns:
None.
Expand Down

0 comments on commit b77809f

Please sign in to comment.