Skip to content

Commit 27ed486

Browse files
author
Paul Whalen
committed
ci(tmt): increase hardware requirements for nested virt tests
Request 4 CPUs, 16 GB RAM, and 40 GB disk from Testing Farm. The previous 2 CPUs and 6 GB RAM left insufficient headroom for nested VMs, causing intermittent DHCP/network failures. Also increase VM RAM from 3-4 GB to 8 GB for faster boot and improved test reliability. Assisted-by: Claude (claude-opus-4-6) Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
1 parent 00d82ec commit 27ed486

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

tests/greenboot-bootc-anaconda-iso.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ ISO_LABEL=$(blkid -o value -s LABEL /var/lib/libvirt/images/install.iso)
330330
greenprint "ISO label: ${ISO_LABEL}"
331331
sudo virt-install --name="${TEST_UUID}-uefi"\
332332
--disk path="${LIBVIRT_IMAGE_PATH_UEFI}",format=qcow2 \
333-
--ram 3072 \
333+
--ram 8192 \
334334
--vcpus 2 \
335335
--network network=integration,mac=34:49:22:B0:83:30 \
336336
--os-type linux \

tests/greenboot-bootc-qcow2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ sudo restorecon -Rv /var/lib/libvirt/images/
319319

320320
sudo virt-install --name="${TEST_UUID}-uefi"\
321321
--disk path="${LIBVIRT_IMAGE_PATH_UEFI}",format=qcow2 \
322-
--ram 3072 \
322+
--ram 8192 \
323323
--vcpus 2 \
324324
--network network=integration,mac=34:49:22:B0:83:30 \
325325
--os-type linux \

tests/greenboot-fedora-iot-raw.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ sudo kpartx -dv "${LIBVIRT_IMAGE_PATH}"
249249
greenprint "🚀 Installing VM from raw image"
250250
sudo virt-install --name="${IMAGE_KEY}"\
251251
--disk path="${LIBVIRT_IMAGE_PATH}",format=raw \
252-
--ram 4096 \
252+
--ram 8192 \
253253
--vcpus 2 \
254254
--network network=integration,mac=34:49:22:B0:83:30 \
255255
--os-variant ${OS_VARIANT} \

tests/greenboot-ostree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ sudo virt-install --name="${IMAGE_KEY}"\
432432
--initrd-inject="${KS_FILE}" \
433433
--extra-args="inst.ks=file:/ks.cfg console=ttyS0,115200" \
434434
--disk path="${LIBVIRT_IMAGE_PATH}",format=qcow2 \
435-
--ram 4096 \
435+
--ram 8192 \
436436
--vcpus 2 \
437437
--network network=integration,mac=34:49:22:B0:83:30 \
438438
--os-variant ${OS_VARIANT} \

tmt/plans/greenboot-test.fmf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ provision:
99
virtualization:
1010
is-supported: true
1111
cpu:
12-
processors: ">= 2"
13-
memory: ">= 6 GB"
12+
processors: ">= 4"
13+
memory: ">= 16 GB"
14+
disk:
15+
- size: ">= 40 GB"
1416

1517
/bootc-qcow2:
1618
summary: Test greenboot with bootc qcow2 image

0 commit comments

Comments
 (0)