Testcase: test_cycle_video_flash(with touch)

Build #:40:20141202.1:20141119
Arch:mako (Nexus 4)
Release:vivid
Variant:touch
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: {{{
Dec  2 14:26:44 ubuntu-phablet kernel: [  110.784068] msm_enqueue: queue eventdata new max is 1
Dec  2 14:26:45 ubuntu-phablet kernel: [  110.924034] msm_enqueue: queue control new max is 1
Dec  2 14:26:45 ubuntu-phablet kernel: [  110.939874] lm3559_flash_set_led_state: led_state = 3
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.294307] vfe32_proc_general: cmdID = RESET
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.294552] msm_mctl_set_vfe_output_mode: mctl=0xc0fea778, vfe output mode =0x1
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.525652] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.525774] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.526110] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.526323] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.526659] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.526873] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.527178] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.527422] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.527727] vfe_stats_cs_buf_init CS PING ADDR 39000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.527941] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.528765] configure_pingpong_buffers Configure ping/pong address for 25
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.528887] configure_pingpong_buffers Configure ping/pong address for 26
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.533251] VFE opertaion mode = 0x1, output mode = 0x140
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.592736] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Dec  2 14:26:45 ubuntu-phablet kernel: [  111.592858] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Dec  2 14:26:29 ubuntu-phablet dbus[1539]: apparmor="DENIED" operation="dbus_method_return"  bus="session" mask="send" name=":1.89" pid=3429
profile="com.ubuntu.camera_camera_3.0.0.412" peer_pid=3418 peer_profile="unconfined"
Dec  2 14:26:46 ubuntu-phablet dbus[1539]: apparmor="DENIED" operation="dbus_method_return"  bus="session" mask="send" name=":1.89" pid=3608
profile="com.ubuntu.camera_camera_3.0.0.412" peer_pid=3418 peer_profile="unconfined"
Dec  2 14:26:51 ubuntu-phablet kernel: [  117.646207] vfe32_proc_general: cmdID = STOP
Dec  2 14:26:51 ubuntu-phablet kernel: [  117.666625] lm3559_flash_set_led_state: led_state = 4
Dec  2 14:26:51 ubuntu-phablet kernel: [  117.666625] lm3559_config_gpio_off
Dec  2 14:26:51 ubuntu-phablet kernel: [  117.730169] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.412): {{{
libust[3429/3433]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3433]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3432]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
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[3429/3470]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3469]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3470]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3469]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
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*) 

PlaybackStatusChanged signal arrived via the bus.
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

Local file URI:  "file:///system/media/audio/ui/camera_click.ogg"
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:3429): 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[3429/3470]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3429/3469]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
	ext1: 1, ext2: 0 
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  14
Already have a texture id and video sink, not creating a new one
	ext1: 0, ext2: 0 
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
libust[3608/3611]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3608/3611]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
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[3608/3628]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3608/3628]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3608/3629]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3608/3629]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
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*) 

PlaybackStatusChanged signal arrived via the bus.
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

Local file URI:  "file:///system/media/audio/ui/camera_click.ogg"
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&)
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)

(process:3608): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
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[3608/3628]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3608/3629]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
virtual void AalMediaPlayerControl::stop() 

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

test-log: {{{
14:26:42.295 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
14:26:42.296 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
14:26:43.272 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.412' with URIs '' via upstart-app-launch
14:26:47.582 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:26:47.585 DEBUG _uinput:472 - Tapping at: 45,45
14:26:47.750 INFO logging:45 - Panel: Open the panel if it's not already opened. Arguments (). Keyword arguments: {}.
14:26:48.024 DEBUG _uinput:543 - Dragging from 384,1279 to 384,1118
14:26:48.026 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1269.
14:26:48.027 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1269.
14:26:48.038 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1259.
14:26:48.039 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1259.
14:26:48.051 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1249.
14:26:48.052 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1249.
14:26:48.063 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1239.
14:26:48.064 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1239.
14:26:48.076 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1229.
14:26:48.077 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1229.
14:26:48.089 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1219.
14:26:48.090 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1219.
14:26:48.102 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1209.
14:26:48.104 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1209.
14:26:48.115 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1199.
14:26:48.117 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1199.
14:26:48.128 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1189.
14:26:48.129 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1189.
14:26:48.141 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1179.
14:26:48.143 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1179.
14:26:48.154 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1169.
14:26:48.155 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1169.
14:26:48.166 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1159.
14:26:48.167 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1159.
14:26:48.179 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1149.
14:26:48.180 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1149.
14:26:48.192 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1139.
14:26:48.193 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1139.
14:26:48.204 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1129.
14:26:48.206 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1129.
14:26:48.217 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1119.
14:26:48.218 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1119.
14:26:48.229 DEBUG _uinput:414 - Moving pointing 'finger' to position 384,1118.
14:26:48.230 DEBUG _uinput:419 - The pointing 'finger' is now at position 384,1118.
14:26:49.391 DEBUG dbus:352 - Selecting objects of type OptionButton with attributes: {}
14:26:50.144 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:26:50.145 DEBUG _uinput:472 - Tapping at: 123,1163
14:26:50.654 DEBUG dbus:352 - Selecting objects of type OptionValueButton with attributes: {}
14:26:50.793 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:26:50.795 DEBUG _uinput:472 - 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 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'torch-on' != 'torch-off'

command_type
testcase_test