Testcase: test_playback_button_states(with touch)

Build #:288:20141017:20140929.1
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch
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 17 04:25:39 ubuntu-phablet kernel: [  211.824279] updating pm_qos value to default msm_pcm_playback_close
Oct 17 04:25:39 ubuntu-phablet kernel: [  211.824310] done updating pm_qos value to default msm_pcm_playback_close
Oct 17 04:25:40 ubuntu-phablet kernel: [  211.853057] SLIM_CL: skip reconfig sequence
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.045440] bq27541_get_psp voltage_now= 3825000 uV
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.047210] bq27541_get_psp status: Charging ret= 0x0101
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.048950] bq27541_get_psp current = -158 mA
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.049652] bq27541_get_psp voltage_now= 3825000 uV
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.050872] bq27541_get_capacity = 45% ret= 49
Oct 17 04:25:42 ubuntu-phablet kernel: [  215.052032] bq27541_get_psp temperature= 250 (0.1¢XC)
Oct 17 04:25:43 ubuntu-phablet kernel: [  215.905792] setting pm_qos in msm_pcm_playback_copy with 1000
Oct 17 04:25:43 ubuntu-phablet kernel: [  215.905792] done setting pm_qos in msm_pcm_playback_copy
Oct 17 04:25:43 ubuntu-phablet kernel: [  216.038604] msm_vidc_dec: Inside vid_dec_open()
Oct 17 04:25:44 ubuntu-phablet kernel: [  216.061553] fw_version 11:30:2012
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.777801] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
36, rssi = -70, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.777984] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
36, rssi = -69, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.778167] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ec chan=
36, rssi = -68, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.778411] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
6, rssi = -67, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.778625] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -47, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.779113] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -46, countryCode US
Oct 17 04:25:56 ubuntu-phablet kernel: [  228.779266] wlan: [1330:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:a8:c5:dc chan= 161, rssi = -46, countryCode US
}}}

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:4857): 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: {{{
04:25:39.360 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:25:39.367 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:25:39.368 INFO test_player_with_video:29 - Nexus 7 (2013) Wi-Fi
04:25:39.369 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
04:25:39.380 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']
04:25:45.287 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:25:45.288 DEBUG _uinput:470 - Tapping at: 600,960
04:25:57.670 INFO _launcher:544 - waiting for process to exit.
04:25:57.671 INFO _launcher:567 - Killing process 4857
}}}

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 423, 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