-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Revert "fix: handle socket file detection on Windows" #126976
Conversation
This reverts commit 4060ee6.
/lgtm Should we add a test to make sure we don't accidently regress this in the future? |
LGTM label has been added. Git tree hash: 4f1cc94500bc6d8cb5cb3161fa834abac57aa31b
|
/priority critical |
@kannon92: The label(s) In response to this:
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. |
/triage accepted I think this will be backported to 1.31, right? |
yes. We do have already device manager tests though, and some of them do cause a kubelet restart (which leads to flakes, but that's another story for another day). It should be sufficient to make sure these tests run on windows lane(s). |
I can take a look at what it would take to enable those tests, I don't believe we currently run them in anyway. |
It looks like these are the tests https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/device_manager_test.go? Unfortunately, we don't currently have ability to run e2e_node tests on Windows. It might be something that could be enabled but not in a timely fashion, mostly since api-server isn't built/run on windows, so I don't know what the effort would be to enable that. etcd currently produces windows builds but they are no longer running ci against it I can add a test into e2e test suite, that will restart kubelet which will cover more than just device manager scenarios. |
Can confirm the reboot test would catch this |
/test pull-kubernetes-e2e-capz-windows-serial-slow |
/assign @marosset |
@jsturtevant a presubmit is helpful but is there a periodic that would catch this? Otherwise, this looks good to me. |
yes, opened kubernetes/test-infra#33395 to enable it after this merges |
/lgtm the revert looks good. Bummer that we can't run the device manager tests on windows, but it seems we got some coverate thanks to @jsturtevant |
/assign @mrunalp @dchen1107 @derekwaynecarr |
/unassign @mrunalp @derekwaynecarr |
/approve this is a priority-critical revert. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, jsturtevant 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 |
@jsturtevant can we get a cherry-pick for this for v1.31? |
@jsturtevant This pull request can be reverted, as of pull request #127076 kubernetes uses go 1.23, so the previous code is functional again. |
Thanks for the update! |
…#126976-upstream-release-1.31 Automated cherry pick of #126976: Revert "fix: handle socket file detection on Windows"
This reverts commit 4060ee6.
What type of PR is this?
/kind bug
/kind regression
What this PR does / why we need it:
It looks like fix in golang for golang/go#33357 isn't working properly.
Which issue(s) this PR fixes:
Fixes #126965
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: