test_no_video_dialog_visible fails on utopic

Bug #1341956 reported by Leo Arias
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Leo Arias
mediaplayer-app (Ubuntu)
Fix Released

Bug Description

This test is failing for me and for jenkins.

_StringException: Empty attachments:

process-return-code: {{{-15}}}
process-stderr: {{{
Testability driver loaded. Wire protocol version is "1.4".
File not found: QUrl( "file:///usr/share/mediaplayer-app/videos/" ) true false
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
UCUriHandler: Empty "APP_ID" environment variable, ignoring.

** (mediaplayer-app:5395): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID

test-log: {{{
15:02:25.603 INFO globals:58 - ************************************************************
15:02:25.603 INFO globals:59 - Starting test mediaplayer_app.tests.test_player.TestPlayer.test_no_video_dialog_visible (with mouse)
15:02:25.603 DEBUG globals:158 - Starting: ['/usr/bin/recordmydesktop', '--no-sound', '--no-frame', '-o', '/var/local/autopilot//artifacts/mediaplayer_app.tests.test_player.TestPlayer.test_no_video_dialog_visible (with mouse).ogv']
15:02:25.605 ERROR content:49 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog'
15:02:25.739 INFO testcase:258 - Attempting to launch application 'mediaplayer-app' with arguments '-w /usr/share/mediaplayer-app/videos/' as a normal process
15:02:25.756 INFO _launcher:255 - Launching process: ['/usr/bin/mediaplayer-app', '-testability', '-w', '/usr/share/mediaplayer-app/videos/']
15:02:27.528 DEBUG dbus:433 - Selecting objects of type QQuickView with attributes: {}
15:02:37.603 INFO _launcher:368 - waiting for process to exit.
15:02:37.604 INFO _launcher:391 - Killing process 5395

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mediaplayer_app/tests/test_player.py", line 27, in setUp
    self.main_window.get_qml_view().visible, Eventually(Equals(True)))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: After 10.0 seconds test on QQuickView.visible failed: True != dbus.Boolean(False, variant_level=1)

Tags: elopio

Related branches

Leo Arias (elopio)
Changed in mediaplayer-app:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediaplayer-app - 0.20.5+14.10.20140718.1-0ubuntu1

mediaplayer-app (0.20.5+14.10.20140718.1-0ubuntu1) utopic; urgency=low

  [ Leo Arias ]
  * Skip the no video dialog test in desktop. (LP: #1341956)

  [ Brendan Donegan ]
  * We remove the two scene selector tests because this feature is
 -- Ubuntu daily release <email address hidden> Fri, 18 Jul 2014 21:28:23 +0000

Changed in mediaplayer-app (Ubuntu):
status: New → Fix Released
Changed in mediaplayer-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers