[libvirt PATCH 0/1] ci: integration: Expose list of installed packages on failure

Erik Skultety (1): ci: integration: Expose installed packages on failure ci/integration.yml | 1 + 1 file changed, 1 insertion(+) -- 2.34.1

Since the VM template images are updated only once during the libvirt release cycle in order to keep a stable/reproducible environment for the test suite, it's necessary to dump the list of installed packages on failure, so that anyone can then see what package versions were installed in the environment when the test failed. Signed-off-by: Erik Skultety <eskultet@redhat.com> --- ci/integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/integration.yml b/ci/integration.yml index 17f20b3945..cb620f625f 100644 --- a/ci/integration.yml +++ b/ci/integration.yml @@ -33,6 +33,7 @@ after_script: - test "$CI_JOB_STATUS" = "success" && exit 0; - test -e "$SCRATCH_DIR"/avocado && sudo mv "$SCRATCH_DIR"/avocado/latest/test-results logs/avocado; + - rpm -qa | sort > logs/packages.txt - sudo coredumpctl info --no-pager > logs/coredumpctl.txt - sudo mv /var/log/libvirt logs/libvirt - sudo chown -R $(whoami):$(whoami) logs -- 2.34.1

On Wed, Apr 13, 2022 at 04:57:34PM +0200, Erik Skultety wrote:
Since the VM template images are updated only once during the libvirt release cycle in order to keep a stable/reproducible environment for the test suite, it's necessary to dump the list of installed packages on failure, so that anyone can then see what package versions were installed in the environment when the test failed.
Signed-off-by: Erik Skultety <eskultet@redhat.com> --- ci/integration.yml | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Andrea Bolognani <abologna@redhat.com> -- Andrea Bolognani / Red Hat / Virtualization
participants (2)
-
Andrea Bolognani
-
Erik Skultety