Testcase: test_cycle_video_flash(with touch)

Build #:111:20141031:20141017.2
Arch:flo (Nexus 7 2013)
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_cycle_video_flash(with touch)
testsuite
camera_app.tests.test_flash.TestCameraFlash
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct 31 08:02:59 ubuntu-phablet kernel: [  130.997985] gpio 25 VCM_PD(1)
Oct 31 08:02:59 ubuntu-phablet kernel: [  130.998077] gpio 31 XSHUTDN(1)
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.038543] msm_sensor_config:1422 sensor state 1
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.149108] msm_actuator_config:887 msm_actuator_power_down failed -14
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.183227] msm_sensor_config:1445 sensor state 0
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.229400] gpio 25 VCM_PD(1)
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.229492] gpio 31 XSHUTDN(1)
Oct 31 08:02:59 ubuntu-phablet kernel: [  131.258422] msm_sensor_config:1422 sensor state 1
Oct 31 08:03:07 ubuntu-phablet kernel: [  138.559173] msm_sensor_config:1445 sensor state 0
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.412): {{{
libust[4269/4273]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4269/4273]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
Import path added "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412"
libust[4269/4288]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4269/4288]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4269/4289]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4269/4289]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const 

virtual QMediaPlayer::State AalMediaPlayerControl::state() const 

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

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

virtual void AalMediaPlayerControl::stop() 

virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) 

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

PlaybackStatusChanged signal arrived via the bus.
Setting media to:   QUrl( "file:///system/media/audio/ui/camera_click.ogg" ) 
void AalVideoRendererControl::setupSurface()
m_surface is NULL, can't update video texture 

virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)
UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)

(process:4269): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4269): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
virtual void AalMediaRecorderControl::applySettings()  is not used
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  1
Creating video sink

(process:4269): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
m_surface is NULL, can't update video texture 

UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
QFileSystemWatcher::removePaths: list is empty
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
libust[4269/4288]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4269/4289]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
Attempted to unregister path (path[0] = core path[1] = ubuntu) which isn't registered
process 4269: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 4269: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 4269: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 4269: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 4269: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
}}}

test-log: {{{
08:02:57.043 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:02:57.093 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:02:57.095 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
08:02:57.822 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.412' with URIs '' via upstart-app-launch
08:03:01.901 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:03:01.902 DEBUG _uinput:470 - Tapping at: 45,45
08:03:02.067 INFO logging:45 - Panel: Open the panel if it's not already opened. Arguments (). Keyword arguments: {}.
08:03:02.364 DEBUG _uinput:541 - Dragging from 600,1919 to 600,1758
08:03:03.800 DEBUG dbus:352 - Selecting objects of type OptionButton with attributes: {}
08:03:04.462 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:03:04.463 DEBUG _uinput:470 - Tapping at: 339,1803
08:03:04.957 DEBUG dbus:352 - Selecting objects of type OptionValueButton with attributes: {}
08:03:05.149 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:03:05.151 DEBUG _uinput:470 - Tapping at: 339,1587
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/camera_app/tests/test_flash.py", line 86, in test_cycle_video_flash
    self.assertThat(flash_button.iconName, Equals("torch-on"))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'torch-on' != 'torch-off'

command_type
testcase_test