Skip to content

go.mod: bump go directive to 1.25.9 - #69

Open
xq9mend wants to merge 1 commit into
openconfig:masterfrom
xq9mend:upgrade/go-1.25.9-cve
Open

xq9mend wants to merge 1 commit into
openconfig:masterfrom
xq9mend:upgrade/go-1.25.9-cve

Conversation

@xq9mend

@xq9mend xq9mend commented Sep 5, 2026

Copy link
Copy Markdown

Bump go directive in tests/integration/go.mod from 1.25.7 to 1.25.9 to pick up Go stdlib security fixes.

Bump go directive from 1.25.7 to 1.25.9 to pick up Go stdlib CVE fixes:
- CVE-2024-24790 (net/netip)
- CVE-2025-68121 (crypto/tls)

Signed-off-by: xq9mend <xq9mend@users.noreply.github.com>
@google-cla

google-cla Bot commented Sep 5, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

xq9mend added a commit to xq9mend/sonic-buildimage that referenced this pull request Sep 10, 2026
The oc-pyang go directive bump does not apply as an in-tree quilt
patch against sonic-mgmt-common: models/yang/oc-pyang is not present
at patch-apply time in a clean checkout, causing sonic-mgmt-common
package build to fail (aspeed_arm64, kvmtest-t2, kvmtest-multi-asic-t1).

The oc-pyang go.mod change is tracked separately in the upstream
openconfig/oc-pyang repository (PR openconfig/oc-pyang#69).

Keep only src/sonic-sysmgr.patch/ (gnoi go directive bump), which
applies cleanly against the vendored gnoi source tree.

Signed-off-by: xq9mend <xq9mend@users.noreply.github.com>
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Sep 11, 2026
Why I did it
Bump Go directive in gnoi submodule source to 1.25.9 to pick up Go stdlib security fixes, aligned with the 1.25.9 used in sonic-mgmt-common, sonic-mgmt-framework, and sonic-alpine.

Work item tracking
Microsoft ADO:
How I did it
Add in-tree quilt patch dir:

src/sonic-sysmgr.patch: bump gnoi/go.mod from go 1.22/toolchain go1.22.4 to go 1.25.9/toolchain go1.25.9
The oc-pyang go directive bump (originally included as src/sonic-mgmt-common.patch) was removed from this PR: models/yang/oc-pyang is not present in a clean checkout of sonic-mgmt-common at quilt-patch-apply time, so the in-tree patch failed to apply and broke the sonic-mgmt-common package build (aspeed_arm64, kvmtest-t2, kvmtest-multi-asic-t1). That change is tracked separately in the upstream openconfig/oc-pyang repository (PR openconfig/oc-pyang#69).

How to verify it
Build sonic-sysmgr and confirm the gnoi go directive is applied.
srustum-arista pushed a commit to srustum-arista/sonic-buildimage that referenced this pull request Sep 14, 2026
Why I did it
Bump Go directive in gnoi submodule source to 1.25.9 to pick up Go stdlib security fixes, aligned with the 1.25.9 used in sonic-mgmt-common, sonic-mgmt-framework, and sonic-alpine.

Work item tracking
Microsoft ADO:
How I did it
Add in-tree quilt patch dir:

src/sonic-sysmgr.patch: bump gnoi/go.mod from go 1.22/toolchain go1.22.4 to go 1.25.9/toolchain go1.25.9
The oc-pyang go directive bump (originally included as src/sonic-mgmt-common.patch) was removed from this PR: models/yang/oc-pyang is not present in a clean checkout of sonic-mgmt-common at quilt-patch-apply time, so the in-tree patch failed to apply and broke the sonic-mgmt-common package build (aspeed_arm64, kvmtest-t2, kvmtest-multi-asic-t1). That change is tracked separately in the upstream openconfig/oc-pyang repository (PR openconfig/oc-pyang#69).

How to verify it
Build sonic-sysmgr and confirm the gnoi go directive is applied.
mssonicbld added a commit to sonic-net/sonic-buildimage that referenced this pull request Sep 22, 2026
#### Why I did it

Bump Go directive in gnoi submodule source to 1.25.9 to pick up Go stdlib security fixes, aligned with the 1.25.9 used in sonic-mgmt-common, sonic-mgmt-framework, and sonic-alpine.

##### Work item tracking
- Microsoft ADO:

#### How I did it

Add in-tree quilt patch dir:
- `src/sonic-sysmgr.patch`: bump `gnoi/go.mod` from `go 1.22`/`toolchain go1.22.4` to `go 1.25.9`/`toolchain go1.25.9`

The oc-pyang go directive bump (originally included as `src/sonic-mgmt-common.patch`) was removed from this PR: `models/yang/oc-pyang` is not present in a clean checkout of sonic-mgmt-common at quilt-patch-apply time, so the in-tree patch failed to apply and broke the sonic-mgmt-common package build (aspeed_arm64, kvmtest-t2, kvmtest-multi-asic-t1). That change is tracked separately in the upstream openconfig/oc-pyang repository (PR openconfig/oc-pyang#69).

#### How to verify it

Build sonic-sysmgr and confirm the gnoi go directive is applied.

#### Which release branch to backport (provide reason below if selected)

- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [ ] 202505
- [ ] 202511

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant