Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 97 additions & 21 deletions .azure-pipelines/run-test-scheduler-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ parameters:
type: string
default: 1

- name: NUM_ASIC
type: number
default: 1

- name: TEST_SET
type: string
default: ""
Expand All @@ -26,21 +30,81 @@ parameters:
type: string
default: ""

- name: MGMT_BRANCH
- name: COMMON_EXTRA_PARAMS
type: string
default: master
default: ""

- name: VM_TYPE
type: string
default: "ceos"

- name: COMMON_EXTRA_PARAMS
- name: TESTBED_NAME
type: string
default: ""

- name: NUM_ASIC
- name: IMAGE_URL
type: string
default: ""

- name: HWSKU
type: string
default: ""

- name: TEST_PLAN_TYPE
type: string
default: ""

- name: PLATFORM
type: string
default: ""

- name: SCRIPTS
type: string
default: ""

- name: FEATURES
type: string
default: ""

- name: SCRIPTS_EXCLUDE
type: string
default: ""

- name: FEATURES_EXCLUDE
type: string
default: ""

- name: REPO_NAME
type: string
default: ""

- name: MGMT_BRANCH
type: string
default: ""

- name: STOP_ON_FAILURE
type: string
default: ""

- name: RETRY_TIMES
type: string
default: ""

- name: DUMP_KVM_IF_FAIL
type: string
default: "True"
values:
- "True"
- "False"

- name: REQUESTER
type: string
default: ""

- name: MAX_RUN_TEST_MINUTES
type: number
default: 1
default: 480


steps:
- script: |
Expand All @@ -54,10 +118,20 @@ steps:
set -e
pip install PyYAML
rm -f new_test_plan_id.txt
python ./.azure-pipelines/test_plan.py create -t ${{ parameters.TOPOLOGY }} -o new_test_plan_id.txt --min-worker ${{ parameters.MIN_WORKER }} --max-worker ${{ parameters.MAX_WORKER }} \
--test-set ${{ parameters.TEST_SET }} --kvm-build-id $(KVM_BUILD_ID) \
--deploy-mg-extra-params "${{ parameters.DEPLOY_MG_EXTRA_PARAMS }}" --mgmt-branch ${{ parameters.MGMT_BRANCH }} \
--vm-type ${{ parameters.VM_TYPE }} --common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" --num-asic ${{ parameters.NUM_ASIC }}

python ./.azure-pipelines/test_plan.py create \
-t ${{ parameters.TOPOLOGY }} \
-o new_test_plan_id.txt \
--min-worker ${{ parameters.MIN_WORKER }} \
--max-worker ${{ parameters.MAX_WORKER }} \
--test-set ${{ parameters.TEST_SET }} \
--kvm-build-id $(KVM_BUILD_ID) \
--deploy-mg-extra-params "${{ parameters.DEPLOY_MG_EXTRA_PARAMS }}" \
--mgmt-branch ${{ parameters.MGMT_BRANCH }} \
--vm-type ${{ parameters.VM_TYPE }} \
--common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" \
--num-asic ${{ parameters.NUM_ASIC }}

TEST_PLAN_ID=`cat new_test_plan_id.txt`

echo "Created test plan $TEST_PLAN_ID"
Expand Down Expand Up @@ -103,18 +177,20 @@ steps:
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: Run test

- script: |
set -e
echo "KVM dump"
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 "KVMDUMP" finish, it changes into "FAILED", "CANCELLED" or "FINISHED"
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state KVMDUMP
condition: succeededOrFailed()
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: KVM dump
timeoutInMinutes: ${{ parameters.MAX_RUN_TEST_MINUTES }}

- ${{ if eq(parameters.DUMP_KVM_IF_FAIL, 'True') }}:
- script: |
set -e
echo "KVM dump"
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 "KVMDUMP" finish, it changes into "FAILED", "CANCELLED" or "FINISHED"
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state KVMDUMP
condition: succeededOrFailed()
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: KVM dump

- script: |
set -e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ libnl-genl-3-dev==3.5.0-1
libnl-nf-3-200==3.5.0-1
libnl-nf-3-dev==3.5.0-1
libnl-route-3-dev==3.5.0-1
libsaibcm==7.1.36.4
libsaibcm-dev==7.1.36.4
libsaibcm==7.1.50.4
libsaibcm-dev==7.1.50.4
libsaimetadata==1.0.0
libsaimetadata-dev==1.0.0
libsairedis==1.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
libnl-3-200==3.5.0-1
libnl-route-3-200==3.5.0-1
linux-headers-5.10.0-18-2-armmp==5.10.140-1
linux-headers-5.10.0-18-2-armmp==5.10.140-1
mrvllibsai==1.10.2-4

This file was deleted.

