Testcase: test_music.TestMainWindow.test_play_pause_library

Build #:49:20131205:20131203
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_music.TestMainWindow.test_play_pause_library
testsuite
/tmp/tmpJVUOwp/testsuites/music-app-autopilot
returncode
1
command
autopilot-run music_app.tests.test_music.TestMainWindow.test_play_pause_library
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

16:21:47.937 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu1
16:21:47.960 DEBUG __init__:98 - Saving HOME
16:21:47.960 DEBUG __init__:104 - backing up /home/phablet/Music to /home/phablet/Music.bak
16:21:47.961 DEBUG __init__:139 - Creating music library for click test
16:21:47.961 DEBUG __init__:140 - Home set to /home/phablet
16:21:47.962 DEBUG __init__:142 - Music path set to /home/phablet/Music
16:21:47.962 DEBUG __init__:145 - Mediascanner path set to /home/phablet/.cache/mediascanner
16:21:47.963 DEBUG __init__:151 - Content dir set to /home/phablet/autopilot/music_app/content
16:21:47.981 DEBUG __init__:165 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
16:21:48.341 INFO globals:56 - ************************************************************
16:21:48.345 INFO globals:57 - Starting test music_app.tests.test_music.TestMainWindow.test_play_pause_library (with touch)
16:21:48.348 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
16:21:48.520 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
16:21:48.521 DEBUG __init__:92 - Running via click package
initctl: Unknown instance: com.ubuntu.music_music_1.1.245
16:21:51.365 INFO testcase:352 - Click package com.ubuntu.music_music_1.1.245 has been launched with PID 5139
16:21:54.092 INFO testcase:540 - waiting for process to exit.
16:21:54.093 INFO testcase:542 - Killing process 5139
16:21:54.093 INFO testcase:545 - Appears process has already exited.
16:21:54.098 ERROR testresult:37 - ERROR: music_app.tests.test_music.TestMainWindow.test_play_pause_library(with touch)
16:21:54.099 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/music_app/tests/test_music.py", line 21, in setUp
super(TestMainWindow, self).setUp()
File "/home/phablet/autopilot/music_app/tests/__init__.py", line 72, in setUp
launch()
File "/home/phablet/autopilot/music_app/tests/__init__.py", line 95, in launch_test_click
emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 358, in launch_click_package
emulator_base=emulator_base
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 269, in get_proxy_object_for_existing_process
process
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 308, in _get_dbus_addresses_from_search_parameters
object_path
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 336, in _search_for_valid_connections
object_path
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 348, in _get_valid_connections
valid_connections = filter(filter_fn, connections)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 394, in _match_connection
success = _connection_matches_pid(bus, connection_name, pid)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 416, in _connection_matches_pid
eligible_pids = [pid] + _get_child_pids(pid)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 464, in __call__
p.pid for p in psutil.Process(pid).get_children(recursive=True)
File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 228, in __init__
raise NoSuchProcess(pid, None, 'no process found with pid %s' % pid)
NoSuchProcess: no process found with pid 5139
}}}
ADB_RC=1
command_type
testcase_test