Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[Flaking test] CSI Volumes [Driver: pd.csi.storage.gke.io][Serial] [Testpattern: Dynamic PV (default fs)] subPath should unmount if pod is gracefully deleted while kubelet is down #75326
Which jobs are flaking:
Which test(s) are flaking:
Reason for failure:
Anything else we need to know:
referenced this issue
Mar 13, 2019
gce-new-master-upgrade-master: this test job only upgrades the master, and not the nodes. The fix is only in master/1.14, so we'll need to backport it to 1.13 to fix the flakiness here.
gce-new-master-upgrade-cluster: the failure is due to cluster-upgrade failing, which left the nodes at 1.13 which still has the issue. Fixing the cluster upgrade should address this. We can also backport the fix to 1.13.
gce-master-new-downgrade-cluster: this job downgrades the cluster to 1.13, which doesn't have the fix. We'll need to backport the fix to 1.13 to fix the flakiness.
I think I figured out the root cause for the CSI hostpath flakiness (not the pd driver flakiness though). It is the same issue as #72346 (comment). Pod deletion uses IsLikelyNotMountPoint to check if there are no more mounted pod directories, but it doesn't work for hostpath csi driver since it is just a directory in the container rootfs.