104/108 mutter:core+mutter/unit / anonymous-file test failure
Hello!
Testing from the same Docker image as used by the CI, with a script very close to what the CI uses:
# Launch container:
docker run --privileged -it registry.gitlab.gnome.org/gnome/mutter/fedora/34:x86_64-2021-09-04.1 bash
# Clone
git clone https://gitlab.gnome.org/GNOME/mutter
cd mutter && git checkout 41.1
# Build and install
meson . build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true \
-Dwayland_eglstream=true --werror --prefix $PWD/install
meson compile -C build
meson install -C build
# Run tests
cd build
export "XDG_RUNTIME_DIR"="runtime-dir"
export "GSETTINGS_SCHEMA_DIR"="data"
export "MUTTER_DEBUG_DUMMY_MODE_SPECS"="800x600@10.0"
export "PIPEWIRE_DEBUG"="2"
export "PIPEWIRE_LOG"="meson-logs/pipewire.log"
export "G_SLICE"="always-malloc"
export "MALLOC_CHECK"="3"
export "NO_AT_BRIDGE"="1"
# for debugging
#export META_DBUS_RUNNER_WRAPPER=gdb
"glib-compile-schemas" "$GSETTINGS_SCHEMA_DIR"
mkdir -m 700 "$XDG_RUNTIME_DIR"
"pipewire" "--version"
pipewire &
sleep 2
"dbus-run-session" "--" "xvfb-run" "-a" "-s" "+iglx -noreset" \
"catchsegv" "meson" "test" "-v" "--print-errorlogs" "-t" "10"
I get the following failure, both on the latest master branch as well as the most recent 41.1 release tag:
104/108 mutter:core+mutter/unit / anonymous-file RUNNING
>>> MALLOC_PERTURB_=160 G_TEST_SRCDIR=/app/mutter/src G_TEST_BUILDDIR=/app/mutter/build MUTTER_TEST_PLUGIN_PATH=/app/mutter/build/src/compositor/plugins/libdefault.so /app/mutter/src/tests/meta-dbus-runner.py /app/mutter/build/src/tests/anonymous-file-tests
―――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――
Traceback (most recent call last):
File "/app/mutter/src/tests/meta-dbus-runner.py", line 126, in <module>
test_case.wrap_call(sys.argv[1:])
File "/app/mutter/src/tests/meta-dbus-runner.py", line 118, in wrap_call
self.assertEqual(p.wait(), 0)
File "/usr/lib64/python3.9/unittest/case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib64/python3.9/unittest/case.py", line 824, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: -25 != 0
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
104/108 mutter:core+mutter/unit / anonymous-file FAIL 1.08s exit status 1