Skip to content

[docker-ptf] Cherry-pick Dockerfile.j2 changes from master to 202605 - #28137

Open
auspham wants to merge 1 commit into
sonic-net:202605from
auspham:austinpham/38614512-merge-ptf-code-change-to-202605
Open

[docker-ptf] Cherry-pick Dockerfile.j2 changes from master to 202605#28137
auspham wants to merge 1 commit into
sonic-net:202605from
auspham:austinpham/38614512-merge-ptf-code-change-to-202605

Conversation

@auspham

@auspham auspham commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Why I did it

dockers/docker-ptf/Dockerfile.j2 on 202605 had drifted from master. This cherry-picks the latest docker-ptf changes so the PTF image on 202605 matches master.

Brings over the following upstream PRs (docker-ptf portion): #27340, #28038, #27947, #27801.

Work item tracking
  • Microsoft ADO (number only): 38614512

How I did it

Aligned dockers/docker-ptf/Dockerfile.j2 with master, resulting in three net changes: bump the Go toolchain 1.25.10 -> 1.25.11 (new SHAs, stdlib fix GO-2026-5039), add the gnmic build-from-source block (pinned upstream commit with golang.org/x/* upgraded), and resolve the python-saithrift egg path dynamically across py3.x. The p4lang-pi version already matched, so nothing else changed.

How to verify it

Build the PTF docker on 202605 and confirm the image builds: make target/docker-ptf.gz. Inside the image, verify gnmic version works and python3 -c "import switch_sai_thrift" imports successfully.

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

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Tested branch (Please provide the tested image version)

  • [ ]

Description for the changelog

[docker-ptf] cherry-pick latest Dockerfile.j2 changes from master to 202605

Signed-off-by: Austin (Ngoc Thang) Pham <austinpham@microsoft.com>
@auspham
auspham requested a review from lguohan as a code owner June 29, 2026 05:10
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@auspham

auspham commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

/azpw retry

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) jobs...

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) stages in build 1151699:

✅Stage Build:

  • Job marvell_prestera_armhf: retried.

✅Stage Test:

  • Job impacted-area-kvmtest-t1-lag-vpp by Elastictest: retried.

@yijingyan2 yijingyan2 closed this Jul 14, 2026
@yijingyan2 yijingyan2 reopened this Jul 14, 2026
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@auspham

auspham commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

/azpw retry

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) jobs...

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) stages in build 1164405:

✅Stage Test:

  • Job impacted-area-kvmtest-t1-lag-vpp by Elastictest: retried.

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.

3 participants