1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00
os-autoinst-distri-fedora/lib
Adam Williamson 8251756331 Revert to having tests, not the scheduler, download packages (#108)
This effectively reverts 97618193 - but had to be done manually
and adjusted to maintain support for testing side tags and for
testing multiple tasks, since those features were added since
the update ISO change.

The 'scheduler injects ISOs of packages into the tests' approach
was intended to speed things up, especially for large updates,
and it did, but it had a few drawbacks. It means restarting
older tests from the web UI doesn't work as the ISOs get garbage
collected (you have to re-schedule in this case). And it has the
rather large problem that you can now only schedule tests from
the openQA server (or at least a machine with the openQA asset
share mounted), because the package download and ISO creation
just happen wherever the scheduler is running and assume that
the openQA asset share that will be used by the tests is at
/var/lib/openqa/share in that filesystem.

That's too big of a drawback to continue with this approach, IMO,
so this reverts back to the old way of doing things, with a bit
of refactoring to clean up the flow a little, and with support
for testing side tags and multiple tasks maintained.

As a follow-up I'm going to see if I can replace
_download_packages with a much more efficient downloader script
to mitigate the time this process takes on each test, especially
for large updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-11 11:31:40 -08:00
..
anaconda.pm Remove the anaconda_help test 2023-11-29 12:11:00 -08:00
anacondatest.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
bugzilla.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
cockpit.pm Clean up minimal browser environment setup 2023-03-02 13:51:08 -08:00
disks.pm disks: drop a workaround we did not hit for a long time 2024-01-09 17:48:28 -08:00
fedoradistribution.pm Update serial console handling for upstream changes 2023-05-02 12:24:26 -07:00
freeipa.pm Add a needle cleanup script, enhance the needle check script 2023-05-04 09:57:15 -07:00
installedtest.pm _post_fail_hook: only do advisory package checks when appropriate 2022-12-14 08:47:46 -08:00
modularity.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
packagetest.pm Run base tests on ELN 2023-06-23 11:53:11 +02:00
tapnet.pm tapnet: don't double-declare @forwards 2022-05-26 14:49:57 -07:00
utils.pm Revert to having tests, not the scheduler, download packages (#108) 2024-01-11 11:31:40 -08:00