Skip to content

Commit 5824720

Browse files
jlebondustymabe
authored andcommitted
kola/tests/boot-mirror: bump sleep hack to 60s
Follow-up to coreos#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.
1 parent acf1013 commit 5824720

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mantle/kola/tests/misc/boot-mirror.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ func detachPrimaryBlockDevice(c cluster.TestCluster, m platform.Machine) {
245245
// that rebooting too quickly after ripping out the primary device can trigger
246246
// a kernel panic on ppc64le. This may be memory-related since the same panic
247247
// happens more easily if memory is lowered to 4G.
248-
time.Sleep(30 * time.Second)
248+
if coreosarch.CurrentRpmArch() == "ppc64le" {
249+
time.Sleep(60 * time.Second)
250+
}
249251

250252
err := m.Reboot()
251253
if err != nil {

0 commit comments

Comments
 (0)