Right now we get the below error messages in (passing) tests. We should be mocking out the parts that make the ugliness appear.
tests.syncdaemon.test_main
MainTests
test_connect_if_autoconnect_is_enabled ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_create_dirs_already_exists_but_not_symlink ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_create_dirs_already_exists_dirs ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_create_dirs_already_exists_symlink_too ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_create_dirs_none_exists ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_dont_connect_if_autoconnect_is_disabled ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_event_logger_not_started_if_not_available ... [OK]
test_event_logger_starts_if_available ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_get_rootdir ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_get_sharesdir ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_get_sharesdirlink ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_handshake_timeout ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
DEBUG:ubuntuone.status:server connection made
[OK]
test_main_initialization ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_main_restarts_on_critical_error ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_main_start ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_shutdown_pushes_sys_quit ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_status_listener_is_installed ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_status_listener_not_installed_when_disabled ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]
test_version_is_logged ... ERROR:ubuntuone.eventlog.zglog:Zeitgeist support not started:
Traceback (most recent call last):
File "/home/eric/canonical/ubuntuone-client/extend-sdtool/ubuntuone/eventlog/zglog.py", line 35, in __init__
self.client = ZeitgeistClient()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
self._iface = ZeitgeistDBusInterface()
File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 230, in __init__
e.get_dbus_message())
RuntimeError: Found no running zeitgeist-daemon instance: The name org.gnome.zeitgeist.Engine was not provided by any .service files
[OK]