Skip to content

Skipped IPv6 Everflow tests on virtual switch to speed up PR test execution#18539

Merged
wangxin merged 1 commit intosonic-net:masterfrom
mramezani95:mramezani/skip_everflow_ipv6
May 22, 2025
Merged

Skipped IPv6 Everflow tests on virtual switch to speed up PR test execution#18539
wangxin merged 1 commit intosonic-net:masterfrom
mramezani95:mramezani/skip_everflow_ipv6

Conversation

@mramezani95
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
This PR skips the IPv6 Everflow tests on KVM testbeds to improve PR test execution time.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

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 == 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).

Supported testbed topology if it's a new test case?

N/A

Documentation

N/A

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit 87c8063 into sonic-net:master May 22, 2025
13 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request May 22, 2025
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]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #18546

yejianquan pushed a commit that referenced this pull request May 22, 2025
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 == 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]>
Co-authored-by: mramezani95 <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request May 22, 2025
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]>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
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]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
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]>
Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
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]>
Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
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]>
Signed-off-by: Guy Shemesh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants