Public bug reported:
The tests test_dbus_service_unknown_wrongbus_* started failing on
stonking:
```
=================================== FAILURES ===================================
_______________ T.test_dbus_service_unknown_wrongbus_notrunning ________________
self = <tests.system.test_python_crashes.T
testMethod=test_dbus_service_unknown_wrongbus_notrunning>
def test_dbus_service_unknown_wrongbus_notrunning(self) -> None:
"""DBus.Error.ServiceUnknown with a valid name on a different bus
(not running)"""
subprocess.call(["killall", "gvfsd-metadata"])
self._test_crash(extracode=textwrap.dedent("""\
import dbus
obj = dbus.SystemBus().get_object(
'org.gtk.vfs.Metadata', '/org/gtk/vfs/metadata'
)
"""))
pr = self._load_report()
self.assertIn("org.freedesktop.DBus.Error.ServiceUnknown",
pr["Traceback"])
self.assertRegex(
> pr["DbusErrorAnalysis"],
^^^^^^^^^^^^^^^^^^^^^^^
"^provided by .*/dbus-1/services.*vfs.*[mM]etadata.service",
)
tests/system/test_python_crashes.py:127:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = {'ProblemType': 'Crash', 'Date': 'Tue Aug 18 01:21:48 2026',
'ExecutablePath': '/var/tmp/tmpdfvtov_y', 'ExecutableTime...ption:
org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable',
'UserGroups': 'N/A', '_HooksRun': 'no'}
key = 'DbusErrorAnalysis'
def __getitem__(self, key):
if key in self.data:
return self.data[key]
if hasattr(self.__class__, "__missing__"):
return self.__class__.__missing__(self, key)
> raise KeyError(key)
E KeyError: 'DbusErrorAnalysis'
/usr/lib/python3.14/collections/__init__.py:1148: KeyError
_________________ T.test_dbus_service_unknown_wrongbus_running _________________
self = <tests.system.test_python_crashes.T
testMethod=test_dbus_service_unknown_wrongbus_running>
def test_dbus_service_unknown_wrongbus_running(self) -> None:
"""DBus.Error.ServiceUnknown with a valid name on a different bus
(running)"""
self._test_crash(extracode=textwrap.dedent("""\
import dbus
# let the service be activated, to ensure it is running
obj = dbus.SessionBus().get_object(
'org.gtk.vfs.Metadata', '/org/gtk/vfs/metadata'
)
assert obj
obj = dbus.SystemBus().get_object(
'org.gtk.vfs.Metadata', '/org/gtk/vfs/metadata'
)
"""))
pr = self._load_report()
self.assertIn("org.freedesktop.DBus.Error.ServiceUnknown",
pr["Traceback"])
self.assertRegex(
> pr["DbusErrorAnalysis"],
^^^^^^^^^^^^^^^^^^^^^^^
"^provided by .*/dbus-1/services.*vfs.*[mM]etadata.service",
)
tests/system/test_python_crashes.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = {'ProblemType': 'Crash', 'Date': 'Tue Aug 18 01:21:48 2026',
'ExecutablePath': '/var/tmp/tmpqfsd8mlx', 'ExecutableTime...ption:
org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable',
'UserGroups': 'N/A', '_HooksRun': 'no'}
key = 'DbusErrorAnalysis'
def __getitem__(self, key):
if key in self.data:
return self.data[key]
if hasattr(self.__class__, "__missing__"):
return self.__class__.__missing__(self, key)
> raise KeyError(key)
E KeyError: 'DbusErrorAnalysis'
/usr/lib/python3.14/collections/__init__.py:1148: KeyError
```
** Affects: apport (Ubuntu)
Importance: High
Status: New
** Changed in: apport (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163744
Title:
test_dbus_service_unknown_wrongbus_* failing on stonking
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2163744/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs