Commit Graph

5665 Commits

Author SHA1 Message Date
jhli-cisco
0569771757
Update cisco-8000.ini (#12808)
Why I did it
1.57.x SDK based incremental drop that addresses a few egress ACL and drop counter failures. Hostname, vtysh, and incorrect queue watermark issue are addressed too.

How I did it
Update cisco-8000 submodule to v0.2.3

How to verify it
Which release branch to backport (provide reason below if selected)
2022-11-23 15:26:40 +08:00
zitingguo-ms
147e907af8
Update sairedis header (#12775)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-11-22 19:41:13 -08:00
mssonicbld
b3d4305adc
[ci/build]: Upgrade SONiC package versions (#12756) 2022-11-20 19:00:06 +08:00
lixiaoyuner
c9f85877ad Fix code irregular issues (#12595)
* Fix code irregular issues

Signed-off-by: Yun Li <yunli1@microsoft.com>
2022-11-18 09:51:58 +00:00
lixiaoyuner
7348d6202a Improve feature mode switch process (#12188)
* Fix kube mode to local mode long duration issue

* Remove IPV6 parameters which is not necessary

* Fix read node labels bug

* Tag the running image to latest if it's stable

* Disable image_version_higher check

* Change image_version_higher checker test case

Signed-off-by: Yun Li <yunli1@microsoft.com>
2022-11-18 09:51:54 +00:00
Qi Luo
e4db3291e2
[sonic-snmpagent] Update submodule (#12732)
#### Why I did it
Include below commits
```
00b4dc0 2022-11-14 | Remove error logging on "failed in fdb_vlanmac" (#272) [Qi Luo]
792afe8 2022-11-14 | Don't cache the vlan-id if it is not valid from DB (#273) [zhenggen-xu]
```
2022-11-17 16:45:20 -08:00
Richard.Yu
5d7a345c09
[SAI-PTF][202012]Fix sai ptf 202012 (#12724)
* fix sai-ptf docker build error

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* correct the docker image version

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* update thrift package

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* fix version upgrade issue in 202012

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* remove useless file

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
2022-11-16 20:32:24 -08:00
Yutong Zhang
10c2d601ed
[202012][TestbedV2] Add dualtor test jobs using TestbedV2. (#12672)
Add dualtor test jobs using TestbedV2 in 202012 branch.

Why I did it
Add dualtor test jobs using TestbedV2 in 202012 branch.

How I did it
Add dualtor test jobs using TestbedV2 in 202012 branch.

Signed-off-by: Yutong Zhang <yutongzhang@microsoft.com>
2022-11-16 13:48:19 +08:00
Samuel Angebault
ea3620cde5
[Arista] Remove pcie device monitoring for 7260CX3-64 (#12654) 2022-11-15 15:26:32 -08:00
Devesh Pathak
acca64a8bd
[202012] Clear /etc/resolv.conf before building image (#12686)
Why I did it
nameserver and domain entries from build system fsroot gets into sonic image.

How I did it
Clear /etc/resolv.conf before building image

How to verify it
Built image with it and verified with install that /etc/resolv.conf is empty
2022-11-15 10:09:09 +08:00
vdahiya12
ba8f7c14ae
[202012][sonic-platform-daemons] submodule update (#12685)
git log --oneline aacb772..202012
these commits are added in sonic-platform-daemons
8ec96c0 (HEAD -> 202012, origin/202012) [ycabled] fix exception-handling logic for ycabled (#312)
3d5470d [ycabled] move swsscommon API's from subroutines to call them exactly once per task_worker/thread (#310)


Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
2022-11-14 17:20:34 -08:00
mssonicbld
db770a9353
[ci/build]: Upgrade SONiC package versions (#12690) 2022-11-13 20:29:24 +08:00
Lawrence Lee
3683f803a6
[sairedis]: Submodule update (#12682)
Include following commit:

a60f4b9 [202012][Recorder]: Acquire lock for ofstream changes (#1144)

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2022-11-13 01:16:57 -08:00
Lawrence Lee
275adc6691 [arp_update]: Fix hardcoded vlan (#12566)
Typo in prior PR #11919 hardcodes Vlan name. Change command to use the $vlan variable instead

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2022-11-11 18:01:15 +00:00
mssonicbld
5d5339dd13
[ci/build]: Upgrade SONiC package versions (#12676) 2022-11-11 20:31:36 +08:00
Jing Zhang
946f8a8c15
[202012][sonic-linkmgrd] update submodule (#12666)
[202012][sonic-linkmgrd] update submodule

cf7274a Jing Zhang Mon Nov 7 14:50:40 2022 -0800 [active-standby][active-active] update link prober stats updating frequency to 30s (#152) (#155)

sign-off: Jing Zhang zhangjing@microsoft.com
2022-11-10 10:56:03 -08:00
bingwang-ms
4f4f4cba21
[202012] Add lossy scheduler for queue 7 (#12600)
* Add lossy scheduler for queue 7
2022-11-10 10:25:03 +08:00
Ying Xie
eb37bed49c
[201811][DX010] enable LPM (#12641)
Why I did it
Without LPM enabled, the routing table size is very small.

How I did it
Enabling LPM.

Signed-off-by: Ying Xie ying.xie@microsoft.com
2022-11-09 08:16:03 -08:00
mssonicbld
856e536659
[ci/build]: Upgrade SONiC package versions (#12655) 2022-11-09 23:36:30 +08:00
zitingguo-ms
be091bd60a
Advance sairedis header (#12631)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-11-08 02:42:41 -08:00
zitingguo-ms
c10aa3b826
Add a parameter for libsaithrift to skip error on errno -2 (#12581) (#12617)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-11-07 00:07:37 -08:00
mssonicbld
bf39fca99e
[ci/build]: Upgrade SONiC package versions (#12604) 2022-11-06 20:16:03 +08:00
SuvarnaMeenakshi
2abb9e1c46 [202205][multi-asic] Fix the issue where if dest port is not specified in ACL rule than caclmgrd gets exception (#12577)
Why I did it
Creating this PR to take changes from sonic-net/sonic-host-services#21
2022-11-05 22:34:41 +00:00
mssonicbld
8f80dc3a1b
[ci/build]: Upgrade SONiC package versions (#12583) 2022-11-02 21:21:29 +08:00
Ying Xie
778df1e178
[202012][RDMA] create split profiles for Arista-7050CX3-32S (#12478)
* [202012][RDMA] create split profiles for Arista-7050CX3-32S

Manually cherry-picking #12228.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2022-10-31 22:55:06 -07:00
mssonicbld
cdcb7f02ac
[action] Use pull_request_target trigger instead to avoid codeQL check approval (#12509) (#12541)
Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2022-11-01 10:25:22 +08:00
Kebo Liu
db03698ba5
fix DOM support caoability issues on QSFP and CMIS cables (#12500)
Signed-off-by: Kebo Liu <kebol@nvidia.com>

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2022-10-30 23:20:57 -07:00
Dror Prital
67b6541c19
[202012][submodule] Advance sonic-platform-common pointer (#12551)
Update sonic-platform-common submodule pointer to include the following:
* a2164f6 [202012] Fix issue: sff8436 does not support decoding power class 5~7 ([#317](https://github.com/sonic-net/sonic-platform-common/pull/317))
* 6722b4e Update the return of update_firmware for the image not exist case ([#306](https://github.com/sonic-net/sonic-platform-common/pull/306))

Signed-off-by: dprital <drorp@nvidia.com>
2022-10-30 17:34:42 +02:00
mssonicbld
0f721d8d98
[ci/build]: Upgrade SONiC package versions (#12550) 2022-10-30 20:05:48 +08:00
Kebo Liu
78043b828c
[202012] [Mellanox] Read transceiver EEPROM via sdk sysfs (#12399)
- Why I did it
ethtool is not able to read certain pages(eg. page 11h) of CMIS cables.
SDK provides a set of sysfs to expose the transceiver EEPROM, now we migrate from using ethtool to read these sysfs for transceiver EEPROM reading.

- How I did it
replace ethtool with accessing the SDK sysfs for cable EEPROM reading.
Adjust the offset according to the SDK sysfs memory map.

- How to verify it
run sonic-mgmt sfp-related regression test case.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2022-10-30 09:34:39 +02:00
Dror Prital
5de7ae449a
Update SDK/FW to version 4.5.3186/2010_3186 (#12531)
- Why I did it
Update SDK/FW version - 4.5.3186/2010_3186 in order to have the following changes:

New functionality:
1. Added support for 6.5W (Class 8) in ports 49-50, 53-54, 57-58, and 61-62 on SN4600 system

Fix the following issues:
1. On very rare occasion (~1/100K), during I2C transaction with MMS1V50-WM and MMS1V90-WR modules on SN4700 system, the module may send unexpected stop which violate the I2C specification, possibly affecting the link up flow
2. When running 1GbE speeds on SN4600 system, the port remained active while peer side was closed
3. While toggling the cable with ‘sfputil lpmode on/off’, error msg like “ERR pmon#xcvrd: Receive PMPE error event on module 1: status {X} error type {y}” could be received
4. When toggling many ports of the Spectrum devices while raising 10GbE link up and link maintenance is enabled, the switch may get stuck and may need to be rebooted
5. When trying to reconfigure the Flex Parser header and Flex transition parameters after ISSU, the switch will returned an error even if the configuration was identical to that done before performing the ISSU
6. While moving from lossless to lossy mode while shared headroom was used, reduction of the shared headroom can only be done prior to pool type change and when shared headroom is not utilized
7. SLL configuration is missing in SDK dump
8. If TTL_CMD_COPY is used in Encap direction for a packet with no TTL, then the value passed in the ttl data structure will be used if non-zero (default 255 if zero)
9. PCI calibration changes from a static to a dynamic mechanism
10. Layer 4 port information is not initialized for BFD packet event. To address the issue, remote peer UDP port information was added in BFD packet event
11. SDK returned error when FEC mode is set on twisted pair, when FEC was set to None

- How I did it
Update pointer for the SDK/FW

- How to verify it
Run regression tests

Signed-off-by: dprital <drorp@nvidia.com>
2022-10-30 09:29:45 +02:00
mssonicbld
eee839fddf
[ci/build]: Upgrade SONiC package versions (#12547) 2022-10-28 21:24:57 +08:00
Vivek
24ee3dd1e1
[202012] [submodule] Advance sonic-utilities pointer (#12513)
7272bf37 Revert "Revert "[DHCPv6] [202012] Update the dhcpv6_relay config/show cli (#2271)" (#2336)" (#2459)
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
2022-10-27 08:45:55 +03:00
Ye Jianquan
95b979dfc1
[202012][TestbedV2]Migrate t0 and t1-lag to TestbedV2 (#12383) (#12454)
* [TestbedV2]Migrate t0 and t1-lag to TestbedV2 (#12383)

signed-off-by: jianquanye@microsoft.com

Migrate the t0 and t1-lag test jobs in buildimage repo to TestbedV2.

Why I did it
Migrate the t0 and t1-lag test jobs in buildimage repo to TestbedV2.

How I did it
Migrate the t0 and t1-lag test jobs in buildimage repo to TestbedV2.

Remove ceos type setting

Use 202012 branch as sonic-mgmt branch

* Modify template to use 202012 branch
2022-10-27 08:13:13 +08:00
Dror Prital
4bbfcf0bb6
[202012][submodule] Advance sonic-swss pointer (#12358)
Update sonic-swss submodule pointer to include the following:
* 08711a8 [orchdaemon]: Fixed sairedis record file rotation ([#2481](https://github.com/sonic-net/sonic-swss/pull/2481))

Signed-off-by: dprital <drorp@nvidia.com>
2022-10-26 15:08:57 +03:00
mssonicbld
713747dc05
[ci/build]: Upgrade SONiC package versions (#12507) 2022-10-26 19:58:39 +08:00
Devesh Pathak
d45fe19576 Fix to improve hostname handling (#12064)
* Fix to improve hostname handling
If config_db.json is missing hostname entry, hostname-config.sh ends
up deleting existing entry too and hostname changes to default 'localhost'

* default hostname to 'sonic` if missing in config file
2022-10-26 05:48:16 +00:00
Liu Shilong
2532be43bd [action] Use github code scan instead of LGTM. (#12402)
* [action] Add code scan for python
2022-10-26 05:48:11 +00:00
kellyyeh
5d8efe9470 Add dhcp6relay dualtor option (#12459) 2022-10-26 05:48:05 +00:00
Lawrence Lee
888f6ec157 [tunnel_pkt_handler]: Skip nonexistent intfs (#12424)
- Skip the interface status check if the interface does not exist. In the future, when the interface is created/comes up this check will be triggered again.

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2022-10-26 05:47:59 +00:00
Marty Y. Lok
80870439af [armhf][sonic-installer] Fix the sonic-installer install images on armhf platform issue (#12284)
Signed-off-by: mlok <marty.lok@nokia.com>

Signed-off-by: mlok <marty.lok@nokia.com>
2022-10-26 05:47:51 +00:00
Zhaohui Sun
f9578d92d0
[202012][LLDPD] fix to port remove and immediately create problem (#12467)
Why I did it
Cherry pick #9519.

when we remove a port and add it back immediately - lldp is keep failing
warning message keeps appearing:
[WARN/lldp] unable to send packet on real device for Ethernet4: No such device or address

How I did it
on delete link events it will immediately execute delete without using aggregate events mechanism.

How to verify it
Run autorestart/test_container_autorestart.py in sonic-mgmt repo
Or manual test steps:
sudo config feature autorestart swss disabled
docker exec swss supervisorctl status
docker exec swss kill -SIGKILL 111(orchagent)
docker inspect -f {{.State.Running}} swss => make sure swss is running
docker exec swss supervisorctl start orchagent

Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
2022-10-26 11:13:48 +08:00
zitingguo-ms
bafbfb5a26
Pickup fix and make up BRCM SAI version to 4.3.7.1-6 (#12486)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-10-26 09:52:48 +08:00
jhli-cisco
23c274a225
Update cisco-8000 submodule to v0.120 (#12470) 2022-10-25 18:09:16 +08:00
xumia
8ea6ee7215
[sonic-slave]: Add gmock for sonic-swss-common tests (#8950) (#12461)
Why I did it
Cherry-pick from #8950

Sonic-swss-common requires gmock for staged unit tests

How I did it
Installed dependency in sonic-buster-build docker file

How to verify it
rebuild the build container
2022-10-25 15:45:28 +08:00
Liu Shilong
fb06d3a70c
[build] Add dependencies for sonic-config-engine to block bad PR. (#10770) (#10794)
Add dependencies device/*
2022-10-25 15:45:09 +08:00
mssonicbld
d2d25ac5f5
[ci/build]: Upgrade SONiC package versions (#12449) 2022-10-21 21:48:16 +08:00
Jing Zhang
d8d0436ed2
[202012][sonic-linkmgrd] update submodule (#12415)
commit aa8fe6deff466909909430f00598d2dba9490904 (HEAD -> 202012, origin/202012)
Author: Jing Zhang zhangjing@microsoft.com
Date: Tue Oct 11 10:22:02 2022 -0700

[Active-Standby] avoid posting mux metrics event when receiving unsolicited mux state notification  (#142)

Description of PR
Summary:
Fixes # (issue)

This PR is to fix incorrect mux metrics timestamps caused by unsolicited mux state notification.

Sign-off: Jing Zhang zhangjing@microsoft.com
sign-off: Jing Zhang zhangjing@microsoft.com
2022-10-20 13:45:41 -07:00
Ye Jianquan
8e7a491f3b Enable to cancel pipeline jobs during checkout code and tests (#12436)
co-authorized by: jianquanye@microsoft.com

Why I did it
Now, checkout code step and KVM test job can't be cancelled even though the whole build is cancelled.
That's because by using Azure Pipeline Conditions, we customized the running condition, and we need to react to the Cancel action explicitly by asserting 'succeeded'
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#succeeded
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml#ive-got-a-conditional-step-that-runs-even-when-a-job-is-canceled-how-do-i-manage-to-cancel-all-jobs-at-once

How I did it
Assert 'succeeded' condition explicitly.

How to verify it
Verified by cancelling and rerunning the azure pipeline.
2022-10-19 18:53:40 +00:00
kellyyeh
1999d9a2e1
Advance dhcprelay submodule (#12215) 2022-10-19 10:04:38 -07:00