mirror of
https://github.com/moby/moby.git
synced 2026-08-09 01:21:37 +00:00
TestInspectNetwork creates 4 daemons (3 managers + 1 worker) per run but never called Cleanup, leaving overlay storage, Raft state and logs on disk. When the stress runner executes the test 10 times in a row with -test.count 10, the accumulated directories fill the disk: no space left on device: could not create daemon root ".../bundles/test-integration-flaky/TestInspectNetwork/d8488af0.../root" Defer Cleanup after Stop for every daemon. Defers run LIFO so Stop fires before Cleanup for each daemon, which is required because Cleanup unmounts overlay mounts the running daemon still holds. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
6.7 KiB
6.7 KiB