Testcase: test_reads_music_library(with touch)

Build #:107:20141025:20141017.2
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)

/var/log/syslog: {{{
Oct 25 07:55:05 ubuntu-phablet kernel: [  332.580955] wlan: [1290:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
149, rssi = -79, countryCode US
Oct 25 07:55:05 ubuntu-phablet kernel: [  332.581901] wlan: [1290:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ed chan=
149, rssi = -78, countryCode US
Oct 25 07:55:05 ubuntu-phablet kernel: [  332.583122] wlan: [1290:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
11, rssi = -67, countryCode US
Oct 25 07:55:05 ubuntu-phablet kernel: [  332.584068] wlan: [1290:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -57, countryCode US
Oct 25 07:55:05 ubuntu-phablet kernel: [  332.584922] wlan: [1290:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -57, countryCode US
}}}

test-log: {{{
07:54:55.955 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:54:55.963 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:54:56.017 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpx1x3lvf6',).
Keyword arguments: {'global_': False}.
07:54:56.035 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpx1x3lvf6
07:54:56.036 DEBUG __init__:200 - Creating music library for click test
07:54:56.037 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmpx1x3lvf6
07:54:56.037 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmpx1x3lvf6/Music
07:54:56.038 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpx1x3lvf6/.cache/mediascanner-2.0
07:54:56.039 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
07:54:56.100 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
07:54:56.101 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpx1x3lvf6/.cache/mediascanner-2.0
07:54:56.101 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
07:54:56.220 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
07:54:56.221 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
07:54:56.222 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
07:54:57.004 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
07:55:02.627 ERROR proxies:410 - Introspect error on :1.134:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
07:55:02.628 DEBUG proxies:413 - Executing introspect queue due to error
07:55:02.832 ERROR proxies:410 - Introspect error on :1.135:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
07:55:02.835 DEBUG proxies:413 - Executing introspect queue due to error
07:55:34.766 ERROR _launcher:206 - Timed out waiting for Application with app_id 'com.ubuntu.music_music_1.3.645' to stop.
07:55:34.774 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
07:55:34.779 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
07:55:34.789 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {'global_':
False}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/music_app/tests/test_music.py", line 25, in setUp
    super(TestMainWindow, self).setUp()
  File "/home/phablet/autopilot/music_app/tests/__init__.py", line 277, 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 (pid = 5305, object path = '/com/canonical/Autopilot/Introspection') returned no results

command_type
testcase_test