Testcase: test_play_pause_now_playing(with touch)

Build #:66:20141001.1:20140929.1
Arch:mako (Nexus 4)
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_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: {{{
Oct  1 19:18:38 ubuntu-phablet kernel: [  266.912345] updating pm_qos value to default msm_pcm_playback_close
Oct  1 19:18:38 ubuntu-phablet kernel: [  266.912406] done updating pm_qos value to default msm_pcm_playback_close
Oct  1 19:18:38 ubuntu-phablet kernel: [  266.944452] SLIM_CL: skip reconfig sequence
Oct  1 19:18:38 ubuntu-phablet kernel: [  266.955653] amp_enable: amp enable bypass(2)
Oct  1 19:18:38 ubuntu-phablet kernel: [  266.955714] amp_enable: AMP_EN is set to 0
}}}

test-log: {{{
19:18:33.198 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
19:18:33.206 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
19:18:33.269 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmpk5h_28n7',).
Keyword arguments: {'global_': False}.
19:18:33.300 DEBUG __init__:196 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmpk5h_28n7
19:18:33.302 DEBUG __init__:200 - Creating music library for click test
19:18:33.303 DEBUG __init__:201 - Home set to /home/phablet/autopilot/fakeenv/tmpk5h_28n7
19:18:33.303 DEBUG __init__:203 - Music path set to /home/phablet/autopilot/fakeenv/tmpk5h_28n7/Music
19:18:33.304 DEBUG __init__:208 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmpk5h_28n7/.cache/mediascanner-2.0
19:18:33.305 DEBUG __init__:214 - Content dir set to /home/phablet/autopilot/music_app/content
19:18:33.399 DEBUG __init__:223 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
19:18:33.401 DEBUG __init__:236 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmpk5h_28n7/.cache/mediascanner-2.0
19:18:33.402 DEBUG __init__:239 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
19:18:33.497 DEBUG __init__:229 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
19:18:33.498 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
19:18:33.499 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
19:18:34.290 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.638' with URIs '' via upstart-app-launch
19:18:49.252 INFO logging:45 - MainView: Open a tab. Arguments ('tracksTab',). Keyword arguments: {}.
19:18:49.325 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:18:49.563 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
19:18:49.653 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:18:51.184 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (3,). Keyword arguments: {}.
19:18:51.339 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:18:51.339 DEBUG _uinput:470 - Tapping at: 63,121
19:18:53.225 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:18:53.226 DEBUG _uinput:470 - Tapping at: 180,581
19:18:53.368 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:18:59.961 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:18:59.962 DEBUG _uinput:470 - Tapping at: 384,494
19:19:15.206 INFO __init__:182 - Resetting environment variable 'UBUNTU_APP_LAUNCH_LINK_FARM' to ''
19:19:15.207 INFO __init__:182 - Resetting environment variable 'HOME' to '/home/phablet'
19:19:15.210 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 116, in test_play_pause_now_playing
    self.app.populate_queue()  # populate queue
  File "/home/phablet/autopilot/music_app/__init__.py", line 111, 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