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

bump golang version to 1.23.7 #3160

Closed
wants to merge 1 commit into from
Closed

Conversation

aryan16
Copy link
Contributor

@aryan16 aryan16 commented Mar 19, 2025

Upgrade golang version for Istio 1.23

@aryan16 aryan16 requested a review from a team as a code owner March 19, 2025 21:52
@istio-policy-bot
Copy link

😊 Welcome @aryan16! This is either your first contribution to the Istio tools repo, or it's been
a while since you've been here.

You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines
by referring to Contributing to Istio.

Thanks for contributing!

Courtesy of your friendly welcome wagon.

@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 19, 2025
@mikemorris
Copy link
Member

#63 ERROR: process "/bin/sh -c curl --proto '=https' -v --tlsv1.2 -sSf https://sh.rustup.rs/ | sh -s -- -y -v --default-toolchain ${RUST_VERSION} --profile minimal --component rustfmt clippy && /home/.cargo/bin/rustup default ${RUST_VERSION} && mv /home/.cargo/bin/* /usr/bin" did not complete successfully: exit code: 1

Is this just a transitory issue downloading rustup?

/retest

@istio-testing
Copy link
Contributor

@aryan16: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
containers-test_tools_release-1.23 113ed7d link true /test containers-test
containers-test-arm64_tools_release-1.23 113ed7d link true /test containers-test-arm64

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@mikemorris
Copy link
Member

mikemorris commented Mar 19, 2025

Okay, not transitory, errors appear to be:

error: error: unexpected argument 'clippy' found

Maybe need to add an explicit --component before clippy at https://github.com/istio/tools/blob/master/docker/build-tools/Dockerfile#L649 if this changed in a newer rustup version (and backport to all maintained branches) because it looks like we're pulling the latest rustup instead of using a pinned version.

UPDATE: Yep, looks like this CLI parsing changed in rustup 1.28.0 published on March 4th, in rust-lang/rustup#4179

 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 32)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 284)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 389)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 411)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 474)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 516)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 553)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 658)
Dockerfile:630 

Looks like @Stevenjin8 may have hit this previously in #3091 and we could possibly backport that PR in it's entirety, or just apply those same casing changes.

@aryan16
Copy link
Contributor Author

aryan16 commented Mar 20, 2025

Okay, not transitory, errors appear to be:

error: error: unexpected argument 'clippy' found

Maybe need to add an explicit --component before clippy at https://github.com/istio/tools/blob/master/docker/build-tools/Dockerfile#L649 if this changed in a newer rustup version (and backport to all maintained branches) because it looks like we're pulling the latest rustup instead of using a pinned version.

UPDATE: Yep, looks like this CLI parsing changed in rustup 1.28.0 published on March 4th, in rust-lang/rustup#4179

 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 32)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 284)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 389)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 411)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 474)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 516)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 553)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 658)
Dockerfile:630 

Looks like @Stevenjin8 may have hit this previously in #3091 and we could possibly backport that PR in it's entirety, or just apply those same casing changes.

Cool, made these changes. I see problem with my git branches, so created a new PR - #3163

@aryan16 aryan16 closed this Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants