fix: correct DUT variable name in startup tsa pretest#18699
fix: correct DUT variable name in startup tsa pretest#18699yejianquan merged 1 commit intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
LGTM |
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead.
|
Cherry-pick PR to 202505: #18711 |
|
Cherry-pick PR to msft-202405: Azure/sonic-mgmt.msft#344 |
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in #17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead.
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead.
|
I see this PR is merged into |
Will fix asap |
Revert PR: Azure/sonic-mgmt.msft#359 |
… tsa pretest (#344)" (#359) This reverts commit 7551587. I thought we cherry picked the multithreading run of pretest PR (sonic-net/sonic-mgmt#17493) into msft.202405 but we never did, so the PR sonic-net/sonic-mgmt#18699 should never be cherry picked into msft.202405 as it's only a fix when test_pretest.py runs with multithreading. In msft.202405 branch, we are running test_pretest.py (e.g. test_disable_startup_tsa_tsb_service()) in a normal for loop: https://github.com/Azure/sonic-mgmt.msft/blob/202405/tests/test_pretest.py#L385, so we should use duthost instead of dut
|
@vkjammala-arista Revert PR merged, sorry for the confusion and inconvenience. Thanks @yejianquan for merging! |
Thanks @cyw233 for the very quick resolution. |
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead. Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead. Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead. Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead.
Description of PR Fix the dut variable name in test_disable_startup_tsa_tsb_service() in test_pretest.py added in sonic-net#17247 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? When using multithreading parallel run, we cannot refer to the duthost variable, we need to use dut instead. Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
Description of PR
Fix the dut variable name in
test_disable_startup_tsa_tsb_service()intest_pretest.pyadded in #17247Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
When using multithreading parallel run, we cannot refer to the
duthostvariable, we need to usedutinstead.How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation