Testcase: test_create_playlist_from_songs_tab(with touch)

Build #:103:20141022: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_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 22 09:00:27 ubuntu-phablet kernel: [  117.220448] input: autopilot-finger as /devices/virtual/input/input6}}}
test-log: {{{
09:00:27.477 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:00:27.704 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
09:00:27.762 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpwj52vlwi',).
Keyword arguments: {'global_': False}.
09:00:27.782 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpwj52vlwi
09:00:27.783 DEBUG __init__:200 - Creating music library for click test
09:00:27.784 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmpwj52vlwi
09:00:27.784 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmpwj52vlwi/Music
09:00:27.785 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpwj52vlwi/.cache/mediascanner-2.0
09:00:27.786 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
09:00:27.883 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
09:00:27.884 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpwj52vlwi/.cache/mediascanner-2.0
09:00:27.884 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
09:00:27.965 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
09:00:27.966 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
09:00:27.967 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
09:00:28.735 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
09:00:46.123 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
09:00:46.190 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:00:46.412 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
09:00:46.503 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:00:48.053 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
09:00:48.263 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:00:48.269 DEBUG _uinput:470 - Tapping at: 63,121
09:00:51.929 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
09:00:51.933 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
09:00:51.939 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