Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade SONiC Versions #41

Open
wants to merge 6 commits into
base: test-sn-1
Choose a base branch
from
Open
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
21 changes: 21 additions & 0 deletions .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,33 @@ parameters:
- mellanox

stages:
- stage: Prepare
jobs:
- job: Init
steps:
- checkout: none
- script: |
DEFAULT_MIRROR_URL_PREFIX=http://packages.trafficmanager.net
DEBIAN_TIMESTAMP=$(curl $DEFAULT_MIRROR_URL_PREFIX/snapshot/debian/latest/timestamp)
DEBIAN_SECURITY_TIMESTAMP=$(curl $DEFAULT_MIRROR_URL_PREFIX/snapshot/debian-security/latest/timestamp)
echo "##vso[task.setvariable variable=DEBIAN_TIMESTAMP]$DEBIAN_TIMESTAMP"
echo "##vso[task.setvariable variable=DEBIAN_SECURITY_TIMESTAMP]$DEBIAN_SECURITY_TIMESTAMP"
echo "DEBIAN_TIMESTAMP=$DEBIAN_TIMESTAMP"
echo "DEBIAN_SECURITY_TIMESTAMP=$DEBIAN_SECURITY_TIMESTAMP"
name: setVariables
displayName: 'Set variables'
- stage: Build
variables:
- name: CACHE_MODE
value: none
- name: VERSION_CONTROL_OPTIONS
value: 'SONIC_VERSION_CONTROL_COMPONENTS='
- name: MIRROR_SNAPSHOT
value: y
- name: DEBIAN_TIMESTAMP
value: $[ dependencies.Prepare.Init.outputs['setVariables.DEBIAN_TIMESTAMP'] ]
- name: DEBIAN_SECURITY_TIMESTAMP
value: $[ dependencies.Prepare.Init.outputs['setVariables.DEBIAN_SECURITY_TIMESTAMP'] ]
- template: .azure-pipelines/template-variables.yml@buildimage
jobs:
- template: azure-pipelines-build.yml
Expand Down
2 changes: 2 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ $(shell \
SONIC_VERSION_CACHE=$(SONIC_VERSION_CACHE) \
SONIC_VERSION_CACHE_SOURCE=$(SONIC_VERSION_CACHE_SOURCE) \
DBGOPT='$(DBGOPT)' \
MIRROR_SNAPSHOT=$(MIRROR_SNAPSHOT) \
scripts/generate_buildinfo_config.sh)

# Generate the slave Dockerfile, and prepare build info for it
Expand Down Expand Up @@ -534,6 +535,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
MIRROR_URLS=$(MIRROR_URLS) \
MIRROR_SECURITY_URLS=$(MIRROR_SECURITY_URLS) \
GZ_COMPRESS_PROGRAM=$(GZ_COMPRESS_PROGRAM) \
MIRROR_SNAPSHOT=$(MIRROR_SNAPSHOT) \
$(SONIC_OVERRIDE_BUILD_VARS)

