[libvirt PATCH] ci: print test suite logs on failure for Cirrus jobs

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

 



We don't have access to the 'testlog.txt' file, so we need meson to
print the failures for any broken tests directly.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---

The CI pipeline for macOS started failing a few days ago. It was not
triggered by any commit, as the pipeline immediately preceeding the
first failure used the same commit hash on master. The logs show
glib2 being updated from 2.72.0 to 2.72.1

With this patch applied I can see the test logs

   https://gitlab.com/berrange/libvirt/-/jobs/2376891003

and all the failing tests are hitting:

(process:50961): GLib-WARNING **: 01:56:14.162: poll(2) failed due to:
Bad file descriptor.

so something todo with the QEMU monitor/event loop AFAIK, but not
sure what.

 ci/cirrus/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml
index 867d5f297b..f03ad58143 100644
--- a/ci/cirrus/build.yml
+++ b/ci/cirrus/build.yml
@@ -26,4 +26,4 @@ build_task:
     - meson setup build
     - meson dist -C build --no-tests
     - meson compile -C build
-    - meson test -C build --no-suite syntax-check
+    - meson test -C build --no-suite syntax-check --print-errorlogs
-- 
2.35.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