Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/dummy-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

'use strict';

imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';

const { GObject, Gio, Gtk } = imports.gi;
const { GObject, Gio, Gdk, Gtk } = imports.gi;

const System = imports.system;

Expand All @@ -19,6 +20,8 @@ const Application = GObject.registerClass({

this.connect('startup', this.startup.bind(this));
this.connect('activate', this.activate.bind(this));

Gdk.set_allowed_backends('x11');
}

startup() {
Expand Down
16 changes: 15 additions & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,19 @@
shell_test_hook.SetPointer(pointer_x, center_y)
shell_test_hook.SetPointer(center_x, center_y)

@pytest.fixture(scope='class')
def shell_env(
self,
shell_init,
shell_test_hook
):
shell_environ = shell_test_hook.Eval('imports.gi.GLib.get_environ()')

return {
k: v for k, _, v in
(entry.partition('=') for entry in shell_environ)
}

@pytest.fixture(scope='class')
def extension_init(self, shell_init, shell_extensions_dbus_interface):
return shell_extensions_dbus_interface.EnableExtension('ddterm@amezin.github.com')
Expand Down Expand Up @@ -568,7 +581,7 @@

if any(pattern in message for pattern in ignored_log_issues):
warnings.warn(f'Ignored known issue: {message}')
continue

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.714-False-WindowMonitor.CONNECTOR-0-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DISABLE-True-True-True-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 DDTermWaylandSubprocessLegacy() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":307:3] 3 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":185:19] 4 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 5 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 6 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 7 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 8 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 9 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors1/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 10 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 11 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 12 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.BOTTOM-0.8-False-WindowMonitor.PRIMARY-1-0--1-1.0-1.25-displayconfig.LayoutMode.LOGICAL-AnimationMode.GNOME_DEFAULT-True-False-True-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 DDTermWaylandSubprocessLegacy() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":307:3] 3 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":185:19] 4 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 5 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 6 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 7 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 8 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 9 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 10 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 11 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 12 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestWayland::test_show[WindowPosition.RIGHT-0.714-True-WindowMonitor.CURRENT-0-0--1-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 DDTermWaylandSubprocessLegacy() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":307:3] 3 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":185:19] 4 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 5 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 6 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 7 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 8 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 9 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestWayland0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 10 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 11 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 12 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestX11::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.PRIMARY-0-0--1-1.0-0-displayconfig.LayoutMode.PHYSICAL-AnimationMode.GLOBAL_DISABLE-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":187:19] 3 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 4 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 5 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 6 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 7 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 8 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestX110/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 9 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 10 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 11 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestWaylandTwoMonitors::test_resize_maximize_unmaximize[WindowPosition.LEFT-1.0-0.8-WindowMonitor.CONNECTOR-1-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 DDTermWaylandSubprocessLegacy() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":307:3] 3 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":185:19] 4 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 5 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 6 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 7 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 8 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 9 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 10 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 11 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 12 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_app.py::TestApp::test_dark_mode[system-prefer-dark]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _init() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":236:51] 1 DDTermSubprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":205:3] 2 DDTermWaylandSubprocessLegacy() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js":307:3] 3 #create_subprocess() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":185:19] 4 start() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js":235:62] 5 ensure_running() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":151:29] 6 activate() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/appcontrol.js":217:19] 7 ActivateAsync/<() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:61] 8 handle_dbus_method_call_async() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":30:24] 9 ActivateAsync() ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/dbusapi.js":122:37] 10 _handleMethodCall() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":373:34] 11 _wrapJSObject/<() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":408:33] 12 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:19] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.CONNECTOR-0-0-0-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[760]: GLib.unix_signal_add has been moved to a separate platform-specific library. Please update your code to use GLibUnix.signal_add instead. 0 <TOP LEVEL> ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js":44:20] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.CONNECTOR-0-0-0-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[760]: JS ERROR: Error: Requiring GLibUnix, version 2.0: Typelib file for namespace 'GLibUnix', version '2.0' not found require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 try_require@file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:36:19 @file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:43:58 warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_resize_maximize_unmaximize[WindowPosition.LEFT-1.0-0.8-WindowMonitor.CONNECTOR-1-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[378]: GLib.unix_signal_add has been moved to a separate platform-specific library. Please update your code to use GLibUnix.signal_add instead. 0 <TOP LEVEL> ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js":44:20] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_resize_maximize_unmaximize[WindowPosition.LEFT-1.0-0.8-WindowMonitor.CONNECTOR-1-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[378]: JS ERROR: Error: Requiring GLibUnix, version 2.0: Typelib file for namespace 'GLibUnix', version '2.0' not found require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 try_require@file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:36:19 @file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:43:58 warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_resize_maximize_unmaximize[WindowPosition.LEFT-1.0-0.8-WindowMonitor.CONNECTOR-1-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: gnome-shell[56]: GLib.unix_set_fd_nonblocking has been moved to a separate platform-specific library. Please update your code to use GLibUnix.set_fd_nonblocking instead. 0 <TOP LEVEL> ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js":21:28] 1 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_wm.py::TestWaylandTwoMonitors::test_resize_maximize_unmaximize[WindowPosition.LEFT-1.0-0.8-WindowMonitor.CONNECTOR-1-0-1-1.5-1.75-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: gnome-shell[56]: Error: Requiring GLibUnix, version 2.0: Typelib file for namespace 'GLibUnix', version '2.0' not found Stack trace: require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 try_require@file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js:13:19 @file:///tmp/pytest-of-github-actions/pytest-0/popen-gw1/TestWaylandTwoMonitors0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js:20:58 @resource:///org/gnome/shell/ui/init.js:21:20 warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_app.py::TestApp::test_dark_mode[system-prefer-dark]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[298]: GLib.unix_signal_add has been moved to a separate platform-specific library. Please update your code to use GLibUnix.signal_add instead. 0 <TOP LEVEL> ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js":44:20] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_app.py::TestApp::test_dark_mode[system-prefer-dark]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: com.github.amezin.ddterm[298]: JS ERROR: Error: Requiring GLibUnix, version 2.0: Typelib file for namespace 'GLibUnix', version '2.0' not found require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 try_require@file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:36:19 @file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/app/application.js:43:58 warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_app.py::TestApp::test_dark_mode[system-prefer-dark]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: gnome-shell[56]: GLib.unix_set_fd_nonblocking has been moved to a separate platform-specific library. Please update your code to use GLibUnix.set_fd_nonblocking instead. 0 <TOP LEVEL> ["file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js":21:28] 1 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20] warnings.warn(f'Ignored known issue: {message}')

Check warning on line 584 in tests/fixtures.py

View workflow job for this annotation

GitHub Actions / ci / test (opensuse-tumbleweed)

tests/test_app.py::TestApp::test_dark_mode[system-prefer-dark]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/fixtures.py:583: UserWarning: Ignored known issue: gnome-shell[56]: Error: Requiring GLibUnix, version 2.0: Typelib file for namespace 'GLibUnix', version '2.0' not found Stack trace: require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 try_require@file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js:13:19 @file:///tmp/pytest-of-github-actions/pytest-0/popen-gw0/TestApp0/.local/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/sd_journal.js:20:58 @resource:///org/gnome/shell/ui/init.js:21:20 warnings.warn(f'Ignored known issue: {message}')

yield message

Expand All @@ -592,13 +605,14 @@
process_launcher,
dbus_connection,
shell_test_hook,
shell_env,
hide_overview,
pytestconfig,
):
with process_launcher.spawn(
str(pytestconfig.option.gjs),
str(THIS_DIR / 'dummy-app.js'),
env=dbus_environment,
env=shell_env,
) as proc:
try:
shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp')
Expand Down
5 changes: 3 additions & 2 deletions tests/test_wm.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
except GLib.Error as ex:
if ex.matches(Gio.io_error_quark(), Gio.IOErrorEnum.TIMED_OUT):
warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.20)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.TOP-1.0-False-WindowMonitor.CONNECTOR-0-0-0-1.5-2.0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-False-True-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (alpine-3.22)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.CONNECTOR-0-0-0-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (debian-13)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-True-WindowMonitor.CONNECTOR-0-0-0-1.75-2.0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-False-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (debian-13)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.LEFT-0.8-True-WindowMonitor.PRIMARY-1-0--1-1.75-1.5-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-False-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (debian-13)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.CONNECTOR-0-0-0-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (fedora-43)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.913-False-WindowMonitor.CONNECTOR-1-0-0-1.25-1.0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-False-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.ROTATE_90]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (fedora-43)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.LEFT-0.8-True-WindowMonitor.PRIMARY-1-0--1-1.75-1.5-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-False-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (ubuntu-25.04)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.TOP-1.0-False-WindowMonitor.CONNECTOR-0-0-0-1.5-2.0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-False-True-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / test (ubuntu-25.04)

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.8-False-WindowMonitor.CONNECTOR-0-0-0-1.5-1.75-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-True-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.NORMAL]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')

Check warning on line 209 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWaylandTwoMonitors::test_show[WindowPosition.RIGHT-0.913-False-WindowMonitor.CONNECTOR-1-0-0-1.25-1.0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-False-False-GdkBackend.X11-displayconfig.Transform.NORMAL-displayconfig.Transform.ROTATE_90]

/__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/test_wm.py:208: UserWarning: Wait for next frame timed out. Happens on XWayland. warnings.warn('Wait for next frame timed out. Happens on XWayland.')
else:
raise

Expand Down Expand Up @@ -458,7 +458,7 @@
def max_window_rect_changes(self):
return 1

def test_show(

Check failure on line 461 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_show[WindowPosition.LEFT-0.8-True-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DISABLE-True-True-False-GdkBackend.X11-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_show[WindowPosition.LEFT-0.8-True-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DISABLE-True-True-False-GdkBackend.X11-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining =

Check failure on line 461 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_show[WindowPosition.TOP-0.6-False-WindowMonitor.CURRENT-0-0--1-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DISABLE-False-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_show[WindowPosition.TOP-0.6-False-WindowMonitor.CURRENT-0-0--1-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DISABLE-False-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remainin

Check failure on line 461 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_show[WindowPosition.RIGHT-0.714-True-WindowMonitor.CURRENT-0-0--1-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_show[WindowPosition.RIGHT-0.714-True-WindowMonitor.CURRENT-0-0--1-1.25-0-displayconfig.LayoutMode.LOGICAL-AnimationMode.DDTERM_DEFAULT-True-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remain
self,
unmaximized_rect,
expected_rect,
Expand Down Expand Up @@ -571,7 +571,7 @@
if not window_maximize:
assert extension_test_hook.WindowAbove == window_above

@pytest.mark.usefixtures('disable_animations')

Check failure on line 574 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_maximize_unmaximize[WindowPosition.LEFT-0.714-False-WindowMonitor.CONNECTOR-0-0-0-1.5-0-displayconfig.LayoutMode.LOGICAL-True-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_maximize_unmaximize[WindowPosition.LEFT-0.714-False-WindowMonitor.CONNECTOR-0-0-0-1.5-0-displayconfig.LayoutMode.LOGICAL-True-True-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._re

Check failure on line 574 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_maximize_unmaximize[WindowPosition.BOTTOM-1.0-True-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-False-False-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_maximize_unmaximize[WindowPosition.BOTTOM-1.0-True-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-False-False-False-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._
def test_maximize_unmaximize(
self,
unmaximized_rect,
Expand Down Expand Up @@ -626,7 +626,7 @@
assert extension_test_hook.WindowOnAllWorkspaces in expected_on_all_workspaces
assert shell_test_hook.FocusApp == 'com.github.amezin.ddterm'

@pytest.mark.usefixtures('disable_animations')

Check failure on line 629 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_mouse_resize[GdkBackend.WAYLAND-1.5-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.BOTTOM-1.0-0.714-False-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_mouse_resize[GdkBackend.WAYLAND-1.5-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.BOTTOM-1.0-0.714-False-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endti

Check failure on line 629 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_mouse_resize[GdkBackend.X11-1.25-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.TOP-0.714-1.0-True-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_mouse_resize[GdkBackend.X11-1.25-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.TOP-0.714-1.0-True-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endtime)

Check failure on line 629 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_mouse_resize[GdkBackend.WAYLAND-1.25-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.BOTTOM-0.714-0.6-False-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_mouse_resize[GdkBackend.WAYLAND-1.25-0-displayconfig.LayoutMode.LOGICAL-WindowPosition.BOTTOM-0.714-0.6-False-WindowMonitor.CURRENT-0-0--1-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endt
def test_mouse_resize(
self,
unmaximized_rect,
Expand Down Expand Up @@ -709,7 +709,7 @@
round_to=int(monitor_scale)
)

@pytest.mark.usefixtures('disable_animations')

Check failure on line 712 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_resize_maximize_unmaximize[WindowPosition.BOTTOM-0.8-1.0-WindowMonitor.CONNECTOR-0-0-0-1.5-0-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_resize_maximize_unmaximize[WindowPosition.BOTTOM-0.8-1.0-WindowMonitor.CONNECTOR-0-0-0-1.5-0-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_tim

Check failure on line 712 in tests/test_wm.py

View workflow job for this annotation

GitHub Actions / ci / archlinux-installed-test

tests/test_wm.py::TestWayland::test_resize_maximize_unmaximize[WindowPosition.BOTTOM-0.913-0.8-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]

[gw0] linux -- Python 3.14.0 /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/.tox/pytest/bin/python self = <tests.procutil.ContainerExecLauncher object at 0x7f3f560d9310> shutdown_timeout = 10 args = ['podman', '--runtime=crun', 'exec', '--user', '1042', '--workdir', ...] kwargs = {'stdin': -3} cmdline = 'podman --runtime=crun exec --user 1042 --workdir /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm --env...8472189f72906c29e85490e6ef71f500 gjs /__w/gnome-shell-extension-ddterm/gnome-shell-extension-ddterm/tests/dummy-app.js' popen = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> @contextlib.contextmanager def spawn(self, *args, shutdown_timeout=DEFAULT_SHUTDOWN_TIMEOUT, **kwargs): kwargs.setdefault('stdin', subprocess.DEVNULL) args, kwargs = self.tweak(args, kwargs) cmdline = shlex.join(args) popen = None LOGGER.info('Starting process: %r', cmdline) try: with subprocess.Popen(args, **kwargs) as popen: try: > yield popen tests/procutil.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:618: in dummy_app shell_test_hook.wait_property('FocusApp', 'com.github.ddterm.DummyApp') tests/dbusutil.py:269: in wait_property glibutil.wait_any_source(timeout_ms=deadline.check_remaining_ms()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.glibutil.Deadline object at 0x7f3f559a8be0> def check_remaining_ms(self): remaining_us = self.deadline_us - GLib.get_monotonic_time() if remaining_us < 0: > raise TimeoutError() E TimeoutError tests/glibutil.py:137: TimeoutError During handling of the above exception, another exception occurred: self = <tests.logsync.LogSyncPlugin object at 0x7f3f563c9e80> item = <Function test_resize_maximize_unmaximize[WindowPosition.BOTTOM-0.913-0.8-WindowMonitor.CONNECTOR-0-0-0-1.25-0-displayconfig.LayoutMode.LOGICAL-GdkBackend.WAYLAND-displayconfig.Transform.NORMAL-MONITOR_DISABLED]> @pytest.hookimpl(wrapper=True, trylast=True) def pytest_runtest_setup(self, item): self.sync_noexcept(f'Beginning of {item.nodeid} setup') > yield tests/logsync.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/fixtures.py:612: in dummy_app with process_launcher.spawn( /usr/lib64/python3.14/contextlib.py:162: in __exit__ self.gen.throw(value) tests/procutil.py:98: in spawn popen.wait(timeout=shutdown_timeout) /usr/lib64/python3.14/subprocess.py:1278: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: 1 args: ['podman', '--runtime=crun', 'exec', '--user', '...> timeout = 10 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_
def test_resize_maximize_unmaximize(
self,
unmaximized_rect,
Expand Down Expand Up @@ -931,8 +931,9 @@
return []

@pytest.fixture(scope='class')
def shell_init(self, disable_extension_updates):
pass
def shell_init(self, disable_extension_updates, shell_dbus_interface):
if shell_dbus_interface.ShellVersion == (47, 10):
pytest.skip('Sometimes crashes GNOME Shell on Fedora 41')

def test_smoke(self, extension_init):
pass
Loading