Testcase: test_playback_button_states(with touch)

Build #:18:20140901.1:20140811.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_playback_button_states(with touch)
testsuite
mediaplayer_app.tests.test_player_with_video.TestPlayerWithVideo
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.201007] amp_enable: AMP_EN is set to 1
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.223897] setting pm_qos in msm_pcm_playback_copy with 1000
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.223897] done setting pm_qos in msm_pcm_playback_copy
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.378849] msm_vidc_dec: Inside vid_dec_open()
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.378849] 
Sep  1 20:13:03 ubuntu-phablet kernel: [  256.378879] res_trk_download_firmware(): Request firmware download
Sep  1 20:13:04 ubuntu-phablet kernel: [  256.421211] fw_version 11:30:2012
Sep  1 20:13:30 ubuntu-phablet kernel: [  283.531725] binder: 1951:4621 transaction failed 29189, size 68-0
Sep  1 20:13:30 ubuntu-phablet kernel: [  283.539600] msm_vidc_dec: Inside vid_dec_release()
Sep  1 20:13:30 ubuntu-phablet kernel: [  283.561727] msm_vidc_dec: Return from vid_dec_release()
}}}

process-return-code (/usr/bin/mediaplayer-app): {{{-6}}}
process-stderr (/usr/bin/mediaplayer-app): {{{
/usr/bin/mediaplayer-app: invalid option -- 't'
/usr/bin/mediaplayer-app: invalid option -- 'e'
/usr/bin/mediaplayer-app: invalid option -- 's'
/usr/bin/mediaplayer-app: invalid option -- 't'
/usr/bin/mediaplayer-app: invalid option -- 'a'
/usr/bin/mediaplayer-app: invalid option -- 'b'
/usr/bin/mediaplayer-app: invalid option -- 'i'
/usr/bin/mediaplayer-app: invalid option -- 'l'
/usr/bin/mediaplayer-app: invalid option -- 'i'
/usr/bin/mediaplayer-app: invalid option -- 't'
/usr/bin/mediaplayer-app: invalid option -- 'y'
/usr/bin/mediaplayer-app: unrecognized option '--fullscreen'
Testability driver loaded. Wire protocol version is "1.4".
unity::action::ActionManager::ActionManager(QObject*):
	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.
Initializing AalServicePlugin
virtual int AalMediaPlayerControl::volume() const 

virtual QMediaPlayer::State AalMediaPlayerControl::state() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual int AalMediaPlayerControl::volume() const 

virtual void AalMediaPlayerControl::stop() 

virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

Setting media to:   QUrl( "file:///usr/share/mediaplayer-app/videos/h264.avi" ) 
void AalVideoRendererControl::setupSurface()
virtual bool AalMediaPlayerControl::isMuted() const 

virtual int AalMediaPlayerControl::volume() const 

virtual bool AalMediaPlayerControl::isMuted() const 

virtual int AalMediaPlayerControl::volume() const 

virtual bool AalMediaPlayerControl::isMuted() const 

virtual int AalMediaPlayerControl::volume() const 

virtual void AalMediaPlayerControl::setMuted(bool) 

virtual void AalMediaPlayerControl::setVolume(int) 

virtual int AalMediaPlayerControl::volume() const 

virtual void AalMediaPlayerControl::play() 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  1
Creating video sink
UbuntuWindow::handleSurfaceFocusChange(focused=true)
** Setting GLConsumer instance
void AalVideoRendererControl::onGLConsumerSet()
Actually calling m_hubPlayerSession->play()
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 


** (process:4558): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

virtual int AalMediaPlayerControl::volume() const 

QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
virtual int AalMediaPlayerControl::volume() const 

QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
virtual int AalMediaPlayerControl::volume() const 

QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
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 

*** Error in `/usr/bin/mediaplayer-app': double free or corruption (fasttop): 0x0078a560 ***
}}}

process-stdout (/usr/bin/mediaplayer-app): {{{
Creating a new static Service instance
PlaybackStatusChanged signal arrived via the bus.
UbuntuWindow - fullscreen geometry
virtual void core::ubuntu::media::ServiceStub::pause_other_sessions(core::ubuntu::media::Player::PlayerKey)
PlaybackStatusChanged signal arrived via the bus.
}}}

test-log: {{{
20:12:58.454 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:12:58.505 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
20:12:58.507 INFO _launcher:373 - Attempting to launch application 'mediaplayer-app' with arguments 'file:///usr/share/mediaplayer-app/videos/h264.avi
--fullscreen --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop' as a normal process
20:12:58.521 INFO _launcher:431 - Launching process: ['/usr/bin/mediaplayer-app', '-testability', 'file:///usr/share/mediaplayer-app/videos/h264.avi',
'--fullscreen', '--desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop']
20:13:05.615 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:13:05.617 DEBUG _uinput:470 - Tapping at: 384,640
20:13:07.314 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:13:07.315 DEBUG _uinput:470 - Tapping at: 297,1217
20:13:30.788 ERROR proxies:410 - Introspect error on :1.125:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
20:13:30.789 DEBUG proxies:413 - Executing introspect queue due to error
20:13:34.145 INFO _launcher:544 - waiting for process to exit.
20:13:34.147 INFO _launcher:567 - Killing process 4558
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mediaplayer_app/tests/test_player_with_video.py", line 63, in test_playback_button_states
    self.assertProperty(player, playing=False, paused=True)
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 452, in assertProperty
    attr = getattr(obj, prop_name, none_val)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 411, in __getattr__
    self.refresh_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 367, in refresh_state
    _, new_state = self._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 427, in _get_new_state
    return self._backend.execute_query_get_data(self._query)[0]
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 221, in execute_query_get_data
    query.server_query_bytes()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.125 was not provided by any .service files

command_type
testcase_test