Testcase: test_playback_button_states(with touch)

Build #:103:20141022: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 22 08:10:21 ubuntu-phablet kernel: [  129.723607] amp_enable: AMP_EN is set to 1
Oct 22 08:10:21 ubuntu-phablet kernel: [  129.749030] setting pm_qos in msm_pcm_playback_copy with 1000
Oct 22 08:10:21 ubuntu-phablet kernel: [  129.749092] done setting pm_qos in msm_pcm_playback_copy
Oct 22 08:10:22 ubuntu-phablet kernel: [  129.907797] msm_vidc_dec: Inside vid_dec_open()
Oct 22 08:10:22 ubuntu-phablet kernel: [  129.934350] 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:3807): 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:10:17.194 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:10:17.200 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:10:17.201 INFO test_player_with_video:29 - Nexus 4
08:10:17.202 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:10:17.216 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:10:23.772 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:10:23.774 DEBUG _uinput:470 - Tapping at: 384,640
08:10:35.805 INFO _launcher:544 - waiting for process to exit.
08:10:35.806 INFO _launcher:567 - Killing process 3807
}}}

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