-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
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
[acl][L3V4V6] PTF test for ACL table type L3V4V6 #9565
base: master
Are you sure you want to change the base?
Conversation
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
181102c
to
13a8cf9
Compare
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
13a8cf9
to
bb11a86
Compare
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
67f87e0
to
fa62322
Compare
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
fa62322
to
90a72d6
Compare
Unrelated test failure. FAILED bgp/test_bgp_bbr.py::test_bbr_enabled_dut_asn_in_aspath - Failed: Chec... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! =================== 1 failed, 1 warning in 127.00s (0:02:06) =================== > pytest_assert(not failed_results, 'Checking route {} failed, failed_results: {}' .format(str(route), json.dumps(failed_results, indent=2))) E Failed: Checking route Route(prefix='172.16.10.0/24', nexthop='10.0.0.32', aspath='65100 64101') failed, failed_results: { |
90a72d6
to
f7a2491
Compare
f7a2491
to
3b70eb9
Compare
Unrelated failures:The two failed tests are due to flakiness in the test infra and are NOT related to the code changes. I have added the details below. @bingwang-ms Please help review these tests and also rerun /azp run Azure.sonic-mgmt. Test kvmtest-t0 by Elastictest
route/test_duplicate_route.py::test_duplicate_routes[4-Loopback-vlab-01-None] -------------------------------- live log setup -------------------------------- 14:26:58 __init__._fixture_generator_decorator L0088 ERROR | TypeError("generate_intf_neigh() missing 2 required positional arguments: 'mg_facts' and 'is_backend_topology'") Traceback (most recent call last): File "/var/src/sonic-mgmt/tests/common/plugins/log_section_start/__init__.py", line 84, in _fixture_generator_decorator res = next(it) File "/var/src/sonic-mgmt/tests/route/test_duplicate_route.py", line 123, in setup_routes intf_neighs, str_intf_nexthop = generate_intf_neigh( TypeError: generate_intf_neigh() missing 2 required positional arguments: 'mg_facts' and 'is_backend_topology' ERROR [ 25%] route/test_duplicate_route.py::test_duplicate_routes[4-Loopback-vlab-01-None] ERROR [ 25%]Wednesday 17 April 2024 14:27:03 +0000 (0:00:06.812) 0:00:54.336 ******* |
1 similar comment
Unrelated failures:The two failed tests are due to flakiness in the test infra and are NOT related to the code changes. I have added the details below. @bingwang-ms Please help review these tests and also rerun /azp run Azure.sonic-mgmt. Test kvmtest-t0 by Elastictest
route/test_duplicate_route.py::test_duplicate_routes[4-Loopback-vlab-01-None] -------------------------------- live log setup -------------------------------- 14:26:58 __init__._fixture_generator_decorator L0088 ERROR | TypeError("generate_intf_neigh() missing 2 required positional arguments: 'mg_facts' and 'is_backend_topology'") Traceback (most recent call last): File "/var/src/sonic-mgmt/tests/common/plugins/log_section_start/__init__.py", line 84, in _fixture_generator_decorator res = next(it) File "/var/src/sonic-mgmt/tests/route/test_duplicate_route.py", line 123, in setup_routes intf_neighs, str_intf_nexthop = generate_intf_neigh( TypeError: generate_intf_neigh() missing 2 required positional arguments: 'mg_facts' and 'is_backend_topology' ERROR [ 25%] route/test_duplicate_route.py::test_duplicate_routes[4-Loopback-vlab-01-None] ERROR [ 25%]Wednesday 17 April 2024 14:27:03 +0000 (0:00:06.812) 0:00:54.336 ******* |
/azp run Azure.sonic-mgmt |
1 similar comment
/azp run Azure.sonic-mgmt |
Commenter does not have sufficient privileges for PR 9565 in repo sonic-net/sonic-mgmt |
1 similar comment
Commenter does not have sufficient privileges for PR 9565 in repo sonic-net/sonic-mgmt |
Hi @rck-innovium Sorry I missed this review. Can you please let me know if the PR in sonic-swss has been merged? And can you please paste the test result into the PR, including both T0 and T1 topology? |
The code PRs have been merged in 202305 release. T0 Results:
T1 Results:
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
1 similar comment
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
ACL test-cases based on test plan for L3V4V6 type ACL table Refer Test Plan: sonic-net#8178 A new script test_acl_l3v4v6.py is added based on existing test_acl.py. This is to help parallel execution. Major changes from test_acl.py are: [1] Skip unsupported platforms based on STATE_DB capability checks [2] Add templates that have 'ethertype' to distinguish b/w v4 and v6 rules [3] Remove unsupported matches like L4 port ACL ranges Signed-off-by: Ravi Marvell [email protected]
Dual-tor tests are unstable (inconsistent mux status). The new scripts are not even enabled for Dual-TOR! Please see the details below and help suggest the way forward. test_pretest|||vms-kvm-dual-t0_117804 E Failed: !!!!!!!!!!!!!!!! Pre-test sanity check after recovery failed: !!!!!!!!!!!!!!!! E [ E { E "failed": true, E "failed_reason": "Inconsistent mux status for active-standby ports on dualtors, please check output of \"show mux status\"", E "check_item": "mux_simulator", E "action": "<not serializable>", E "hosts": [ E "vlab-05", E "vlab-06" E ] E } E ] |
/azpw run Azure.sonic-mgmt |
/AzurePipelines run Azure.sonic-mgmt |
Azure Pipelines successfully started running 1 pipeline(s). |
Description of PR
ACL test-cases based on test plan for L3V4V6 type ACL table
Refer Test Plan: #8178
Signed-off-by: Ravi Marvell [email protected]
Summary:
Fixes # New Feature
Type of change
Back port request
Approach
What is the motivation for this PR?
ACL test-cases based on test plan for L3V4V6 type ACL table
How did you do it?
Based on community feedback, a new script test_acl_l3v4v6.py is added based on existing test_acl.py. This is to help parallel execution and avoid and PTF scale issues when we send a lot of small packet frames.
How did you verify/test it?
Ran the tests on supported platform (Marvell)
Any platform specific information?
Test cases are run/skipped based on platform capability
Supported testbed topology if it's a new test case?
t0, t1
Documentation
https://github.com/sonic-net/sonic-mgmt/blob/master/docs/testplan/Extend_L3V6ACL_test_plan.md