Testcase: test_pressing_next_from_last_song_plays_first_when_repeat_on(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_pressing_next_from_last_song_plays_first_when_repeat_on(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:51:31 ubuntu-phablet kernel: [  118.432382] input: autopilot-finger as /devices/virtual/input/input6}}}
test-log: {{{
07:51:31.625 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:51:31.852 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:51:31.897 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp2xsncxso',).
Keyword arguments: {'global_': False}.
07:51:31.918 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp2xsncxso
07:51:31.919 DEBUG __init__:200 - Creating music library for click test
07:51:31.920 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmp2xsncxso
07:51:31.920 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmp2xsncxso/Music
07:51:31.921 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp2xsncxso/.cache/mediascanner-2.0
07:51:31.922 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
07:51:32.027 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
07:51:32.028 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp2xsncxso/.cache/mediascanner-2.0
07:51:32.029 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
07:51:32.109 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
07:51:32.111 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
07:51:32.112 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
07:51:32.875 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
07:51:50.150 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
07:51:50.257 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:51:50.454 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
07:51:50.539 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:51:52.081 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
07:51:52.251 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:51:52.252 DEBUG _uinput:470 - Tapping at: 63,121
07:51:55.647 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
07:51:55.649 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
07:51:55.650 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 590, in test_pressing_next_from_last_song_plays_first_when_repeat_on
    self.app.populate_queue()  # populate queue
  File "/home/phablet/autopilot/music_app/__init__.py", line 102, in populate_queue
    tracksPage = self.get_tracks_page()  # switch to track tab
  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