add IPv6 routing tests converted from SAI PTF#288
Open
illia-smulskyi wants to merge 5 commits into
Open
Conversation
Signed-off-by: Illia Smulskyi <illia.smulskyi@plvision.eu>
4e88d5c to
3fff550
Compare
Signed-off-by: Illia Smulskyi <illia.smulskyi@plvision.eu>
Signed-off-by: Illia Smulskyi <illia.smulskyi@plvision.eu>
Signed-off-by: Illia Smulskyi <illia.smulskyi@plvision.eu>
Signed-off-by: Illia Smulskyi <illia.smulskyi@plvision.eu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Convert 9 test cases from SAI PTF to SAI Challenger:
Source reference
PTF test cases were ported from:
usecases/sai-ptf/SAI/test/saithrift/tests/sail3.pyRun all IPv6 routing tests
./exec.sh -t saivs pytest --testbed=saivs_standalone -v -k "test_ipv6_route"Test results (saivs standalone)
======================= test session starts =========================
platform linux -- Python 3.11.2, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.11.2', 'Platform': 'Linux-6.17.0-22-generic-x86_64-with-glibc2.36', 'Packages': {'pytest': '9.0.3', 'pluggy': '1.6.0'}, 'Plugins': {'metadata': '3.1.1', 'html': '4.2.0', 'dependency': '0.6.1'}}
rootdir: /sai-challenger/tests
configfile: pytest.ini
plugins: metadata-3.1.1, html-4.2.0, dependency-0.6.1
collected 1514 items / 1505 deselected / 9 selected
test_ipv6_route.py::test_ipv6_host_route PASSED [ 11%]
test_ipv6_route.py::test_ipv6_lpm_route PASSED [ 22%]
test_ipv6_route.py::test_ipv6_prefix_lengths PASSED [ 33%]
test_ipv6_route.py::test_ipv6_ecmp_host PASSED [ 44%]
test_ipv6_route.py::test_ipv6_ecmp_lpm PASSED [ 55%]
test_ipv6_route.py::test_ipv6_lag_route PASSED [ 66%]
test_ipv6_route.py::test_ipv6_neighbor_mac_update PASSED [ 77%]
test_ipv6_route.py::test_ipv6_neighbor_fdb_ageout PASSED [ 88%]
test_ipv6_route.py::test_ipv6_ecmp_group_member_update PASSED [100%]
===================== 9 passed, 1505 deselected in 22.33s ==============