Just to elaborate upon what Andrew said so there is no confusion about the cause of this failure. This bug is due to the Autopilot tests of the Music app crashing/not working. The music app has saved mediascanner2 "mediastore.db" SQLite db. The tests then mock the device's home directory and uses this db to seed mediascanner2. When mediascanner2 releases a schema update the Autopilot tests break and this SQLite db needs to be stepped up to the current schema.
** Changed in: music-app Status: Invalid => Fix Released ** Changed in: music-app Assignee: (unassigned) => Victor Thompson (vthompson) ** Branch linked: lp:~vthompson/music-app/fix-1365247 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner in Ubuntu. https://bugs.launchpad.net/bugs/1366777 Title: qmlscene crashed while running music-app autopilot tests Status in Media Scanner: Confirmed Status in Music application for Ubuntu devices: Fix Released Status in “mediascanner” package in Ubuntu: Confirmed Bug description: music-app tests could not succeed due to qmlscene crash http://ci.ubuntu.com/smokeng/utopic/touch/mako/222:20140904.1:20140903.1/10220/music_app/ _StringException: Binary content: FailedTestScreenshot (image/png) /var/log/syslog: {{{Sep 5 00:59:45 ubuntu-phablet kernel: [ 86.241416] input: autopilot-finger as /devices/virtual/input/input6}}} Application Log (com.ubuntu.music_music_1.3.611): {{{ /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--url=' /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I' Testability driver loaded. Wire protocol version is "1.4". Could not create thumbnailer: Unknown error when checking cache access: Is a directory Failed to register thumbnailer image provider: Unknown error when checking cache access: Is a directory terminate called after throwing an instance of 'std::runtime_error' what(): Tried to open a db with an unsupported schema version. }}} test-log: {{{ 00:59:45.372 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package! 00:59:45.627 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled. 00:59:45.691 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp8mgdb_gk',). Keyword arguments: {}. 00:59:45.712 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp8mgdb_gk 00:59:45.713 DEBUG __init__:178 - Creating music library for click test 00:59:45.714 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk 00:59:45.714 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/Music 00:59:45.715 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0 00:59:45.716 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content 00:59:45.819 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3'] 00:59:45.820 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0 00:59:45.820 DEBUG __init__:217 - Mediascanner database files ['mediastore.sql', 'mediastore.db'] 00:59:45.904 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db'] 00:59:45.906 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}. 00:59:45.907 INFO _launcher:280 - Attempting to launch click application '(default)' from click package 'com.ubuntu.music' and URIs '' 00:59:46.691 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.611' with URIs '' via upstart-app-launch 01:00:13.601 ERROR proxies:410 - Introspect error on :1.96:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) 01:00:13.602 DEBUG proxies:413 - Executing introspect queue due to error 01:00:36.491 ERROR _launcher:206 - Timed out waiting for Application with app_id 'com.ubuntu.music_music_1.3.611' to stop. 01:00:36.498 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}. }}} Traceback (most recent call last): File "/home/phablet/autopilot/music_app/tests/test_music.py", line 26, in setUp super(TestMainWindow, self).setUp() File "/home/phablet/autopilot/music_app/tests/__init__.py", line 255, in setUp self.app = MusicApp(launcher_method()) File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner return f(instance, *args, **kwargs) File "/home/phablet/autopilot/music_app/tests/__init__.py", line 92, in launch_test_click emulator_base=ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase) File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 310, in launch_click_package return launcher.launch(package_id, app_name, app_uris) File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 283, in launch return super().launch(app_id, app_uris) File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 146, in launch pid=pid File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 176, in get_proxy_object_for_existing_process _get_search_criteria_string_representation(**kwargs) File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 375, in _raise_if_not_single_result (criteria_string) autopilot.exceptions.ProcessSearchError: Search criteria (object path = '/com/canonical/Autopilot/Introspection', pid = 3292) returned no results To manage notifications about this bug go to: https://bugs.launchpad.net/mediascanner/+bug/1366777/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp