Testcase: test_reads_music_library(with touch)

Build #:74:20141008.2: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_reads_music_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 22:26:41 ubuntu-phablet kernel: [  182.461242] input: autopilot-finger as /devices/virtual/input/input6
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.719573] bq27541_get_psp status: Full ret= 0x0200
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.720123] bq27541_get_psp status: Full ret= 0x0200
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.720703] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.721252] bq27541_get_capacity = 100% ret= 99
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.721832] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.722930] bq27541_get_psp current = -10 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.723785] bq27541_get_capacity = 100% ret= 99
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.724487] bq27541_get_psp status: Full ret= 0x1069
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.724884] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.725616] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.727264] bq27541_get_capacity check capacity, cap = 65526, smb_retry = 0
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.727661] bq27541_get_psp current = -1 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.728393] bq27541_get_capacity check capacity, cap = 2978, smb_retry = 1
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.729095] bq27541_get_psp error: temperature ret=4201, old_temp=248 
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.729125] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.729858] bq27541_get_capacity check capacity, cap = 512, smb_retry = 2
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.729858] bq27541_get_capacity use old capacity=100
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.730255] bq27541_get_psp status: Full ret= 0x0e16
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.731231] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.732330] bq27541_get_psp current = -10 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.733215] bq27541_get_psp status: Full ret= 0x0200
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.733795] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.734344] bq27541_get_capacity = 100% ret= 99
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.734893] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.736022] bq27541_get_psp current = -10 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.737426] bq27541_get_psp status: Full ret= 0x0200
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.737976] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.738555] bq27541_get_capacity = 100% ret= 99
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.739166] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.740325] bq27541_get_psp current = -10 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.741882] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.744049] bq27541_get_psp status: Full ret= 0x0200
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.745666] bq27541_get_psp current = -10 mA
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.746307] bq27541_get_psp voltage_now= 4201000 uV
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.747009] bq27541_get_capacity = 100% ret= 99
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.747650] bq27541_get_psp temperature= 248 (0.1¢XC)
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.824737] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.825012] smb345_charger: [smb345_config_thermal_charging] temp=24, volt=4210000
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.825378] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct  8 22:26:43 ubuntu-phablet kernel: [  184.825653] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.540191] wlan: [1284:E :TL ] One Cycle rounded, lost many frames already, not in Q 1
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.540191] 
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.637664] wlan: [1284:E :TL ] One Cycle rounded, lost many frames already, not in Q 1
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.637664] 
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.874114] wlan: [1284:E :TL ] One Cycle rounded, lost many frames already, not in Q 1
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.874145] 
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.994842] wlan: [1284:E :TL ] One Cycle rounded, lost many frames already, not in Q 1
Oct  8 22:26:54 ubuntu-phablet kernel: [  195.994873] 
Oct  8 22:26:59 ubuntu-phablet kernel: [  201.158538] wlan: [1284:E :TL ] One Cycle rounded, lost many frames already, not in Q 1
Oct  8 22:26:59 ubuntu-phablet kernel: [  201.158538]
}}}

test-log: {{{
22:26:40.968 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
22:26:41.180 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
22:26:41.218 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpverbeg8b',).
Keyword arguments: {'global_': False}.
22:26:41.234 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpverbeg8b
22:26:41.236 DEBUG __init__:200 - Creating music library for click test
22:26:41.237 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmpverbeg8b
22:26:41.238 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmpverbeg8b/Music
22:26:41.239 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpverbeg8b/.cache/mediascanner-2.0
22:26:41.240 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
22:26:41.335 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
22:26:41.336 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpverbeg8b/.cache/mediascanner-2.0
22:26:41.336 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
22:26:41.397 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
22:26:41.398 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
22:26:41.399 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
22:26:42.146 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.638' with URIs '' via upstart-app-launch
22:26:57.347 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
22:26:57.427 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
22:26:57.622 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
22:26:57.707 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
22:26:59.006 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
22:26:59.145 DEBUG _common:45 - Moving to object's globalRect coordinates.
22:26:59.146 DEBUG _uinput:470 - Tapping at: 63,121
22:27:02.659 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
22:27:02.661 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
22:27:02.662 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 58, in test_reads_music_library
    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