Testcase: test_add_song_to_queue_from_albums_page(with touch)

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

/var/log/syslog: {{{
Sep 25 00:45:10 ubuntu-phablet kernel: [  103.109436] input: autopilot-finger as /devices/virtual/input/input6
Sep 25 00:45:15 ubuntu-phablet dbus[616]: [system] Activating service name='com.canonical.UserMetrics' (using servicehelper)
Sep 25 00:45:15 ubuntu-phablet dbus[616]: [system] Activated service 'com.canonical.UserMetrics' failed: Launch helper exited with unknown return code
1
Sep 25 00:45:21 ubuntu-phablet dbus[616]: [system] Activating service name='com.canonical.UserMetrics' (using servicehelper)
Sep 25 00:45:21 ubuntu-phablet dbus[616]: [system] Activated service 'com.canonical.UserMetrics' failed: Launch helper exited with unknown return code
1
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.335754] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.336303] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.336883] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.337432] bq27541_get_capacity = 100% ret= 99
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.337982] bq27541_get_psp temperature= 250 (0.1¢XC)
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.339111] bq27541_get_psp current = 30 mA
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.340118] bq27541_get_capacity = 100% ret= 99
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.340759] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.341949] bq27541_get_psp current = 30 mA
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.342590] bq27541_get_psp temperature= 250 (0.1¢XC)
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.343261] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.369018] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.369628] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.370208] bq27541_get_capacity = 100% ret= 99
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.370758] bq27541_get_psp temperature= 250 (0.1¢XC)
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.371887] bq27541_get_psp current = 30 mA
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.379699] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.380279] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.380828] bq27541_get_capacity = 100% ret= 99
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.381408] bq27541_get_psp temperature= 250 (0.1¢XC)
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.382507] bq27541_get_psp current = 30 mA
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.388366] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.390441] bq27541_get_psp status: Full ret= 0x0201
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.392089] bq27541_get_psp current = 30 mA
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.392761] bq27541_get_psp voltage_now= 4269000 uV
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.393432] bq27541_get_capacity = 100% ret= 99
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.394104] bq27541_get_psp temperature= 250 (0.1¢XC)
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.449615] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.449859] smb345_charger: [smb345_config_thermal_charging] temp=25, volt=4256000
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.450256] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep 25 00:45:31 ubuntu-phablet kernel: [  124.450531] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Sep 25 00:45:53 ubuntu-phablet kernel: [  146.666839] wlan: [1289:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -67, countryCode US
Sep 25 00:45:53 ubuntu-phablet kernel: [  146.667083] wlan: [1289:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -52, countryCode US
Sep 25 00:45:53 ubuntu-phablet kernel: [  146.667266] wlan: [1289:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -52, countryCode US
Sep 25 00:45:53 ubuntu-phablet kernel: [  146.667938] wlan: [1289:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -51, countryCode US
}}}

Application Log (com.ubuntu.music_music_1.3.635): {{{
/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
Failed to register user metric: "music-metrics" " "<b>%1</b> songs played today" ":  Launch helper exited with unknown return code 1
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 

com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
virtual int AalMediaPlayerControl::volume() const 

com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
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
}}}

test-log: {{{
00:45:10.088 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
00:45:10.297 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
00:45:10.345 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpw_gi3asv',).
Keyword arguments: {'global_': False}.
00:45:10.367 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpw_gi3asv
00:45:10.370 DEBUG __init__:178 - Creating music library for click test
00:45:10.371 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmpw_gi3asv
00:45:10.372 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmpw_gi3asv/Music
00:45:10.374 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpw_gi3asv/.cache/mediascanner-2.0
00:45:10.375 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
00:45:10.470 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
00:45:10.471 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpw_gi3asv/.cache/mediascanner-2.0
00:45:10.471 DEBUG __init__:217 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
00:45:10.527 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
00:45:10.528 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
00:45:10.530 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
00:45:11.271 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.635' with URIs '' via upstart-app-launch
00:45:28.268 INFO logging:45 - MainView: Open a tab. Arguments ('albumsTab',). Keyword arguments: {}.
00:45:28.337 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
00:45:28.553 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
00:45:28.649 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
00:45:29.972 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
00:45:30.097 DEBUG _common:45 - Moving to object's globalRect coordinates.
00:45:30.098 DEBUG _uinput:470 - Tapping at: 63,121
00:45:31.743 DEBUG _common:45 - Moving to object's globalRect coordinates.
00:45:31.744 DEBUG _uinput:470 - Tapping at: 180,469
00:45:31.880 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
00:45:37.412 DEBUG _common:45 - Moving to object's globalRect coordinates.
00:45:37.413 DEBUG _uinput:470 - Tapping at: 286,508
00:45:40.633 DEBUG _uinput:541 - Dragging from 960,717 to 240,717
00:45:41.492 DEBUG _common:45 - Moving to object's globalRect coordinates.
00:45:41.493 DEBUG _uinput:470 - Tapping at: 1023,717
00:45:54.422 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 339, in test_add_song_to_queue_from_albums_page
    Eventually(Equals(initial_tracks_count + 1)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on QQuickListView.count failed: 1 != dbus.Int32(0, variant_level=1)

command_type
testcase_test