Testcase: test_take_picture(with touch)

Build #:20141008 ?
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: {{{
Oct  3 08:38:05 ubuntu-phablet com.ubuntu.location[6174]: 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
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.649928] audit_printk_skb: 57 callbacks suppressed
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.649939] type=1400 audit(1412325486.235:85): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/dconf/user" pid=6197 comm="camera-app" requested_mask="wrc" denied_mask="wrc"
fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.652933] type=1400 audit(1412325486.240:86): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/home/phablet/.config/dconf/user" pid=6197 comm="camera-app" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.653435] type=1400 audit(1412325486.240:87): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/dconf/user" pid=6197 comm="camera-app" requested_mask="wrc" denied_mask="wrc"
fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.654038] type=1400 audit(1412325486.240:88): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/home/phablet/.config/dconf/user" pid=6197 comm="camera-app" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.727164] type=1400 audit(1412325486.315:89): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/dconf/user" pid=6232 comm=64636F6E6620776F726B6572 requested_mask="wrc"
denied_mask="wrc" fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  365.732421] type=1400 audit(1412325486.320:90): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/home/phablet/.config/dconf/user" pid=6232 comm=64636F6E6620776F726B6572 requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  366.286791] type=1400 audit(1412325486.870:91): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/" pid=6197 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Oct  3 08:38:06 ubuntu-phablet kernel: [  366.371718] +++fimc_is_sensor_open()
Oct  3 08:38:06 ubuntu-phablet kernel: [  366.371729] ---fimc_is_sensor_open(0)
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.517968] +++fimc_is_ischain_open()
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.909365] fimc_is_fw2.bin version : 2 2869-2012/11/14 16:57:59]O05L00AFK01
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.909607] firmware is loaded successfully from fimc_is_fw2.bin
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.910980] fimc_is_ischain_power(1)
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.911294] pd-gscl: Power-on latency exceeded, new value 293375 ns
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.911653] pd-isp: Power-on latency exceeded, new value 344250 ns
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.911669] exynos5-fimc-is2 exynos5-fimc-is2: start latency exceeded, new value 875 ns
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.911681] FIMC_IS runtime resume
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.921930] exynos5-fimc-is2 exynos5-fimc-is2: state restore latency exceeded, new value 10245292 ns
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.921944] exynos5-fimc-is2 exynos5-fimc-is2: stop latency exceeded, new value 917 ns
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.922079] Manufacturer ID : 0x000000ef
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.922088] Device ID : 0x00000013
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.923196] sensor name : 4E5
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.923204] FROM DATA(0x1A): 0x0000000c
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.923210] FROM DATA(0x1B): 0x00000001
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.923248] ---fimc_is_ischain_open(0)
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.933657] IS version : 111.130
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.972362] setfile_4e5.bin version : 4E5_121115_V3 2012/11/15/15:57 E5250
Oct  3 08:38:07 ubuntu-phablet kernel: [  366.972438] setfile is loaded successfully from setfile_4e5.bin
Oct  3 08:38:07 ubuntu-phablet kernel: [  367.139970] type=1400 audit(1412325487.725:92): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/dconf/user" pid=6197 comm="camera-app" requested_mask="wrc" denied_mask="wrc"
fsuid=32011 ouid=32011
Oct  3 08:38:07 ubuntu-phablet kernel: [  367.140207] type=1400 audit(1412325487.725:93): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/home/phablet/.config/dconf/user" pid=6197 comm="camera-app" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=32011
Oct  3 08:38:07 ubuntu-phablet kernel: [  367.140464] type=1400 audit(1412325487.725:94): apparmor="DENIED" operation="open"
profile="com.ubuntu.camera_camera_3.0.0.400" name="/run/user/32011/dconf/user" pid=6197 comm="camera-app" requested_mask="wrc" denied_mask="wrc"
fsuid=32011 ouid=32011
Oct  3 08:38:13 ubuntu-phablet kernel: [  372.850258] setfile is 1
Oct  3 08:38:13 ubuntu-phablet dbus[1480]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/QtMir/Clipboard"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" mask="send" name="com.canonical.QtMir" pid=6197
profile="com.ubuntu.camera_camera_3.0.0.400" peer_pid=1897 peer_profile="unconfined"
Oct  3 08:38:13 ubuntu-phablet kernel: [  372.985363] shot mismatch(5, 4)
Oct  3 08:38:13 ubuntu-phablet kernel: [  373.316691] shot mismatch(11, 10)
Oct  3 08:38:21 ubuntu-phablet kernel: [  381.373912] mali mali.0: state restore latency exceeded, new value 4044000 ns
Oct  3 08:38:21 ubuntu-phablet kernel: [  381.405707] [CamIF_0]Last Frame Capture
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532444] fimc_is_bayer_video_close
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532462] +++fimc_is_sensor_close
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532475] fimc_is_sensor_back_stop:640: already back stop
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532490] fimc_is_sensor_front_stop:726: already front stop
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532503] ---fimc_is_sensor_close(0)
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532540] fimc_is_isp_video_close
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532552] +++fimc_is_ischain_close
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.532564] fimc_is_ischain_isp_stop:3120: already stop
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.632394] fimc_is_ischain_power(0)
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.632428] exynos5-fimc-is2 exynos5-fimc-is2: start latency exceeded, new value 958 ns
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.632444] FIMC_IS runtime suspend
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.640702] exynos5-fimc-is2 exynos5-fimc-is2: state save latency exceeded, new value 8252541 ns
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.640723] exynos5-fimc-is2 exynos5-fimc-is2: stop latency exceeded, new value 958 ns
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.646118] ---fimc_is_ischain_close(0)
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.646161] fimc_is_scalerc_video_close
Oct  3 08:38:22 ubuntu-phablet kernel: [  381.646189] fimc_is_scalerp_video_close
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.400): {{{
libust[6197/6199]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6199]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6200]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6200]: 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.400/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.400"

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

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

(process:6197): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
libust[6197/6238]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6238]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6237]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6237]: 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&)

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

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

(process:6197): 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 

libust[6197/6238]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6237]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
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.400/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
libust[6197/6238]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6237]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6238]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6197/6237]: 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 6197: 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 6197: 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 6197: 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: {{{
08:38:04.914 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:38:04.946 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:38:05.090 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
08:38:05.574 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.400' 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