Testcase: test_create_playlist_from_songs_tab(with touch)

Build #:98:20141018: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 18 11:14:05 ubuntu-phablet kernel: [  118.397192] input: autopilot-finger as /devices/virtual/input/input6}}}
test-log: {{{
11:14:05.664 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:14:05.907 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:14:05.964 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp_zast79_',).
Keyword arguments: {'global_': False}.
11:14:05.984 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp_zast79_
11:14:05.985 DEBUG __init__:200 - Creating music library for click test
11:14:05.986 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmp_zast79_
11:14:05.987 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmp_zast79_/Music
11:14:05.988 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp_zast79_/.cache/mediascanner-2.0
11:14:05.988 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
11:14:06.130 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
11:14:06.132 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp_zast79_/.cache/mediascanner-2.0
11:14:06.133 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
11:14:06.227 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
11:14:06.229 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:14:06.230 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
11:14:06.994 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
11:14:23.963 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
11:14:24.022 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:14:24.227 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
11:14:24.320 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:14:25.891 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
11:14:26.061 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:14:26.062 DEBUG _uinput:470 - Tapping at: 63,121
11:14:29.429 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
11:14:29.430 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
11:14:29.437 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