Public bug reported:
Apparently ever since I switched to systemd on my laptop the tests based
launch_upstart_application on always fail:
> ./run_tests.sh
> ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
> -v
15:37:32.012 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.04.20150226.1-0ubuntu1
Loading tests from: /home/rumo/bau/uut.staging/tests/autopilot
15:37:32.069 INFO _logging:40 -
************************************************************
15:37:32.069 INFO _logging:41 - Starting test
ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
15:37:32.069 ERROR content:47 - Could not add content object 'None' due to IO
Error: [Errno 13] Permission denied: '/var/log/syslog'
15:37:32.070 DEBUG _video:79 - Starting: ['/usr/bin/recordmydesktop',
'--no-sound', '--no-frame', '-o',
'../../ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs.ogv']
(autopilot3:14049): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19:
Theming engine 'adwaita' not found
15:37:33.391 WARNING base:52 - This function is deprecated. Use
get_toolkit_launcher_command() instead.
15:37:33.444 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('tmpylwselxw',). Keyword arguments: {'global_': True}.
15:37:33.459 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.472 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.485 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.492 INFO _launcher:120 - Attempting to launch application
'tmpylwselxw' with URIs 'lalala' via upstart-app-launch
15:37:35.549 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.553 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.562 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.568 INFO logging:45 - str: Remove an initctl environment variable.
Arguments (). Keyword arguments: {'global_': True}.
15:37:43.556 ERROR testresult:44 - ERROR:
ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
15:37:43.556 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 132, in setUp
super(QMLStringAppTestCase, self).setUp()
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 96, in setUp
self.launch_application()
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 113, in launch_application
emulator_base=ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase)
File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 348, in
launch_upstart_application
return launcher.launch(application_name, uris)
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py",
line 140, in launch
state.get('message', '')
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py",
line 233, in _check_status_error
raise RuntimeError(': '.join(message_parts))
RuntimeError: Application Launch Failed: Application failed to start.
}}}
15:37:43.556 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot"
(image/png)
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1431947
Title:
launch_upstart_application fails under systemd-based systems
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
Apparently ever since I switched to systemd on my laptop the tests
based launch_upstart_application on always fail:
> ./run_tests.sh
ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
-v
15:37:32.012 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.04.20150226.1-0ubuntu1
Loading tests from: /home/rumo/bau/uut.staging/tests/autopilot
15:37:32.069 INFO _logging:40 -
************************************************************
15:37:32.069 INFO _logging:41 - Starting test
ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
15:37:32.069 ERROR content:47 - Could not add content object 'None' due to IO
Error: [Errno 13] Permission denied: '/var/log/syslog'
15:37:32.070 DEBUG _video:79 - Starting: ['/usr/bin/recordmydesktop',
'--no-sound', '--no-frame', '-o',
'../../ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs.ogv']
(autopilot3:14049): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2:19: Theming engine 'adwaita' not found
15:37:33.391 WARNING base:52 - This function is deprecated. Use
get_toolkit_launcher_command() instead.
15:37:33.444 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('tmpylwselxw',). Keyword arguments: {'global_': True}.
15:37:33.459 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.472 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.485 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:33.492 INFO _launcher:120 - Attempting to launch application
'tmpylwselxw' with URIs 'lalala' via upstart-app-launch
15:37:35.549 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.553 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.562 INFO logging:45 - str: Set the value of an initctl environment
variable. Arguments ('/home/rumo/bau/uut.staging/modules',). Keyword arguments:
{'global_': True}.
15:37:35.568 INFO logging:45 - str: Remove an initctl environment variable.
Arguments (). Keyword arguments: {'global_': True}.
15:37:43.556 ERROR testresult:44 - ERROR:
ubuntuuitoolkit.tests.custom_proxy_objects.test_main_view.MainView10TestCase.test_get_tabs_without_tabs
15:37:43.556 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 132, in setUp
super(QMLStringAppTestCase, self).setUp()
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 96, in setUp
self.launch_application()
File
"/home/rumo/bau/uut.staging/tests/autopilot/ubuntuuitoolkit/tests/__init__.py",
line 113, in launch_application
emulator_base=ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase)
File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 348, in
launch_upstart_application
return launcher.launch(application_name, uris)
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py",
line 140, in launch
state.get('message', '')
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py",
line 233, in _check_status_error
raise RuntimeError(': '.join(message_parts))
RuntimeError: Application Launch Failed: Application failed to start.
}}}
15:37:43.556 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot"
(image/png)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1431947/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp