Skip to content

Check for nil waitOp before examining error code#2238

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
mattcary:wait-err
Dec 5, 2025
Merged

Check for nil waitOp before examining error code#2238
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
mattcary:wait-err

Conversation

@mattcary
Copy link
Copy Markdown
Contributor

@mattcary mattcary commented Nov 20, 2025

/kind bug

If the nil check for the waitOp is not done, the driver can panic.

This PR also cleans up some error code handling and does a better job at retrying errors that are transient (although the flakes we're hitting on the e2e test seem to last longer than the two minute retry).

Fix segfault when GCE compute backend fails to wait for an operation.

/assign @msau42

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels Nov 20, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 20, 2025
@mattcary
Copy link
Copy Markdown
Contributor Author

/retest

@mattcary
Copy link
Copy Markdown
Contributor Author

/assign @msau42

I think the test failures are flakes --- we're not seeming to be able to create instances. I'll keep retrying.

/retry

@msau42
Copy link
Copy Markdown
Contributor

msau42 commented Nov 20, 2025

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 20, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattcary, msau42

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

The pull request process is described here

Details 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

@sunnylovestiramisu
Copy link
Copy Markdown
Contributor

/retest-required

@mattcary
Copy link
Copy Markdown
Contributor Author

Seems to be flaking on creating an HaHA. It's probably a flake, let's see.

/retest

@mattcary
Copy link
Copy Markdown
Contributor Author

Hmm, same HdHA provisioning flake. I'll see if I can reproduce, maybe the test needs to be disabled.

@mattcary
Copy link
Copy Markdown
Contributor Author

Seems to be a GCP backend problem. I'll just skip the HdHA test while we work that out.

Change-Id: Iab5a2c41528e49c5d8e2e092a22a89c2f8edd232
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 25, 2025
@mattcary
Copy link
Copy Markdown
Contributor Author

/retest

@sunnylovestiramisu
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 5, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

k8s-ci-robot commented Dec 5, 2025

@mattcary: 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-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019 832d894 link false /test pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019

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.

Details

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.

@sunnylovestiramisu
Copy link
Copy Markdown
Contributor

/retest-required

@k8s-ci-robot k8s-ci-robot merged commit 0d58850 into kubernetes-sigs:master Dec 5, 2025
9 of 10 checks passed
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants