Skip to content

Set default kvm_support to False in ptf_runner#15380

Merged
wangxin merged 3 commits intosonic-net:masterfrom
xwjiang-ms:modify_ptf_runner_kvm_support_logic
Nov 7, 2024
Merged

Set default kvm_support to False in ptf_runner#15380
wangxin merged 3 commits intosonic-net:masterfrom
xwjiang-ms:modify_ptf_runner_kvm_support_logic

Conversation

@xwjiang-ms
Copy link
Contributor

@xwjiang-ms xwjiang-ms commented Nov 6, 2024

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

In PR #12598, we set default kvm_support to True in ptf_runner params, but most of tests do not support traffic test in KVM, to minimize code change in testcases, it's better to set default kvm_support to False

How did you do it?

Set default kvm_support to False and set kvm_support to True in tests currently running ptf_runner

How did you verify/test it?

Any platform specific information?

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

Documentation

@xwjiang-ms xwjiang-ms changed the title Modify kvm support logic in ptf runner Set default kvm_support to False in ptf_runner Nov 6, 2024
@wangxin wangxin merged commit 357c09a into sonic-net:master Nov 7, 2024
@xwjiang-ms xwjiang-ms deleted the modify_ptf_runner_kvm_support_logic branch November 7, 2024 07:49
veronica-arista pushed a commit to veronica-arista/sonic-mgmt that referenced this pull request Nov 7, 2024
What is the motivation for this PR?
In PR sonic-net#12598, we set default kvm_support to True in ptf_runner params, but most of tests do not support traffic test in KVM, to minimize code change in testcases, it's better to set default kvm_support to False

How did you do it?
Set default kvm_support to False and set kvm_support to True in tests currently running ptf_runner

How did you verify/test it?
sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
What is the motivation for this PR?
In PR sonic-net#12598, we set default kvm_support to True in ptf_runner params, but most of tests do not support traffic test in KVM, to minimize code change in testcases, it's better to set default kvm_support to False

How did you do it?
Set default kvm_support to False and set kvm_support to True in tests currently running ptf_runner

How did you verify/test it?
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
What is the motivation for this PR?
In PR sonic-net#12598, we set default kvm_support to True in ptf_runner params, but most of tests do not support traffic test in KVM, to minimize code change in testcases, it's better to set default kvm_support to False

How did you do it?
Set default kvm_support to False and set kvm_support to True in tests currently running ptf_runner

How did you verify/test it?
saiarcot895 added a commit to saiarcot895/sonic-mgmt that referenced this pull request Nov 26, 2024
Because of sonic-net#15380, PTF test script that didn't explicitly say that they
are supported on KVM no longer ran. Advanced reboot has at least partial
support for KVM, and we want it to run (for functionality purposes, at
least).

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-mgmt that referenced this pull request Nov 26, 2024
Because of sonic-net#15380, PTF test script that didn't explicitly say that they
are supported on KVM no longer ran. Advanced reboot has at least partial
support for KVM, and we want it to run (for functionality purposes, at
least).

Signed-off-by: Saikrishna Arcot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants