Testcase: test_add_songs_to_queue_from_songs_tab_and_play(with touch)

Build #:212:20140828:20140811.1
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_add_songs_to_queue_from_songs_tab_and_play(with touch)
testsuite
music_app.tests.test_music.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.902832] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.904205] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.905700] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.906372] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.907043] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  244.907897] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.031005] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.031555] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.032104] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.032989] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.033538] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.034637] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.035461] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.036285] bq27541_get_psp status: Charging ret= 0x1097
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.036682] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.037414] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.038604] bq27541_get_capacity check capacity, cap = 65385, smb_retry = 0
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.039001] bq27541_get_psp current = 1782 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.039703] bq27541_get_capacity check capacity, cap = 2999, smb_retry = 1
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.040130] bq27541_get_psp error: temperature ret=4247, old_temp=269 
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.040130] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.040924] bq27541_get_capacity check capacity, cap = 513, smb_retry = 2
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.040924] bq27541_get_capacity use old capacity=98
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.041320] bq27541_get_psp status: Charging ret= 0x0ed3
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.041870] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.042968] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.044006] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.044555] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.045104] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.045654] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.046783] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.048492] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.049041] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.049591] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.050140] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.052642] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.054260] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.055572] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.057067] bq27541_get_psp current = -151 mA
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.057708] bq27541_get_psp voltage_now= 4247000 uV
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.058349] bq27541_get_capacity = 98% ret= 97
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.059020] bq27541_get_psp temperature= 269 (0.1¢XC)
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.123626] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.123901] smb345_charger: [smb345_config_thermal_charging] temp=26, volt=4247000
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.124267] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Aug 28 11:12:12 ubuntu-phablet kernel: [  245.124542] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

Application Log (com.ubuntu.music_music_1.3.603): {{{
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--url='
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'
Testability driver loaded. Wire protocol version is "1.4".
Could not create thumbnailer:  Unknown error when checking cache access: Is a directory
Failed to register thumbnailer image provider: Unknown error when checking cache access: Is a directory
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const 

virtual QMediaPlayer::State AalMediaPlayerControl::state() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

qml: Debug: Queue: Now has: 0 tracks
qml: Debug: onCountChanged: 0
qml: RECENT does not exist
qml: WARNING: Sheets are deprecated. Consider using Dialog, Popover or PageStack instead.
qml: Debug: Version 1.2
qml: Debug: Arguments on startup: Debug: false
qml: Debug: Arguments on startup: Debug: false and file: 
qml: INITIALIZED in tracks
qml: reset settings
qml: Playlist DB is version 
qml: Error reading old playlists, probably doesn't exist.
qml: Error reading old playlists tracks, probably doesn't exist.
qml: DB: Changing version of playlist db to 1.3, migrating 0 tracks
qml: Old playlists []
qml: DB: Restore {}
qml: called LibraryListModel::filterRecent()
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
D-Bus error:  "Could not get thumbnail"
D-Bus error:  "Could not get thumbnail"
D-Bus error:  "Could not get thumbnail"
virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

UbuntuWindow::handleSurfaceFocusChange(focused=false)
virtual int AalMediaPlayerControl::volume() const 

/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--url='
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'
Testability driver loaded. Wire protocol version is "1.4".
Could not create thumbnailer:  Unknown error when checking cache access: Is a directory
Failed to register thumbnailer image provider: Unknown error when checking cache access: Is a directory
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const 

virtual QMediaPlayer::State AalMediaPlayerControl::state() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

qml: Debug: Queue: Now has: 0 tracks
qml: Debug: onCountChanged: 0
qml: RECENT does not exist
qml: WARNING: Sheets are deprecated. Consider using Dialog, Popover or PageStack instead.
qml: Debug: Version 1.2
qml: Debug: Arguments on startup: Debug: false
qml: Debug: Arguments on startup: Debug: false and file: 
qml: INITIALIZED in tracks
qml: reset settings
qml: Playlist DB is version 
qml: Error reading old playlists, probably doesn't exist.
qml: Error reading old playlists tracks, probably doesn't exist.
qml: DB: Changing version of playlist db to 1.3, migrating 0 tracks
qml: Old playlists []
qml: DB: Restore {}
qml: called LibraryListModel::filterRecent()
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
D-Bus error:  "Could not get thumbnail"
D-Bus error:  "Could not get thumbnail"
D-Bus error:  "Could not get thumbnail"
virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

UbuntuWindow::handleSurfaceFocusChange(focused=false)
}}}

test-log: {{{
11:12:06.742 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:12:06.750 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:12:06.784 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpl57salth',).
Keyword arguments: {}.
11:12:06.800 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpl57salth
11:12:06.801 DEBUG __init__:178 - Creating music library for click test
11:12:06.802 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmpl57salth
11:12:06.803 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmpl57salth/Music
11:12:06.804 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpl57salth/.cache/mediascanner-2.0
11:12:06.804 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
11:12:06.865 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
11:12:06.867 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpl57salth/.cache/mediascanner-2.0
11:12:06.868 DEBUG __init__:217 - Mediascanner database files ['mediastore.db', 'mediastore.sql']
11:12:06.939 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.db', 'mediastore.sql']
11:12:06.940 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:12:06.941 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
11:12:07.707 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.603' with URIs '' via upstart-app-launch
11:12:24.577 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
11:12:24.640 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:12:24.834 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
11:12:24.917 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:12:26.263 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
11:12:26.384 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:12:26.384 DEBUG _uinput:470 - Tapping at: 63,121
11:12:28.953 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/music_app/tests/test_music.py", line 346, in test_add_songs_to_queue_from_songs_tab_and_play
    self.app.populate_queue()  # populate queue
  File "/home/phablet/autopilot/music_app/__init__.py", line 59, in populate_queue
    tracksPage = self.get_tracks_page()  # switch to track tab
  File "/home/phablet/autopilot/music_app/__init__.py", line 47, 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 167, 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 187, 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