Windows: subpath mount changes on a container restart if the environment variable changes #90336
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kind/failing-test
Categorizes issue or PR as related to a consistently or frequently failing test.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
sig/windows
Categorizes an issue or PR as relevant to SIG Windows.
Milestone
What happened:
The test
[k8s.io] Variable Expansion should not change the subpath mount on a container restart if the environment variable changes [sig-storage][Slow] [Conformance]
fails on Windows. On container restart, the subpath mount changes.The test does the following:
/volume_mount
andsubpath_mount
(the 2nd one has a subpath expr set, taken frommetadata.annotations['mysubpath']
)/subpath_mount/test.log
metadata.annotations['mysubpath']
to a different value./subpath_mount/test.log
and then waits for the container restart because of the liveness probe./subpath_mount/test.log
/volume_mount/foo/test.log
exists, and that/volume_mount/newsubpath/test.log
does not.The test fails on the assertions on Windows.
What you expected to happen:
The container volume subpath should not change on container restart.
How to reproduce it (as minimally and precisely as possible):
liveness.yaml:
Anything else we need to know?:
/sig windows
Environment:
kubectl version
): v1.18cat /etc/os-release
): Windows Server 2019uname -a
): N/AThe text was updated successfully, but these errors were encountered: