Testcase: test_next_previous(with touch)

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

/var/log/syslog: {{{Oct 24 11:06:17 ubuntu-phablet kernel: [  118.745582] input: autopilot-finger as /devices/virtual/input/input6}}}
test-log: {{{
11:06:17.001 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:06:17.220 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:06:17.321 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpw_07191j',).
Keyword arguments: {'global_': False}.
11:06:17.372 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpw_07191j
11:06:17.379 DEBUG __init__:200 - Creating music library for click test
11:06:17.381 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmpw_07191j
11:06:17.383 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmpw_07191j/Music
11:06:17.387 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpw_07191j/.cache/mediascanner-2.0
11:06:17.390 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
11:06:17.546 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
11:06:17.547 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpw_07191j/.cache/mediascanner-2.0
11:06:17.547 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
11:06:17.628 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
11:06:17.630 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:06:17.631 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
11:06:18.457 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.645' with URIs '' via upstart-app-launch
11:06:35.343 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
11:06:35.407 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:06:35.617 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
11:06:35.709 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:06:37.295 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
11:06:37.476 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:06:37.477 DEBUG _uinput:470 - Tapping at: 63,121
11:06:40.664 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
11:06:40.667 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
11:06:40.669 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 134, in test_next_previous
    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