Testcase: test_play_pause_library(with touch)

Build #:72:20141008:20140929.1
Arch:flo (Nexus 7 2013)
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_play_pause_library(with touch)
testsuite
music_app.tests.test_music.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct  8 06:51:55 ubuntu-phablet kernel: [  182.087677] input: autopilot-finger as /devices/virtual/input/input6
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.578948] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.579498] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.580047] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.580596] bq27541_get_capacity = 100% ret= 99
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.581146] bq27541_get_psp temperature= 270 (0.1¢XC)
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.582275] bq27541_get_psp current = -238 mA
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.590179] bq27541_get_capacity = 100% ret= 99
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.590942] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.592102] bq27541_get_psp current = -238 mA
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.592742] bq27541_get_psp temperature= 270 (0.1¢XC)
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.593383] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.617248] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.617828] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.618377] bq27541_get_capacity = 100% ret= 99
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.618927] bq27541_get_psp temperature= 270 (0.1¢XC)
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.620025] bq27541_get_psp current = -238 mA
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.622039] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.622680] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.623229] bq27541_get_capacity = 100% ret= 99
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.623809] bq27541_get_psp temperature= 270 (0.1¢XC)
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.624908] bq27541_get_psp current = -238 mA
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.628326] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.629699] bq27541_get_psp status: Full ret= 0x0201
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.631225] bq27541_get_psp current = -238 mA
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.631896] bq27541_get_psp voltage_now= 4247000 uV
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.632568] bq27541_get_capacity = 100% ret= 99
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.633209] bq27541_get_psp temperature= 270 (0.1¢XC)
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.669464] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.669708] smb345_charger: [smb345_config_thermal_charging] temp=27, volt=4255000
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.670104] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct  8 06:51:58 ubuntu-phablet kernel: [  184.670349] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

test-log: {{{
06:51:55.674 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:51:55.898 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:51:55.950 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp870d4q23',).
Keyword arguments: {'global_': False}.
06:51:55.975 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp870d4q23
06:51:55.977 DEBUG __init__:200 - Creating music library for click test
06:51:55.978 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmp870d4q23
06:51:55.979 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmp870d4q23/Music
06:51:55.981 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp870d4q23/.cache/mediascanner-2.0
06:51:55.982 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
06:51:56.087 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
06:51:56.088 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp870d4q23/.cache/mediascanner-2.0
06:51:56.089 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
06:51:56.150 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
06:51:56.152 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
06:51:56.152 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
06:51:56.899 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.638' with URIs '' via upstart-app-launch
06:52:16.664 INFO logging:45 - MainView: Open a tab. Arguments ('albumsTab',). Keyword arguments: {}.
06:52:16.724 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
06:52:16.956 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:52:17.040 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
06:52:18.346 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
06:52:18.477 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:52:18.478 DEBUG _uinput:470 - Tapping at: 63,121
06:52:21.921 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
06:52:21.922 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
06:52:21.924 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 76, in test_play_pause_library
    self.app.get_albums_page().click_album(0)
  File "/home/phablet/autopilot/music_app/__init__.py", line 48, in get_albums_page
    self.main_view.switch_to_tab('albumsTab')
  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 2 not found.

command_type
testcase_test