Testcase: test_play_pause_now_playing(with touch)

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

/var/log/syslog: {{{
Aug 30 04:50:36 ubuntu-phablet kernel: [   86.329833] input: autopilot-finger as /devices/virtual/input/input6
Aug 30 04:50:44 ubuntu-phablet kernel: [   94.002014] init: rild main process (781) killed by TERM signal
}}}

Application Log (com.ubuntu.music_music_1.3.604): {{{
/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
}}}

test-log: {{{
04:50:36.668 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:50:36.903 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:50:36.940 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpkbu_ot05',).
Keyword arguments: {}.
04:50:36.963 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpkbu_ot05
04:50:36.966 DEBUG __init__:178 - Creating music library for click test
04:50:36.967 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmpkbu_ot05
04:50:36.968 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmpkbu_ot05/Music
04:50:36.969 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpkbu_ot05/.cache/mediascanner-2.0
04:50:36.970 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
04:50:37.075 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
04:50:37.076 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpkbu_ot05/.cache/mediascanner-2.0
04:50:37.077 DEBUG __init__:217 - Mediascanner database files ['mediastore.db', 'mediastore.sql']
04:50:37.149 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.db', 'mediastore.sql']
04:50:37.150 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
04:50:37.151 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
04:50:37.931 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.604' with URIs '' via upstart-app-launch
04:50:53.725 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
04:50:53.794 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
04:50:53.988 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
04:50:54.072 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
04:50:55.369 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
04:50:55.501 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:55.502 DEBUG _uinput:470 - Tapping at: 63,121
04:50:58.617 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 109, in test_play_pause_now_playing
    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