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

Chores: set go.mod in main to 1.24 and one in azclient to 1.23.6 #8376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MartinForReal
Copy link
Contributor

What type of PR is this?

/kind testing

What this PR does / why we need it:

Chores: set go to 1.23.6

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 19, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MartinForReal

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • .github/workflows/dependency-review.yml: Language not supported
  • .github/workflows/lint.yaml: Language not supported
  • go.mod: Language not supported
@MartinForReal MartinForReal force-pushed the shafan/go branch 6 times, most recently from e4e76ce to 89f01cd Compare February 19, 2025 08:51
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@MartinForReal MartinForReal force-pushed the shafan/go branch 2 times, most recently from ee12f41 to 414ede0 Compare February 19, 2025 11:17
@MartinForReal
Copy link
Contributor Author

/retest

1 similar comment
@MartinForReal
Copy link
Contributor Author

/retest

@feiskyer
Copy link
Member

@MartinForReal could you check why all tests are failing?

@MartinForReal
Copy link
Contributor Author

Feb 19 12:19:49.800021 capz-xl2x8u-control-plane-bvk7r kubelet[1664]: E0219 12:19:49.799898 1664 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to "StartContainer" for "kube-apiserver" with CrashLoopBackOff: "back-off 1m20s restarting failed container=kube-apiserver pod=kube-apiserver-capz-xl2x8u-control-plane-bvk7r_kube-system(3331e7094b62eb3737eb8f15c80098c3)"" pod="kube-system/kube-apiserver-capz-xl2x8u-control-plane-bvk7r" podUID="3331e7094b62eb3737eb8f15c80098c3"

@MartinForReal
Copy link
Contributor Author

apiserver crashed.

@MartinForReal
Copy link
Contributor Author

/retest

2 similar comments
@MartinForReal
Copy link
Contributor Author

/retest

@MartinForReal
Copy link
Contributor Author

/retest

@MartinForReal MartinForReal force-pushed the shafan/go branch 2 times, most recently from 56ef0be to 03026da Compare February 20, 2025 07:26
@MartinForReal MartinForReal force-pushed the shafan/go branch 5 times, most recently from 973d456 to 3fab92d Compare February 21, 2025 08:53
@MartinForReal MartinForReal changed the title Chores: set go to 1.23.6 Chores: set go.mod in main to 1.24 and one in azclient to 1.23.6 Feb 21, 2025
@MartinForReal
Copy link
Contributor Author

@MartinForReal
Copy link
Contributor Author

/test all

@MartinForReal MartinForReal force-pushed the shafan/go branch 7 times, most recently from 7938883 to e21e55e Compare February 21, 2025 12:25
Signed-off-by: Fan Shang Xiang <[email protected]>
@MartinForReal
Copy link
Contributor Author

/retest

@feiskyer
Copy link
Member

Chores: set go to 1.23.6

The PR is actually upgrading Go to 1.24. Could you we use 1.23.6 until k8s repos officially support it?

@@ -103,14 +197,3 @@ jobs:
with:
sarif_file: 'trivy-health-probe-proxy-linux-results.sarif'
category: health-probe-proxy-linux-image

- name: Run Trivy vulnerability scanner in repo mode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why making such huge change to github pipelines? I think we should scan the whole repo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see line 65

All these actions share two steps: checkout and setup go.
It will save time.

@MartinForReal
Copy link
Contributor Author

MartinForReal commented Feb 24, 2025

Chores: set go to 1.23.6

The PR is actually upgrading Go to 1.24. Could you we use 1.23.6 until k8s repos officially support it?

kubernetes/kubernetes#129688 this pr has been approved.

@feiskyer
Copy link
Member

that's not merged yet, and full e2e tests are not run yet. Let's wait a while for community validations in case there are breaking changes or behavior changes broken k8s.

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2025
@k8s-ci-robot
Copy link
Contributor

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

Test name Commit Details Required Rerun command
pull-cloud-provider-azure-e2e-ccm-vmssflex-capz 7b96e41 link true /test pull-cloud-provider-azure-e2e-ccm-vmssflex-capz

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 24, 2025
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/testing needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants