criu
criu copied to clipboard
docker-test: handle race condition error
There is a race condition in docker/containerd that causes docker to occasionally fail when starting a container from a checkpoint immediately after the checkpoint has been created. This problem is unrelated to criu and has been reported in https://github.com/moby/moby/issues/42900
Codecov Report
Merging #1959 (ea8478d) into criu-dev (6206067) will decrease coverage by
0.05%
. The diff coverage isn/a
.
:exclamation: Current head ea8478d differs from pull request most recent head 70a5f2d. Consider uploading reports for the commit 70a5f2d to get more accurate results
@@ Coverage Diff @@
## criu-dev #1959 +/- ##
============================================
- Coverage 70.58% 70.53% -0.06%
============================================
Files 131 131
Lines 33580 33537 -43
============================================
- Hits 23704 23656 -48
- Misses 9876 9881 +5
Impacted Files | Coverage Δ | |
---|---|---|
include/common/lock.h | 85.71% <0.00%> (-6.29%) |
:arrow_down: |
criu/arch/x86/crtools.c | 64.15% <0.00%> (-3.03%) |
:arrow_down: |
criu/uffd.c | 79.36% <0.00%> (-0.48%) |
:arrow_down: |
compel/arch/x86/src/lib/cpu.c | ||
criu/arch/x86/cpu.c | 74.65% <0.00%> (ø) |
|
criu/cr-restore.c | 67.20% <0.00%> (+0.18%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
There is a race condition in docker/containerd that causes docker to occasionally fail when starting a container from a checkpoint immediately after the checkpoint has been created.
It looks like this problem has now been fixed upstream (https://github.com/moby/moby/pull/47456).