On commit fb9171e1a4, the ability to display arbitrary test keyvals on the results email was introduced.
Currently we can store an encoded version of a git repo on the virt tests, now let's expand this ability by storing packages installed through Koji or Yum. Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/virt/base_installer.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/virt/base_installer.py b/client/virt/base_installer.py index c2c0246..0c0b57b 100644 --- a/client/virt/base_installer.py +++ b/client/virt/base_installer.py @@ -443,6 +443,10 @@ class YumInstaller(BaseInstaller): "[]")) + def get_version(self): + return " ".join(self.yum_pkgs) + + def _install_phase_cleanup(self): packages_to_remove = " ".join(self.yum_pkgs) utils.system("yum remove -y %s" % packages_to_remove) @@ -486,6 +490,10 @@ class KojiInstaller(BaseInstaller): self._expand_koji_pkgs_with_debuginfo() + def get_version(self): + return " ".join(self._get_rpm_file_names()) + + def _expand_koji_pkgs_with_debuginfo(self): ''' Include debuginfo RPMs on koji_pkgs -- 1.7.11.4 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
