Skip to content

Skipping test_static_route on Cisco 8122#15272

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
AnantKishorSharma:patch-5
Nov 15, 2024
Merged

Skipping test_static_route on Cisco 8122#15272
StormLiangMS merged 1 commit intosonic-net:masterfrom
AnantKishorSharma:patch-5

Conversation

@AnantKishorSharma
Copy link
Copy Markdown
Contributor

@AnantKishorSharma AnantKishorSharma commented Oct 30, 2024

What is the motivation for this PR?
All 3 tests in test_static_route are failing on 8122.
Tests are failing because “show flowcnt-route stats“ does not show the 1 test pkt that the test has sent.
“show flowcnt-route stats“ does not show the test pkt because counter config itself failed.
Counter config failed because FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for 8122 but 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122.
'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122 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_static_route for 8122 platform

Type of change
-Test modification

Back port request
-202311
-202405

How did you verify/test it?
Ran test_static_router.py on 8122 and verified it was skipped.

--------------------- generated xml file: /run_logs/ananshar/route/test_static_route_2024-10-21-03-14-31.xml ---------------------
INFO:root:Can not get Allure report URL. Please check logs

----------------------------------------------------- live log sessionfinish -----------------------------------------------------
03:14:52 __init__.pytest_terminal_summary         L0067 INFO   | Can not get Allure report URL. Please check logs
==================================================== short test summary info =====================================================
SKIPPED [2] route/test_static_route.py: Test not supported for 201911 images or older. Does not apply to standalone topos. Not supported on cisco-8122 platform
SKIPPED [1] route/test_static_route.py:350: Test not supported for 201911 images or older. Does not apply to standalone topos. Not supported on cisco-8122 platform
SKIPPED [1] route/test_static_route.py:371: Test not supported for 201911 images or older. Does not apply to standalone topos. Not supported on cisco-8122 platform
================================================= 4 skipped, 1 warning in 20.15s =================================================
sonic@sonic-ucs-m6-24:/data/tests$ 

@AnantKishorSharma
Copy link
Copy Markdown
Contributor Author

Hi @wsycqyz , @bpar9 , please review. rc is same as #15017

Copy link
Copy Markdown
Collaborator

@bpar9 bpar9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please edit the description to remove EDVT and Customer names similar to how its described in #15017

@AnantKishorSharma
Copy link
Copy Markdown
Contributor Author

Hi @wsycqyz , @bpar9 , please review. rc is same as #15017

done

Copy link
Copy Markdown
Collaborator

@bpar9 bpar9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Contributor

@wsycqyz wsycqyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lğtm

@kevinskwang
Copy link
Copy Markdown
Contributor

@AnantKishorSharma could you set enable_forwarding_route_counter in next image?

@AnantKishorSharma
Copy link
Copy Markdown
Contributor Author

@AnantKishorSharma could you set enable_forwarding_route_counter in next image?

@rajendrat , can we do that in next image?

@wsycqyz
Copy link
Copy Markdown
Contributor

wsycqyz commented Nov 12, 2024

@rajendrat Can you help close the conversation?

@StormLiangMS StormLiangMS merged commit ba00958 into sonic-net:master Nov 15, 2024
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 15, 2024
What is the motivation for this PR?
All 3 tests in test_static_route are failing on 8122.
Tests are failing because “show flowcnt-route stats“ does not show the 1 test pkt that the test has sent.
“show flowcnt-route stats“ does not show the test pkt because counter config itself failed.
Counter config failed because FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for 8122 but 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122.
'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122 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_static_route for 8122 platform

Type of change

-Test modification

Back port request

-202311
-202405

How did you verify/test it?
Ran test_static_router.py on 8122 and verified it was skipped.
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202405: #15576

mssonicbld pushed a commit that referenced this pull request Nov 15, 2024
What is the motivation for this PR?
All 3 tests in test_static_route are failing on 8122.
Tests are failing because “show flowcnt-route stats“ does not show the 1 test pkt that the test has sent.
“show flowcnt-route stats“ does not show the test pkt because counter config itself failed.
Counter config failed because FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for 8122 but 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122.
'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122 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_static_route for 8122 platform

Type of change

-Test modification

Back port request

-202311
-202405

How did you verify/test it?
Ran test_static_router.py on 8122 and verified it was skipped.
sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
What is the motivation for this PR?
All 3 tests in test_static_route are failing on 8122.
Tests are failing because “show flowcnt-route stats“ does not show the 1 test pkt that the test has sent.
“show flowcnt-route stats“ does not show the test pkt because counter config itself failed.
Counter config failed because FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for 8122 but 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122.
'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122 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_static_route for 8122 platform

Type of change

-Test modification

Back port request

-202311
-202405

How did you verify/test it?
Ran test_static_router.py on 8122 and verified it was skipped.
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
What is the motivation for this PR?
All 3 tests in test_static_route are failing on 8122.
Tests are failing because “show flowcnt-route stats“ does not show the 1 test pkt that the test has sent.
“show flowcnt-route stats“ does not show the test pkt because counter config itself failed.
Counter config failed because FLOW_COUNTER_CAPABILITY was enabled recently on ASIC/SDK side for 8122 but 'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122.
'enable_forwarding_route_counter' is not enabled on SONiC/asic_cfg.json on 8122 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_static_route for 8122 platform

Type of change

-Test modification

Back port request

-202311
-202405

How did you verify/test it?
Ran test_static_router.py on 8122 and verified it was skipped.
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.

6 participants