Add IPv6 TC to queue mapping test#10941
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:
|
|
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:
|
1ad5345 to
a45bef1
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:
|
a45bef1 to
fdf3fd8
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:
|
fdf3fd8 to
a11739f
Compare
a11739f to
d089312
Compare
|
@vmittal-msft will review |
|
@alpeshspatel / @rraghav-cisco for viz |
|
@saksarav-nokia to review |
|
@bktsim-arista PR conflicts with 202205 branch |
This change introduces an IPv6 test for TC to queue mapping in the QoS suite alongside the infrastructure needed to construct this test. Resolves sonic-net#10939
|
@bktsim-arista PR conflicts with 202305 branch |
|
Cherry-pick PR to 202311: #12088 |
This change introduces an IPv6 test for TC to queue mapping in the QoS suite alongside the infrastructure needed to construct this test. Resolves #10939
|
@bktsim-arista The change caused some regression for other test cases in test_qos_sai. Can you please fix it or revert this change? |
Downlink ports don't have BGP neighbors in case of T0, hence the above change is causing the key error. The proposed fix is to modify the testPorts dictionary with peer_addr_ipv6 only if it is defined.
Hi @bingwang-ms, this was fixed in #12334. |
* Regression introduced by: #10941 Downlink ports don't have BGP neighbors in case of T0, hence the above change is causing the key error. The proposed fix is to modify the testPorts dictionary with peer_addr_ipv6 only if it is defined.
|
@vivekverma-arista : So even if minigraph has ipv6 addresses, the new test will fail. Can you pls attach a passing log for this ? |
Hi @rraghav-cisco, we are skipping the test in master and 202311 #12834 |
What is the motivation for this PR? The new test is a poorly written IPV6 variant of testQosSaiDscpQueueMapping. It is expected to fail across all platforms/topolgies because qos/test_qos_sai.py cannot support IPV6 variant of any of it's testcase because IPV6 is disabled on the DUT by qos_sai_base.py: https://github.com/sonic-net/sonic-mgmt/blob/master/tests/qos/qos_sai_base.py#L1811-L1826 Also the changes made for this test touch class scoped fixtures which causes all the other testcases to error out as well. How did you do it? Revert #10941 as well as the following fixes that were made to get around the issue Fix qos/test_qos_sai.py #12334 Skip IPV6 variant of testQosSaiDscpQueueMapping if IPV6 is not config… #12834 How did you verify/test it? Verfied on T0, T1 and T0-dualTor, #126 was not seen.
* Revert PR10941 from master * Removed redundant statment and fixed other pylint errors
sonic-net#12980) * Revert PR10941 from master * Removed redundant statment and fixed other pylint errors
Summary:
This change introduces an IPv6 test for TC to queue mapping in the QoS suite alongside the infrastructure needed to construct this test. Resolves #10939
Type of change
Back port request
Approach
What is the motivation for this PR?
There is a missing test gap for IPv6 DSCP to TC queue mapping. This change introduces a test to fill this test gap by modifying an existing test DscpToQueueMapping which previously tested DSCP to TC queue mapping on IPv4 to also test it for IPv6.
How did you do it?
Modified existing
testQosSaiDscpQueueMappingto also test for IPv6, and added changes toactive_ip_interfacesto also fetch IPv6 addresses to be used in this test.How did you verify/test it?
Ran the test manually and it passed.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation