Testcase: test_playback_button_states(with touch)

Build #:85:20141013:20140929.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: {{{
Oct 13 12:11:41 ubuntu-phablet kernel: [  127.437845] binder: 1920:3767 transaction failed 29189, size 68-0
Oct 13 12:11:41 ubuntu-phablet kernel: [  127.444346] msm_vidc_dec: Inside vid_dec_release()
Oct 13 12:11:41 ubuntu-phablet kernel: [  127.465222] msm_vidc_dec: Return from vid_dec_release()
Oct 13 12:11:46 ubuntu-phablet kernel: [  132.412604] updating pm_qos value to default msm_pcm_playback_close
Oct 13 12:11:46 ubuntu-phablet kernel: [  132.412635] done updating pm_qos value to default msm_pcm_playback_close
Oct 13 12:11:46 ubuntu-phablet kernel: [  132.443857] SLIM_CL: skip reconfig sequence
Oct 13 12:11:46 ubuntu-phablet kernel: [  132.458324] amp_enable: amp enable bypass(2)
Oct 13 12:11:46 ubuntu-phablet kernel: [  132.458385] amp_enable: AMP_EN is set to 0
Oct 13 12:11:47 ubuntu-phablet kernel: [  132.857195] amp_enable: AMP_EN is set to 1
Oct 13 12:11:47 ubuntu-phablet kernel: [  132.883808] setting pm_qos in msm_pcm_playback_copy with 1000
Oct 13 12:11:47 ubuntu-phablet kernel: [  132.883839] done setting pm_qos in msm_pcm_playback_copy
Oct 13 12:11:47 ubuntu-phablet kernel: [  133.084327] msm_vidc_dec: Inside vid_dec_open()
Oct 13 12:11:48 ubuntu-phablet kernel: [  133.107431] fw_version 11:30:2012
Oct 13 12:11:59 ubuntu-phablet kernel: [  145.690157] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
48, rssi = -84, countryCode US
Oct 13 12:11:59 ubuntu-phablet kernel: [  145.690584] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
48, rssi = -83, countryCode US
Oct 13 12:12:00 ubuntu-phablet kernel: [  145.691988] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
6, rssi = -64, countryCode US
Oct 13 12:12:00 ubuntu-phablet kernel: [  145.692385] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
6, rssi = -63, countryCode US
Oct 13 12:12:00 ubuntu-phablet kernel: [  145.692842] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Oct 13 12:12:00 ubuntu-phablet kernel: [  145.693209] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -58, countryCode US
Oct 13 12:12:00 ubuntu-phablet kernel: [  145.694796] wlan: [1416:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -57, 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 

qml: Media player will play:file:///usr/share/mediaplayer-app/videos/h264.avi
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:3813): 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: {{{
12:11:41.632 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
12:11:41.639 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
12:11:41.640 INFO test_player_with_video:29 - Nexus 4
12:11:41.641 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
12:11:41.664 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']
12:11:49.148 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:49.150 DEBUG _uinput:470 - Tapping at: 384,640
12:12:01.083 INFO _launcher:544 - waiting for process to exit.
12:12:01.084 INFO _launcher:567 - Killing process 3813
}}}

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