From 6510c17ea9d79abedc6f6dc83e542210a08e287f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 22 Jan 2024 13:27:48 +0100 Subject: [PATCH] tmt: ask for bigger disks and get "df -h" output after testing The tests are currently running out of disk space inside the testing-farm environment. This commit should help debug this by adding `df -h` output after the test is run. It also asks for 120GB disk space (which is way more than we need right now). Note that the docs say that the disk size is 250GB by default for the RH ranch but we probably only get the 50G from the public ranch by default because we are (currently) using fedora39 as the test environment. [1] https://docs.testing-farm.io/Testing%20Farm/0.1/test-request.html#hardware --- plans/all.fmf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plans/all.fmf b/plans/all.fmf index 3fe08895..6be5ad3c 100644 --- a/plans/all.fmf +++ b/plans/all.fmf @@ -2,6 +2,10 @@ summary: Run all tests inside a VM environment provision: how: virtual image: fedora:39 + # 120 means 120GB, disk has to be specificed here, the format from: + # https://tmt.readthedocs.io/en/stable/spec/hardware.html#disk + # does not work here or below under "hardware" + disk: 120 hardware: virtualization: is-supported: true @@ -17,3 +21,6 @@ prepare: execute: how: tmt script: pytest -s -vv --force-aws-upload +finish: + how: shell + script: df -h