Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: TestScript/gotoolchain_issue66175 fails on tip locally [1.21 backport] #67310

Closed
gopherbot opened this issue May 10, 2024 · 2 comments
Closed
Labels
CherryPickApproved Used during the release process for point releases GoCommand cmd/go Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@gopherbot
Copy link
Contributor

@matloob requested issue #67277 to be considered for backport to the next 1.21 minor release.

@gopherbot Please backport to Go 1.21 and Go 1.22.

@gopherbot gopherbot added CherryPickCandidate Used during the release process for point releases GoCommand cmd/go labels May 10, 2024
@matloob matloob added CherryPickApproved Used during the release process for point releases and removed CherryPickCandidate Used during the release process for point releases labels May 10, 2024
@gopherbot gopherbot added this to the Go1.21.11 milestone May 10, 2024
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/584935 mentions this issue: [release-branch.go1.21] cmd/go/testdata/script: clear path in gotoolchain_issue66175

@dmitshur dmitshur added the Testing An issue that has been verified to require only test changes, not just a test failure. label May 10, 2024
@gopherbot
Copy link
Contributor Author

Closed by merging 0fa334d to release-branch.go1.21.

gopherbot pushed a commit that referenced this issue May 13, 2024
…hain_issue66175

The gotoolchain_issue66175 script test would fail if a binary named
go1.21 or go1.22 was present in the system PATH. Clear the path at the
beginning of the test to make it independent of the system path.

For #67277
Fixes #67310

Change-Id: I6d9133aee5b20ab116e07b659e8ecf3eb8add4ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/584258
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
(cherry picked from commit a0a6026)
Reviewed-on: https://go-review.googlesource.com/c/go/+/584935
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPickApproved Used during the release process for point releases GoCommand cmd/go Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

3 participants