From b77809fd2205062f0728b93521bf79a0ab8cd950 Mon Sep 17 00:00:00 2001 From: jingwenxie Date: Thu, 14 Apr 2022 06:01:41 -0700 Subject: [PATCH] [generic_config_updater] add GCU ignore regex (#5509) 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 --- tests/generic_config_updater/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/generic_config_updater/conftest.py b/tests/generic_config_updater/conftest.py index 60ec4bc11e..cec2fa070f 100644 --- a/tests/generic_config_updater/conftest.py +++ b/tests/generic_config_updater/conftest.py @@ -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) @@ -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.