.PHONY: sonic-slave-build sonic-slave-bash init reset
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
applibs==1.mlnx.4.5.4026
applibs-dev==1.mlnx.4.5.4026
bfnplatform==1.0.0
iproute2-dev==1.mlnx.4.5.4026
isc-dhcp-relay==4.4.1-2.3
kernel-mft-dkms==4.21.0-100
libhiredis-dev==0.14.0-3~bpo9+1
libhiredis0.14==0.14.0-3~bpo9+1
libnl-3-dev==3.5.0-1
libnl-cli-3-200==3.5.0-1
libnl-cli-3-dev==3.5.0-1
libnl-genl-3-200==3.5.0-1
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
libsaimetadata==1.0.0
libsaimetadata-dev==1.0.0
libsairedis==1.0.0
libsairedis-dev==1.0.0
libsaithrift-dev==0.9.4
libsaivs==1.0.0
libswsscommon==1.0.0
libswsscommon-dev==1.0.0
libtac-dev==1.4.1-1
libtac2==1.4.1-1
libteam-dev==1.30-1
libteam-utils==1.30-1
libteam5==1.30-1
libteamdctl0==1.30-1
libthrift-0.11.0==0.11.0-4
libthrift-dev==0.11.0-4
libthrift0==0.14.1
libyang==1.0.73
libyang-cpp==1.0.73
libyang-dev==1.0.73
linux-headers-5.10.0-18-2-amd64==5.10.140-1
linux-headers-5.10.0-18-2-common==5.10.140-1
lldpd==1.0.4-1
lm-sensors==1:3.6.0-7
mft==4.21.0-100
net-tools==1.60+git20181103.0eebece-1
python-thrift==0.11.0-4
python3-swsscommon==1.0.0
python3-thrift==0.14.1
python3-yang==1.0.73
sonic-dhcp6relay==1.0.0-0
sonic-dhcpmon==1.0.0-0
sonic-eventd==1.0.0-0
sonic-linkmgrd==1.0.0-1
sonic-mgmt-common==1.0.0
sonic-mgmt-common-codegen==1.0.0
swss==1.0.0
sx-acl-helper==1.mlnx.4.5.4026
sx-acl-helper-dev==1.mlnx.4.5.4026
sx-complib==1.mlnx.4.5.4026
sx-complib-dev==1.mlnx.4.5.4026
sx-examples==1.mlnx.4.5.4026
sx-examples-dev==1.mlnx.4.5.4026
sx-gen-utils==1.mlnx.4.5.4026
sx-gen-utils-dev==1.mlnx.4.5.4026
sx-hash-calc==1.mlnx.4.5.4026
sx-scew==1.mlnx.4.5.4026
sx-scew-dev==1.mlnx.4.5.4026
sxd-libs==1.mlnx.4.5.4026
sxd-libs-dev==1.mlnx.4.5.4026
syncd==1.0.0
syncd-vs==1.0.0
thrift-compiler==0.11.0-4
wjh-libs==1.mlnx.4.5.4026
wjh-libs-dev==1.mlnx.4.5.4026
wpasupplicant==2:2.9.0-14
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libnl-3-200==3.5.0-1
libnl-route-3-200==3.5.0-1
linux-headers-5.10.0-18-2-arm64==5.10.140-1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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
mrvllibsai==1.10.2-1
32 changes: 32 additions & 0 deletions files/build/versions/build/build-sonic-slave-bullseye/versions-py3
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
blessed==1.19.1
charset-normalizer==2.1.1
click-log==0.4.0
colorful==0.5.5
docker==6.0.1
docker-image-py==0.1.12
enlighten==1.11.1
filelock==3.9.0
ijson==2.6.1
ipaddress==1.0.23
jsondiff==2.0.0
jsonpatch==1.32
jsonpointer==2.3
jsonschema==2.6.0
natsort==6.2.1
netaddr==0.8.0
netifaces==0.11.0
prefixed==0.5.0
prettyprinter==0.18.0
psutil==5.9.4
pycairo==1.23.0
pyroute2==0.5.19
python-arptable==0.0.2
semantic-version==2.10.0
systemd-python==234
tabulate==0.8.2
thrift==0.14.1
toposort==1.6
wcwidth==0.2.5
websocket-client==1.4.2
www-authenticate==0.9.2
xmltodict==0.12.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bitarray==1.5.3
click==7.0
lxml==4.9.1
redis==3.5.3
requests==2.28.1
zipp==1.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bitarray==1.5.3
click==7.0
lxml==4.9.1
redis==3.5.3
requests==2.28.1
zipp==1.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
libnl-cli-3-200==3.5.0-1
libnl-cli-3-dev==3.5.0-1
libnl-genl-3-200==3.5.0-1
libnl-genl-3-dev==3.5.0-1
libnl-nf-3-200==3.5.0-1
libnl-nf-3-dev==3.5.0-1
libsaimetadata==1.0.0
libsaimetadata-dev==1.0.0
libsairedis==1.0.0
libsairedis-dev==1.0.0
libsaithrift-dev==0.9.4
libsaivs==1.0.0
libsaivs-dev==1.0.0
libswsscommon==1.0.0
libswsscommon-dev==1.0.0
libteam-dev==1.30-1
libteam-utils==1.30-1
libteam5==1.30-1
libteamdctl0==1.30-1
libthrift-0.11.0==0.11.0-4
libthrift-dev==0.11.0-4
libthrift0==0.14.1
libyang==1.0.73
libyang-cpp==1.0.73
libyang-dev==1.0.73
python-swsscommon==1.0.0
python-thrift==0.11.0-4
python3-swsscommon==1.0.0
python3-yang==1.0.73
sonic-mgmt-common==1.0.0
sonic-mgmt-common-codegen==1.0.0
sonic-mgmt-framework==1.0-01
swss==1.0.0
syncd==1.0.0
syncd-vs==1.0.0
thrift-compiler==0.11.0-4
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
libhiredis-dev==0.14.0-3~bpo9+1
libhiredis0.14==0.14.0-3~bpo9+1
libnl-3-200==3.5.0-1
libnl-3-dev==3.5.0-1
libnl-route-3-200==3.5.0-1
libnl-route-3-dev==3.5.0-1
libsnmp-base==5.7.3+dfsg-5
libsnmp-dev==5.7.3+dfsg-5
libsnmp30==5.7.3+dfsg-5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
libhiredis-dev==0.14.0-3~bpo9+1
libhiredis0.14==0.14.0-3~bpo9+1
libnl-3-200==3.5.0-1
libnl-3-dev==3.5.0-1
libnl-route-3-200==3.5.0-1
libnl-route-3-dev==3.5.0-1
libsnmp-base==5.7.3+dfsg-5
libsnmp-dev==5.7.3+dfsg-5
libsnmp30==5.7.3+dfsg-5
11 changes: 11 additions & 0 deletions files/build/versions/build/build-sonic-slave-buster/versions-py2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
bitarray==1.5.3
contextlib2==0.6.0.post1
future==0.18.2
importlib-resources==3.3.1
natsort==6.2.1
netaddr==0.8.0
pyang==2.5.3
pyangbind==0.6.0
redis==3.5.3
thrift==0.11.0
zipp==1.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ipaddress==1.0.23
lxml==4.9.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ipaddress==1.0.23
lxml==4.9.1
31 changes: 31 additions & 0 deletions files/build/versions/build/build-sonic-slave-buster/versions-py3
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
blessed==1.19.1
charset-normalizer==2.1.1
click==7.0
click-log==0.4.0
colorful==0.5.5
dbus-python==1.3.2
docker==6.0.1
docker-image-py==0.1.12
enlighten==1.11.1
filelock==3.9.0
ijson==2.6.1
ipaddress==1.0.23
jsondiff==2.0.0
jsonpatch==1.32
jsonpointer==2.3
lazy-object-proxy==1.9.0
natsort==6.2.1
netaddr==0.8.0
netifaces==0.11.0
prefixed==0.5.0
prettyprinter==0.18.0
pycairo==1.23.0
pyroute2==0.5.19
semantic-version==2.10.0
systemd-python==234
tabulate==0.8.2
toposort==1.6
wcwidth==0.2.5
websocket-client==1.4.2
www-authenticate==0.9.2
xmltodict==0.12.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bitarray==1.5.3
lxml==4.9.1
redis==3.5.3
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bitarray==1.5.3
lxml==4.9.1
redis==3.5.3
12 changes: 12 additions & 0 deletions files/build/versions/default/versions-docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
amd64:amd64/debian:bullseye==sha256:027b617a00fa483967b045f55459aa12da6f751e6ffbe82ffe9aa007d977027a
amd64:amd64/debian:buster==sha256:09739ccbaff5b5569817c554bad447c68707932f46b2da93cd5a0cdb218f4898
amd64:debian:bullseye==sha256:c66c0e5dc607baefefda1d9e64a3b3a317e4189c540c8eac0c1a06186fe353a1
amd64:debian:buster==sha256:a3b7e971fef3e488479afd0a8387b35bed4c55891a1597d64a8fc6494d61d798
arm64:arm64v8/debian:bullseye==sha256:cd0203336405261730500869e4ea4c4e28b485188b4719531851a103feacdde1
arm64:arm64v8/debian:buster==sha256:b366e2065a4d63182ab1acb0f5b7267066c181c0206dde64594e951a62e73f96
arm64:debian:bullseye==sha256:c66c0e5dc607baefefda1d9e64a3b3a317e4189c540c8eac0c1a06186fe353a1
arm64:debian:buster==sha256:a3b7e971fef3e488479afd0a8387b35bed4c55891a1597d64a8fc6494d61d798
armhf:arm32v7/debian:bullseye==sha256:0525557a9512f00c3ac064b3ae0c0cddc1721aa1614120a8467ae5e829844f24
armhf:arm32v7/debian:buster==sha256:f6657e72719700232d3efe8750c1bb20fadbc0a2d22c54e631b52f60b752ee3a
armhf:debian:bullseye==sha256:c66c0e5dc607baefefda1d9e64a3b3a317e4189c540c8eac0c1a06186fe353a1
armhf:debian:buster==sha256:a3b7e971fef3e488479afd0a8387b35bed4c55891a1597d64a8fc6494d61d798
24 changes: 24 additions & 0 deletions files/build/versions/default/versions-git
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
https://chromium.googlesource.com/chromium/tools/depot_tools.git==58a343c88bda7ef0b65ad9bdf208b9307446dfbe
https://github.com/aristanetworks/swi-tools.git==b5f087e4774168bf536360d43c9c509c8f14ad9f
https://github.com/CESNET/libyang.git==f95b730cc8d8903c68f1b463a0b4d2856ad4943f
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==9a152b8191c5bd3b0a88b29c6b267030da77b770
https://github.com/FreeRADIUS/freeradius-server.git==9edaf1f576e48e5aaf926dec8c0fce832ca689e3
https://github.com/FreeRADIUS/pam_radius.git==bcafcf535c763ee193ce7803a56cddb929db04cb
https://github.com/jeroennijhof/pam_tacplus.git==4f91b0de2be88d02984bef8fb0f64c213c650ed9
https://github.com/jpirko/libteam.git==fd26b370d85d63cca0736d7e666736bb15c395aa
https://github.com/lguohan/gnxi.git==f2b11e45b16ab13485ae14933f30c18ee6336499
https://github.com/Marvell-switching/mrvl-prestera.git==9dbae444204a2c27b33be698ce497d55926b8893
https://github.com/Mellanox/libpsample.git==62bb27d9a49424e45191eee81df7ce0d8c74e774
https://github.com/p4lang/ptf.git==7494366607e2e4c171439df3585eba3c9769fad8
https://github.com/p4lang/scapy-vxlan.git==85ffe83da156568ee47a0750f638227e6e1d7479
https://github.com/sflow/host-sflow==7cb2b83ef34ed970a7b6028e8b3d4b44ddef8452
https://github.com/sflow/sflowtool==8c914e79ecb7930adcba2e5296041c3f9eb8e450
https://github.com/thom311/libnl==cbafad9ddf24caef5230fef715d34f0539603be0
https://salsa.debian.org/debian/libteam.git==48142125234a665ad5367b724af36a58fb484d3d
https://salsa.debian.org/kernel-team/ethtool/==b24474c5f4cad2bb690ced33a3c7df397170a699
https://salsa.debian.org/kernel-team/initramfs-tools.git==dd16eade69ef76b304a369fac2f6c0de508b855b
https://salsa.debian.org/sk-guest/monit.git==c9da7ebb1f35dfba17b50b5969a6e75e29cbec0d
https://salsa.debian.org/ssh-team/openssh.git==51c25428249b1b2093bb1ffaff3d814b6095435d
15 changes: 15 additions & 0 deletions files/build/versions/default/versions-mirror
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
deb.nodesource.com_node%5f14.x_dists_bullseye==2022-11-04T19:39:38Z
deb.nodesource.com_node%5f14.x_dists_buster==2022-11-04T19:39:38Z
debian==20230105T000249Z
debian-security==20230105T000302Z
download.docker.com_linux_debian_dists_bullseye==2022-12-27T11:32:28Z
download.docker.com_linux_debian_dists_buster==2022-12-27T11:32:29Z
packages.microsoft.com_repos_sonic-dev_dists_jessie==2019-05-26T14:59:06Z
packages.trafficmanager.net_snapshot_debian-security_20230105T000302Z_dists_bullseye-security==2023-01-02T00:32:55Z
packages.trafficmanager.net_snapshot_debian-security_20230105T000302Z_dists_buster_updates==2023-01-02T00:32:55Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_bullseye==2022-12-17T10:14:37Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_bullseye-backports==2023-01-04T20:17:59Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_bullseye-updates==2023-01-04T20:17:59Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_buster==2022-09-10T11:30:54Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_buster-backports==2023-01-04T20:17:59Z
packages.trafficmanager.net_snapshot_debian_20230105T000249Z_dists_buster-updates==2023-01-04T20:17:59Z
Loading