From dcce259d79d37478a91b3e2c2919dc3103c55e65 Mon Sep 17 00:00:00 2001 From: Michael Armijo Date: Tue, 17 Dec 2024 11:35:59 -0700 Subject: [PATCH] mantle/podman.go: use `RetryUntilTimeout` in podman.workflow The podman.workflow test has been failing on OpenStack, likely because pulling the Fedora container takes too long. Use the `RetryUntilTimeout` function to retry every minute for up to 15 minutes to allow sufficient time to pull the Fedora container. In local testing, pulling the container on OpenStack took approximately 5 minutes before succeeding. See: https://github.com/coreos/fedora-coreos-tracker/issues/1835 --- mantle/kola/tests/podman/podman.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mantle/kola/tests/podman/podman.go b/mantle/kola/tests/podman/podman.go index 3ef13c6686..c25a13f11c 100644 --- a/mantle/kola/tests/podman/podman.go +++ b/mantle/kola/tests/podman/podman.go @@ -154,7 +154,7 @@ func podmanWorkflow(c cluster.TestCluster) { return nil } - if err := util.Retry(6, 10*time.Second, podIsRunning); err != nil { + if err := util.RetryUntilTimeout(15*time.Minute, 5*time.Minute, podIsRunning); err != nil { c.Fatal("Pod is not running") } })