Skip to content

Some tests failed to run #752

@Sunderland93

Description

@Sunderland93

Distribution

Linux Mint 22.1

Package version

6.4.8

Graphics hardware in use

No response

Frequency

Always

Bug description

Some tests, such as those related to Wayland, failed to run or closes with SIGTRAP due to failed to create nested Wayland compositor (this also happens when running Muffin as nested compositor). Also there is a bunch of D-Bus errors

stdout:
TAP version 13
# random seed: R02S23ccf79bc6c017db2f18a270c2912b3c
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ?gsettings-backend?
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 2
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 2
# muffin-DEBUG: Created device 'Virtual core pointer' (id: 2, has-cursor: yes)
# muffin-DEBUG: Created device 'Virtual core keyboard' (id: 3, has-cursor: no)
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 4
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 4
# muffin-DEBUG: Created device 'Virtual core XTEST pointer' (id: 4, has-cursor: no)
# muffin-DEBUG: Created device 'Virtual core XTEST keyboard' (id: 5, has-cursor: no)
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 6
# muffin-DEBUG: Added axis 'Abs X' (min:-1.00, max:-1.00d, res:0) of device 6
# muffin-DEBUG: Created device 'Xvfb mouse' (id: 6, has-cursor: no)
# muffin-DEBUG: Created device 'Xvfb keyboard' (id: 7, has-cursor: no)
# muffin-DEBUG: setting cursor state ('invisible') over stage window (2097157)
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
Bail out! muffin-FATAL-CRITICAL: meta_input_settings_refresh: assertion 'META_IS_INPUT_SETTINGS (input_settings)' failed
stderr:
Window manager warning: Failed to set environment variable GNOME_SETUP_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable XAUTHORITY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable WAYLAND_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
(EE) could not connect to wayland server

I run this tests in both X11 and Wayland session of Cinnamon. Result is the same.

Steps to reproduce

  1. build Muffin with dbus-run-session -- xvfb-run -a meson -Dtests=true -Dinstalled_tests=true && ninja -C build
  2. run tests with meson test -C build --print-errorlogs

Expected behavior

All tests should be run and passed.

Additional information

This does not depend on the environment in which the build and tests are run. I tested this in KDE and GNOME too. Also, run pure Muffin as nested compositor with MUFFIN_DEBUG_DUMMY_MODE_SPECS=1920x1080 dbus-run-session -- muffin --nested --wayland also gives same D-Bus errors and fallback to X11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions