Skip to content

Commit

Permalink
tmt: ask for bigger disks and get "df -h" output after testing
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mvo5 committed Jan 22, 2024
1 parent 5a14a14 commit 52b6242
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plans/all.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,3 +21,6 @@ prepare:
execute:
how: tmt
script: pytest -s -vv --force-aws-upload
finish:
how: shell
script: df -h

0 comments on commit 52b6242

Please sign in to comment.