Testcase: test_take_picture(with touch)

Build #:34:20140912: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_take_picture(with touch)
testsuite
camera_app.tests.test_capture.TestCapture
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Sep 12 09:11:31 ubuntu-phablet kernel: [  118.005676] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep 12 09:11:31 ubuntu-phablet kernel: [  118.015443] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep 12 09:11:33 ubuntu-phablet kernel: [  120.178818] type=1400 audit(1410513093.298:93): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.387" name="/run/user/32011/" pid=4704 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep 12 09:11:33 ubuntu-phablet kernel: [  120.267327] msm_enqueue: queue eventdata new max is 1
Sep 12 09:11:33 ubuntu-phablet kernel: [  120.410285] msm_enqueue: queue control new max is 1
Sep 12 09:11:33 ubuntu-phablet kernel: [  120.424050] lm3559_flash_set_led_state: led_state = 3
Sep 12 09:11:33 ubuntu-phablet kernel: [  120.780253] vfe32_proc_general: cmdID = RESET
Sep 12 09:11:34 ubuntu-phablet kernel: [  120.780466] msm_mctl_set_vfe_output_mode: mctl=0xc0fe89b8, vfe output mode =0x1
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.014802] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.015138] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.015992] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.016816] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.018281] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.018922] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.019868] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.020509] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.021455] vfe_stats_cs_buf_init CS PING ADDR 39000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.022096] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.024172] configure_pingpong_buffers Configure ping/pong address for 25
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.024507] configure_pingpong_buffers Configure ping/pong address for 26
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.033084] VFE opertaion mode = 0x1, output mode = 0x140
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.079841] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Sep 12 09:11:34 ubuntu-phablet kernel: [  121.080177] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Sep 12 09:11:36 ubuntu-phablet kernel: [  122.996001] vfe32_proc_general: cmdID = STOP
Sep 12 09:11:36 ubuntu-phablet kernel: [  123.015138] lm3559_flash_set_led_state: led_state = 4
Sep 12 09:11:36 ubuntu-phablet kernel: [  123.015138] lm3559_config_gpio_off
Sep 12 09:11:36 ubuntu-phablet kernel: [  123.078528] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.387): {{{
libust[3475/3478]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3478]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3477]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3477]: 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.387/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.387"
libust[3475/3511]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3512]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3512]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3511]: 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 

virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)
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.387/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
libust[3475/3512]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3475/3511]: 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 
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 3475: 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 3475: 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 3475: 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 3475: 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 3475: 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[4083/4087]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4087]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4088]: 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.387/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.387"
libust[4083/4136]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4136]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4137]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4137]: 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)
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.387/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
libust[4083/4136]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4137]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4136]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4137]: 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 
	ext1: 0, ext2: 0 
libust[4083/4136]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4083/4137]: Error: Error opening shm /lttng-ust-wait-5-32011 (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 4083: 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 4083: 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 4083: 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[4704/4706]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4706]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4707]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4707]: 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.387/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.387"
libust[4704/4733]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4733]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4734]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4734]: 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() 

PlaybackStatusChanged signal arrived via the bus.
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" ) 
void AalVideoRendererControl::setupSurface()
m_surface is NULL, can't update video texture 

virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)
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.387/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
libust[4704/4733]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4704/4734]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
}}}

test-log: {{{
09:11:29.705 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:11:29.715 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
09:11:31.059 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
09:11:31.917 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.387' with URIs '' via upstart-app-launch
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/camera_app/tests/test_capture.py", line 42, in test_take_picture
    f for f in os.listdir(pictures_dir)
FileNotFoundError: [Errno 2] No such file or directory: '/home/phablet/Pictures/camera'

command_type
testcase_test