touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #60099
[Bug 1411096] Re: Autopilot tests fail on vivid because the name of the calculator desktop file changed
** Changed in: autopilot
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to autopilot in Ubuntu.
https://bugs.launchpad.net/bugs/1411096
Title:
Autopilot tests fail on vivid because the name of the calculator
desktop file changed
Status in Autopilot:
Fix Released
Status in autopilot package in Ubuntu:
New
Bug description:
Three tests are failing on vivid with a trace like this:
_StringException: Binary content:
FailedTestScreenshot (image/png)
test-log: {{{
18:24:44.094 ERROR content:47 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog'
18:24:44.095 DEBUG _video:79 - Starting: ['/usr/bin/recordmydesktop', '--no-sound', '--no-frame', '-o', '/tmp/autopilot/autopilot.tests.functional.test_process_emulator.ProcessEmulatorTests.test_start_app_window.ogv']
18:24:45.103 INFO _bamf:156 - Starting application 'Calculator' with files [] in locale C
}}}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/autopilot/tests/functional/test_process_emulator.py", line 94, in test_start_app_window
app = self.process_manager.start_app_window('Calculator', locale='C')
File "/usr/lib/python3/dist-packages/autopilot/process/_bamf.py", line 137, in start_app_window
window = self._open_window(app_name, files, locale)
File "/usr/lib/python3/dist-packages/autopilot/process/_bamf.py", line 162, in _open_window
self._launch_application(app['desktop-file'], files)
File "/usr/lib/python3/dist-packages/autopilot/process/_bamf.py", line 326, in _launch_application
proc = _launch_application(desktop_file, files)
File "/usr/lib/python3/dist-packages/autopilot/process/_bamf.py", line 333, in _launch_application
proc = Gio.DesktopAppInfo.new(desktop_file)
TypeError: constructor returned NULL
Gio.DesktopAppInfo is failing because it doesn't find the desktop
file. It doesn't find the desktop file, because it's name has been
updated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1411096/+subscriptions