Testcase: test_cycle_video_flash(with touch)

Build #:29:20140908:20140903.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_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: {{{
Sep  8 05:04:34 ubuntu-phablet kernel: [  106.878773] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  8 05:04:34 ubuntu-phablet kernel: [  106.889455] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  8 05:04:35 ubuntu-phablet kernel: [  108.112040] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  8 05:04:35 ubuntu-phablet kernel: [  108.119700] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  8 05:04:37 ubuntu-phablet kernel: [  110.154280] type=1400 audit(1410152677.444:93): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.380" name="/run/user/32011/" pid=4476 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep  8 05:04:37 ubuntu-phablet kernel: [  110.242209] msm_enqueue: queue eventdata new max is 1
Sep  8 05:04:37 ubuntu-phablet kernel: [  110.387059] msm_enqueue: queue control new max is 1
Sep  8 05:04:37 ubuntu-phablet kernel: [  110.416389] lm3559_flash_set_led_state: led_state = 3
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.765725] vfe32_proc_general: cmdID = RESET
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.765939] msm_mctl_set_vfe_output_mode: mctl=0xc0fe89b8, vfe output mode =0x1
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.996551] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.996673] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.996947] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.997131] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.997375] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.997558] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.997833] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.998016] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.998290] vfe_stats_cs_buf_init CS PING ADDR 39000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.998473] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.999206] configure_pingpong_buffers Configure ping/pong address for 25
Sep  8 05:04:38 ubuntu-phablet kernel: [  110.999298] configure_pingpong_buffers Configure ping/pong address for 26
Sep  8 05:04:38 ubuntu-phablet kernel: [  111.003357] VFE opertaion mode = 0x1, output mode = 0x140
Sep  8 05:04:38 ubuntu-phablet kernel: [  111.064214] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Sep  8 05:04:38 ubuntu-phablet kernel: [  111.064459] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Sep  8 05:04:43 ubuntu-phablet kernel: [  116.551869] vfe32_proc_general: cmdID = STOP
Sep  8 05:04:43 ubuntu-phablet kernel: [  116.574179] lm3559_flash_set_led_state: led_state = 4
Sep  8 05:04:43 ubuntu-phablet kernel: [  116.574210] lm3559_config_gpio_off
Sep  8 05:04:43 ubuntu-phablet kernel: [  116.630184] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.380): {{{
libust[3334/3336]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3337]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3337]: 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.380/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380"
libust[3334/3370]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3370]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3371]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3371]: 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 

QStandardPaths: wrong permissions on runtime directory /run/user/32011
UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
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)
QFileSystemWatcher::removePaths: list is empty
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
libust[3334/3370]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3334/3371]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 3334: 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 3334: 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 3334: 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 3334: 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 3334: 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.
libust[3863/3872]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3872]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3871]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3871]: Error: Error opening shm /lttng-ust-wait-5 (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.380/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380"
libust[3863/3920]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3921]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3921]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3920]: Error: Error opening shm /lttng-ust-wait-5 (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 

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

QStandardPaths: wrong permissions on runtime directory /run/user/32011
UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
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)
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
QFileSystemWatcher::removePaths: list is empty
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
libust[3863/3921]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3863/3920]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 3863: 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 3863: 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 3863: 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 3863: 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 3863: 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.
libust[4476/4478]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4478]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4479]: 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.380/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380"
libust[4476/4503]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4504]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4504]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4503]: Error: Error opening shm /lttng-ust-wait-5 (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 

QStandardPaths: wrong permissions on runtime directory /run/user/32011
UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
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)
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
QFileSystemWatcher::removePaths: list is empty
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
libust[4476/4504]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4476/4503]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 4476: 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 4476: 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 4476: 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 4476: 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 4476: 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: {{{
05:04:34.119 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:04:34.128 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:04:35.316 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
05:04:36.150 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.380' with URIs '' via upstart-app-launch
05:04:39.644 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:04:39.645 DEBUG _uinput:470 - Tapping at: 45,45
05:04:39.807 INFO logging:45 - Panel: Open the panel if it's not already opened. Arguments (). Keyword arguments: {}.
05:04:40.091 DEBUG _uinput:541 - Dragging from 384,1279 to 384,1118
05:04:41.470 DEBUG dbus:352 - Selecting objects of type OptionButton with attributes: {}
05:04:42.146 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:04:42.147 DEBUG _uinput:470 - Tapping at: 123,1163
05:04:42.621 DEBUG dbus:352 - Selecting objects of type OptionValueButton with attributes: {}
05:04:42.740 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:04:42.741 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