Commit Graph

8359 Commits

Author SHA1 Message Date
Pavan-Nokia
a93a8f84a1 [Nokia-7215-A1]Update Nokia-7215-A1 Platform (#18147)
1) Update Nokia-7215-A1 platform to address UT and OC test failures
2) Enable watchdog service
3) EZB files for SAI upgrade
2024-03-06 13:01:14 +08:00
noaOrMlnx
86613b8dcc [Mellanox] Fix timing issue in lpmode change (#18223)
- Why I did it
Changing LPMODE timing is different between cables.
We want to add functionality to make sure LPMODE has changed.
For that, the wait_until utility is used and every 1 second (until timeout), it will check with lower-layers what is the current Lpmode.
Once it is the expected mode, set_lpmode() functino will return True.
If after seconds, Lpmode is still not in the expected mode, set_lpmode() function will return False.

- How I did it
Add use of wait_until function to make sure lpmode was changed.

- How to verify it
sfputil lpmode on
sfputil lpmode off
2024-03-06 07:00:47 +08:00
mssonicbld
1867d24b38
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18255)
#### Why I did it
src/linkmgrd
```
* 1f5fcfd - (HEAD -> 202311, origin/202311) Exclude DbInterface in PR coverage check (#224) (21 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:48 +08:00
mssonicbld
e13e38b853
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18261)
#### Why I did it
src/sonic-platform-daemons
```
* 83e5106 - (HEAD -> 202311, origin/202311) Updated supported CMIS module types in xcvrd to include new module for SPC4 (#440) (4 hours ago) [Tomer Shalvi]
* f390d8d - Mark sub-port interfaces as invalid ports in xcvrd (#412) (21 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:20 +08:00
mssonicbld
a162676487
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18264)
#### Why I did it
src/sonic-swss
```
* c4fd095e - (HEAD -> 202311, origin/202311) Fix multi VLAN neighbor learning (#3049) (#3064) (65 minutes ago) [Lawrence Lee]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:09 +08:00
Kebo Liu
865d2ba44b [Mellanox] Extend the time to wait for EEPROM VPD file creation (#18146)
- Why I did it
The creation of system EEPROM VPD file "/var/run/hw-management/eeprom/vpd_info" is triggered by the udev event during the system boot up, in case the CPU is busy during the bootup, the udev event handling can be delayed, and need to wait for some more time for the file creation.

- How I did it
Extend the waiting time from 10s to 20s to overcome some extreme case.

- How to verify it
continuously run reboot case and verify whether still can see error msg "ERR decode-syseeprom: Nowhere to read syseeprom from! No symlink found"

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2024-03-05 07:00:49 +08:00
Kebo Liu
7d44c6b00b
[build] Update debootstrap version from deb11u1 to deb11u2 (#18185) (#18236)
Why I did it
deb11u1 is deprecated.
Use deb11u2 instead.
Other branches are not impacted, because their reproducible build version files are up to date.

Work item tracking
Microsoft ADO (number only): 26964185
How I did it
How to verify it

Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2024-03-04 10:12:32 -08:00
Liu Shilong
742d85b634 [build] Use public storage for public resources. (#18038) 2024-03-05 01:07:22 +08:00
mssonicbld
8be727bcb1
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18215)
#### Why I did it
src/sonic-platform-common
```
* 4dfc01f - (HEAD -> 202311, origin/202311) Certain VDM fields not populating after encountering KeyError on 400ZR optics (#442) (28 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:47 +08:00
mssonicbld
bb61ef5bac
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18217)
#### Why I did it
src/sonic-swss
```
* 64d5fdd9 - (HEAD -> 202311, origin/202311) [intfsorch] Enable ipv6 proxy ndp along with proxy arp (#3045) (2 days ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:36 +08:00
mssonicbld
dabf4bc06c
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18219)
#### Why I did it
src/sonic-utilities
```
* b2bea12c - (HEAD -> 202311, origin/202311) CLI enhancements to revtrieve data from TRANSCEIVER_FIRMWARE_INFO table (#3177) (4 hours ago) [mihirpat1]
* 02ae33f3 - Modify transceiver PM CLI to handle N/A value for DOM threshold (#3174) (28 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:25 +08:00
skumar041
fced303ac7
[Marvell] Update arm64 sai debian to 1.13.0-1 (#18073)
Signed-off-by: sandeep kumar <skumar4@marvell.com>
2024-02-29 14:19:50 -08:00
noaOrMlnx
b10abaf435 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074)
* Update Nvidia sai.profile SKU files to have common file

* Remove SAI_DUMP_MFT_CFG_PATH from sai-common.profile as it is not in use
2024-02-29 13:01:28 +08:00
mssonicbld
55da4fa52c
[Nokia-7215-T1] Disable sysrq-trigger from platform init (#18161) (#18210)
Co-authored-by: Pavan-Nokia <120486223+Pavan-Nokia@users.noreply.github.com>
2024-02-28 11:00:03 -08:00
mssonicbld
bc1bc0f019
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18195)
#### Why I did it
src/sonic-sairedis
```
* edb2b17 - (HEAD -> 202311, origin/202311) Add new functionality to syncd_init_common.sh, to use common sai.profile (#1352) (22 hours ago) [noaOrMlnx]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-28 19:01:08 +08:00
Nikola Dancejic
2a5b1c7cd1 [ebtables] Add multicast drop rule to ebtables (#18064)
Adding rule to ebtables to drop multicast packets in kernel. This was
done to address a bug where NS packets were flooding ports with
duplicate packets.

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
2024-02-28 13:01:18 +08:00
zitingguo-ms
e220fe7f94
upgrade xgs SAI version to 10.1.7.0 (#18163)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2024-02-23 11:09:24 -08:00
mssonicbld
d658e7847d
[ci/build]: Upgrade SONiC package versions (#18142) 2024-02-21 10:46:28 -08:00
mssonicbld
ab117b655e
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18141)
src/sonic-swss

* d322f660 - (HEAD -> 202311, origin/202311) Fix memory leak and object copying bugs in orchagent (#3017) (4 hours ago) [Saikrishna Arcot]
2024-02-21 10:46:04 -08:00
mssonicbld
1a01724845
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18140)
src/sonic-sairedis

* 5c05e23 - (HEAD -> 202311, origin/202311) [SAI] Move SAI submodule to v1.13.3 (#1349) (2 hours ago) [Kamil Cudnik]
2024-02-21 10:45:29 -08:00
Dror Prital
941b541baa
[Build] Fix krb5 package not found issue (#18135) 2024-02-20 08:54:53 -08:00
bktsim
f19fae59e7 [Arista] Remove aggregate port config files for multi-asic devices (#16923)
An aggregate port_config.ini file for Arista multi-asic devices was first introduced by mistake. This PR cleans up these unnecessary files.
2024-02-19 16:33:31 +08:00
Oleksandr Ivantsiv
ab5f9209b5 [dhcp-server] Change the kea-dhcp4 PID file directory to tmpfs. (#17974) 2024-02-19 16:33:27 +08:00
Kebo Liu
20ba1e2406 [Mellanox] Remove SFP sensors from sensors.conf (#17631)
- Why I did it
The cable thermal sensors will be deprecated from the kernel driver. When cable host management is enabled, NOS will fetch the cable temperature from cable EEPROM, kernel driver will not provide the sysfs anymore.

- How I did it
Remove the relevant sensor form the conf files

- How to verify it
Run sonic mgmt sensor test

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2024-02-19 16:33:23 +08:00
mssonicbld
4383c7ff8b
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18126)
#### Why I did it
src/sonic-platform-common
```
* 5430f6f - (HEAD -> 202311, origin/202311) Change get_transceiver_info_firmware_versions return type to dict (#440) (2 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-19 16:33:07 +08:00
mssonicbld
5ec5da734d
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18128)
#### Why I did it
src/sonic-utilities
```
* c711b061 - (HEAD -> 202311, origin/202311) [Mellanox buffer migrator] Do not touch the buffer model on generic SKUs if the buffer configuration is empty (#3114) (2 days ago) [Stephen Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-19 16:33:04 +08:00
Zain Budhwani
76ef12ec73 [eventd] Fix eventd UT flakiness (#17055)
### Why I did it

Fix flakiness of eventd UT - run sub after capture service starts

##### Work item tracking
- Microsoft ADO **(number only)**:25650744

#### How I did it

Run sub socket after capture socket is initialized

#### How to verify it

Pipeline
2024-02-19 14:33:32 +08:00
Arvindsrinivasan Lakshmi Narasimhan
6d422d23ec [nokia][chassis][voq] update the sai_post_init soc file with interrupt ids (#18066)
Update/Add the sai_postinit_cmd.soc with the interrupt-ids

Microsoft ADO 26730061:

How to verify it
Verify on the Chassis LCs
2024-02-19 14:33:28 +08:00
abdosi
b9fbfcfa5c [chassis] update service_checker module to handle database-chassis service (#17836)
* Update service_checker.py

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2024-02-19 14:33:24 +08:00
mssonicbld
317c1ad479
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18127)
#### Why I did it
src/sonic-platform-daemons
```
* 7792838 - (HEAD -> 202311, origin/202311) Move firmware version fields to TRANSCEIVER_FIRMWARE_INFO table (#435) (22 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-18 20:41:51 +08:00
Liu Shilong
bacd215779 [ci] Enable cache for marvell-arm64 build in PR checks. (#15449)
Why I did it
Enable build cache for marvell-arm64 build to decrease PR check duration.

Work item tracking
Microsoft ADO (number only): 26340500
How I did it
How to verify it
2024-02-17 12:34:39 +08:00
Yevhen Fastiuk
491cf9a3f8 [Mellanox] Fix uninitialized variable on module plug event (#17011)
- Why I did it
To fix uninitialized variable

- How I did it
Add initial value

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
2024-02-17 12:34:35 +08:00
dbarashinvd
b967cf0b99 [Mellanox] fix sysfs reading that gets garbage end of line using strip (#17830)
- Why I did it
when reading sysfs fd upon python poller events, there's end of line garbage like "# 012" (without space between the 2 parts) trailing the real value of 1 or 0

- How I did it
using python strip() to remove end of line

- How to verify it
run the CMIS host management feature on a switch
wait few minutes until switch completes boot up sequence including CMIS host manager
then disconnect or reconnect a port to create a poller event
2024-02-17 12:34:31 +08:00
mssonicbld
e54c5b4b98
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18103)
#### Why I did it
src/sonic-platform-daemons
```
* 121b338 - (HEAD -> 202311, origin/202311) Unable to retrieve media settings with just Vendor name (#419) (10 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-16 16:33:06 +08:00
dbarashinvd
dcc5a162ec [Mellanox] fix code for warm reboot to work with FW controlled ports (#18065)
- Why I did it
Fix the code to work also after warm reboot to work with FW controlled ports.
In warm reboot the control state sysfs of each port does not change unlike reboot or fast boot.

- How I did it
1. Check procfs cmdline if warm reboot done this is due to the fact pmon don't recognize warm reboot when it's taking place since pmon is loaded after warm reboot is finished.
2. If warm reboot done, check in static detection part for each port if it's FW controlled. If so, leave it this way and stop the state machine flow (set it to final state).

- How to verify it
1. Boot a switch with CMIS host management with at least one FW controlled port (non active cables or non cmis cables) then run warm reboot.
2. Verify no errors of sysfs reading appears for control sysfs
2024-02-16 09:29:06 +08:00
mssonicbld
71014b28e7
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18075)
#### Why I did it
src/sonic-swss
```
* 2910b0e3 - (HEAD -> 202311, origin/202311) Fix the Orchagent crash seen during Port channel OC test cases. (#3042) (7 days ago) [saksarav-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:13 +08:00
mssonicbld
8cd9463de0
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18081)
#### Why I did it
src/sonic-utilities
```
* b2125761 - (HEAD -> 202311, origin/202311) [chassis] fix show bgp summary when no neighbors are present on one ASIC (#3158) (2 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* 54595c1e - [202311]Fix the sfputil treats page number as decimal instead of hexadecimal (#3153) (#3160) (5 days ago) [Sudharsan Dhamal Gopalarathnam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:04 +08:00
mssonicbld
fb3f683282
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18083)
#### Why I did it
src/sonic-sairedis
```
* 23481f0 - (HEAD -> 202311, origin/202311) Skip FABRIC PORT Attributes from sairedis logging (#1339) (2 days ago) [saksarav-nokia]
* 682e860 - Revert "add if statement for module control mode support" (#1341) (4 days ago) [dbarashinvd]
* 3621a18 - SAI submodule update to pick the sai-thrift support added to read VOQ counters (#1332) (4 days ago) [saksarav-nokia]
* 52cd15b - Fix code coverage and ASAN not being enabled (#1338) (5 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:00 +08:00
snider-nokia
a7daae67e3 [Nokia-IXR7250E][Devicedata] Update the device data for Nokia IXR7250E platform (thermal logging thresholds) (#18063)
These changes adjust Nokia IXR7250 thermal sensor logging thresholds.

Why I did it
To modify the thermal sensor logging thresholds used on LC and Supervisor.

How I did it
Modified the JSON based thermal logging thresholds used to determine when to log current high sensor temperature and hottest sensor margin fluctuations.

How to verify it
Verify that syslog messages indicating current (high) temperature and margin values are only logged when these respective values fluctuate by at least 5 degrees.
2024-02-15 14:33:43 +08:00
Hua Liu
f4b1eb0a5b
Fix IPV6 forced-mgmt-route not work issue (#17299) (#18045)
Fix IPV6 forced-mgmt-route not work issue

Why I did it
IPV6 forced-mgmt-route not work

When add a IPV6 route, should use 'ip -6 rule add pref 32764 address' command, but currently in the template the '-6' parameter are missing, so the IPV6 route been add to IPV4 route table.

Also this PR depends on #17281 , which will fix the IPV6 'default' route table missing in IPV6 route lookup issue. 

Microsoft ADO (number only):24719238
2024-02-07 06:50:57 -08:00
mssonicbld
d8149a1435
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18059)
#### Why I did it
src/sonic-utilities
```
* 31a6584c - (HEAD -> 202311, origin/202311) Fix `sudo config load_mgmt_config` fails with error "File /var/run/dhclient.eth0.pid does not exist" (#3149) (16 hours ago) [Mai Bui]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-07 18:32:27 +08:00
mssonicbld
a7af5b4a11
fix the compile issue for slim image (#18015) (#18057)
Why I did it
The PR introduced a bug for slim image build, #17905, by which the sonic_asic_platform is missing when build docker image for slim image.

[ building ] [ target/docker-dhcp-relay.gz ]
/sonic/dockers/docker-dhcp-relay/cli-plugin-tests /sonic
/sonic
Traceback (most recent call last):
  File "/usr/local/bin/j2", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 202, in main
    output = render_command(
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 186, in render_command
    result = renderer.render(args.template, context)
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 85, in render
    return self._env \
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/sonic/dockers/docker-dhcp-relay/Dockerfile.j2", line 48, in top-level template code
    {% if build_reduce_image_size != "y" or sonic_asic_platform != "broadcom" %}
jinja2.exceptions.UndefinedError: 'sonic_asic_platform' is undefined
make: *** [slave.mk:1072: target/docker-dhcp-relay.gz] Error 1
make: *** Waiting for unfinished jobs....
[ finished ] [ target/docker-swss-layer-bullseye.gz ]
[ finished ] [ target/docker-syncd-brcm-dnx.gz ]
make[1]: *** [Makefile.work:608: target/sonic-broadcom.bin] Error 2
make[1]: Leaving directory '/data/work/1/s'
make: *** [Makefile:41: target/sonic-broadcom.bin] Error 2
And why it slipped the PR test? PR test doesn't compile with slim option, it won't check sonic_asic_platform != "broadcom" for PR build.

Work item tracking
Microsoft ADO (number only):
How I did it
Export sonic_asic_platform for docker build in slave.mk

How to verify it
build with slim image option.

Co-authored-by: StormLiangMS <89824293+StormLiangMS@users.noreply.github.com>
2024-02-06 23:58:46 -08:00
zitingguo-ms
05ae1fa285
upgrade xgs SAI version to 10.1.6.0 (#18055)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2024-02-06 23:11:58 -08:00
Volodymyr Samotiy
e13ef9d9b2
[202311] [Mellanox] Disable SSD NCQ on Mellanox platforms (#18040)
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2024-02-06 16:31:50 -08:00
Yaqiang Zhu
0611bdfb39
[202311][dhcp_server][yang] Update supported option type to string (#18029) (#18043) 2024-02-06 16:31:19 -08:00
Ye Jianquan
5352135776
[202311, PR] deprecate DPU (#18035) 2024-02-05 10:07:20 -08:00
mssonicbld
627d9cb3bb
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18016)
#### Why I did it
src/linkmgrd
```
* 70b6d15 - (HEAD -> 202311, origin/202311) [active-standby] Fix `show mux status` inconsistency introduced by orchagent rollback  (#225) (3 days ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:33:00 +08:00
mssonicbld
0155096300
[submodule] Update submodule sonic-host-services to the latest HEAD automatically (#18018)
#### Why I did it
src/sonic-host-services
```
* 054aa7a - (HEAD -> 202311, origin/202311) Fixed ip6table internal_docker_ip_traffic rule command for multi-asic (#94) (3 days ago) [anamehra]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:57 +08:00
mssonicbld
36ba782dfa
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18020)
#### Why I did it
src/sonic-platform-common
```
* 9bf5a17 - (HEAD -> 202311, origin/202311) Implementing set_optoe_write_timeout API (#422) (3 days ago) [mihirpat1]
* c8617b8 - APIs to help in finding NPU SI settings (#410) (3 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:50 +08:00
mssonicbld
dae74cc7de
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18022)
#### Why I did it
src/sonic-platform-daemons
```
* dbaa079 - (HEAD -> 202311, origin/202311) Support 800G ifname in xcvrd (#416) (2 days ago) [Anoop Kamath]
* e4272c1 - 400ZR not linking up with latest SONiC master image (#410) (3 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:47 +08:00