From a181a825c82ada3c201ca0dd8aef345533cff678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 27 Oct 2022 10:40:03 +0200 Subject: [PATCH] daemon/start: Revert passing ctx to ctr.Start MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This caused integration tests to timeout in the CI Signed-off-by: Paweł Gronowski --- daemon/start.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/start.go b/daemon/start.go index 6c408f6f48..f70677e359 100644 --- a/daemon/start.go +++ b/daemon/start.go @@ -183,8 +183,8 @@ func (daemon *Daemon) containerStart(ctx context.Context, container *container.C } // TODO(mlaventure): we need to specify checkpoint options here - tsk, err := ctr.Start(ctx, checkpointDir, - container.StreamConfig.Stdin() != nil || container.Config.Tty, + tsk, err := ctr.Start(context.TODO(), // Passing ctx to ctr.Start caused integration tests to be stuck in the cleanup phase + checkpointDir, container.StreamConfig.Stdin() != nil || container.Config.Tty, container.InitializeStdio) if err != nil { if err := ctr.Delete(context.Background()); err != nil {