1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00
os-autoinst-distri-fedora/lib
Adam Williamson 764c6dbd95 Notice when update package should have been installed but wasn't
We hit an interesting case in update testing recently:

https://bodhi.fedoraproject.org/updates/FEDORA-2018-115068f60e

An earlier version of that update failed testing. When we dug
into it a bit, we found that the test was failing because an
earlier version of the `pki-server` package was installed than
the version that was in the update; when asked (as part of
FreeIPA deployment) to install it, dnf had noticed that there
were dependency issues with the version of the package from the
update, but it happened to be able to install the version from
the frozen 'stable' repo...so it just went ahead and did that.

In this case, the 'missed' package resulted in a test failure,
but it'd actually be possible for this to happen and the test
to complete; we really ought to notice when this happens, and
treat it as a test failure.

So what this attempts to do is: at the end of all update tests,
check for all installed packages with the same name as a package
from the update, and compare their full NEVR to the one of the
package from the update. If a package with the same name as one
of the update packages is installed, but does not appear to be
the *same NEVR*, we fail, and upload the lists of packages for
manual investigation as to what the heck's going on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-12 22:17:29 -08:00
..
anaconda.pm Same workaround as last commit, for device type 2018-06-15 14:34:56 -07:00
anacondatest.pm Simplify anaconda error screen handling, add new needle 2018-12-12 22:06:20 -08:00
fedoradistribution.pm drop our implementation of script_run in favour of os-autoinst 2016-10-20 09:24:48 -07:00
freeipa.pm Handle Xorg starting unusually slowly, but soft fail (#1622254) 2018-08-24 15:39:16 -07:00
installedtest.pm Use -l for systemctl status (to avoid ellipsization) 2018-12-12 12:36:21 -08:00
packagetest.pm Handle KDE update test when KDE has aleady found updates 2018-03-28 19:53:19 -07:00
tapnet.pm Add support for testing updates 2017-02-22 11:33:32 -08:00
utils.pm Notice when update package should have been installed but wasn't 2018-12-12 22:17:29 -08:00