mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix dockershim e2e **What this PR does / why we need it**: Delete checkpoint file when GetCheckpoint fails due to corrupt checkpoint. Earlier, before checkpointmanager, [`GetCheckpoint` in dockershim was deleting corrupt checkpoint file implicitly](https://github.com/kubernetes/kubernetes/pull/56040/files#diff-9a174fa21408b7faeed35309742cc631L116). In checkpointmanager's `GetCheckpoint` this implicit deletion of corrupt checkpoint is not happening. Because of this few e2e tests are failing because these tests are testing this deletion. Changes are being added to delete checkpoint file if found corrupted. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #62738 **Special notes for your reviewer**: No new behavior is being introduced. Implicit deletion of corrupt checkpoint is being done explicitly. **Release note**: ```release-note None ``` /cc @dashpole @sjenning @derekwaynecarr |
||
---|---|---|
.. | ||
cm | ||
libdocker | ||
metrics | ||
network | ||
remote | ||
BUILD | ||
convert.go | ||
convert_test.go | ||
doc.go | ||
docker_checkpoint.go | ||
docker_checkpoint_test.go | ||
docker_container.go | ||
docker_container_test.go | ||
docker_image.go | ||
docker_image_linux.go | ||
docker_image_test.go | ||
docker_image_unsupported.go | ||
docker_image_windows.go | ||
docker_legacy_service.go | ||
docker_logs.go | ||
docker_sandbox.go | ||
docker_sandbox_test.go | ||
docker_service.go | ||
docker_service_test.go | ||
docker_stats_linux.go | ||
docker_stats_unsupported.go | ||
docker_stats_windows.go | ||
docker_streaming.go | ||
exec.go | ||
helpers.go | ||
helpers_linux.go | ||
helpers_linux_test.go | ||
helpers_test.go | ||
helpers_unsupported.go | ||
helpers_windows.go | ||
naming.go | ||
naming_test.go | ||
security_context.go | ||
security_context_test.go | ||
selinux_util.go | ||
selinux_util_test.go |