Skip to content

[action] [PR:15017] skipping test_route_flow_counter.py on Cisco 8122 platforms#15505

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/15017
Nov 12, 2024
Merged

[action] [PR:15017] skipping test_route_flow_counter.py on Cisco 8122 platforms#15505
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/15017

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

What is the motivation for this PR?

FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for Cisco 8122.

root@light-dut:/usr/share/sonic/device/x86_64-8122_64eh_o-r0/Cisco-8122-O64# sudo sonic-db-cli STATE_DB HGET "FLOW_COUNTER_CAPABILITY_TABLE|route" support
true

But 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json because of scale limits (cannot scale more than 50k with the current LPM profile).

As the feature is not enabled for this platform, need to skip this testcase

How did you do it?
Added a skip condition for test test_route_flow_counter.py for Cisco 8122 platforms in file tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

Type of change
-Skip testcase

Back port request
-202311
-202405

How did you verify/test it?
Ran test_route_flow_counter.py for 8122. Made sure it was skipped with 'Test not supported for cisco-8122 platform'

…t#15017)

* skip route_flow_counter TCs on 8122 platforms

* correcting conditional mark sort for test_route_flow_counter.py
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #15017

@mssonicbld mssonicbld merged commit 0db53da into sonic-net:202405 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants