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

[Submodule][202211] Submodule update redis 202211 #14753

Closed
wants to merge 308 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
f753a8b
Reload BCM SDK kmods on syncd start to handle syncd restart issues (#…
michaelli10 Nov 30, 2022
1500c2d
fix merge conflict
yutongzhang-microsoft Nov 30, 2022
dd88006
[Mellanox] Add device files for SN5600 (#12831)
Junchao-Mellanox Nov 30, 2022
0cd4c38
[dockers] save extension dockers with an image tag (#12829)
stepanblyschak Nov 30, 2022
8b551f7
[ci/build]: Upgrade SONiC package versions (#13016)
mssonicbld Dec 10, 2022
eabd881
[ci/build]: Upgrade SONiC package versions (#13018)
mssonicbld Dec 11, 2022
3d3b3e1
[build]: Fix docker load image tag not being the expected tag (#12959)
saiarcot895 Dec 7, 2022
025a845
[Build] Fix the docker image docker-dhcp-relay:latest not found issue…
xumia Dec 15, 2022
9bec8bd
[build] Add retry when make SONiC image to improve success rate. (#12…
liushilongbuaa Dec 19, 2022
ac904ce
[build] Fix unexpected warnings: No names found, cannot describe anyt…
liushilongbuaa Dec 20, 2022
5726918
[ci/build]: Upgrade SONiC package versions (#13161)
mssonicbld Dec 24, 2022
515f798
[202211][Submodule][SAI-Redis]Advance SAI Redis head pointer (#13158)
richardyu-ms Dec 25, 2022
5a93494
[ci/build]: Upgrade SONiC package versions (#13170)
mssonicbld Dec 25, 2022
60365bf
Fix sonic slave pipeline to set correct tag on sonic slave image. (#1…
liushilongbuaa Dec 28, 2022
4981fbc
[ci/build]: Upgrade SONiC package versions (#13194)
mssonicbld Dec 28, 2022
81cc5e8
[202211][submodule] Advance sonic-swss pointer (#13195)
dprital Dec 29, 2022
f6ff26b
[submodule advance] advance sonic-platform-common submodule for 20221…
StormLiangMS Jan 1, 2023
8552b92
The LED and watchdog driver framework module complies with s3ip sysfs…
mssonicbld Jan 1, 2023
29e7348
The Transceiver driver framework module complies with s3ip sysfs spec…
mssonicbld Jan 1, 2023
5489913
The Sensor driver framework module complies with s3ip sysfs specifica…
mssonicbld Jan 1, 2023
fe5732a
The slot and switch_rootsysfs driver framework module complies with s…
mssonicbld Jan 1, 2023
967cc38
The PSU driver module complies with s3ip sysfs specification (#12887)…
mssonicbld Jan 1, 2023
313406a
The build project of s3ip frameworkk (#12896) (#13213)
mssonicbld Jan 1, 2023
4ac8359
The CPLD and FPGA driver framework module complies with s3ip sysfs sp…
mssonicbld Jan 1, 2023
684b07f
The demo driver complies with s3ip sysfs specification,which use the …
mssonicbld Jan 1, 2023
79b0890
The user framework module complies with s3ip sysfs specification (#12…
mssonicbld Jan 1, 2023
fb6f0b5
[SAIServer]Upgrade SAI server init script (#13175) (#13227)
richardyu-ms Jan 3, 2023
c199814
Improve the display of pipeline. (#13127)
yutongzhang-microsoft Jan 4, 2023
0db6953
Fix rsyslog_plugin UT with timestamp formatter (#13241)
zbud-msft Jan 4, 2023
57c347d
[submodule advance] advance sonic-platform-daemons submodule for 2022…
StormLiangMS Jan 8, 2023
e89456b
[action] Keep 'request for xxx branch' label when finished auto-cherr…
liushilongbuaa Dec 20, 2022
1e522ff
Add ECMP calculator tool (#12482) (#13301)
mssonicbld Jan 8, 2023
ab0533e
two platforms supporting S3IP SYSFS (TCS8400, TCS9400) (#12386) (#13210)
mssonicbld Jan 9, 2023
7524e91
The FAN driver framework module complies with s3ip sysfs specificatio…
mssonicbld Jan 9, 2023
72a2db4
[build] Fix sonic-host-services dependency deepdiff version issue (#1…
liushilongbuaa Jan 12, 2023
65f3447
[submodule advance 202211] advance dhcp relay for 202211 #13348
StormLiangMS Jan 13, 2023
9dfce87
[build] Fix isc-dhcp full version in rules.mk (#13288) (#13357)
mssonicbld Jan 13, 2023
542c47c
[submodule advance] advance sonic-utilities submodule for 202211 bran…
StormLiangMS Jan 14, 2023
1dc71aa
[Mellanox] Update ECMP calculator README (#13051) (#13362)
mssonicbld Jan 14, 2023
35cdb76
[containercfgd] Add containercfgd and syslog rate limit configuration…
mssonicbld Jan 14, 2023
a11c269
[ci/build]: Upgrade SONiC package versions (#13364)
mssonicbld Jan 14, 2023
49268a6
[submodule advance][202211] sonic-utilities #13363
StormLiangMS Jan 15, 2023
5447919
[ci/build]: Upgrade SONiC package versions (#13368)
mssonicbld Jan 15, 2023
308f808
[Build][202211] Support Debian snapshot mirror to improve build stabi…
xumia Jan 16, 2023
3b7b0c6
[ci/build]: Upgrade SONiC package versions (#13392)
mssonicbld Jan 17, 2023
76c74de
[202211][submodule] Advance sonic-host-services pointer (#13383)
stephenxs Jan 17, 2023
47649f4
[Bug] Fix SONiC installation failure caused by pip/pip3 not found (#1…
xumia Jan 11, 2023
76cedec
[ci/build]: Upgrade SONiC package versions (#13416)
mssonicbld Jan 18, 2023
05fb3f6
[Arista] add support for hardware sku Arista-7260CX3-D92C16 (#13438) …
mssonicbld Jan 20, 2023
80cd787
[ci/build]: Upgrade SONiC package versions (#13462)
mssonicbld Jan 21, 2023
87ef9f3
[ci/build]: Upgrade SONiC package versions (#13464)
mssonicbld Jan 22, 2023
d12c3b7
[202211][Mellanox] Add ASIC simulation version tag to fw.mk (#13473)
dprital Jan 23, 2023
65e080c
[submodule] Advance sonic-platform-common pointer (#13481)
StormLiangMS Jan 24, 2023
e33b92f
[202211][swss.sh] optimize macsec feature state query (#12946) (#13509)
stepanblyschak Jan 25, 2023
18c7a5e
rsyslog to start after interfaces-config (#13503) (#13528)
mssonicbld Jan 27, 2023
537ecc5
Update gnmi submodule ptr (#13323)
zbud-msft Jan 27, 2023
e50123b
[FIPS] Upgrade Open-SymCrypt version to 0.6 (#13461)
xumia Jan 27, 2023
e631f42
[infra] Support syslog rate limit configuration (#12490) (#13535)
Junchao-Mellanox Jan 30, 2023
ab54549
[Mellanox] Skip the leftover hardware reboot cause in case of last bo…
keboliu Jan 11, 2023
d59b435
[centec]: reference to v1.11.0-1 sai debian package for master (#13206)
AlanYoush Jan 3, 2023
9680479
[Mellanox] change the implementation of is_host() to fix a stuck issu…
keboliu Dec 20, 2022
cf6f31b
[Mellanox] Remove TODO comments which are no longer needed (#13023)
Junchao-Mellanox Dec 14, 2022
3530fdb
[SFP] Change logging severity when failed to read EEPROM (#13011)
vadymhlushko-mlnx Dec 20, 2022
cd84a1f
[ci] Disable Shallow fetch in pipeline build. (#12964)
liushilongbuaa Dec 9, 2022
62fb072
[Platform/Seastone]: fix syseeprom tlv read issue (#12200)
qnos Dec 5, 2022
39c1f87
[dhcp-relay] Add support for dhcp_relay config cli (#13373)
yaqiangz Jan 31, 2023
3d2611b
[minigraph]: Support port name in ACL table AttachTo attribute (#13105)
bingwang-ms Jan 13, 2023
19e94df
[Arista] Update ip packet checksum when set to 0xffff on 720DT-48S (…
andywongarista Dec 17, 2022
e182d03
Seastone add platform capability enhancement config (#13079)
qnos Jan 4, 2023
b4e22e2
Fix segfault issue inside memory_checker (#13066)
zbud-msft Jan 24, 2023
f4ae621
[dhcpmon] Fix dhcpmon socket filter and tx count issue (#13065)
kellyyeh Jan 6, 2023
24be875
Change bgp notification leaf name and mem_usage leaf type (#13012)
zbud-msft Jan 24, 2023
7161ff4
Add k8s support feature set and Add platform label for scheduler usag…
lixiaoyuner Jan 10, 2023
918e2d1
[dualtor] Let T0 delay 10 seconds before sending BGP updates (#12996)
lolyu Dec 15, 2022
56c2c65
[build]: increase raw image disk size to 4GB (#12958)
liushilongbuaa Dec 7, 2022
2e76082
Replace logrotate cron file with (adapted) systemd timer file (#12921)
saiarcot895 Dec 8, 2022
ce8ffb6
[yang] Add collector_vrf to sflow yang model (#12897)
dgsudharsan Dec 1, 2022
2ab45b1
[Celestica Seastone] fix multi sonic platform issues (#13356)
qnos Jan 19, 2023
e3790d3
[device/arista] Disabled polled_irq_mode for DNX SKUs (#13349)
kenneth-arista Jan 13, 2023
2f27120
[Arista]: Add hwSku Arista-7260CX3-D108C10 (#13242)
byu343 Jan 4, 2023
a754c75
[build] Add the possibility to disable compilation of teamd and radv …
oleksandrivantsiv Dec 13, 2022
d9b15ae
[Seastone] Enhancement fix for PR12200 syseeprom issue (#13344) (#13664)
mssonicbld Feb 4, 2023
d699d32
[BugFix] Fix the bug that it gets error system-mac of centec platform…
mssonicbld Feb 4, 2023
6f3f7f3
[build] Adjust teamd and radv features configuration according to the…
mssonicbld Feb 4, 2023
7fc672c
Use tmpfs for /var/log for Arista 7260 (#13587) (#13667)
mssonicbld Feb 5, 2023
81dd4b8
[Build] Support j2 template for debian sources for docker ptf (#13198)
xumia Dec 30, 2022
ee7724e
Fix dependency of dhcp-mon on VLAN with only v6 (#13006)
vivekrnv Dec 9, 2022
1f9ff1c
[Arista 720DT] Create SKU alias Arista-720DT-G48S4 (#12905)
Blueve Dec 2, 2022
5582242
Moving multiprocessing.Manager to the correct sub-process (#13377)
tshalvi Jan 17, 2023
fa5f03b
[build] Check if patches are applied before applying patches (#13386)
liushilongbuaa Jan 18, 2023
2003422
[gearbox] use credo sai v0.8.2 (#13565)
jimmyzhai Feb 2, 2023
00a8df6
Enable host service. (#13544)
ganglyu Feb 7, 2023
f9d0f25
Support both port name and alias in ACL table `AttachTo` attribute (#…
bingwang-ms Jan 20, 2023
5b64d82
[sudoers] add `/usr/local/bin/storyteller` to `READ_ONLY_CMDS` (#13422)
zjswhhh Jan 27, 2023
a6c64c9
[Security][202211] Upgrade the openssl version to 1.1.1n-0+deb11u4+fi…
xumia Feb 10, 2023
8a8c0b5
[Celestica DX010] fix fan drawer and watchdog platform testcase issue…
qnos Feb 6, 2023
67610d7
[device/arista] Reduce SDK stat polling freq in DNX devices (#13429)
kenneth-arista Jan 30, 2023
70763e2
02.Version cache - docker cache build framework (#12001)
Kalimuthu-Velappan Dec 2, 2022
9561738
[sflow]: Unblocked psample_*() function calls in BRCM ESW platforms f…
mssonicbld Feb 11, 2023
f595eb8
[dualtor][active-active]Killing radv instead of stopping on `active-a…
mssonicbld Feb 11, 2023
422978c
[202211][submodule]Advance sairedis head (#13712)
richardyu-ms Feb 12, 2023
8832ddd
[Mellanox] Improve FW upgrade logging (#13465) (#13681)
mssonicbld Feb 12, 2023
3e619d4
During build time mask only those feature/services that are disabled …
mssonicbld Feb 12, 2023
b3cf657
[chassis] Fixed critical process not correct for database-chassis doc…
mssonicbld Feb 12, 2023
48e6a82
Add explicit dependency on sonic_platform_common (#13446) (#13680)
mssonicbld Feb 12, 2023
a01fb7a
[build] Check if patches are applied before applying patches. (#13566…
mssonicbld Feb 12, 2023
1a95fcd
change default to be on (#13495) (#13796)
zjswhhh Feb 14, 2023
d1de964
[Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#126…
mssonicbld Feb 14, 2023
91ff5d0
[submodule advance][202211] advance sonic-platform-common to 2dbc0ea …
StormLiangMS Feb 14, 2023
d70e8e1
[submodule advance][202211] advance sonic-platform-daemons to 7219b56…
StormLiangMS Feb 14, 2023
ff57447
[Build] Change the default mirror version config file (#13786)
xumia Feb 14, 2023
fd0e614
[submodules] advance sonic-sairedis for 202211 #13799
StormLiangMS Feb 15, 2023
fe1fc4c
[broadcom]: Set default SYNCD_SHM_SIZE for Broadcom XGS devices (#132…
richardyu-ms Feb 15, 2023
a34892e
[ci/build]: Upgrade SONiC package versions (#13816)
mssonicbld Feb 15, 2023
30e4369
[dhcp_relay] Remove exist check while adding dhcpv6 relay (#13826)
yaqiangz Feb 16, 2023
5ef488f
Clear DNS configuration received from DHCP during networking reconfig…
oleksandrivantsiv Jan 30, 2023
e6b1ed3
[Mellanox] [ECMP calculator] Add script usage and more information to…
liorghub Jan 25, 2023
aa376d7
[yang] Added Tunnel flex counter group (#13483)
dgsudharsan Jan 25, 2023
e849455
[Mellanox] Update SDK/FW to 4.5.4150/2010.4150 (#13480)
volodymyrsamotiy Jan 26, 2023
6862692
[dhcp_relay]Fix the clear dhcp6relay_counters CLI (#13148)
dgsudharsan Dec 26, 2022
1d155b8
[submodules] advance submodules for 202211 #13781
StormLiangMS Feb 17, 2023
94e59a8
[Mellanox] Enhance MFT make file to download source code from any va…
mssonicbld Feb 17, 2023
979e9a7
[armhf][Nokia-7215]High CPU caused by entropy.py (#13694)
Pavan-Nokia Feb 9, 2023
2418c2f
[Build] Remove the additional space character in the mirrors.list fil…
mssonicbld Feb 17, 2023
a5f0c02
Use tmpfs for /var/log on Arista 7050CX3-32S (#13805) (#13869)
mssonicbld Feb 17, 2023
ef02c73
[202211][Arista] Update platform library submodules (#13872)
Staphylo Feb 17, 2023
23e3542
Fix issue: ERR healthd: Get unit status determine-reboot-cause-'LoadS…
mssonicbld Feb 17, 2023
1aa3392
[Arista] Disable ATA NCQ for a few products (#13739) (#13865)
mssonicbld Feb 17, 2023
9004266
Fix rsyslogd start failed cause by rsyslog.conf is emtpy. (#13669)
lerry-lee Feb 6, 2023
dbd26a4
Set 'origin' and 'AS Path' for T1 SLB routes (#13613)
jcaiMR Feb 8, 2023
c0ae0d5
[DX010 platform] fix dx010 platform testcase issues (#13595)
qnos Feb 10, 2023
c1fe36e
Increase PikeZ varlog size (#13550)
andywongarista Feb 9, 2023
c672e30
Add asic presence filtering for container checking in system-health (…
spilkey-cisco Feb 11, 2023
da33eec
[Arista] Add emmc quirks in boot0 to improve reliability (#10013)
Staphylo Feb 9, 2023
a993fc2
[Mellanox][sai_failure_dump]Added platform specific script to be invo…
dgsudharsan Feb 5, 2023
9635f96
[Arista] [Platform] Update platform.json for psu led (#13523)
wenyiz2021 Feb 1, 2023
3a37c13
[ci/build]: Upgrade SONiC package versions (#13880)
mssonicbld Feb 19, 2023
4f3b649
[Mellanox] Support per PSU slope value for PSU power threshold (#13757)
stephenxs Feb 14, 2023
b0416a5
[Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372)
stephenxs Feb 12, 2023
785f9c3
[ci] Kill hanged docker build process to avoid build timeout issue. (…
liushilongbuaa Feb 20, 2023
daacf68
[systemd-sonic-generator] Fix overlapping strings being passed to str…
mssonicbld Feb 20, 2023
f42d017
[Build] Clean up the debian preference config file (#13887)
xumia Feb 21, 2023
2866a0e
build: add an env var to run make reset unattended (#13821)
mathieulaunay Feb 21, 2023
1748332
[Ci] Support to use the same snapshot for all platform builds (#13913…
mssonicbld Feb 22, 2023
2a1c29b
[ci] Fix docker hang issue and change template reference branch (#138…
mssonicbld Feb 22, 2023
d7815f3
add sfp get error description (#13275)
Pavan-Nokia Feb 9, 2023
6d66a32
[ci/build]: Upgrade SONiC package versions
mssonicbld Feb 22, 2023
228763f
Add lsof and sysstat packages to the base system for debugging purpos…
saiarcot895 Feb 10, 2023
708e83e
[dockerd] Force usage of cgo DNS resolver (#13649)
stepanblyschak Feb 14, 2023
be51191
[Arista] Add other chassis names to platform_components.json for 720D…
andywongarista Feb 9, 2023
6a12ca9
[Mellanox] [ECMP calculator] Add support for 4600/4600C/2201 platform…
mssonicbld Feb 22, 2023
e8789a2
[Mellanox] Check system eeprom existence in a retry manner (#13884)
Junchao-Mellanox Feb 21, 2023
50aaf92
[Mellanox] Non upstream patches for hw-mgmt V.4.0020.4104 (#13792) (#…
mssonicbld Feb 23, 2023
310827c
Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform …
mssonicbld Feb 23, 2023
18bc044
Remove support to Mellanox SPC4 ASIC (#13932) (#13957)
mssonicbld Feb 23, 2023
16e3a72
Voq Chassis: Add the Recirc ports to the INTERFACES table to make it …
judyjoseph Feb 21, 2023
f18f424
[ci/build]: Upgrade SONiC package versions (#13990)
mssonicbld Feb 25, 2023
f1f1af8
[ci/build]: Upgrade SONiC package versions (#13994)
mssonicbld Feb 26, 2023
ff5605a
fix platform.json on Wolverine for thermal sensors (#13984)
patrickmacarthur Feb 28, 2023
76cc29b
[202211]Added vni field in VRF Yang for VxLAN L3 VNI Support (#13980)
dgsudharsan Feb 28, 2023
72f9f51
[Seastone] fix dx010 qsfp eeprom data write issue (#13930) (#14032)
mssonicbld Mar 1, 2023
1757f53
[Mellanox] update sdk/fw build procedure (#14025) (#14059)
mssonicbld Mar 2, 2023
b8fe3c2
[Build] Support to use loosen version when failed to install python p…
xumia Mar 3, 2023
523cd8d
[ci/build]: Upgrade SONiC package versions (#14077)
mssonicbld Mar 4, 2023
aea96da
[Mellanox] Fix issue: cannot find label port for logical port when lo…
mssonicbld Mar 6, 2023
eeb3ae1
Revert "[system-health] Remove subprocess with shell=True (#12572)" (…
maipbui Jan 25, 2023
d8765f7
[submodule advance] advance src/sonic-swss-common 202211 #14126
StormLiangMS Mar 7, 2023
fab25c9
[submodule advance] advance src/sonic-platform-daemons 202211 #14123
StormLiangMS Mar 7, 2023
132ff06
[submodule advance] Advance/sonic platform common 202211 #14122
StormLiangMS Mar 7, 2023
e57197b
[submodule advance] Advance/sonic sairedis 202211 #14121
StormLiangMS Mar 7, 2023
e1536c0
[netlink] Increse netlink buffer size from 3MB to 16MB (#13965)
dgsudharsan Feb 27, 2023
b144564
[submodule advance] advance sonic-swss #14116
StormLiangMS Mar 8, 2023
f067326
[submodule advance] Advance/sonic utilities 202211 #14124
StormLiangMS Mar 8, 2023
969166d
[Mellanox] Place FW binaries under platform directory instead of squa…
stepanblyschak Mar 6, 2023
6173b4d
[Arista] Disable SSD NCQ on Lodoga (#13964)
Staphylo Feb 24, 2023
3c312de
Upgrade SAI xgs version to 8.4.0.2 and migrate to DMZ (#14119)
Gfrom2016 Mar 9, 2023
c4e488c
[Dual-ToR] add default value for ACL rule for mellanox platform (#13547)
ayurkiv-nvda Feb 22, 2023
05b8945
[Build] Fix the mirror gpg key expired issue (#14206)
xumia Mar 13, 2023
bc414bb
[202211][yang]Add missing fields in PortChannel yang model (#14045) (…
dgsudharsan Mar 14, 2023
5312a81
[submodule] Update submodule to the latest HEAD automatically
mssonicbld Mar 10, 2023
efc79b2
[202211] Advance sonic-dbsyncd submodule (#14226)
vivekrnv Mar 16, 2023
16eca71
[submodule] Update submodule to the latest HEAD automatically
mssonicbld Mar 17, 2023
9eb5cb4
[ci/build]: Upgrade SONiC package versions (#14301)
mssonicbld Mar 17, 2023
4e54c58
[submodule] Update submodule to the latest HEAD automatically (#14308)
mssonicbld Mar 18, 2023
6644725
[ci/build]: Upgrade SONiC package versions (#14313)
mssonicbld Mar 18, 2023
cc5ed4b
[Mellanox] Update MFT to 4.22.1-15 (#14133)
volodymyrsamotiy Mar 8, 2023
d7ba89a
[Mellanox] fix for watchdog device not found, adding dependency on hw…
dbarashinvd Mar 15, 2023
ba14f72
Update SDK/FW to version 4.5.4206/4.5.4204 (#14164)
dprital Mar 14, 2023
29f3c49
[gearbox] use credo sai v0.9.0 (#14149)
jimmyzhai Mar 9, 2023
156189d
[Mellanox]Fix lpmode set when logical port is larger than 64 (#14138)
dgsudharsan Mar 8, 2023
5c55eb8
[ci/build]: Upgrade SONiC package versions
mssonicbld Mar 19, 2023
0aacc45
[storage_backend] Add backend acl service (#14229)
neethajohn Mar 16, 2023
17bf0c8
Update dynamic threshold for TD2 (#14224)
neethajohn Mar 16, 2023
098678f
[sonci-slave]: update sonic-slave docker files to include cisco sdk d…
jhli-cisco Mar 13, 2023
e33af15
Install kubernetes-cni for kubelet (#14163)
lixiaoyuner Mar 17, 2023
499f57a
[swss/syncd] remove dependency on interfaces-config.service (#13084) …
mssonicbld Mar 19, 2023
6fc71c2
Update dhcpv6-relay yang model (#14144)
kellyyeh Mar 15, 2023
bb41b55
[system-health] Make check interval more accurate (#14085)
Junchao-Mellanox Mar 15, 2023
37be88b
Fix VOQ_CHASSIS_V6_PEER route-map config (#14055)
tjchadaga Mar 3, 2023
d8c9517
Remove dialout as critical process (#14006)
zbud-msft Feb 28, 2023
1d57d1b
[chassis][voq] 400g to100g speed changes for chassis linecards (#13935)
arlakshm Feb 24, 2023
d45da23
Update dhcpmon rx/tx packet filtering and fix server rx count (#13898)
kellyyeh Mar 9, 2023
09a3f92
Add QOS profiles for Arista SKUs (#13829)
ysmanman Mar 1, 2023
b3109fe
[dhcp-relay] Add dhcp_relay show cli (#13614) (#14342)
mssonicbld Mar 19, 2023
bcf35fd
[yang]: Add Yang model support for adding Channel to PORT table (#142…
mssonicbld Mar 19, 2023
7b61e89
sonic-buildimage Remove unused SAT port from arista configs. (#14167)…
mssonicbld Mar 19, 2023
60067e7
Don't create the members@ array in config_db for PC when reading from…
saiarcot895 Feb 23, 2023
4dc61fc
[lldpmgrd] Don't log error message for outdated event (#14178)
vivekrnv Mar 16, 2023
f394121
[Arista] Add missing platform_components.json (#14067)
Staphylo Mar 13, 2023
24c53a5
[Buffer] Added cable length config to buffer config template for Edge…
developfast Mar 17, 2023
0a70376
[Security] Fix some of vulnerability issue relative python packages (…
xumia Mar 22, 2023
fe1e2b1
[ci/build]: Upgrade SONiC package versions (#14382)
mssonicbld Mar 22, 2023
dad37bf
[202211] Update sonic-py-common, add missing dependency to redis-dump…
liuh-80 Mar 23, 2023
4c4e9ee
Fix the demo_part_size not initialized issue when creating partition …
mssonicbld Mar 23, 2023
cc631fd
change static rt expiry timer max value (#14397) (#14419)
mssonicbld Mar 26, 2023
e5dcae8
[ci] Fix build issue for vs vhdx image. #14424
liushilongbuaa Mar 27, 2023
8bbc8eb
[celestica]: Fix Belgite platform issues (#14036)
jemifdo Mar 27, 2023
20c4aab
Pin mmh3 package version in sonic-slave-stretch docker (#14463) (#14475)
mssonicbld Mar 31, 2023
5b028dc
[ci/build]: Upgrade SONiC package versions (#14478)
mssonicbld Mar 31, 2023
f3b6860
[ci/build]: Upgrade SONiC package versions (#14488)
mssonicbld Apr 1, 2023
8863910
[ci/build]: Upgrade SONiC package versions (#14492)
mssonicbld Apr 2, 2023
f276321
[202211] Advance sonic-dhcp-relay submodule (#14473)
vivekrnv Apr 2, 2023
483b986
[ci/build]: Upgrade SONiC package versions (#14529)
mssonicbld Apr 5, 2023
c031e5a
[submodule] Update submodule to the latest HEAD automatically (#14348)
mssonicbld Apr 6, 2023
db8bcad
[submodule] Advance sonic-swss-common pointer (#14504)
saiarcot895 Apr 7, 2023
8fc020d
[Build] Support to use the snapshot mirror for debian base image (#14…
mssonicbld Apr 7, 2023
a3951c2
Increase wait_for_tunnel() timeout to 90s (#14279) (#14563)
mssonicbld Apr 7, 2023
18cd788
[submodule] Update submodule to the latest HEAD automatically
mssonicbld Apr 7, 2023
05a9ce9
[ci/build]: Upgrade SONiC package versions (#14572)
mssonicbld Apr 8, 2023
fff0e7d
[yang]Updating vxlan yang model to include IPv6 source in VxLAN tunne…
mssonicbld Apr 8, 2023
95f387c
Fix issue: wrong teamd link watch state after warm reboot (#14084) (#…
mssonicbld Apr 8, 2023
4d0f1c1
[ci/build]: Upgrade SONiC package versions (#14578)
mssonicbld Apr 9, 2023
cde1574
[submodule] Update submodule to the latest HEAD automatically (#14577)
mssonicbld Apr 10, 2023
73766c2
Finalize fast-reboot in warmboot finalizer (#14238) (#14608)
mssonicbld Apr 11, 2023
4ce33aa
[Build] Optimize the version control for Debian packages (#14557) (#1…
xumia Apr 12, 2023
7942c92
[submodule] Update submodule to the latest HEAD automatically
mssonicbld Apr 12, 2023
e107549
chassis-packet: resolve the missing static routes (#14593)
anamehra Apr 12, 2023
46af37f
[ci/build]: Upgrade SONiC package versions (#14629)
mssonicbld Apr 12, 2023
81ebbf1
[Submodule][202211] Advance sonic-restapi pointer (#14625)
xumia Apr 13, 2023
5dbf512
Support to add SONiC OS Version in device info (#14601) (#14623)
xumia Apr 13, 2023
f18d080
[submodule] Update submodule to the latest HEAD automatically
mssonicbld Apr 13, 2023
6781c4a
Made non-upstream patch design order aware (#14434) (#14650)
mssonicbld Apr 13, 2023
dc51757
[submodule] Update submodule sonic-utilities to the latest HEAD autom…
mssonicbld Apr 14, 2023
4193c88
[submodule] Update submodule sonic-swss to the latest HEAD automatically
mssonicbld Apr 14, 2023
d7cd1bf
[submodule] Update submodule sonic-linux-kernel to the latest HEAD au…
mssonicbld Apr 14, 2023
3f80038
[submodule] Update submodule sonic-host-services to the latest HEAD a…
mssonicbld Apr 15, 2023
b4dafae
[ci/build]: Upgrade SONiC package versions (#14673)
mssonicbld Apr 15, 2023
cc22d69
[ci/build]: Upgrade SONiC package versions (#14680)
mssonicbld Apr 16, 2023
cdd3467
Add teamd patches to solve traffic loss issue when removing port from…
mssonicbld Apr 16, 2023
aea1980
[ci/build]: Upgrade SONiC package versions (#14720)
mssonicbld Apr 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,32 @@ parameters:
- mellanox

stages:
- stage: Prepare
jobs:
- job: Prepare
steps:
- 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 "DEBIAN_TIMESTAMP=$DEBIAN_TIMESTAMP, DEBIAN_SECURITY_TIMESTAMP=$DEBIAN_SECURITY_TIMESTAMP"
echo "##vso[task.setvariable variable=DEBIAN_TIMESTAMP;isOutput=true]$DEBIAN_TIMESTAMP"
echo "##vso[task.setvariable variable=DEBIAN_SECURITY_TIMESTAMP;isOutput=true]$DEBIAN_SECURITY_TIMESTAMP"
name: SetVersions
displayName: 'Set snapshot versions'
- stage: Build
dependsOn: Prepare
variables:
- name: CACHE_MODE
value: none
- name: VERSION_CONTROL_OPTIONS
value: 'SONIC_VERSION_CONTROL_COMPONENTS='
- name: SKIP_CHECKOUT
value: true
- name: DEBIAN_TIMESTAMP
value: $[ stageDependencies.Prepare.Prepare.outputs['SetVersions.DEBIAN_TIMESTAMP'] ]
- name: DEBIAN_SECURITY_TIMESTAMP
value: $[ stageDependencies.Prepare.Prepare.outputs['SetVersions.DEBIAN_SECURITY_TIMESTAMP'] ]
- template: .azure-pipelines/template-variables.yml@buildimage
jobs:
- template: azure-pipelines-build.yml
Expand All @@ -56,6 +76,21 @@ stages:
buildOptions: '${{ variables.VERSION_CONTROL_OPTIONS }} ENABLE_DOCKER_BASE_PULL=n SONIC_BUILD_JOBS=$(nproc) ENABLE_IMAGE_SIGNATURE=y'
preSteps:
- template: .azure-pipelines/template-clean-sonic-slave.yml@buildimage
- checkout: self
submodules: recursive
fetchDepth: 0
path: s
displayName: 'Checkout code'
- script: |
echo "DEBIAN_TIMESTAMP=$DEBIAN_TIMESTAMP, DEBIAN_SECURITY_TIMESTAMP=$DEBIAN_SECURITY_TIMESTAMP"
if [ "$MIRROR_SNAPSHOT" == y ]; then
mkdir -p target/versions/default/
echo "debian==$DEBIAN_TIMESTAMP" > target/versions/default/versions-mirror
echo "debian-security==$DEBIAN_SECURITY_TIMESTAMP" >> target/versions/default/versions-mirror
cat target/versions/default/versions-mirror
fi
displayName: 'Set snapshot versions'

- stage: UpgradeVersions
jobs:
- job: UpgradeVersions
Expand Down
18 changes: 15 additions & 3 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ jobs:
platform_rpc: nephos

buildSteps:
- template: template-skipvstest.yml
- template: .azure-pipelines/template-skipvstest.yml@buildimage
- template: .azure-pipelines/template-daemon.yml@buildimage
- bash: |
set -ex
if [ $(GROUP_NAME) == vs ]; then
Expand All @@ -124,7 +125,7 @@ jobs:
make $BUILD_OPTIONS target/docker-ptf-sai.gz
if [ $(Build.Reason) != 'PullRequest' ];then
gzip -kd target/sonic-vs.img.gz
SONIC_RUN_CMDS="qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx" make sonic-slave-run
SONIC_RUN_CMDS="qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx" make $BUILD_OPTIONS sonic-slave-run
rm target/sonic-vs.img
fi
else
Expand All @@ -139,9 +140,20 @@ jobs:
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).raw
fi
if [ $(docker_syncd_rpc_image) == yes ]; then
# workaround for issue in rules/sairedis.dep, git ls-files will list un-exist files for cache
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y target/docker-syncd-$(platform_rpc)-rpc.gz
pushd ./src/sonic-sairedis/SAI
git stash
popd
if [ $(GROUP_NAME) == broadcom ]; then
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y target/docker-syncd-$(platform_rpc)-dnx-rpc.gz
pushd ./src/sonic-sairedis/SAI
git stash
popd
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y target/docker-saiserverv2-brcm.gz
pushd ./src/sonic-sairedis/SAI
git stash
popd
fi
fi
if [ $(syncd_rpc_image) == yes ]; then
Expand All @@ -151,4 +163,4 @@ jobs:
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).bin
fi
displayName: "Build sonic image"
- template: check-dirty-version.yml
- template: .azure-pipelines/check-dirty-version.yml@buildimage
5 changes: 3 additions & 2 deletions .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
jobFilters: ${{ parameters.jobFilters }}
jobVariables: ${{ parameters.jobVariables }}
preSteps:
- template: cleanup.yml
- template: .azure-pipelines/cleanup.yml@buildimage
- ${{ parameters.preSteps }}
- script: |
if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM_AZP) | grep -E -q "^(vs|broadcom|mellanox|marvell-armhf)$"; then
Expand All @@ -36,6 +36,7 @@ jobs:
displayName: "Set cache options"
- checkout: self
submodules: recursive
fetchDepth: 0
condition: and(succeeded(), eq(variables.SKIP_CHECKOUT, ''))
displayName: 'Checkout code'
- script: |
Expand Down Expand Up @@ -66,6 +67,6 @@ jobs:
artifactName: 'sonic-buildimage.$(GROUP_NAME)$(GROUP_EXTNAME)'
publishPrefix: '$(Build.DefinitionName)/$(Build.SourceBranchName)/$(GROUP_NAME)'
- ${{ parameters.postSteps }}
- template: cleanup.yml
- template: .azure-pipelines/cleanup.yml@buildimage
jobGroups: ${{ parameters.jobGroups }}
buildSteps: ${{ parameters.buildSteps }}
10 changes: 10 additions & 0 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ jobs:
fi
if [ ${{ parameters.sync_rpc_image }} == true ]; then
make USERNAME=admin $CACHE_OPTIONS SONIC_BUILD_JOBS=$(nproc) ENABLE_SYNCD_RPC=y target/docker-syncd-${{ parameters.platform_short }}-rpc.gz
# workaround for issue in rules/sairedis.dep, git ls-files will list un-exist files for cache
pushd ./src/sonic-sairedis/SAI
git stash
popd
if [ ${{ parameters.platform }} == broadcom ]; then
make USERNAME=admin $CACHE_OPTIONS SONIC_BUILD_JOBS=$(nproc) ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y target/docker-saiserverv2-brcm.gz
pushd ./src/sonic-sairedis/SAI
git stash
popd
fi
fi

make USERNAME=admin $CACHE_OPTIONS SONIC_BUILD_JOBS=$(nproc) target/sonic-${{ parameters.platform }}.bin
Expand Down
7 changes: 7 additions & 0 deletions .azure-pipelines/cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
steps:
- script: |
set -x
# kill daemon process
ps $(cat /tmp/azp_daemon_kill_docker_pid)
sudo kill $(cat /tmp/azp_daemon_kill_docker_pid)
rm /tmp/azp_daemon_kill_docker_pid

if sudo [ -f /var/run/march/docker.pid ] ; then
pid=`sudo cat /var/run/march/docker.pid` ; sudo kill $pid
fi
Expand All @@ -11,4 +17,5 @@ steps:
pid=`sudo cat dockerfs/var/run/docker.pid` ; sudo kill $pid
fi
sudo rm -rf $(ls -A1)
condition: always()
displayName: "Clean Workspace"
11 changes: 8 additions & 3 deletions .azure-pipelines/docker-sonic-slave-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ parameters:
- sonicbld-armhf

jobs:
- job: Build_${{ parameters.dist }}_${{ parameters.march }}${{ parameters.arch }}
- job: sonic_slave_${{ parameters.dist }}${{ parameters.march }}
timeoutInMinutes: 360
variables:
- template: /.azure-pipelines/template-variables.yml@buildimage
Expand All @@ -46,7 +46,6 @@ jobs:
- template: /.azure-pipelines/template-clean-sonic-slave.yml@buildimage
- checkout: self
clean: true
submodules: recursive
- task: Docker@2
displayName: Login to ACR
inputs:
Expand All @@ -56,6 +55,10 @@ jobs:
set -ex
image_tag=$(BLDENV=${{ parameters.dist }} make -f Makefile.work showtag PLATFORM=generic PLATFORM_ARCH=${{ parameters.arch }} | grep sonic-slave | tail -n 1)
image_latest=$(echo $(echo $image_tag | awk -F: '{print$1}'):latest)
if echo ${{ parameters.pool }} | grep ${{ parameters.arch }};then
image_latest=$(echo ${image_latest} | sed 's/:/-${{ parameters.arch }}:/')
fi
image_branch=$(echo $(echo $image_latest | awk -F: '{print$1}'):$(Build.SourceBranchName))
docker rmi $image_tag || true

if [[ "$(Build.Reason)" =~ [a-zA-Z]*CI ]] && docker pull ${{ parameters.registry_url }}/${image_tag};then
Expand All @@ -69,7 +72,9 @@ jobs:

docker tag ${image_tag} ${REGISTRY_SERVER}/${image_tag}
docker push ${REGISTRY_SERVER}/${image_tag}
if [[ "${{ parameters.arch }}" == "amd64" ]];then
docker tag ${image_tag} ${REGISTRY_SERVER}/${image_branch}
docker push ${REGISTRY_SERVER}/${image_branch}
if [[ "$(Build.SourceBranchName)" == "master" ]];then
docker tag ${image_tag} ${REGISTRY_SERVER}/${image_latest}
docker push ${REGISTRY_SERVER}/${image_latest}
fi
Expand Down
9 changes: 5 additions & 4 deletions .azure-pipelines/docker-sonic-slave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ trigger:
paths:
include:
- sonic-slave-*
- src/sonic-build-hooks
- files/build/versions
- Makefile
- Makefile.work
Expand All @@ -57,7 +56,7 @@ parameters:
default: sonicdev

stages:
- stage: Build
- stage: Build_in_amd64
jobs:
- ${{ each dist in parameters.dists }}:
- ${{ if endswith(variables['Build.DefinitionName'], dist) }}:
Expand All @@ -67,7 +66,9 @@ stages:
pool: sonicbld
arch: ${{ arch }}
dist: ${{ dist }}
- stage: Build_march
${{ if ne(arch, 'amd64') }}:
march: _march_${{ arch }}
- stage: Build_native_arm
dependsOn: []
jobs:
- ${{ each dist in parameters.dists }}:
Expand All @@ -79,4 +80,4 @@ stages:
pool: sonicbld-${{ arch }}
arch: ${{ arch }}
dist: ${{ dist }}
march: march_
march: _${{ arch }}
18 changes: 7 additions & 11 deletions .azure-pipelines/run-test-scheduler-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ parameters:
default: 36000

- name: MIN_WORKER
type: number
type: string
default: 1

- name: MAX_WORKER
type: number
default: 2
type: string
default: 1

- name: TEST_SET
type: string
Expand Down Expand Up @@ -81,11 +81,10 @@ steps:
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"
# When "LOCK_TESTBED" finish, it changes into "PREPARE_TESTBED"
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --timeout 43200 --expected-states PREPARE_TESTBED EXECUTING KVMDUMP FINISHED CANCELLED FAILED
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state LOCK_TESTBED
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: Lock testbed
timeoutInMinutes: 240

- script: |
set -ex
Expand All @@ -95,36 +94,33 @@ steps:
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"
# When "PREPARE_TESTBED" finish, it changes into "EXECUTING"
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --timeout 2400 --expected-states EXECUTING KVMDUMP FINISHED CANCELLED FAILED
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state PREPARE_TESTBED
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: Prepare testbed
timeoutInMinutes: 40

- 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 "Runtime detailed progress at https://www.testbed-tools.org/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)" --timeout 18000 --expected-states KVMDUMP FINISHED CANCELLED FAILED
python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --expected-state EXECUTING
env:
TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL)
displayName: Run test
timeoutInMinutes: 300

- 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 "Runtime detailed progress at https://www.testbed-tools.org/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)" --timeout 43200 --expected-states FINISHED CANCELLED FAILED
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: 20

- script: |
set -ex
Expand Down
24 changes: 24 additions & 0 deletions .azure-pipelines/template-daemon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
steps:
- bash: |
(
while true
do
sleep 120
now=$(date +%s)
pids=$(ps -C docker -o pid,etime,args | grep "docker build" | cut -d" " -f2)
for pid in $pids
do
start=$(date --date="$(ls -dl /proc/$pid --time-style full-iso | awk '{print$6,$7}')" +%s)
time_s=$(($now-$start))
if [[ $time_s -gt $(DOCKER_BUILD_TIMEOUT) ]]; then
echo =========== $(date +%F%T) $time_s &>> target/daemon.log
ps $pid &>> target/daemon.log
sudo kill $pid
fi
done
done
) &
daemon_pid=$!
ps $daemon_pid
echo $daemon_pid >> /tmp/azp_daemon_kill_docker_pid
displayName: start daemon to kill hang docker
4 changes: 4 additions & 0 deletions .azure-pipelines/template-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ variables:
DEFAULT_CONTAINER_REGISTRY: 'publicmirror.azurecr.io'
COMMON_LIB_BUILD_ENVS: 'bullseye'
SONIC_SLAVE_DOCKER_DRIVER: 'overlay2'
SONIC_BUILD_RETRY_COUNT: 3
SONIC_BUILD_RETRY_INTERVAL: 600
DOCKER_BUILDKIT: 0
DOCKER_BUILD_TIMEOUT: 3600
59 changes: 59 additions & 0 deletions .github/workflows/automerge_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: AutoMergeScan
on:
schedule:
- cron: '31 */2 * * *'
workflow_dispatch:

jobs:
automerge_scan:
runs-on: ubuntu-latest
steps:
- name: Debug
env:
TOKEN: ${{ secrets.TOKEN }}
run: |
set -e

echo ${TOKEN} | gh auth login --with-token
gh pr list -R sonic-net/sonic-buildimage -A mssonicbld --json additions,assignees,author,baseRefName,body,changedFiles,closed,closedAt,comments,commits,createdAt,deletions,files,headRefName,headRepository,headRepositoryOwner,id,isCrossRepository,isDraft,labels,latestReviews,maintainerCanModify,mergeCommit,mergeStateStatus,mergeable,mergedAt,mergedBy,milestone,number,potentialMergeCommit,projectCards,reactionGroups,reviewDecision,reviewRequests,reviews,state,statusCheckRollup,title,updatedAt,url > prs.log
cat prs.log | jq
- name: Main
run: |
set -e

count=$(cat prs.log | jq 'length')
for ((i=0;i<$count;i++))
do
url=$(cat prs.log | jq -r ".[$i].url")
created_at=$(cat prs.log | jq -r ".[$i].createdAt")
echo PR: $(($i+1))/$count, URL: $url, createdAt: $created_at, now: $(date -u +"%FT%TZ")
[[ "$url" == "" ]] && continue
[[ $created_at > $(date --date "1 hour ago" -u +"%FT%TZ") ]] && continue
checks=$(cat prs.log | jq ".[$i].statusCheckRollup")
checks_count=$(echo $checks | jq 'length')
echo Checks count: $checks_count
for ((j=0;j<$checks_count;j++))
do
check=$(echo $checks | jq ".[$j]")
state=$(echo $check | jq -r '.state')
conclusion=$(echo $check | jq -r '.conclusion')

# EasyCLA success flag: state=SUCCESS
# Others success flag: conclusion in SUCCESS,NEUTRAL
if [[ "$state" == "SUCCESS" ]];then
# check pass
continue
elif [[ "$conclusion" == "SUCCESS" ]] || [[ "$conclusion" == "NEUTRAL" ]];then
# check pass
continue
else
echo "$url Check failed!!!"
echo $check | jq
continue 2
fi
done
# merge the PR
echo ========Merging PR========
gh pr merge --rebase --admin -R sonic-net/sonic-buildimage $url || true
echo ========Finished PR========
done
Loading