Skip to content

[code sync] Merge code from sonic-net/sonic-buildimage:master to kubesonic#2633

Merged
mssonicbld merged 10 commits into
Azure:kubesonicfrom
mssonicbld:sonicbld/kubesonic-merge
Jul 9, 2026
Merged

[code sync] Merge code from sonic-net/sonic-buildimage:master to kubesonic#2633
mssonicbld merged 10 commits into
Azure:kubesonicfrom
mssonicbld:sonicbld/kubesonic-merge

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator
* f837baab3 - (head/master) [yang-mgmt] Treat empty leaf-list ([''] from CONFIG DB) as empty, not an element (2026-07-08) [Deepak Singhal]
* fb88810b9 - [device]: Remove hardcoded ZMQ fields from DNX context_config.json (2026-07-08) [Deepak Singhal]
* e7e4b2535 - [submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#28294) (2026-07-08) [mssonicbld]
* 286e2058c - [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#28296) (2026-07-08) [mssonicbld]
* b70657b4d - [submodule] Update submodule sonic-swss to the latest HEAD automatically (#28295) (2026-07-08) [mssonicbld]
* 7f6fd7a45 - [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#28293) (2026-07-08) [mssonicbld]
* 60aa591e5 - [submodule] Update submodule sonic-gnmi to the latest HEAD automatically (#28291) (2026-07-08) [mssonicbld]
* 5e95cb895 - ci: enable pr docker-ptf testing via dynamic detection (#28154) (2026-07-08) [Austin (Thang Pham)]
* afc5b7fe4 - [broadcom][dnx] Point saibcm-modules-dnx submodule at new sdk-6.5.35-dnx (#28254) (2026-07-07) [Venu]<br>```

venu-nexthop and others added 10 commits July 7, 2026 20:49
…dnx (#28254)

What: Points the platform/broadcom/saibcm-modules-dnx submodule (.gitmodules + pointer) back to upstream sonic-net/saibcm-modules on branch sdk-6.5.35-dnx, bumping the pointer to branch head 7ef751f (was nexthop-ai fork branch @ bfca8dd).
Why: Follow-up to #28152, which temporarily pointed the submodule at the nexthop-ai fork PR branch while saibcm-modules PR Azure#41 was in review. That PR is now merged, so the submodule can point back at upstream (matching the XGS saibcm-modules setup).
How: Updates the submodule url/branch in .gitmodules and advances the submodule commit to 7ef751f. No content change: 7ef751f is the merge commit of saibcm-modules PR Azure#41, whose second parent bfca8dd is exactly the commit the submodule points to today.
Testing: All required CI green (29 checks passed, 0 failing). Approved by saravanan-nexthop and vmittal-msft.

Signed-off-by: venu-nexthop <venu@nexthop.ai>
Use the dynamic PTF_MODIFIED coalesce so in-PR docker-ptf testing is
enabled only when the PR modifies docker-ptf, and pass a branch-aligned
PTF_IMAGE_TAG (latest) to the sonic-mgmt PR test template. PR builds only.

Signed-off-by: Austin (Ngoc Thang) Pham <austinpham@microsoft.com>
…lly (#28291)

#### Why I did it
src/sonic-gnmi
```
* 3a64cef - (HEAD -> master, origin/master, origin/HEAD) Implement OnceRun for MixedDbClient and DbClient Subscribe ONCE (Azure#685) (24 hours ago) [Ashwin Srinivasan]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…D automatically (#28293)

#### Why I did it
src/sonic-platform-daemons
```
* 01bff8a - (HEAD -> master, origin/master, origin/HEAD) [cmis] Fix issue: Potential race condition between split ports while doing DPSM (Azure#840) (19 hours ago) [Junchao-Mellanox]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…lly (#28295)

#### Why I did it
src/sonic-swss
```
* 37d51fdb - (HEAD -> master, origin/master, origin/HEAD) portsorch: drop port from pending set on parse failure (#4720) (6 hours ago) [Anant]
* c2327cec - [hftorch]: Fixbug skip commit for unrelated counter map updates (#4690) (10 hours ago) [Ze Gan]
* 43978ad7 - orchagent: add tx_precoding / rx_precoding support using SAI (#4609) (11 hours ago) [Natgerbi]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…atically (#28296)

#### Why I did it
src/sonic-utilities
```
* 9635c23a - (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Preserve explicit buffer_model=dynamic in buffer migrator (#4609) (16 hours ago) [William Tsai]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…tically (#28294)

#### Why I did it
src/sonic-sairedis
```
* cda43377 - (HEAD -> master, origin/master, origin/HEAD) [master] Smart Counter Poll to allow counters to work properly on Broadcom platforms. (Azure#1774) (23 hours ago) [Justin Wong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Remove zmq_enable/zmq_endpoint/zmq_ntf_endpoint from the ASIC_DB context of
DNX-family platforms (Broadcom Jericho/Qumran/Ramon, Nokia J2 chassis, Nexthop
5010). These hardcoded fields pinned the ZMQ transport per platform; removing
them lets the field default to the EMPTY state (per sonic-sairedis Azure#1919) so the
transport is governed by the CONFIG_DB toggle (SYSTEM_DEFAULTS|swss_zmq ->
syncd -z zmq_sync) instead.

Gearbox (GB_ASIC_DB) contexts are left unchanged (zmq_enable: false).
Supervisors (fabric-only) and non-DNX platforms are out of scope.

No functional change today: in-scope platforms are non-DPU, so syncd is never
launched with -z; both the previous DISABLED state and the new EMPTY state
resolve to the default Redis transport.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Deepak Singhal <deepsinghal@microsoft.com>
… an element

An empty leaf-list is stored in CONFIG DB as `field@ = ""`, which the Python
ConfigDBConnector deserialises to a single empty-string element (['']). This is
the CONFIG DB representation of "no elements", not a real element.

Before the libyang1 -> libyang3 port (#26584) the '' sentinel was tolerated by
the validation library. libyang3 validates the '' element against the leaf
type's pattern (e.g. the ip-prefix pattern of BGP_ALLOWED_PREFIXES.prefixes_v4)
and rejects the whole config with:

    Unsatisfied pattern - "" does not conform to <ipv4-prefix> ...

This breaks `config apply-patch` / `config replace` / `config rollback` for any
config that contains an empty pattern-constrained leaf-list (BGP_ALLOWED_PREFIXES
is a common trigger, since a deployment often populates only prefixes_v4 or only
prefixes_v6, leaving the other empty).

Fix: in the config -> YANG translation, drop the empty-string sentinel so an
empty leaf-list is represented as [] (which libyang3 accepts). This is gated on
the leaf-list having no schema default, so the existing empty-with-default
handling (which deliberately rejects the empty representation) is unchanged.

Added a regression unit test that loads BGP_ALLOWED_PREFIXES with an empty
prefixes_v4 leaf-list and asserts it validates and collapses to [].

Signed-off-by: Deepak Singhal <deepsinghal@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld mssonicbld merged commit 385007c into Azure:kubesonic Jul 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants