Sorry, forgot to run the testsuite; I installed python-tox, python3-nose and python3-psutil and get this when running tox:
py34 develop-inst-nodeps: /home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539
py34 runtests: PYTHONHASHSEED='612702447'
py34 runtests: commands[0] | python -m nose2 -v
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'com.canonical.applications.Downloader': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/nose2/__main__.py", line 12, in <module>
discover()
File "/usr/lib/python3/dist-packages/nose2/main.py", line 284, in discover
return main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/nose2/main.py", line 98, in __init__
super(PluggableTestProgram, self).__init__(**kw)
File "/usr/lib/python3.4/unittest/main.py", line 93, in __init__
self.runTests()
File "/usr/lib/python3/dist-packages/nose2/main.py", line 260, in runTests
self.result = runner.run(self.test)
File "/usr/lib/python3/dist-packages/nose2/runner.py", line 45, in run
self.session.hooks.startTestRun(event)
File "/usr/lib/python3/dist-packages/nose2/events.py", line 224, in __call__
result = getattr(plugin, self.method)(event)
File "/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/systemimage/testing/helpers.py", line 240, in wrapper
return function(*args, **kws)
File "/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/systemimage/testing/nose.py", line 112, in startTestRun
SystemImagePlugin.controller.start()
File "/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/systemimage/testing/controller.py", line 242, in start
self._start()
File "/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/systemimage/testing/controller.py", line 234, in _start
starter(self)
File "/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/systemimage/testing/controller.py", line 82, in start_downloader
service = bus.get_object('com.canonical.applications.Downloader', '/')
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program com.canonical.applications.Downloader: Success
ERROR: InvocationError: '/home/lool/bzr/launchpad/~barry/ubuntu-system-image/lp1383539/.tox/py34/bin/python -m nose2 -v'
___________________________________ summary ____________________________________
ERROR: py34: commands failed
Sorry, forgot to run the testsuite; I installed python-tox, python3-nose and python3-psutil and get this when running tox: inst-nodeps: /home/lool/ bzr/launchpad/ ~barry/ ubuntu- system- image/lp1383539 '612702447' python3/ dist-packages/ dbus/bus. py", line 175, in activate_name_owner name_owner( bus_name) python3/ dist-packages/ dbus/bus. py", line 361, in get_name_owner python3/ dist-packages/ dbus/connection .py", line 651, in call_blocking .DBusException: org.freedesktop .DBus.Error. NameHasNoOwner: Could not get owner of name 'com.canonical. applications. Downloader' : no such name
py34 develop-
py34 runtests: PYTHONHASHSEED=
py34 runtests: commands[0] | python -m nose2 -v
Traceback (most recent call last):
File "/usr/lib/
return self.get_
File "/usr/lib/
's', (bus_name,), **keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
During handling of the above exception, another exception occurred:
Traceback (most recent call last): python3. 4/runpy. py", line 170, in _run_module_as_main python3. 4/runpy. py", line 85, in _run_code python3/ dist-packages/ nose2/_ _main__ .py", line 12, in <module> python3/ dist-packages/ nose2/main. py", line 284, in discover python3/ dist-packages/ nose2/main. py", line 98, in __init__ PluggableTestPr ogram, self)._ _init__ (**kw) python3. 4/unittest/ main.py" , line 93, in __init__ python3/ dist-packages/ nose2/main. py", line 260, in runTests run(self. test) python3/ dist-packages/ nose2/runner. py", line 45, in run session. hooks.startTest Run(event) python3/ dist-packages/ nose2/events. py", line 224, in __call__ lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /systemimage/ testing/ helpers. py", line 240, in wrapper lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /systemimage/ testing/ nose.py" , line 112, in startTestRun Plugin. controller. start() lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /systemimage/ testing/ controller. py", line 242, in start lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /systemimage/ testing/ controller. py", line 234, in _start lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /systemimage/ testing/ controller. py", line 82, in start_downloader object( 'com.canonical. applications. Downloader' , '/') python3/ dist-packages/ dbus/bus. py", line 241, in get_object name_owner_ changes= follow_ name_owner_ changes) python3/ dist-packages/ dbus/proxies. py", line 248, in __init__ _named_ service = conn.activate_ name_owner( bus_name) python3/ dist-packages/ dbus/bus. py", line 180, in activate_name_owner start_service_ by_name( bus_name) python3/ dist-packages/ dbus/bus. py", line 278, in start_service_ by_name python3/ dist-packages/ dbus/connection .py", line 651, in call_blocking .DBusException: org.freedesktop .DBus.Error. Spawn.ExecFaile d: Failed to execute program com.canonical. applications. Downloader: Success lool/bzr/ launchpad/ ~barry/ ubuntu- system- image/lp1383539 /.tox/py34/ bin/python -m nose2 -v' _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _
File "/usr/lib/
"__main__", mod_spec)
File "/usr/lib/
exec(code, run_globals)
File "/usr/lib/
discover()
File "/usr/lib/
return main(*args, **kwargs)
File "/usr/lib/
super(
File "/usr/lib/
self.runTests()
File "/usr/lib/
self.result = runner.
File "/usr/lib/
self.
File "/usr/lib/
result = getattr(plugin, self.method)(event)
File "/home/
return function(*args, **kws)
File "/home/
SystemImage
File "/home/
self._start()
File "/home/
starter(self)
File "/home/
service = bus.get_
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
'su', (bus_name, flags)))
File "/usr/lib/
message, timeout)
dbus.exceptions
ERROR: InvocationError: '/home/
_______
ERROR: py34: commands failed