-
Notifications
You must be signed in to change notification settings - Fork 4.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
Fix bootpd check on macOS >= 15 #20400
Conversation
On macOS >= 15 bootpd is likely allowed to receive incoming connections as built-in software, and it will not be listed in the allowed applications. In this case we decide that bootpd is blocked and force the user to try to add and unblock it, which will never succeed. Fixed using the new --getallowedsigned option. If the option is enabled, we know that bootpd is not blocked. If the option is not enabled, or the fails, we fallback to checking the list. Tested on macOS 15.3.
Hi @nirs. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for fixing this, if yiou have acess to macos 15+ do you mind pasting output of the minikube before anfter this PR?
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 49.7s 50.7s 49.9s 50.1s 49.5s Times for minikube ingress: 15.6s 15.0s 14.6s 15.0s 16.0s docker driver with docker runtime
Times for minikube ingress: 13.8s 12.3s 12.3s 12.8s 13.3s Times for minikube start: 24.0s 21.4s 21.6s 21.0s 24.2s docker driver with containerd runtime
Times for minikube start: 23.3s 22.9s 20.5s 22.2s 23.2s Times for minikube ingress: 38.8s 38.8s 38.8s 38.8s 38.8s |
Here are the number of top 10 failed tests in each environments with lowest flake rate.
Besides the following environments also have failed tests:
To see the flake rates of all tests by environment, click here. |
Sure, I did not include it before because the output before it included in the issue, and the output after is just the normal output, but it is a good idea since you may not be able to test this. Before
After
Logs: Note that I don't have any machine with macOS 14. We need to find someone with older version to test this. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, nirs 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 |
thank you @nirs |
On macOS >= 15 bootpd is likely allowed to receive incoming connections as built-in software, and it will not be listed in the allowed applications. In this case we decide that bootpd is blocked and force the user to try to add and unblock it, which will never succeed.
Fixed using the new --getallowedsigned option. If the option is enabled, we know that bootpd is not blocked. If the option is not enabled, or the fails, we fallback to checking the list.
Tested on macOS 15.3.
fixes #20399