Testcase: test_cycle_video_flash(with touch)

Build #:118:20141031.1: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_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 21:06:03 ubuntu-phablet kernel: [  134.321623] msm_enqueue: queue eventdata new max is 1
Oct 31 21:06:03 ubuntu-phablet kernel: [  134.465985] msm_enqueue: queue control new max is 1
Oct 31 21:06:03 ubuntu-phablet kernel: [  134.493544] lm3559_flash_set_led_state: led_state = 3
Oct 31 21:06:03 ubuntu-phablet kernel: [  134.994781] vfe32_proc_general: cmdID = RESET
Oct 31 21:06:04 ubuntu-phablet kernel: [  134.995086] msm_mctl_set_vfe_output_mode: mctl=0xc0fea778, vfe output mode =0x1
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.231680] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.231985] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.232198] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.232473] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.232656] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.232870] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.233114] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.233328] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.233602] vfe_stats_cs_buf_init CS PING ADDR 39000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.233786] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.234549] configure_pingpong_buffers Configure ping/pong address for 25
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.234671] configure_pingpong_buffers Configure ping/pong address for 26
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.241110] VFE opertaion mode = 0x1, output mode = 0x140
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.294430] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Oct 31 21:06:04 ubuntu-phablet kernel: [  135.294643] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Oct 31 21:06:05 ubuntu-phablet kernel: [  137.064489] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Oct 31 21:06:05 ubuntu-phablet kernel: [  137.064611] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Oct 31 21:06:05 ubuntu-phablet kernel: [  137.064886] lm3559_flash_set_led_state: led_state = 1
Oct 31 21:06:05 ubuntu-phablet kernel: [  137.064977] lm3559_led_enable
Oct 31 21:06:05 ubuntu-phablet kernel: [  137.065008] lm3559_enable_torch_mode: state = 1
Oct 31 21:06:07 ubuntu-phablet kernel: [  138.288325] lm3559_flash_set_led_state: led_state = 0
Oct 31 21:06:07 ubuntu-phablet kernel: [  138.288356] lm3559_led_disable
Oct 31 21:06:10 ubuntu-phablet kernel: [  141.283564] vfe32_proc_general: cmdID = STOP
Oct 31 21:06:10 ubuntu-phablet kernel: [  141.317564] lm3559_flash_set_led_state: led_state = 4
Oct 31 21:06:10 ubuntu-phablet kernel: [  141.317564] lm3559_config_gpio_off
Oct 31 21:06:10 ubuntu-phablet kernel: [  141.374942] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.412): {{{
libust[3811/3818]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3818]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3819]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3819]: 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[3811/3831]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3831]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3832]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3832]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Initializing AalServicePlugin
virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer"
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:3811): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3811): 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
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[3811/3831]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3811/3832]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
	ext1: 1, ext2: 0 
virtual void AalMediaPlayerControl::stop() 

virtual void AalServicePlugin::release(QMediaService*) AalMediaPlayerService(0x101d0c0)
QCoreApplication::postEvent: Unexpected null receiver
Attempted to unregister path (path[0] = core path[1] = ubuntu) which isn't registered
process 3811: 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 3811: 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 3811: 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 3811: 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 3811: 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: {{{
21:06:00.199 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
21:06:00.241 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
21:06:00.242 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
21:06:01.037 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.412' with URIs '' via upstart-app-launch
21:06:05.763 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:06:05.764 DEBUG _uinput:470 - Tapping at: 45,45
21:06:05.956 INFO logging:45 - Panel: Open the panel if it's not already opened. Arguments (). Keyword arguments: {}.
21:06:06.257 DEBUG _uinput:541 - Dragging from 384,1279 to 384,1118
21:06:07.654 DEBUG dbus:352 - Selecting objects of type OptionButton with attributes: {}
21:06:08.332 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:06:08.339 DEBUG _uinput:470 - Tapping at: 123,1163
21:06:08.918 DEBUG dbus:352 - Selecting objects of type OptionValueButton with attributes: {}
21:06:09.068 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:06:09.069 DEBUG _uinput:470 - Tapping at: 186,947
}}}

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