Testcase: test_time_display_behavior(with touch)

Build #:207:20140225:20140224
Arch:flo (Nexus 7 2013)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_time_display_behavior(with touch)
testsuite
mediaplayer_app.tests.test_player_with_video.TestPlayerWithVideo
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> Auto-activating connection '/246813579/context1'.
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): IPv4 static configuration:
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): deactivating device (reason 'none') [0]
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): IPv4 static configuration:
Feb 25 18:27:51 ubuntu-phablet NetworkManager[1223]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Feb 25 18:27:54 ubuntu-phablet pulseaudio[1657]: [alsa-sink-MultiMedia1 (*)] alsa-sink.c: ALSA woke us up to write new data to the device, but there
was actually nothing to write!
Feb 25 18:27:54 ubuntu-phablet pulseaudio[1657]: [alsa-sink-MultiMedia1 (*)] alsa-sink.c: Most likely this is a bug in the ALSA driver '(null)'.
Please report this issue to the ALSA developers.
Feb 25 18:27:54 ubuntu-phablet pulseaudio[1657]: [alsa-sink-MultiMedia1 (*)] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent
snd_pcm_avail() returned 0 or another value < min_avail.
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Auto-activating connection '/246813579/context1'.
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): IPv4 static configuration:
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> Marking connection '/246813579/context1' invalid.
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): deactivating device (reason 'none') [0]
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: <info> (/phonesim): IPv4 static configuration:
Feb 25 18:27:54 ubuntu-phablet NetworkManager[1223]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
}}}

process-return-code: {{{-15}}}
process-stderr: {{{
/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. 
virtual void QGstreamerMirTextureRenderer::setSurface(QAbstractVideoSurface*) 
Saving current QGLContext 
virtual GstElement* QGstreamerMirTextureRenderer::videoSink() 
virtual GstElement* QGstreamerMirTextureRenderer::videoSink() : using mirsink, (this:  QGstreamerMirTextureRenderer(0x180dca8) ) 
virtual GstElement* QGstreamerMirTextureRenderer::videoSink() 
callbacks 0xb403bead 0xb403be59
creating surface at (0, 0) with size (1200, 1920) with title 'Media Player'QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
void QGstreamerMirTextureRenderer::handleFocusWindowChanged(QWindow*) 
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'This plugin does not support setParent!
texture_id (handleFocusWindowChanged):  1 

surface_texture_client:   0x1983a38  ( void QGstreamerMirTextureRenderer::setSurfaceTextureClient(void*) ) 
void QGstreamerMirTextureRenderer::handleFocusWindowChanged(QWindow*) 
Detectable autorepeat not supported. 

** (mediaplayer-app:3053): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
AbstractPlayer: Internal data stream error.
Error: "Internal data stream error." 
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
surface_texture_client:   0x18f13b8  ( void QGstreamerMirTextureRenderer::setSurfaceTextureClient(void*) ) 
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
AbstractPlayer: Internal data stream error.
Error: "Internal data stream error." 
QMetaProperty::read: Unable to handle unregistered datatype 'NetworkAccessibility' for property 'QNetworkAccessManager::networkAccessible'
}}}

test-log: {{{
18:27:51.104 INFO globals:57 - ************************************************************
18:27:51.105 INFO globals:58 - Starting test mediaplayer_app.tests.test_player_with_video.TestPlayerWithVideo.test_time_display_behavior (with touch)
18:27:51.107 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
18:27:51.116 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
18:27:51.130 INFO _launcher:159 - Launching process: ['/usr/bin/mediaplayer-app', '-testability',
'file:///usr/share/mediaplayer-app/videos/small.ogg', '--fullscreen', '--desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop']
18:27:53.132 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
18:27:53.184 DEBUG dbus:431 - Selecting objects of type VideoPlayer with attributes: {'objectName': 'player'}
18:27:53.284 DEBUG dbus:431 - Selecting objects of type VideoPlayer with attributes: {'objectName': 'player'}
18:27:53.358 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:27:53.359 DEBUG _uinput:475 - Tapping at: 600,960
18:27:53.461 DEBUG dbus:431 - Selecting objects of type GenericToolbar with attributes: {'objectName': 'toolbar'}
18:27:54.622 DEBUG dbus:431 - Selecting objects of type IconButton with attributes: {'objectName': 'Controls.PlayBackButton'}
18:27:54.703 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:27:54.704 DEBUG _uinput:475 - Tapping at: 327,1857
18:27:54.810 DEBUG dbus:431 - Selecting objects of type Slider with attributes: {'objectName': 'TimeLine.Slider'}
18:27:54.910 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'TimeLine.TimeLabel'}
18:27:54.998 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:27:54.998 DEBUG _uinput:475 - Tapping at: 552,1857
18:27:55.150 INFO _launcher:346 - waiting for process to exit.
18:27:55.151 INFO _launcher:273 - Killing process 3053
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mediaplayer_app/tests/test_player_with_video.py", line 135, in test_time_display_behavior
    self.assertNotEqual(time_label.text, "")
  File "/usr/lib/python2.7/unittest/case.py", line 524, in assertNotEqual
    raise self.failureException(msg)
AssertionError: u'' == ''

command_type
testcase_test