Testcase: test_reads_music_library(with touch)

Build #:28:20140907:20140903.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_reads_music_library(with touch)
testsuite
music_app.tests.test_music.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog

Application Log (com.ubuntu.music_music_1.3.614): {{{
/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.
/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.
/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.
/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.
/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.
/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.
/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.
/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.
/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: {{{
06:06:38.165 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:06:38.172 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:06:38.224 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpdmf5jm77',).
Keyword arguments: {}.
06:06:38.243 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpdmf5jm77
06:06:38.244 DEBUG __init__:178 - Creating music library for click test
06:06:38.245 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmpdmf5jm77
06:06:38.245 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmpdmf5jm77/Music
06:06:38.247 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpdmf5jm77/.cache/mediascanner-2.0
06:06:38.247 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
06:06:38.309 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
06:06:38.310 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpdmf5jm77/.cache/mediascanner-2.0
06:06:38.310 DEBUG __init__:217 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
06:06:38.387 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
06:06:38.389 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
06:06:38.390 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
06:06:39.174 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.614' with URIs '' via upstart-app-launch
06:06:44.471 ERROR proxies:410 - Introspect error on :1.161:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
06:06:44.472 DEBUG proxies:413 - Executing introspect queue due to error
06:07:06.971 ERROR _launcher:206 - Timed out waiting for Application with app_id 'com.ubuntu.music_music_1.3.614' to stop.
06:07:06.980 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 = 5612) returned no results

command_type
testcase_test