You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def set_up_acl_rules_single_dut(self, acl_table,
conn_graph_facts, dut_to_analyzer_map, duthost, # noqa F811
ip_version, localhost,
populate_vlan_arp_entries, tbinfo):
logger.info("{}: ACL rule application started".format(duthost.hostname))
if duthost.is_supervisor_node():
return
loganalyzer = LogAnalyzer(ansible_host=duthost, marker_prefix="acl_rules")
loganalyzer.load_common_config()
dut_to_analyzer_map[duthost] = loganalyzer
try:
loganalyzer.expect_regex = [LOG_EXPECT_ACL_RULE_CREATE_RE]
# Ignore any other errors to reduce noise
loganalyzer.ignore_regex = [r".*"]
with loganalyzer:
self.setup_rules(duthost, acl_table, ip_version)
# Give the dut some time for the ACL rules to be applied and LOG message generated
wait_until(300, 20, 0, check_msg_in_syslog,
duthost, LOG_EXPECT_ACL_RULE_CREATE_RE)
self.post_setup_hook(duthost, localhost, populate_vlan_arp_entries, tbinfo, conn_graph_facts)
> assert self.check_rule_counters(duthost), "Rule counters should be ready!"
E AssertionError: Rule counters should be ready!
This appears to be due to the counters showing N/A for the ACL rules:
Issue Description
test/test_acl.py
fails on all tests with:This appears to be due to the counters showing
N/A
for the ACL rules:We confirmed the issue appears to have been introduced by #20555
After reverting this change we no longer see
test/test_acl.py
failing:Results you see
test/test_acl.py
is seeingaclshow -a
displayN/A
for the rule countersResults you expected to see
When
test/test_acl.py
creates ACL rulesaclshow -a
show display an integer for the rule counterIs it platform specific
generic
Relevant log output
No response
Output of
show version
No response
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: