Summary: | dev-python/pygobject-3.36.1 fails test TestGDBusClient.test_python_calls_sync | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | paolo.pedroni, python |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Deutschmann (RETIRED)
2020-08-29 20:43:51 UTC
*** Bug 710188 has been marked as a duplicate of this bug. *** I'm thinking that the test is timing out: > 1/1 pygobject-test-suite FAIL 37.15s (exit status 1) (and from the duplicate bug 710118) > 1/1 pygobject-test-suite FAIL 33.71 s (exit status 1) Whereas the test runs in <10 seconds on my system: > 1/1 pygobject-test-suite OK 9.69s Still failing with 3.38.0.
Error message from testlog.txt is:
==================================================================================================== FAILURES =====================================================================================================
_____________________________________________________________________________________ TestGDBusClient.test_python_calls_sync ______________________________________________________________________________________
self = <tests.test_gdbus.TestGDBusClient testMethod=test_python_calls_sync>
def test_python_calls_sync(self):
# single value return tuples get unboxed to the one element
result = self.dbus_proxy.ListNames('()')
self.assertTrue(isinstance(result, list))
self.assertTrue(len(result) > 1)
self.assertTrue('org.freedesktop.DBus' in result)
result = self.dbus_proxy.GetNameOwner('(s)', 'org.freedesktop.DBus')
self.assertEqual(type(result), type(''))
# empty return tuples get unboxed to None
self.assertEqual(self.dbus_proxy.ReloadConfig('()'), None)
# multiple return values remain a tuple; unfortunately D-BUS itself
# does not have any method returning multiple results, so try talking
# to notification-daemon (and don't fail the test if it does not exist)
try:
> nd = Gio.DBusProxy.new_sync(self.bus,
Gio.DBusProxyFlags.NONE, None,
'org.freedesktop.Notifications',
'/org/freedesktop/Notifications',
'org.freedesktop.Notifications',
None)
E gi.repository.GLib.GError: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)
../pygobject-3.38.0/tests/test_gdbus.py:154: Error
|