Created attachment 37484 [details] build.log We get the following error: PASS: account-manager/avatar-persist.py ============= 1 test passed ============= make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[5]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' echo "Running account-manager/avatar-refresh.py in tmp-14708" Running account-manager/avatar-refresh.py in tmp-14708 make check-TESTS \ TESTS_ENVIRONMENT='$(SEPARATE_TESTS_ENVIRONMENT)' make[6]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' Temporary bus daemon is unix:abstract=/tmp/dbus-yaXuS4ECiH,guid=a53636006cb5fcde686f33ed000031fa Temporary bus daemon PID is 14843 /usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 Traceback (most recent call last): File "./account-manager/avatar-refresh.py", line 36, in <module> cs.tp_name_prefix + '.ConnectionManager.fakecm', bus=dbus.SessionBus()) File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 219, in __new__ mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-yaXuS4ECiH: Connection refused Killing temporary bus daemon: 14843 ./tools/with-session-bus.sh: line 57: kill: (14843) - No existe el proceso FAIL: account-manager/avatar-refresh.py ================== 1 of 1 test failed ================== make[6]: *** [check-TESTS] Error 1 make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[5]: *** [check-separate] Error 2 make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[4]: *** [check-twisted] Error 2 make[4]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test/twisted' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.4.3/work/telepathy-mission-control-5.4.3/test' make: *** [check-recursive] Error 1
Also: PASS: account-manager/avatar-persist.py ================== All 1 tests passed ================== make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' echo "Running account-manager/make-valid.py in tmp-30741" Running account-manager/make-valid.py in tmp-30741 make check-TESTS \ TESTS_ENVIRONMENT='$(SEPARATE_TESTS_ENVIRONMENT)' make[6]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' Temporary bus daemon is unix:abstract=/tmp/dbus-KivsGnxGKv,guid=1d923004314a958b6d7d6f0300003541 Temporary bus daemon PID is 30835 /usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 /var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted/mctest.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Killing temporary bus daemon: 30835 ./tools/with-session-bus.sh: line 57: kill: (30835) - No existe el proceso FAIL: account-manager/make-valid.py =================== 1 of 1 tests failed =================== make[6]: *** [check-TESTS] Error 1 make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: *** [check-separate] Error 2 make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[4]: *** [check-twisted] Error 2 make[4]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test' make: *** [check-recursive] Error 1
They also hang at: ================== All 1 tests passed ================== make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' echo "Running crash-recovery/crash-recovery.py in tmp-6251" Running crash-recovery/crash-recovery.py in tmp-6251 make check-TESTS \ TESTS_ENVIRONMENT='$(SEPARATE_TESTS_ENVIRONMENT)' make[6]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' Temporary bus daemon is unix:abstract=/tmp/dbus-QEwUxOwQdD,guid=09728c6ea25528322196ac0d00003689 Temporary bus daemon PID is 6345 /usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 /var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted/mctest.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 374, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 195, in addCallback callbackKeywords=kw) File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 186, in addCallbacks self._runCallbacks() File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks self.result = callback(self.result, *args, **kw) --- <exception caught here> --- File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 387, in _continueFiring callable(*args, **kwargs) File "/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted/mctest.py", line 82, in exec_test_deferred bus = dbus.SessionBus() File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 219, in __new__ mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-QEwUxOwQdD: Connection refused
================== All 1 tests passed ================== make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' make[5]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' echo "Running dispatcher/create-at-startup.py in tmp-12622" Running dispatcher/create-at-startup.py in tmp-12622 make check-TESTS \ TESTS_ENVIRONMENT='$(SEPARATE_TESTS_ENVIRONMENT)' make[6]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' Temporary bus daemon is unix:abstract=/tmp/dbus-1P2FCo7AHz,guid=940a741571b8e482ce42f72e000037d4 Temporary bus daemon PID is 12716 /usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 /var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted/mctest.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 374, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 195, in addCallback callbackKeywords=kw) File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 186, in addCallbacks self._runCallbacks() File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks self.result = callback(self.result, *args, **kw) --- <exception caught here> --- File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 387, in _continueFiring callable(*args, **kwargs) File "/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted/mctest.py", line 82, in exec_test_deferred bus = dbus.SessionBus() File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 219, in __new__ mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-1P2FCo7AHz: Connection refused
(In reply to comment #1) > `/var/tmp/portage/net-im/telepathy-mission-control-5.2.5/work/telepathy-mission-control-5.2.5/test/twisted' 5.2.x is an old stable branch and is no longer maintained. 5.4.x is the current stable branch (we use Linux-kernel-style versioning).
(In reply to comment #0) > Temporary bus daemon is > unix:abstract=/tmp/dbus-yaXuS4ECiH,guid=a53636006cb5fcde686f33ed000031fa > Temporary bus daemon PID is 14843 [...] > dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to > connect to socket /tmp/dbus-yaXuS4ECiH: Connection refused [...] > Killing temporary bus daemon: 14843 > ./tools/with-session-bus.sh: line 57: kill: (14843) - No existe el proceso I think the problem is with your dbus-daemon or its configuration. If you run: sh test/twisted/tools/with-session-bus.sh --session -- /bin/sh you should enter a shell that's in a new D-Bus session; the temporary dbus-daemon (process 14843 in the above quoted text) shouldn't exit until you exit from the shell, at which point with-session-bus.sh will kill it. It looks as though dbus-daemon opens its socket, forks, writes its address and pid through file descriptors 5 and 6 as intended, and then dies. If that invocation succeeds, try this one, which is closer to what we actually use for the tests: sh test/twisted/tools/with-session-bus.sh --config-file test/twisted/tools/tmp-session-bus.conf -- /bin/sh (for that one, you need to be in a telepathy-mission-control tree in which you have run ./configure). I wouldn't recommend running the Mission Control regression tests as part of a BSD-ports-style build system: they're a bit twitchy and prone to race conditions.
Tests work for me. Please reopen with more information if you can reproduce this in a current version (this currently means the newest release from either 5.4.x or 5.5.x), and your dbus-daemon is definitely not broken.
I have informed about all this to our downstream maintainer, thanks for your attention :-)
This is still failing :-( make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' Killing temporary bus daemon: 7062 make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' for TESTS in account-manager/auto-connect.py account-manager/avatar-persist.py account-manager/avatar-refresh.py account-manager/make-valid.py crash-recovery/crash-recovery.py dispatcher/create-at-startup.py account-manager/auto-away.py account-storage/default-keyring-storage.py account-storage/diverted-storage.py; do export TESTS; ( \ rm -rf tmp-$$ && mkdir tmp-$$ && { \ e=0; \ make check-separate \ TMPSUFFIX=$$ \ TESTS=$TESTS \ || e=$?; \ rm -rf tmp-$$; \ }; exit $e ) || exit $?; done make[5]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' echo "Running account-manager/auto-connect.py in tmp-7272" Running account-manager/auto-connect.py in tmp-7272 make check-TESTS \ TESTS_ENVIRONMENT='$(SEPARATE_TESTS_ENVIRONMENT)' make[6]: Entering directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' Temporary bus daemon is unix:abstract=/tmp/dbus-DS3exRszgZ,guid=6966107d4a16a6924ed39eb800009258 Temporary bus daemon PID is 7282 Killing temporary bus daemon: 7282 ./tools/with-session-bus.sh: line 57: kill: (7282) - No existe el proceso FAIL: account-manager/auto-connect.py ================== 1 of 1 test failed ================== make[6]: *** [check-TESTS] Error 1 make[6]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' make[5]: *** [check-separate] Error 2 make[5]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' make[4]: *** [check-twisted] Error 2 make[4]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test/twisted' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/telepathy-mission-control-5.6.0/work/telepathy-mission-control-5.6.0/test' make: *** [check-recursive] Error 1
Created attachment 39051 [details] build.log New full build.log for 5.6.0
(In reply to comment #6) > I think the problem is with your dbus-daemon or its configuration. If you run: > > sh test/twisted/tools/with-session-bus.sh --session -- /bin/sh > > you should enter a shell that's in a new D-Bus session; the temporary > dbus-daemon (process 14843 in the above quoted text) shouldn't exit until you > exit from the shell, at which point with-session-bus.sh will kill it. It looks > as though dbus-daemon opens its socket, forks, writes its address and pid > through file descriptors 5 and 6 as intended, and then dies. > > If that invocation succeeds, It looks to work ok: # sh test/twisted/tools/with-session-bus.sh --session -- /bin/sh Temporary bus daemon is unix:abstract=/tmp/dbus-GCr2QAX5R4,guid=402554d18f3f9d4ba0fc27ef00009360 Temporary bus daemon PID is 16454 sh-4.0# exit exit Killing temporary bus daemon: 16454 # echo $? 0 > try this one, which is closer to what we actually > use for the tests: > > sh test/twisted/tools/with-session-bus.sh --config-file > test/twisted/tools/tmp-session-bus.conf -- /bin/sh > > (for that one, you need to be in a telepathy-mission-control tree in which you > have run ./configure). > In that case it looks to fail (but I am running it on sources after tests fail to run when portage tries to run them under its building dir): # sh test/twisted/tools/with-session-bus.sh --config-file test/twisted/tools/tmp-session-bus.conf -- /bin/sh usage: with-session-bus [options] -- program [program_options] Requires write access to the current directory. If $WITH_SESSION_BUS_FORK_DBUS_MONITOR is set, fork dbus-monitor with the arguments in $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT. The output of dbus-monitor is saved in with-session-bus-<pid>.dbus-monitor-logs # echo $? 2 > I wouldn't recommend running the Mission Control regression tests as part of a > BSD-ports-style build system: they're a bit twitchy and prone to race > conditions. Are you referring to all tests or only part of them? In this last case, is there any "easy" way to skip that regression tests and not the rest? Thanks
(In reply to comment #11) > > try this one, which is closer to what we actually > > use for the tests: > > > > sh test/twisted/tools/with-session-bus.sh --config-file > > test/twisted/tools/tmp-session-bus.conf -- /bin/sh > > > > (for that one, you need to be in a telepathy-mission-control tree in which you > > have run ./configure). Sorry, I meant --config-file=test/twisted/tools/tmp-session-bus.conf as a single argument. > > I wouldn't recommend running the Mission Control regression tests as part of a > > BSD-ports-style build system: they're a bit twitchy and prone to race > > conditions. > > Are you referring to all tests or only part of them? In this last case, is > there any "easy" way to skip that regression tests and not the rest? I'd recommend not running any of the MC tests, unless you're in an environment where you can debug any failures (so developers contributing patches to MC should run them, but BSD-ports-style build systems shouldn't). I'd like to get an idea why this is failing, though...
(In reply to comment #12) > (In reply to comment #11) > > > try this one, which is closer to what we actually > > > use for the tests: > > > > > > sh test/twisted/tools/with-session-bus.sh --config-file > > > test/twisted/tools/tmp-session-bus.conf -- /bin/sh > > > > > > (for that one, you need to be in a telepathy-mission-control tree in which you > > > have run ./configure). > > Sorry, I meant --config-file=test/twisted/tools/tmp-session-bus.conf as a > single argument. > It looks to work :-O # sh test/twisted/tools/with-session-bus.sh --config-file=test/twisted/tools/tmp-session-bus.conf -- /bin/sh Temporary bus daemon is unix:abstract=/tmp/dbus-xFG63CxS73,guid=6c01d9d5f21b1420ab25c0e400001ae9 Temporary bus daemon PID is 9174 sh-4.0# exit exit Killing temporary bus daemon: 9174 # echo $? 0
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/issues/30.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.