-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Triagedthis issue has been triagedthis issue has been triaged
Description
Overview
This issue tracks the migration of gnmi-related containers and Go modules from Debian Bookworm to Debian Trixie (Go 1.24).
Motivation
Debian Trixie ships Go 1.24 (vs Bookworm's Go 1.19). The migration enables:
- Staying on a supported Debian release
- Access to Go 1.21–1.24 language features and improvements
- Up-to-date stdlib security patches (crypto, TLS, etc.)
Scope
1. sonic-gnmi (first, unblocks everything)
- Bump
godirective:1.19→1.23 - Remove unnecessary stdlib version pins (
x/crypto,x/sys,grpc,protobuf) - Add
openconfig/goyangpin to maintain compat with pinnedygot v0.7.1 - Drop redundant
fsnotifyCloseWrite vendor patch (natively supported in fsnotify v1.5+) - PR: [go] Bump go version to 1.23, remove stdlib version pins sonic-gnmi#611
2. sonic-mgmt-common
- Add
go 1.21directive (currently hasgo 1.19) - Run
go mod tidyfor consistency - PR: [go] Bump go version to 1.21 for Debian Trixie compatibility sonic-mgmt-common#208
3. sonic-buildimage
- Migrate
docker-sonic-gnmi,docker-gnmi-sidecar,docker-gnmi-watchdogto Trixie base image - Switch from
SONIC_BOOKWORM_DOCKERS→SONIC_TRIXIE_DOCKERS - Bump submodule SHAs once above PRs merge
- PR: [gnmi] Migrate gnmi, telemetry, and watchdog containers to Debian Trixie #25957
Order
sonic-mgmt-common (#208) → sonic-gnmi (#611) → sonic-buildimage (#25957)
Deferred
- ygot/goyang upgrade:
ygot v0.7.1is pinned becausesonic-mgmt-common/translib/ocbindsuses YANG-generated code against the old API. Regenerating from YANG models is a separate effort. - slave.mk SONIC_TRIXIE_DOCKERS path handling: Multi-env build path vars not yet wired. Follows same gap in Brcm containers migrate to trixie #25942.
References
- Add base, config-engine, and swss-shared layers for Trixie #25184 — Add Trixie base layers (config-engine, swss-shared)
- Brcm containers migrate to trixie #25942 — Brcm containers migrate to Trixie
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Triagedthis issue has been triagedthis issue has been triaged