Testcase: test_playback_button_states(with touch)

Build #:100:20141020:20141017.2
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: {{{
Oct 20 08:05:08 ubuntu-phablet kernel: [  420.066503] binder: 2020:4293 transaction failed 29189, size 68-0
Oct 20 08:05:08 ubuntu-phablet kernel: [  420.072089] msm_vidc_dec: Inside vid_dec_release()
Oct 20 08:05:08 ubuntu-phablet kernel: [  420.095742] msm_vidc_dec: Return from vid_dec_release()
Oct 20 08:05:13 ubuntu-phablet kernel: [  425.042575] updating pm_qos value to default msm_pcm_playback_close
Oct 20 08:05:13 ubuntu-phablet kernel: [  425.042606] done updating pm_qos value to default msm_pcm_playback_close
Oct 20 08:05:13 ubuntu-phablet kernel: [  425.073676] SLIM_CL: skip reconfig sequence
Oct 20 08:05:13 ubuntu-phablet kernel: [  425.088203] amp_enable: amp enable bypass(2)
Oct 20 08:05:13 ubuntu-phablet kernel: [  425.088234] amp_enable: AMP_EN is set to 0
Oct 20 08:05:15 ubuntu-phablet kernel: [  427.247855] amp_enable: AMP_EN is set to 1
Oct 20 08:05:15 ubuntu-phablet kernel: [  427.273370] setting pm_qos in msm_pcm_playback_copy with 1000
Oct 20 08:05:15 ubuntu-phablet kernel: [  427.273401] done setting pm_qos in msm_pcm_playback_copy
Oct 20 08:05:15 ubuntu-phablet kernel: [  427.453563] msm_vidc_dec: Inside vid_dec_open()
Oct 20 08:05:16 ubuntu-phablet kernel: [  427.477979] fw_version 11:30:2012
}}}

process-return-code (/usr/bin/mediaplayer-app): {{{-15}}}
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
** Setting GLConsumer instance
void AalVideoRendererControl::onGLConsumerSet()
Actually calling m_hubPlayerSession->play()
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

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


** (process:4355): 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
}}}

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: {{{
08:05:08.367 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:05:08.374 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:05:08.375 INFO test_player_with_video:29 - Nexus 4
08:05:08.376 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
08:05:08.389 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']
08:05:18.093 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:05:18.094 DEBUG _uinput:470 - Tapping at: 384,640
08:05:30.109 INFO _launcher:544 - waiting for process to exit.
08:05:30.110 INFO _launcher:567 - Killing process 4355
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mediaplayer_app/tests/test_player_with_video.py", line 55, in test_playback_button_states
    self.show_controls()
  File "/usr/lib/python3/dist-packages/mediaplayer_app/tests/test_player_with_video.py", line 48, in show_controls
    self.assertThat(toolbar.ready, Eventually(Equals(True)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on GenericToolbar.ready failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test