Skip to content

Commit

Permalink
kola/tests/boot-mirror: bump sleep hack to 60s
Browse files Browse the repository at this point in the history
Follow-up to #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.
  • Loading branch information
jlebon committed Sep 20, 2023
1 parent 965e647 commit 242eb68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mantle/kola/tests/misc/boot-mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 242eb68

Please sign in to comment.