Testcase: test_create_playlist_from_songs_tab(with touch)

Build #:91:20141016:20140929.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_create_playlist_from_songs_tab(with touch)
testsuite
music_app.tests.test_music.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{Oct 16 11:23:21 ubuntu-phablet kernel: [  115.937066] input: autopilot-finger as /devices/virtual/input/input6}}}
test-log: {{{
11:23:21.022 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:23:21.252 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:23:21.314 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp4hdujzrk',).
Keyword arguments: {'global_': False}.
11:23:21.346 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp4hdujzrk
11:23:21.348 DEBUG __init__:200 - Creating music library for click test
11:23:21.350 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmp4hdujzrk
11:23:21.351 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmp4hdujzrk/Music
11:23:21.353 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp4hdujzrk/.cache/mediascanner-2.0
11:23:21.354 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
11:23:21.474 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
11:23:21.475 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp4hdujzrk/.cache/mediascanner-2.0
11:23:21.475 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
11:23:21.567 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
11:23:21.568 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:23:21.570 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
11:23:22.334 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
11:23:40.672 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
11:23:40.750 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:23:40.981 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
11:23:41.072 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:23:42.673 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
11:23:42.829 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:23:42.830 DEBUG _uinput:470 - Tapping at: 63,121
11:23:46.225 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
11:23:46.226 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
11:23:46.228 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 429, in test_create_playlist_from_songs_tab
    tracks_page = self.app.get_tracks_page()
  File "/home/phablet/autopilot/music_app/__init__.py", line 90, in get_tracks_page
    self.main_view.switch_to_tab('tracksTab')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 163, in switch_to_tab
    return self.switch_to_tab_by_index(tab.index)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 103, in switch_to_tab_by_index
    return self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 132, in _switch_to_tab_in_drawer_by_index
    self.get_header().switch_to_tab_by_index(index)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 180, in switch_to_tab_by_index
    self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 201, in _switch_to_tab_in_drawer_by_index
    "Tab button {0} not found.".format(index))
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Tab button 3 not found.

command_type
testcase_test