Everflow T2 topo support and ipv6 egress tests#6225
Everflow T2 topo support and ipv6 egress tests#6225judyjoseph merged 2 commits intosonic-net:masterfrom
Conversation
|
|
|
This pull request fixes 1 alert when merging 39d221c644ebaa3c7d1be55bd70faadd469f7e85 into 8f5c6b6 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 747dce9569afea68499fdf0c22d9e43ee4d83adb into 4c8a35b - view on LGTM.com fixed alerts:
|
|
@tcusto please resolve the conflicts. |
|
This pull request fixes 1 alert when merging 44084bdc93d46dd93d01f0fde9b1081c78129102 into c4e4498 - view on LGTM.com fixed alerts:
|
|
This pull request introduces 4 alerts and fixes 1 when merging 5d76a42bc9882a97c1ae119a3b7397e37aaa9e85 into a5490f6 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request introduces 4 alerts and fixes 1 when merging 858eed3 into 9074e57 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request fixes 1 alert when merging fbb8674 into 9074e57 - view on LGTM.com fixed alerts:
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
|
||
| @staticmethod | ||
| def get_expected_mirror_packet(mirror_session, setup, duthost, mirror_packet, check_ttl): | ||
| def get_expected_mirror_packet(mirror_session, setup, duthost, mirror_packet, check_ttl, router_mac=None): |
There was a problem hiding this comment.
Do we need this additional argument router_mac ? As I see the original parameter is also set from the setup as following gre_pkt_src_mac = setup['router_mac']
judyjoseph
left a comment
There was a problem hiding this comment.
LGTM, it would be great if we raise PR per testcase as the changes are huge.
* Everflow T2 topo support and ipv6 egress tests
What is the motivation for this PR? This PR #6225 introduced one issue for T0/T1. The pytest will be crashed when running everflow test. The reason is because the implementation of one fixture, setup_recycle_port, which include the yield but not run into the yield for non t2 case, which will hit one known issue of pytest, which is fixed in newer version of pytest but not in what we are using now. pytest-dev/pytest#7061 How did you do it? Change the condition to make sure the yield would be executed How did you verify/test it? Run everflow test. Any platform specific information? Supported testbed topology if it's a new test case?
What is the motivation for this PR? This PR #6225 introduced one issue for T0/T1. The pytest will be crashed when running everflow test. The reason is because the implementation of one fixture, setup_recycle_port, which include the yield but not run into the yield for non t2 case, which will hit one known issue of pytest, which is fixed in newer version of pytest but not in what we are using now. pytest-dev/pytest#7061 How did you do it? Change the condition to make sure the yield would be executed How did you verify/test it? Run everflow test. Any platform specific information? Supported testbed topology if it's a new test case?
What is the motivation for this PR? everflow test is failing after PR #6225. How did you do it? Topology type are more than t2/t0/t1. !(t2) doesn't mean either T0 or T1. This PR fixes the branch error. How did you verify/test it? Run everflow test on test that is not T0/T1/T2. Signed-off-by: Ying Xie ying.xie@microsoft.com
What is the motivation for this PR? everflow test is failing after PR #6225. How did you do it? Topology type are more than t2/t0/t1. !(t2) doesn't mean either T0 or T1. This PR fixes the branch error. How did you verify/test it? Run everflow test on test that is not T0/T1/T2. Signed-off-by: Ying Xie ying.xie@microsoft.com
This reverts commit c3f0980.
* Everflow T2 topo support and ipv6 egress tests
What is the motivation for this PR? This PR sonic-net#6225 introduced one issue for T0/T1. The pytest will be crashed when running everflow test. The reason is because the implementation of one fixture, setup_recycle_port, which include the yield but not run into the yield for non t2 case, which will hit one known issue of pytest, which is fixed in newer version of pytest but not in what we are using now. pytest-dev/pytest#7061 How did you do it? Change the condition to make sure the yield would be executed How did you verify/test it? Run everflow test. Any platform specific information? Supported testbed topology if it's a new test case?
What is the motivation for this PR? everflow test is failing after PR sonic-net#6225. How did you do it? Topology type are more than t2/t0/t1. !(t2) doesn't mean either T0 or T1. This PR fixes the branch error. How did you verify/test it? Run everflow test on test that is not T0/T1/T2. Signed-off-by: Ying Xie ying.xie@microsoft.com
* Revert "[everflow] address testbed setup type checking issue (sonic-net#6609)" This reverts commit b55fe7f. * Revert "everflow test case fix (sonic-net#6561)" This reverts commit b497aa0. * Revert "Everflow T2 topo support and ipv6 egress tests (sonic-net#6225)" This reverts commit c3f0980.
Description of PR
This change adds support for running everflow on T2 chassis with multiple line cards.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Run everflow tests on T2 topology with chassis architecture. Also added Egress ACL/Egress mirroring tests to ipv6 test script, which were missing before.
How did you do it?
How did you verify/test it?
Ran against chassis with T2 min and full T2 topology.
test_verflow_ipv6.py:
=========================== short test summary info ============================
================== 40 passed, 106 warnings in 284.10 seconds ===================
test_everflow_testbed.py:
=========================== short test summary info ============================
SKIPPED [16] /data/tests/everflow/everflow_test_utilities.py:754: ingress ACL w/ egress Mirroring not supported, skipping
SKIPPED [4] /data/tests/everflow/test_everflow_testbed.py:404: Mirror port is always recycle port in T2, so the mirror port can't be controlled as in this test case.
SKIPPED [4] /data/tests/everflow/everflow_test_utilities.py:671: Skipping test since mirror policing is not supported on broadcom dnx platforms
SKIPPED [16] /data/tests/everflow/everflow_test_utilities.py:754: egress ACL w/ ingress Mirroring not supported, skipping
=========== 24 passed, 40 skipped, 1586 warnings in 2678.66 seconds ============
Any platform specific information?
I have only verified T2 multiasic cards.
Supported testbed topology if it's a new test case?
T2.
Documentation