Open arista-nwolfe opened 4 days ago
Investigated and found the same thing yesterday
For more reference, this is exactly where aclshow -a
fails to pull the counters and delivers N/A
admin@sonic:~$ sonic-db-cli -n asic0 COUNTERS_DB HGETALL "ACL_COUNTER_RULE_MAP"
{'DATA_INGRESS_IPV4_TEST:DEFAULT_RULE': 'oid:0x9000000000947', 'DATA_INGRESS_IPV4_TEST:RULE_1': 'oid:0x9000000000949', 'DATA_INGRESS_IPV4_TEST:RULE_10': 'oid:0x900000000094b', 'DATA_INGRESS_IPV4_TEST:RULE_11': 'oid:0x900000000094e', 'DATA_INGRESS_IPV4_TEST:RULE_12': 'oid:0x9000000000951', 'DATA_INGRESS_IPV4_TEST:RULE_13': 'oid:0x9000000000953', 'DATA_INGRESS_IPV4_TEST:RULE_14': 'oid:0x9000000000955', ...
admin@sonic:~$ sonic-db-cli -n asic0 COUNTERS_DB keys COUNTERS:oid:90*
(nothing returned -> `aclshow -a` returns N/A for each counter it can't find)
@stepanblyschak could you please help check this? Thanks.
Hi @Javier-Tan Is there any other counter issue with this change #20555?
@bingwang-ms This change should come together with https://github.com/sonic-net/sonic-buildimage/pull/20554 and https://github.com/sonic-net/sonic-swss/pull/3326
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 https://github.com/sonic-net/sonic-buildimage/pull/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