1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-21 01:43:09 +00:00
os-autoinst-distri-fedora/lib
Adam Williamson 2b79d59379 Disable updates-testing during upgrade_preinstall
This issue appeared when we started testing Rawhide updates, but
I only noticed it today. When testing Rawhide updates after
Branch point, the upgrade tests upgrade from Branched to Rawhide.
On Branched, updates-testing is enabled by default. We only
disable it when we reach `upgrade_run`, but by that point we've
already done a `dnf -y update` in `upgrade_preinstall` and
potentially installed other packages in steps between
`upgrade_preinstall` and `upgrade_run`. That can cause problems,
like today all FreeIPA upgrade tests on Rawhide are failing
because there's a newer freeipa in updates-testing for F37 than
is in the current Rawhide compose.

Solve this by disabling updates-testing before we do the update
in `upgrade_preinstall`. To avoid excessive code duplication,
factor out the repo disabling code.

We'll do this twice on upgrade tests now, but it shouldn't be a
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-15 10:18:26 -07:00
..
anaconda.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07: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 Try and get more detailed Firefox logs from startx 2022-09-09 13:08:47 -07:00
fedoradistribution.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
freeipa.pm Try and get more detailed Firefox logs from startx 2022-09-09 13:08:47 -07:00
installedtest.pm Try and get more detailed Firefox logs from startx 2022-09-09 13:08:47 -07:00
modularity.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
packagetest.pm Replace remaining wait_idles with sleeps 2020-01-02 17:44:45 -08:00
tapnet.pm tapnet: don't double-declare @forwards 2022-05-26 14:49:57 -07:00
utils.pm Disable updates-testing during upgrade_preinstall 2022-09-15 10:18:26 -07:00