Log of Meson test suite run on 2024-01-23T07:31:40.139925 ==================================== 1/1 ===================================== test: pytest start time: 07:31:40 duration: 4.89s result: exit status 1 command: GI_TYPELIB_PATH=/var/tmp/portage/dev-libs/libportal-0.7.1/work/libportal-0.7.1-build/libportal UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/var/tmp/portage/dev-libs/libportal-0.7.1/work/libportal-0.7.1-build/libportal MALLOC_PERTURB_=110 /usr/bin/pytest --verbose --log-level=DEBUG ----------------------------------- stdout ----------------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0 -- /usr/bin/python3.11 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-libs/libportal-0.7.1/work/libportal-0.7.1/tests collecting ... collected 30 items pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_close_session PASSED [ 3%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis FAILED [ 6%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_connect_before_start FAILED [ 10%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_reconnect FAILED [ 13%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_v1 FAILED [ 16%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session FAILED [ 20%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session_no_outputs FAILED [ 23%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis FAILED [ 26%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis_discrete FAILED [ 30%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_button FAILED [ 33%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_key FAILED [ 36%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion FAILED [ 40%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion_absolute FAILED [ 43%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_touch FAILED [ 46%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_session_start FAILED [ 50%] pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_version FAILED [ 53%] pyportaltest/test_screencast.py::TestScreenCast::test_close_session PASSED [ 56%] pyportaltest/test_screencast.py::TestScreenCast::test_create_session FAILED [ 60%] pyportaltest/test_screencast.py::TestScreenCast::test_create_session_v3 FAILED [ 63%] pyportaltest/test_screencast.py::TestScreenCast::test_session_restore_token_null_if_not_started FAILED [ 66%] pyportaltest/test_screencast.py::TestScreenCast::test_session_start FAILED [ 70%] pyportaltest/test_screencast.py::TestScreenCast::test_version FAILED [ 73%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_background PASSED [ 76%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_background_preview FAILED [ 80%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_both FAILED [ 83%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_both_preview FAILED [ 86%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_cancel FAILED [ 90%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_lockscreen FAILED [ 93%] pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_lockscreen_preview FAILED [ 96%] pyportaltest/test_wallpaper.py::TestWallpaper::test_version FAILED [100%] =================================== FAILURES =================================== ____________________ TestRemoteDesktop.test_connect_to_eis _____________________ self = def test_connect_to_eis(self): > setup = self.create_session(start_session=True) pyportaltest/test_remotedesktop.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _______ TestRemoteDesktop.test_connect_to_eis_fail_connect_before_start ________ self = def test_connect_to_eis_fail_connect_before_start(self): > setup = self.create_session(start_session=False) pyportaltest/test_remotedesktop.py:457: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________ TestRemoteDesktop.test_connect_to_eis_fail_reconnect _____________ self = def test_connect_to_eis_fail_reconnect(self): > setup = self.create_session(start_session=True) pyportaltest/test_remotedesktop.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ___________________ TestRemoteDesktop.test_connect_to_eis_v1 ___________________ self = def test_connect_to_eis_v1(self): params = {"version": 1} > setup = self.create_session(params=params, start_session=True) pyportaltest/test_remotedesktop.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ____________________ TestRemoteDesktop.test_create_session _____________________ self = def test_create_session(self): """ Create a session with some "random" values and ensure that they're passed through to the portal. """ devices = Xdp.DeviceType.POINTER | Xdp.DeviceType.KEYBOARD outputs = Xdp.OutputType.MONITOR | Xdp.OutputType.WINDOW cursor_mode = Xdp.CursorMode.METADATA flags = Xdp.RemoteDesktopFlags.MULTIPLE > self.create_session( devices=devices, outputs=outputs, flags=flags, cursor_mode=cursor_mode, start_session=False, ) pyportaltest/test_remotedesktop.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _______________ TestRemoteDesktop.test_create_session_no_outputs _______________ self = def test_create_session_no_outputs(self): """ Create a session with no output value, ensure it's a "pure" remote desktop session. """ devices = Xdp.DeviceType.POINTER | Xdp.DeviceType.KEYBOARD outputs = Xdp.OutputType.NONE cursor_mode = Xdp.CursorMode.METADATA flags = Xdp.RemoteDesktopFlags.MULTIPLE > self.create_session( devices=devices, outputs=outputs, flags=flags, cursor_mode=cursor_mode, start_session=False, ) pyportaltest/test_remotedesktop.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ______________________ TestRemoteDesktop.test_notify_axis ______________________ self = def test_notify_axis(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _________________ TestRemoteDesktop.test_notify_axis_discrete __________________ self = def test_notify_axis_discrete(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________________ TestRemoteDesktop.test_notify_button _____________________ self = def test_notify_button(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ______________________ TestRemoteDesktop.test_notify_key _______________________ self = def test_notify_key(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________________ TestRemoteDesktop.test_notify_motion _____________________ self = def test_notify_motion(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ________________ TestRemoteDesktop.test_notify_motion_absolute _________________ self = def test_notify_motion_absolute(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________________ TestRemoteDesktop.test_notify_touch ______________________ self = def test_notify_touch(self): > setup = self.create_session() pyportaltest/test_remotedesktop.py:386: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________________ TestRemoteDesktop.test_session_start _____________________ self = def test_session_start(self): """ Create and start a session """ devices = Xdp.DeviceType.POINTER | Xdp.DeviceType.KEYBOARD outputs = Xdp.OutputType.NONE params = {"devices": devices} > setup = self.create_session( params=params, devices=devices, outputs=outputs, start_session=False, ) pyportaltest/test_remotedesktop.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_remotedesktop.py:62: in create_session self.setup_daemon(params=params, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ________________________ TestRemoteDesktop.test_version ________________________ self = def test_version(self): > self.assert_version_eq(2) pyportaltest/test_remotedesktop.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/__init__.py:162: in assert_version_eq self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 17140 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ______________________ TestScreenCast.test_create_session ______________________ self = def test_create_session(self): """ Create a session with some "random" values and ensure that they're passed through to the portal. """ outputs = Xdp.OutputType.MONITOR | Xdp.OutputType.WINDOW cursor_mode = Xdp.CursorMode.METADATA persist_mode = Xdp.PersistMode.PERSISTENT restore_token = "12345" flags = Xdp.ScreencastFlags.MULTIPLE > self.create_session( outputs=outputs, flags=flags, cursor_mode=cursor_mode, restore_token=restore_token, persist_mode=persist_mode, ) pyportaltest/test_screencast.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_screencast.py:50: in create_session self.setup_daemon(params=params or {}, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 22503 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ____________________ TestScreenCast.test_create_session_v3 _____________________ self = def test_create_session_v3(self): """ persist_mode and restore_token were added in v4 of the interface, must not be part of SelectSources """ params = {"version": 3} persist_mode = Xdp.PersistMode.PERSISTENT restore_token = "12345" > self.create_session( params=params, restore_token=restore_token, persist_mode=persist_mode, ) pyportaltest/test_screencast.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_screencast.py:50: in create_session self.setup_daemon(params=params or {}, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 22503 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ________ TestScreenCast.test_session_restore_token_null_if_not_started _________ self = def test_session_restore_token_null_if_not_started(self): """ Passed in a restore token but unless the session is started it should be NULL. """ restore_token = "12345" persist_mode = Xdp.PersistMode.TRANSIENT params = { "persist-mode": persist_mode, } > setup = self.create_session( params=params, restore_token=restore_token, persist_mode=persist_mode ) pyportaltest/test_screencast.py:204: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_screencast.py:50: in create_session self.setup_daemon(params=params or {}, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 22503 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ______________________ TestScreenCast.test_session_start _______________________ self = def test_session_start(self): """ Create and start a session """ s = [ { "position": (1, 2), "size": (32, 43), "source_type": dbus.UInt32(Xdp.OutputType.WINDOW), }, { "position": (3, 4), "size": (54, 65), "source_type": dbus.UInt32(Xdp.OutputType.MONITOR), }, ] streams = dbus.Array( [(dbus.UInt32(idx), stream) for idx, stream in enumerate(s)], signature="(ua{sv})", variant_level=1, ) params = { "streams": streams, "persist-mode": Xdp.PersistMode.TRANSIENT, } restore_token = "foo" # ignored since we're not continuing a session persist_mode = Xdp.PersistMode.PERSISTENT > setup = self.create_session( params=params, restore_token=restore_token, persist_mode=persist_mode ) pyportaltest/test_screencast.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_screencast.py:50: in create_session self.setup_daemon(params=params or {}, extra_templates=extra_templates) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 22503 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _________________________ TestScreenCast.test_version __________________________ self = def test_version(self): > self.assert_version_eq(4) pyportaltest/test_screencast.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/__init__.py:162: in assert_version_eq self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 22503 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________ TestWallpaper.test_set_wallpaper_background_preview ______________ self = def test_set_wallpaper_background_preview(self): > self.set_wallpaper("https://background.preview", "background", True) pyportaltest/test_wallpaper.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_wallpaper.py:24: in set_wallpaper self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ____________________ TestWallpaper.test_set_wallpaper_both _____________________ self = def test_set_wallpaper_both(self): > self.set_wallpaper("https://both.nopreview", "both", False) pyportaltest/test_wallpaper.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_wallpaper.py:24: in set_wallpaper self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ________________ TestWallpaper.test_set_wallpaper_both_preview _________________ self = def test_set_wallpaper_both_preview(self): > self.set_wallpaper("https://both.preview", "both", True) pyportaltest/test_wallpaper.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_wallpaper.py:24: in set_wallpaper self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError ___________________ TestWallpaper.test_set_wallpaper_cancel ____________________ self = def test_set_wallpaper_cancel(self): params = {"response": 1} > self.setup_daemon(params) pyportaltest/test_wallpaper.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _________________ TestWallpaper.test_set_wallpaper_lockscreen __________________ self = def test_set_wallpaper_lockscreen(self): > self.set_wallpaper("https://lockscreen.nopreview", "lockscreen", False) pyportaltest/test_wallpaper.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_wallpaper.py:24: in set_wallpaper self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError _____________ TestWallpaper.test_set_wallpaper_lockscreen_preview ______________ self = def test_set_wallpaper_lockscreen_preview(self): > self.set_wallpaper("https://lockscreen.preview", "lockscreen", True) pyportaltest/test_wallpaper.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/test_wallpaper.py:24: in set_wallpaper self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError __________________________ TestWallpaper.test_version __________________________ self = def test_version(self): > self.assert_version_eq(1) pyportaltest/test_wallpaper.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyportaltest/__init__.py:162: in assert_version_eq self.setup_daemon(params) pyportaltest/__init__.py:99: in setup_daemon self.start_session_bus() /usr/lib/python3.11/site-packages/dbusmock/testcase.py:300: in start_session_bus cls.__start_bus("session") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , bus_type = 'session' @classmethod def __start_bus(cls, bus_type) -> None: bustype = BusType(bus_type) old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid") > assert old_pid is None, f"PID {old_pid} still alive?" E AssertionError: PID 25945 still alive? /usr/lib/python3.11/site-packages/dbusmock/testcase.py:288: AssertionError =========================== short test summary info ============================ FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_connect_before_start FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_reconnect FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_v1 FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session_no_outputs FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis_discrete FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_button FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_key FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion_absolute FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_touch FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_session_start FAILED pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_version - ... FAILED pyportaltest/test_screencast.py::TestScreenCast::test_create_session FAILED pyportaltest/test_screencast.py::TestScreenCast::test_create_session_v3 FAILED pyportaltest/test_screencast.py::TestScreenCast::test_session_restore_token_null_if_not_started FAILED pyportaltest/test_screencast.py::TestScreenCast::test_session_start - ... FAILED pyportaltest/test_screencast.py::TestScreenCast::test_version - Assert... FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_background_preview FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_both FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_both_preview FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_cancel FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_lockscreen FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_set_wallpaper_lockscreen_preview FAILED pyportaltest/test_wallpaper.py::TestWallpaper::test_version - Assertio... ========================= 27 failed, 3 passed in 4.67s ========================= ============================================================================== Summary of Failures: 1/1 pytest FAIL 4.89s exit status 1 Ok: 0 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0