Testcase: test_playback_stops_when_last_song_ends_and_repeat_off(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_playback_stops_when_last_song_ends_and_repeat_off(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:13:39 ubuntu-phablet kernel: [  331.952453] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:d4:56 chan=
1, rssi = -75, countryCode US
Aug 28 11:13:39 ubuntu-phablet kernel: [  331.952636] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -60, countryCode US
Aug 28 11:13:39 ubuntu-phablet kernel: [  332.182250] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:a2:46 chan=
6, rssi = -68, countryCode US
Aug 28 11:13:40 ubuntu-phablet kernel: [  332.623260] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
11, rssi = -68, countryCode US
Aug 28 11:13:40 ubuntu-phablet kernel: [  333.162506] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -60, countryCode US
Aug 28 11:13:40 ubuntu-phablet kernel: [  333.162719] wlan: [1355:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -59, countryCode US
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.865417] bq27541_get_psp voltage_now= 4235000 uV
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.866943] bq27541_get_psp status: Charging ret= 0x0201
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.868499] bq27541_get_psp current = -329 mA
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.869140] bq27541_get_psp voltage_now= 4235000 uV
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.869842] bq27541_get_capacity = 98% ret= 97
Aug 28 11:13:43 ubuntu-phablet kernel: [  335.870483] bq27541_get_psp temperature= 269 (0.1¢XC)
}}}

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)
/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)
/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 

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 

qml: Debug: Add track to playlist
qml: called LibraryListModel::filterPlaylist()
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
qml: Debug: New playlist.
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
qml: Add new playlists: myPlaylist
qml: Debug: User created a new playlist named:  myPlaylist
qml: called LibraryListModel::filterPlaylist()
qml: {"count":0,"name":"myPlaylist"}
qml: Debug: tracklist.currentIndex = 0
qml: Debug: onCountChanged: 1
virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

qml: Debug: /home/phablet/autopilot/fakeenv/tmpxymb9gju/Music/1.ogg added to myPlaylist
qml: called LibraryListModel::filterPlaylist()
qml: Debug: tracklist.currentIndex = -1
qml: Debug: onCountChanged: 0
qml: {"count":1,"name":"myPlaylist"}
virtual int AalMediaPlayerControl::volume() const 

qml: Debug: tracklist.currentIndex = 0
qml: Debug: onCountChanged: 1
/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 

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
}}}

test-log: {{{
11:13:30.689 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
11:13:30.695 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
11:13:30.733 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpuq8jh4i6',).
Keyword arguments: {}.
11:13:30.749 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpuq8jh4i6
11:13:30.751 DEBUG __init__:178 - Creating music library for click test
11:13:30.751 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmpuq8jh4i6
11:13:30.752 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmpuq8jh4i6/Music
11:13:30.753 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpuq8jh4i6/.cache/mediascanner-2.0
11:13:30.753 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
11:13:30.807 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
11:13:30.807 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpuq8jh4i6/.cache/mediascanner-2.0
11:13:30.808 DEBUG __init__:217 - Mediascanner database files ['mediastore.db', 'mediastore.sql']
11:13:30.903 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.db', 'mediastore.sql']
11:13:30.905 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:13:30.906 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
11:13:31.723 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.603' with URIs '' via upstart-app-launch
11:13:45.515 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
11:13:45.583 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:13:45.779 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
11:13:45.864 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:13:47.214 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
11:13:47.342 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:13:47.343 DEBUG _uinput:470 - Tapping at: 63,121
11:13:48.989 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:13:48.990 DEBUG _uinput:470 - Tapping at: 180,581
11:13:49.131 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
11:13:52.137 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:13:52.138 DEBUG _uinput:470 - Tapping at: 600,494
11:14:06.868 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 564, in test_playback_stops_when_last_song_ends_and_repeat_off
    self.app.populate_queue()  # populate queue
  File "/home/phablet/autopilot/music_app/__init__.py", line 68, in populate_queue
    self.get_now_playing_page().visible.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 178, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on MusicNowPlaying.visible failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test