Testcase: test_take_picture(with touch)

Build #:47:20140923:20140923
Arch:manta (Nexus 10)
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 23 04:56:59 ubuntu-phablet com.ubuntu.location[4178]: Error while setting up access to radio and network stack:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Sep 23 04:57:00 ubuntu-phablet kernel: [  137.755656] mali mali.0: start latency exceeded, new value 50900 ns
Sep 23 04:57:00 ubuntu-phablet com.ubuntu.location[4198]: Error while setting up access to radio and network stack:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.140196] type=1400 audit(1411448221.506:89): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.387" name="/run/user/32011/" pid=4217 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.184180] +++fimc_is_sensor_open()
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.184192] ---fimc_is_sensor_open(0)
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.188037] +++fimc_is_ischain_open()
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.224378] fimc_is_fw2.bin version : 2 2869-2012/11/14 16:57:59]O05L00AFK01
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.224642] firmware is loaded successfully from fimc_is_fw2.bin
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.225562] fimc_is_ischain_power(1)
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.226225] FIMC_IS runtime resume
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.237897] Manufacturer ID : 0x000000ef
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.237924] Device ID : 0x00000013
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.239032] sensor name : 4E5
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.239042] FROM DATA(0x1A): 0x0000000c
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.239050] FROM DATA(0x1B): 0x00000001
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.239095] ---fimc_is_ischain_open(0)
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.248250] IS version : 111.130
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.280383] setfile_4e5.bin version : 4E5_121115_V3 2012/11/15/15:57 E5250
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.280413] setfile is loaded successfully from setfile_4e5.bin
Sep 23 04:57:01 ubuntu-phablet kernel: [  139.599347] setfile is 1
Sep 23 04:57:02 ubuntu-phablet kernel: [  139.734520] shot mismatch(5, 4)
Sep 23 04:57:10 ubuntu-phablet kernel: [  147.917512] mali mali.0: state restore latency exceeded, new value 3631774 ns
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.021669] [CamIF_0]Last Frame Capture
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212661] fimc_is_bayer_video_close
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212677] +++fimc_is_sensor_close
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212688] fimc_is_sensor_back_stop:640: already back stop
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212700] fimc_is_sensor_front_stop:726: already front stop
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212711] ---fimc_is_sensor_close(0)
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212743] fimc_is_isp_video_close
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212753] +++fimc_is_ischain_close
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.212763] fimc_is_ischain_isp_stop:3120: already stop
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.311466] fimc_is_ischain_power(0)
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.311484] FIMC_IS runtime suspend
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.321077] ---fimc_is_ischain_close(0)
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.321108] fimc_is_scalerc_video_close
Sep 23 04:57:10 ubuntu-phablet kernel: [  148.321130] fimc_is_scalerp_video_close
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.387): {{{
libust[3798/3801]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3801]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3800]: 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[3798/3838]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3838]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3837]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3837]: 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[3798/3838]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3798/3837]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
process 3798: 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 3798: 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 3798: 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 3798: 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 3798: 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[3940/3944]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3940/3944]: 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[3940/3964]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3940/3964]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3940/3963]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3940/3963]: 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
ShaderEffect: Property 'source' is not assigned a valid texture provider ().
Can't draw video frame without texture 1
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  1
Already have a texture id and video sink, not creating a new one
libust[3940/3964]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3940/3963]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
libust[4077/4082]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4082]: 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[4077/4130]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4130]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4129]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4129]: 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[4077/4130]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4129]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
libust[4077/4130]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4077/4129]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
process 4077: 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 4077: 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 4077: 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 4077: 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 4077: 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[4217/4219]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4219]: 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[4217/4241]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4241]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4240]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4240]: 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[4217/4241]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4240]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
virtual void AalMediaPlayerControl::stop() 

QCoreApplication::postEvent: Unexpected null receiver
libust[4217/4241]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4217/4240]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
process 4217: 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 4217: 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 4217: 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: {{{
04:56:59.645 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:56:59.664 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:57:00.040 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
04:57:00.605 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