We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description TestAclWithPortToggle because expected match is not found
Steps to reproduce the issue:
Describe the results you received:
self = <test_acl.TestAclWithPortToggle object at 0x7fe093a0a050> duthost = <tests.common.devices.SonicHost object at 0x7fe093b72b90> localhost = <tests.common.devices.Localhost object at 0x7fe091d98d90> setup = {'acl_table_ports': ['Ethernet108', 'Ethernet100', 'Ethernet104', 'Ethernet96', 'Ethernet124', 'Ethernet92', ...], 'dst_ip_spine': '192.168.128.1', 'dst_ip_spine_blocked': '192.168.144.1', 'dst_ip_spine_forwarded': '192.168.136.1', ...} acl_table = {'config_file': 'tmp/acl/acl_table_DATAINGRESS.json', 'name': 'DATAINGRESS'} @pytest.fixture(scope='class', autouse=True) def acl_rules(self, duthost, localhost, setup, acl_table): """ setup/teardown ACL rules based on test class requirements :param duthost: DUT host object :param localhost: localhost object :param setup: setup information :param acl_table: table creating fixture :return: """ loganalyzer = LogAnalyzer(ansible_host=duthost, marker_prefix='acl_rules') loganalyzer.load_common_config() try: loganalyzer.expect_regex = [LOG_EXPECT_ACL_RULE_CREATE_RE] with loganalyzer: self.setup_rules(duthost, setup, acl_table) self.post_setup_hook(duthost, localhost) except LogAnalyzerError as err: # cleanup config DB in case of log analysis error self.teardown_rules(duthost, setup) > raise err E LogAnalyzerError: {'match_messages': {'/tmp/syslog.2020-09-29-04:52:07': []}, 'total': {'expected_match': 0, 'expected_missing_match': 1, 'match': 0}, 'match_files': {'/tmp/syslog.2020-09-29-04:52:07': {'expected_match': 0, 'match': 0}}, 'expect_messages': {'/tmp/syslog.2020-09-29-04:52:07': []}, 'unused_expected_regexp': ['.*Successfully created ACL rule.*']} acl_table = {'config_file': 'tmp/acl/acl_table_DATAINGRESS.json', 'name': 'DATAINGRESS'} duthost = <tests.common.devices.SonicHost object at 0x7fe093b72b90> err = {'expect_messages': {'/tmp/syslog.2020-09-29-04:52:07': []}, 'match_files': {... 'match': 0}, 'unused_expected_regexp': ['.*Successfully created ACL rule.*']} localhost = <tests.common.devices.Localhost object at 0x7fe091d98d90> loganalyzer = <tests.common.plugins.loganalyzer.loganalyzer.LogAnalyzer instance at 0x7fe08b50eaf0> self = <test_acl.TestAclWithPortToggle object at 0x7fe093a0a050> setup = {'acl_table_ports': ['Ethernet108', 'Ethernet100', 'Ethernet104', 'Ethernet96', 'Ethernet124', 'Ethernet92', ...], 'dst_ip_spine': '192.168.128.1', 'dst_ip_spine_blocked': '192.168.144.1', 'dst_ip_spine_forwarded': '192.168.136.1', ...} acl/test_acl.py:300: LogAnalyzerError
Describe the results you expected: No failures due to LogAnalyzer
Additional information you deem important (e.g. issue happens only occasionally): Possibly related to #2300
admin@str2-7050cx3-acs-03:~$ show ver SONiC Software Version: SONiC.master.415-d12e9cbb Distribution: Debian 10.5 Kernel: 4.19.0-9-2-amd64 Build commit: d12e9cbb Build date: Thu Sep 17 08:28:24 UTC 2020 Built by: johnar@jenkins-worker-8 Platform: x86_64-arista_7050cx3_32s HwSKU: Arista-7050CX3-32S-C32 ASIC: broadcom Serial Number: JPE20181528 Uptime: 21:51:21 up 14:21, 1 user, load average: 0.20, 0.30, 0.29 Docker images: REPOSITORY TAG IMAGE ID SIZE docker-teamd latest f6cb57e45936 390MB docker-teamd master.415-d12e9cbb f6cb57e45936 390MB docker-sonic-mgmt-framework latest e1d291e35af6 486MB docker-sonic-mgmt-framework master.415-d12e9cbb e1d291e35af6 486MB docker-router-advertiser latest d9a7fc7484e8 359MB docker-router-advertiser master.415-d12e9cbb d9a7fc7484e8 359MB docker-platform-monitor latest 46eb51c7c3d5 433MB docker-platform-monitor master.415-d12e9cbb 46eb51c7c3d5 433MB docker-lldp latest 6f242ddb4e69 387MB docker-lldp master.415-d12e9cbb 6f242ddb4e69 387MB docker-dhcp-relay latest 88d9f48d315d 366MB docker-dhcp-relay master.415-d12e9cbb 88d9f48d315d 366MB docker-database latest d9f261bb35a0 359MB docker-database master.415-d12e9cbb d9f261bb35a0 359MB docker-orchagent latest a50b6f7b9898 404MB docker-orchagent master.415-d12e9cbb a50b6f7b9898 404MB docker-nat latest 9df96e22eae5 393MB docker-nat master.415-d12e9cbb 9df96e22eae5 393MB docker-sonic-telemetry latest c43ff6838f29 429MB docker-sonic-telemetry master.415-d12e9cbb c43ff6838f29 429MB docker-fpm-frr latest c2a581d96906 406MB docker-fpm-frr master.415-d12e9cbb c2a581d96906 406MB docker-sflow latest bfa8b0694a13 394MB docker-sflow master.415-d12e9cbb bfa8b0694a13 394MB docker-snmp latest aebcffb1d55f 399MB docker-snmp master.415-d12e9cbb aebcffb1d55f 399MB docker-syncd-brcm latest aca27d898d0f 447MB docker-syncd-brcm master.415-d12e9cbb aca27d898d0f 447MB
The text was updated successfully, but these errors were encountered:
Root cause is sonic-net/sonic-buildimage#5501 and sonic-net/sonic-buildimage#5502. Loganalyzer errors out earlier than other tests b/c we are explicitly checking the logs.
Sorry, something went wrong.
daall
No branches or pull requests
Description
TestAclWithPortToggle because expected match is not found
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
No failures due to LogAnalyzer
Additional information you deem important (e.g. issue happens only occasionally):
Possibly related to #2300
The text was updated successfully, but these errors were encountered: