[action] [PR:18539] Skipped IPv6 Everflow tests on virtual switch to speed up PR test execution#18546
Merged
yejianquan merged 1 commit intosonic-net:202505from May 22, 2025
Merged
Conversation
What is the motivation for this PR? Everflow tests take a lot of time to execute. After adding IPv6 test cases (sonic-net#16836), the execution time has roughly doubled. Now it takes more than 2 hours to run all tests in everflow/test_everflow_testbed.py. Since these tests are part of PR tests, if they take too long to run, the PR test will be cancelled. This PR skips the IPv6 Everflow tests on KVM testbeds (which are used for PR tests) to address this issue. Note: The IPv6 Everflow tests will still run during nightly tests. How did you do it? Added a new pytest fixture that will skip the tests when erspan_ip_ver == 6 and the DUT is a virtual switch. How did you verify/test it? Ran the tests to ensure that the tests will be skipped when erspan_ip_ver == 6. Any platform specific information? Only applies to KVM testbeds ("vs" ASIC). Signed-off-by: Mahdi Ramezani <[email protected]>
11 tasks
Collaborator
Author
|
Original PR: #18539 |
Collaborator
Author
|
/azp run |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
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.
Description of PR
Summary:
This PR skips the IPv6 Everflow tests on KVM testbeds to improve PR test execution time.
Type of change
Back port request
Approach
What is the motivation for this PR?
Everflow tests take a lot of time to execute. After adding IPv6 test cases (#16836), the execution time has roughly doubled. Now it takes more than 2 hours to run all tests in
everflow/test_everflow_testbed.py. Since these tests are part of PR tests, if they take too long to run, the PR test will be cancelled. This PR skips the IPv6 Everflow tests on KVM testbeds (which are used for PR tests) to address this issue.Note: The IPv6 Everflow tests will still run during nightly tests.
How did you do it?
Added a new pytest fixture that will skip the tests when
erspan_ip_ver == 6and the DUT is a virtual switch.How did you verify/test it?
Ran the tests to ensure that the tests will be skipped when
erspan_ip_ver == 6.Any platform specific information?
Only applies to KVM testbeds ("vs" ASIC).
Supported testbed topology if it's a new test case?
N/A
Documentation
N/A