12 changes: 6 additions & 6 deletions files/build/versions/default/versions-git
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
https://chromium.googlesource.com/chromium/tools/depot_tools.git==522e12caff136406943edbf7c025821681c05749
https://chromium.googlesource.com/chromium/tools/depot_tools.git==c5305b39f473d64ddcb313a22584e22666b1da3b
https://github.com/aristanetworks/swi-tools.git==b5f087e4774168bf536360d43c9c509c8f14ad9f
https://github.com/CESNET/libyang.git==ea94c8b9f513f8a6ddc6ce1540fa41eaf4c8922a
https://github.com/daveolson53/audisp-tacplus.git==559c9f22edd4f2dea0ecedffb3ad9502b12a75b6
https://github.com/daveolson53/libnss-tacplus.git==19008ab68d9d504aa58eb34d5f564755a1613b8b
https://github.com/dyninc/OpenBFDD.git==e35f43ad8d2b3f084e96a84c392528a90d05a287
https://github.com/flashrom/flashrom.git==885f7923265e4e48f4bfc109f3723bb9167b75bc
https://github.com/FreeRADIUS/freeradius-server.git==7832608debf040d46117012a547475ae79c99c8d
https://github.com/flashrom/flashrom.git==1ee04cd5ac8bb636182d9d7c259110638b83c8b1
https://github.com/FreeRADIUS/freeradius-server.git==185121a256d0304c296bb8d26fb5b0df55f4dedf
https://github.com/FreeRADIUS/pam_radius.git==8d373539bb9f13b0abfe8bcae0095a930a00fad0
https://github.com/jeroennijhof/pam_tacplus.git==4284d9016e64def2bb81d5f50f96dc3b59bfdc39
https://github.com/jpirko/libteam.git==61e27812c1074a865d7e1a778c0ce442837c28d7
https://github.com/lguohan/gnxi.git==f2b11e45b16ab13485ae14933f30c18ee6336499
https://github.com/jpirko/libteam.git==7cb5de8b01be132bd4150eff460bfd83296414b6
https://github.com/lguohan/gnxi.git==b85e4ab565df4472fdcfcded2a53e6bf57aa493f
https://github.com/Marvell-switching/mrvl-prestera.git==179c08b0544db0b3a95a843e31266e00a68fb4b0
https://github.com/Mellanox/libpsample.git==62bb27d9a49424e45191eee81df7ce0d8c74e774
https://github.com/opencomputeproject/SAI.git==e06d81e955ef7be957226f80ba98363b61595dfc
https://github.com/opencomputeproject/SAI.git==d626d562a690424ab78b3c51a532ff74c5bf53f6
https://github.com/p4lang/scapy-vxlan.git==85ffe83da156568ee47a0750f638227e6e1d7479
https://github.com/sflow/host-sflow==4dc68a95fa57758119d76e42965b32493ffd7094
https://github.com/sflow/sflowtool==4ce1223bb4c2cd0cbb1dd688dc0914561fcbb6c4
Expand Down
20 changes: 10 additions & 10 deletions files/build/versions/default/versions-mirror
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
deb.nodesource.com_node%5f14.x_dists_bullseye==2023-02-17T00:35:28Z
deb.nodesource.com_node%5f14.x_dists_buster==2023-02-17T00:35:28Z
debian==20230620T000414Z
debian-security==20230620T000233Z
debian==20230627T000209Z
debian-security==20230627T000210Z
download.docker.com_linux_debian_dists_bullseye==2023-06-09T17:17:20Z
download.docker.com_linux_debian_dists_buster==2023-05-26T07:49:38Z
packages.microsoft.com_repos_sonic-dev_dists_jessie==2022-10-31T19:34:29Z
packages.trafficmanager.net_snapshot_debian-security_20230620T000233Z_dists_bullseye-security==2023-06-19T23:23:18Z
packages.trafficmanager.net_snapshot_debian-security_20230620T000233Z_dists_buster_updates==2023-06-19T23:23:18Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_bullseye==2023-06-10T08:52:21Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_bullseye-backports==2023-06-19T20:13:05Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_bullseye-updates==2023-06-19T20:13:05Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_buster==2023-06-10T08:53:33Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_buster-backports==2023-06-19T20:13:05Z
packages.trafficmanager.net_snapshot_debian_20230620T000414Z_dists_buster-updates==2023-06-10T08:55:10Z
packages.trafficmanager.net_snapshot_debian-security_20230627T000210Z_dists_bullseye-security==2023-06-26T15:52:30Z
packages.trafficmanager.net_snapshot_debian-security_20230627T000210Z_dists_buster_updates==2023-06-26T15:52:30Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_bullseye==2023-06-10T08:52:21Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_bullseye-backports==2023-06-26T20:30:29Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_bullseye-updates==2023-06-26T20:30:29Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_buster==2023-06-10T08:53:33Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_buster-backports==2023-06-26T20:30:29Z
packages.trafficmanager.net_snapshot_debian_20230627T000209Z_dists_buster-updates==2023-06-10T08:55:10Z
6 changes: 3 additions & 3 deletions files/build/versions/default/versions-web
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ https://sonicstorage.blob.core.windows.net/public/fips/bullseye/0.7/arm64/python
https://sonicstorage.blob.core.windows.net/public/fips/bullseye/0.7/arm64/python3.9_3.9.2-1+fips_arm64.deb==4d6307dabcd3060235d6188cfa0346b8
https://sonicstorage.blob.core.windows.net/public/fips/bullseye/0.7/arm64/symcrypt-openssl_0.7_arm64.deb==f25f73823a0f22805b8e0be43bef190f
https://sonicstorage.blob.core.windows.net/public/sai/bcmpai/REL_3.8/3.8/libsaibroncos_3.8_amd64.deb==f7c3f0ed8c97c2572e3c2e59faaae4a8
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.36.4/libsaibcm-dev_7.1.36.4_amd64.deb==9bc69f9e35c2ff72e681af4d0b7d2606
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.36.4/libsaibcm_7.1.36.4_amd64.deb==cb86b76aa2fa44fcfc37a64c1b93f2ad
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.42.4/libsaibcm_dnx_7.1.42.4_amd64.deb==bd8126337938bfd96befbb72838f8d8f
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.50.4/libsaibcm-dev_7.1.50.4_amd64.deb==5b4c10f3df645d05a6bb876b0d5fd61c
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.50.4/libsaibcm_7.1.50.4_amd64.deb==51506d41880592a7b9ae2f0b13b2c14f
https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/REL_7.0_202205/7.1.50.4/libsaibcm_dnx_7.1.50.4_amd64.deb==147113a4e1d6ef70cc6079779687dd59
https://storage.googleapis.com/golang/go1.14.2.linux-amd64.tar.gz==856d248e3ea8a287d13e5f6afd086282
https://storage.googleapis.com/golang/go1.14.2.linux-arm64.tar.gz==e5f79b403701e00f20d13f0ea561b064
https://storage.googleapis.com/golang/go1.14.2.linux-armv6l.tar.gz==04467414e783b18de4278e9f24baf4be
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ libdaemon0==0.14-7
libdbus-1-3==1.12.24-0+deb10u1
libestr0==0.1.10-2.1
libexpat1==2.2.6-2+deb10u6
libfastjson4==0.99.8-2
libfastjson4==0.99.8-2+deb10u1
libgdbm-compat4==1.18.1-4
libgdbm6==1.18.1-4
libgssapi-krb5-2==1.17-3+deb10u5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ libtirpc-dev==1.3.1-1+deb11u1
libtsan0==10.2.1-6
libubsan1==10.2.1-6
libunwind8==1.3.2-2
libx11-6==2:1.7.2-1
libx11-data==2:1.7.2-1
libx11-6==2:1.7.2-1+deb11u1
libx11-data==2:1.7.2-1+deb11u1
libxau6==1:1.0.9-1
libxcb-render0==1.14-3
libxcb-shm0==1.14-3
Expand Down
14 changes: 7 additions & 7 deletions files/build/versions/dockers/docker-ptf/versions-deb-buster
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ libasan5==8.3.0-6
libassuan0==2.5.2-1
libatomic1==8.3.0-6
libauthen-sasl-perl==2.1600-1
libavahi-client3==0.7-4+deb10u2
libavahi-common-data==0.7-4+deb10u2
libavahi-common3==0.7-4+deb10u2
libavahi-client3==0.7-4+deb10u3
libavahi-common-data==0.7-4+deb10u3
libavahi-common3==0.7-4+deb10u3
libbabeltrace1==1.5.6-2+deb10u1
libbinutils==2.31.1-16
libblas3==3.8.0-2
Expand Down Expand Up @@ -118,7 +118,7 @@ libevent-pthreads-2.1-6==2.1.8-stable-4
libexpat1==2.2.6-2+deb10u6
libexpat1-dev==2.2.6-2+deb10u6
libfakeroot==1.23-1
libfastjson4==0.99.8-2
libfastjson4==0.99.8-2+deb10u1
libffi-dev==3.2.1-9
libfile-basedir-perl==0.08-1
libfile-desktopentry-perl==0.22-1
Expand Down Expand Up @@ -324,10 +324,10 @@ libwoff1==1.0.2-1
libwrap0==7.6.q-28
libwww-perl==6.36-2
libwww-robotrules-perl==6.02-1
libx11-6==2:1.6.7-1+deb10u2
libx11-data==2:1.6.7-1+deb10u2
libx11-6==2:1.6.7-1+deb10u3
libx11-data==2:1.6.7-1+deb10u3
libx11-protocol-perl==0.56-7
libx11-xcb1==2:1.6.7-1+deb10u2
libx11-xcb1==2:1.6.7-1+deb10u3
libxau6==1:1.0.8-1+b2
libxaw7==2:1.0.13-1+b2
libxcb-dri2-0==1.13.1-2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ libicu67==67.1-7
libipt2==2.0.3-1
libkmod2==28-1
libmpfr6==4.1.0-3
libsaibcm==7.1.36.4
libsaibcm==7.1.50.4
libsaithrift-dev==0.9.4
libsource-highlight-common==3.1.9-3
libsource-highlight4v5==3.1.9-3+b1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ libboost-system1.71.0==1.71.0-6~bpo10+1
libboost-thread1.71.0==1.71.0-6~bpo10+1
libbpf0==1:0.3-2~bpo10+1
libbsd0==0.9.1-2+deb10u1
libc-ares2==1.14.0-1+deb10u2
libc-ares2==1.14.0-1+deb10u3
libc-dev-bin==2.28-10+deb10u2
libc6-dev==2.28-10+deb10u2
libcairo-gobject2==1.16.0-4+deb10u1
Expand Down Expand Up @@ -148,9 +148,9 @@ libteamdctl0==1.30-1
libtsan0==8.3.0-6
libubsan1==8.3.0-6
libunwind8==1.2.1-10~deb10u1
libx11-6==2:1.6.7-1+deb10u2
libx11-data==2:1.6.7-1+deb10u2
libx11-dev==2:1.6.7-1+deb10u2
libx11-6==2:1.6.7-1+deb10u3
libx11-data==2:1.6.7-1+deb10u3
libx11-dev==2:1.6.7-1+deb10u3
libxau-dev==1:1.0.8-1+b2
libxau6==1:1.0.8-1+b2
libxcb-render0==1.13.1-2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bfnplatform==1.0.0
bfnsdk==1.0.0
libbsd0==0.9.1-2+deb10u1
libc-ares2==1.14.0-1+deb10u2
libc-ares2==1.14.0-1+deb10u3
libc-dev-bin==2.28-10+deb10u2
libc6-dev==2.28-10+deb10u2
libcurl3-gnutls==7.64.0-4+deb10u6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ libicu67==67.1-7
libipt2==2.0.3-1
libkmod2==28-1
libmpfr6==4.1.0-3
libsaibcm==7.1.42.4
libsaibcm==7.1.50.4
libsaimetadata==1.0.0
libsaimetadata-dbg==1.0.0
libsairedis==1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ libicu67==67.1-7
libipt2==2.0.3-1
libkmod2==28-1
libmpfr6==4.1.0-3
libsaibcm==7.1.36.4
libsaibcm==7.1.50.4
libsaimetadata==1.0.0
libsaimetadata-dbg==1.0.0
libsairedis==1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ autopoint==0.21-4
autotools-dev==20180224.1+nmu1
bash-completion==1:2.11-2
bc==1.07.1-2+b2
bind9-dnsutils==1:9.16.37-1~deb11u1
bind9-host==1:9.16.37-1~deb11u1
bind9-libs==1:9.16.37-1~deb11u1
bind9-dnsutils==1:9.16.42-1~deb11u1
bind9-host==1:9.16.42-1~deb11u1
bind9-libs==1:9.16.42-1~deb11u1
binfmt-support==2.2.1-1+deb11u1
binutils==2.35.2-2
binutils-common==2.35.2-2
Expand Down Expand Up @@ -87,7 +87,7 @@ distro-info-data==0.51+deb11u3
dkms==2.8.4-3
dmeventd==2:1.02.175-2.1
dmsetup==2:1.02.175-2.1
dnsutils==1:9.16.37-1~deb11u1
dnsutils==1:9.16.42-1~deb11u1
docbook==4.5-6
docbook-dsssl==1.79-9.2
docbook-to-man==1:2.0.0-45
Expand Down Expand Up @@ -1235,11 +1235,11 @@ libwrap0==7.6.q-31
libwrap0-dev==7.6.q-31
libwww-perl==6.52-1
libwww-robotrules-perl==6.02-1
libx11-6==2:1.7.2-1
libx11-data==2:1.7.2-1
libx11-dev==2:1.7.2-1
libx11-6==2:1.7.2-1+deb11u1
libx11-data==2:1.7.2-1+deb11u1
libx11-dev==2:1.7.2-1+deb11u1
libx11-protocol-perl==0.56-7.1
libx11-xcb1==2:1.7.2-1
libx11-xcb1==2:1.7.2-1+deb11u1
libx264-160==2:0.160.3011+gitcde9a93-2.1
libx265-192==3.4-2
libx32asan6==10.2.1-6
Expand Down
Loading