Skip to content

Commit

Permalink
jobs/kola-upgrade: bump memory for <=37 secureboot tests
Browse files Browse the repository at this point in the history
For <= 37 start_versions we'll hit an OOM in grub when running
SecureBoot tests. This is documented in
coreos/fedora-coreos-tracker#1456

Let's workaround the issue for now in our test.
  • Loading branch information
dustymabe committed Apr 4, 2023
1 parent a1b1f8d commit 247b2c0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jobs/kola-upgrade.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ currentBuild.description = "[${params.STREAM}][${params.ARCH}] - ${start_version
def cosa_memory_request_mb = 1024
if (params.ARCH == 'x86_64') {
// local (qemu+x86_64) testing will require more memory
cosa_memory_request_mb = 3072
cosa_memory_request_mb = 3584
}

lock(resource: "kola-upgrade-${params.ARCH}") {
Expand Down Expand Up @@ -200,6 +200,12 @@ EOF
// https://github.com/coreos/fedora-coreos-tracker/issues/1452
k2 = kolaparams.clone()
k2.extraArgs += " --qemu-firmware=uefi-secure"
if ((start_version[0..1] as Integer) <= 37) {
// workaround a bug where grub would fail to allocate memory
// when start_version is <= 37.20230110.2.0
// https://github.com/coreos/fedora-coreos-tracker/issues/1456
k2.extraArgs += " --qemu-memory=1536"
}
k2.marker = "uefi-secure"
parallelruns['Kola:UEFI-SECURE'] = { kola(k2) }
}
Expand Down

0 comments on commit 247b2c0

Please sign in to comment.