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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux