Skip to content

Commit

Permalink
[GCU] Shorten GCU ignored LA list (#5645)
Browse files Browse the repository at this point in the history
Summary: Shortlen GCU Log Analyzer ignored regex list

What is the motivation for this PR?
Shortlen GCU list based on issue fix.

How did you do it?
Eliminate LA on GCU test suite
  • Loading branch information
wen587 authored Jun 16, 2022
1 parent 51b4b78 commit 1f4b306
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
21 changes: 9 additions & 12 deletions tests/generic_config_updater/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,15 @@ def ignore_expected_loganalyzer_exceptions(duthost, loganalyzer):
if loganalyzer:
ignoreRegex = [
".*ERR sonic_yang.*",
".*ERR bgp#bgpcfgd.*Can't update the peer. Only 'admin_status' attribute is supported.*", # test_bgpl
".*ERR bgp#bgpcfgd: BGPAllowListMgr::Received BGP ALLOWED 'SET' message with no prefixes specified: {'NULL': 'NULL'}.*", # test_bgp_prefix
".*ERR.*Failed to start dhcp_relay container.*", # test_dhcp_relay
".*ERR GenericConfigUpdater: Service Validator: Service has been reset.*", # test_dhcp_relay test_syslog
".*Same listen range is attached to peer-group.*", # test_bgp_speaker -> real issue
".*ERR swss[0-9]*#orchagent.*removeLag.*", # autorestart/test_container_autorestart.py test_portchannel_interface
".*ERR swss[0-9]*#intfmgrd: :- setIntfVrf:.*", # test_portchannel_interface
".*ERR teamd.*get_dump: Can't get dump for LAG.*", # test_portchannel_interface
".*ERR kernel.*Reset adapter.*", # test_portchannel_interface replace mtu
".*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.*Failed to start dhcp_relay container.*", # Valid test_dhcp_relay
".*ERR GenericConfigUpdater: Service Validator: Service has been reset.*", # Valid test_dhcp_relay test_syslog
".*ERR teamd[0-9].*get_dump: Can't get dump for LAG.*", # Valid test_portchannel_interface
".*ERR swss[0-9]*#intfmgrd: :- setIntfVrf:.*", # Valid test_portchannel_interface
".*ERR swss[0-9]*#orchagent.*removeLag.*", # Valid test_portchannel_interface
".*ERR kernel.*Reset adapter.*", # Valid test_portchannel_interface replace mtu
".*ERR swss[0-9]*#orchagent: :- getPortOperSpeed.*", # Valid test_portchannel_interface replace mtu

# sonic-swss/orchagent/crmorch.cpp
".*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
Expand Down
4 changes: 2 additions & 2 deletions tests/generic_config_updater/test_portchannel_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ def test_portchannel_interface_tc3_replace(duthost, portchannel_table):
{
"op": "remove",
"path": create_path(["PORTCHANNEL_INTERFACE",
"PortChannel101|{}".format(org_ip)]),
"PortChannel101|{}".format(org_ip)])
},
{
"op": "remove",
"path": create_path(["PORTCHANNEL_INTERFACE",
"PortChannel101|{}".format(org_ipv6.upper())]),
"PortChannel101|{}".format(org_ipv6.upper())])
},
{
"op": "add",
Expand Down

0 comments on commit 1f4b306

Please sign in to comment.