Refine testbedv2 pr template (#14371)
Description for the changelog Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
This commit is contained in:
parent
80d30daf88
commit
7509eb3bcd
@ -48,13 +48,13 @@ parameters:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
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/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
|
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 TestbedV2 scripts
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
pip install PyYAML
|
pip install PyYAML
|
||||||
rm -f new_test_plan_id.txt
|
rm -f new_test_plan_id.txt
|
||||||
python ./.azure-pipelines/test_plan.py create -t ${{ parameters.TOPOLOGY }} -o new_test_plan_id.txt \
|
python ./.azure-pipelines/test_plan.py create -t ${{ parameters.TOPOLOGY }} -o new_test_plan_id.txt \
|
||||||
@ -76,7 +76,7 @@ steps:
|
|||||||
displayName: Trigger test
|
displayName: Trigger test
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
echo "Lock testbed"
|
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 "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com"
|
||||||
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
||||||
@ -87,7 +87,7 @@ steps:
|
|||||||
displayName: Lock testbed
|
displayName: Lock testbed
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
echo "Prepare testbed"
|
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 "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 "If the progress keeps as 0 for more than 1 hour, please cancel and retry this pipeline"
|
||||||
@ -100,7 +100,7 @@ steps:
|
|||||||
displayName: Prepare testbed
|
displayName: Prepare testbed
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
echo "Run test"
|
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 "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com"
|
||||||
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
||||||
@ -111,7 +111,7 @@ steps:
|
|||||||
displayName: Run test
|
displayName: Run test
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
echo "KVM dump"
|
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 "TestbedV2 is just online and might not be stable enough, for any issue, please send email to sonictestbedtools@microsoft.com"
|
||||||
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID "
|
||||||
@ -123,7 +123,7 @@ steps:
|
|||||||
displayName: KVM dump
|
displayName: KVM dump
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -e
|
||||||
echo "Try to cancel test plan $TEST_PLAN_ID, cancelling finished test plan has no effect."
|
echo "Try to cancel test plan $TEST_PLAN_ID, cancelling finished test plan has no effect."
|
||||||
python ./.azure-pipelines/test_plan.py cancel -i "$(TEST_PLAN_ID)"
|
python ./.azure-pipelines/test_plan.py cancel -i "$(TEST_PLAN_ID)"
|
||||||
condition: always()
|
condition: always()
|
||||||
|
Reference in New Issue
Block a user