os-autoinst-distri-rocky/lib
Adam Williamson de2c44e7ae Work around Lmod bug in KDE update packages, with new mechanism
It seems like the situation where we need to pull an update from
updates-testing into all update tests to work around some known
issue is going to keep happening. So instead of constantly
adding and then entirely removing bespoke lines for each specific
workaround, let's have a permanent mechanism for doing this: a
hash with release numbers as keys, and arrayrefs of update IDs
as values, and a block to call `bodhi updates download` on the
appropriate array for the release under test. This way, to add
or remove a workaround you just update the hash. If we're at a
point where *no* workarounds are needed the %workarounds hash
can be made entirely empty (it must exist, though) and the code
will be a clean no-op.

The actual workaround here pulls in Lmod updates I just sent out
to work around this issue in one of the KDE update tests:

https://openqa.fedoraproject.org/tests/497160#step/base_update_cli/11

there's some code in Lmod that gets sourced in bash profiles
which breaks openQA's `validate_script_output` by blurping two
lines of informational output into the output of the script.
The update backports a change from upstream Lmod master that
sends that informational output to stderr instead of stdout.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-11 12:02:21 -08:00
..
anaconda.pm New install_repository_hd_variation 2019-04-12 15:49:54 -07:00
anacondatest.pm Change name we use for virtio serial consoles 2019-11-20 08:39:28 -08:00
cockpit.pm Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
fedoradistribution.pm Correct renaming of the virtio serial consoles 2019-11-20 09:15:58 -08:00
freeipa.pm Seems we need a 15 sec sleep for the Firefox cert workaround 2019-02-26 12:05:55 -08:00
installedtest.pm Change name we use for virtio serial consoles 2019-11-20 08:39:28 -08:00
packagetest.pm Handle KDE update test when KDE has aleady found updates 2018-03-28 19:53:19 -07:00
tapnet.pm Use some nmcli con down/ups to workaround RHBZ #1739148 2019-08-08 08:54:23 -07:00
utils.pm Work around Lmod bug in KDE update packages, with new mechanism 2019-12-11 12:02:21 -08:00