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é <berra...@redhat.com>
---

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

Reply via email to