-
Notifications
You must be signed in to change notification settings - Fork 218
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
canary-on-1.16 block tests flaky #119
Comments
Its flaky across all jobs, not just this. I think it's related to running on kind, where hostpath volumes go to the host. There may be races due another test grabbing the same device |
Although if that were the case, then intree parallel tests should be flaky too? Maybe it's a probability game since there a lot more tests running intree |
Creating a loop device is done by kubelet and the CSI hostpath driver with https://github.com/kubernetes/kubernetes/blob/8a09460c2f7ba8f6acd8a6fb7603ed3ac4805eb6/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go#L96-L112. The command invocation itself (= "losetup -f --show") shouldn't be racy. Let's look at its implementation:
I tested that by running So my conclusion is that we don't have a race around loop device creation. Perhaps KinD containers have the same issue that we also had in the CSI hostpath container where Indeed, when I just ran the CSI hostpath prow tests on my development machine after using all existing loop devices, the blockvolume tests fail because
I've not found more about it in the logs, but I can reproduce the problem manually by creating loop devices with
I'll file an issue against KinD. |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/close |
@msau42: Closing this issue. 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/test-infra repository. |
https://k8s-testgrid.appspot.com/sig-storage-csi-ci#canary-on-1.16
Oddly enough, canary-on-master tests seem fine.
@jsafrane @pohly could you help take a look?
/kind failing-test
The text was updated successfully, but these errors were encountered: