[Pkg-utopia-maintainers] Bug#931726: xdg-desktop-portal: Intermittent test failure: tests/test-doc-portal.c:695:test_add_named: assertion failed (error == NULL): Can't open .../add-named-1 (g-file-error-quark, 23)

Simon McVittie smcv at debian.org
Tue Jul 9 17:29:59 BST 2019


Package: xdg-desktop-portal
Version: 1.4.2-1
Severity: important
Tags: help

xdg-desktop-portal's build-time tests intermittently fail with an error like this:

PASS: test-doc-portal 4 /db/create_docs
Bail out! xdg-desktop-portal:ERROR:tests/test-doc-portal.c:695:test_add_named: assertion failed (error == NULL): Can't open /tmp/xdp-test-UNS23Z/doc/c8891209/add-named-1 (g-file-error-quark, 23)

This seems to be quite reproducible on salsa.debian.org CI (maybe 50%
of runs, each of which builds x-d-p three times due to reprotest). I can
reproduce it on my laptop, but only by building x-d-p 1000 times in a
loop. It isn't clear why this happens, and the way the desktop portal
gets started by GTestDBus during testing results in its log messages
being lost, so it's hard to debug.

    smcv



More information about the Pkg-utopia-maintainers mailing list