From 242eb6880470528c9c07e7f489fa27b23e974ba8 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 20 Sep 2023 16:14:02 -0400 Subject: [PATCH] kola/tests/boot-mirror: bump sleep hack to 60s Follow-up to https://github.com/coreos/coreos-assembler/pull/3611. We're still noticing occasional kernel panics with 30s on ppc64le. Bump it to 60s to see if that helps as a last ditch effort before re- disabling these tests until someone has time to dig into it properly. While we're here, make it specific to ppc64le. --- mantle/kola/tests/misc/boot-mirror.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mantle/kola/tests/misc/boot-mirror.go b/mantle/kola/tests/misc/boot-mirror.go index abdb5db2bd..e246ac3714 100644 --- a/mantle/kola/tests/misc/boot-mirror.go +++ b/mantle/kola/tests/misc/boot-mirror.go @@ -245,7 +245,9 @@ func detachPrimaryBlockDevice(c cluster.TestCluster, m platform.Machine) { // that rebooting too quickly after ripping out the primary device can trigger // a kernel panic on ppc64le. This may be memory-related since the same panic // happens more easily if memory is lowered to 4G. - time.Sleep(30 * time.Second) + if coreosarch.CurrentRpmArch() == "ppc64le" { + time.Sleep(60 * time.Second) + } err := m.Reboot() if err != nil {