forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI/CD] Refine pr test definition, remove old test jobs and testbedv2…
… flags (sonic-net#15305)
- Loading branch information
1 parent
1677048
commit dd989a6
Showing
2 changed files
with
20 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ steps: | |
set -ex | ||
wget -O ./.azure-pipelines/test_plan.py https://raw.githubusercontent.com/sonic-net/sonic-mgmt/master/.azure-pipelines/test_plan.py | ||
wget -O ./.azure-pipelines/pr_test_scripts.yaml https://raw.githubusercontent.com/sonic-net/sonic-mgmt/master/.azure-pipelines/pr_test_scripts.yaml | ||
displayName: Download TestbedV2 scripts | ||
displayName: Download test plan scripts | ||
- script: | | ||
set -ex | ||
|
@@ -78,7 +78,7 @@ steps: | |
- script: | | ||
set -ex | ||
echo "Lock testbed" | ||
echo "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com" | ||
echo "SONiC PR system-level test is powered by SONiC Elastictest, for any issue, please send email to sonicelastictest@microsoft.com" | ||
echo "Runtime detailed progress at $(FRONTEND_URL)/scheduler/testplan/$TEST_PLAN_ID " | ||
# When "LOCK_TESTBED" finish, it changes into "PREPARE_TESTBED" | ||
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state LOCK_TESTBED | ||
|
@@ -89,9 +89,8 @@ steps: | |
- script: | | ||
set -ex | ||
echo "Prepare testbed" | ||
echo "Preparing the testbed(add-topo, deploy-mg) may take 15-30 minutes. Before the testbed is ready, the progress of the test plan keeps displayed as 0, please be patient(We will improve the indication in a short time)" | ||
echo "If the progress keeps as 0 for more than 1 hour, please cancel and retry this pipeline" | ||
echo "TestbedV2 is just online and might not be stable enough, for any issue, please send email to [email protected]" | ||
echo "Preparing the testbed(add-topo, deploy-mg) may take 15-30 minutes. Before the testbed is ready, the progress of the test plan keeps displayed as 0, please be patient" | ||
echo "SONiC PR system-level test is powered by SONiC Elastictest, for any issue, please send email to [email protected]" | ||
echo "Runtime detailed progress at $(FRONTEND_URL)/scheduler/testplan/$TEST_PLAN_ID " | ||
# When "PREPARE_TESTBED" finish, it changes into "EXECUTING" | ||
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state PREPARE_TESTBED | ||
|
@@ -102,7 +101,7 @@ steps: | |
- script: | | ||
set -ex | ||
echo "Run test" | ||
echo "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com" | ||
echo "SONiC PR system-level test is powered by SONiC Elastictest, for any issue, please send email to sonicelastictest@microsoft.com" | ||
echo "Runtime detailed progress at $(FRONTEND_URL)/scheduler/testplan/$TEST_PLAN_ID " | ||
# When "EXECUTING" finish, it changes into "KVMDUMP", "FAILED", "CANCELLED" or "FINISHED" | ||
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state EXECUTING | ||
|
@@ -113,7 +112,7 @@ steps: | |
- script: | | ||
set -ex | ||
echo "KVM dump" | ||
echo "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com" | ||
echo "SONiC PR system-level test is powered by SONiC Elastictest, for any issue, please send email to sonicelastictest@microsoft.com" | ||
echo "Runtime detailed progress at $(FRONTEND_URL)/scheduler/testplan/$TEST_PLAN_ID " | ||
# When "KVMDUMP" finish, it changes into "FAILED", "CANCELLED" or "FINISHED" | ||
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state KVMDUMP | ||
|
This file contains 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