Testcase: test_take_picture(with touch)

Build #:30:20140909: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  9 05:07:48 ubuntu-phablet kernel: [   85.050511] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  9 05:07:48 ubuntu-phablet kernel: [   85.057622] mdm_modem_ioctl: invalid ioctl code to mdm id 0
Sep  9 05:07:51 ubuntu-phablet kernel: [   87.785502] audit_printk_skb: 60 callbacks suppressed
Sep  9 05:07:51 ubuntu-phablet kernel: [   87.785502] type=1400 audit(1410239271.130:91): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.380" name="/run/user/32011/" pid=3293 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep  9 05:07:51 ubuntu-phablet kernel: [   87.950831] msm_enqueue: queue eventdata new max is 1
Sep  9 05:07:51 ubuntu-phablet kernel: [   88.091713] msm_enqueue: queue control new max is 1
Sep  9 05:07:51 ubuntu-phablet kernel: [   88.114085] lm3559_flash_set_led_state: led_state = 3
Sep  9 05:07:51 ubuntu-phablet kernel: [   88.417915] vfe32_proc_general: cmdID = RESET
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.418129] msm_mctl_set_vfe_output_mode: mctl=0xc0fe89b8, vfe output mode =0x1
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.654356] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.654692] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.655608] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.656310] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.657500] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.658110] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.663177] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.663757] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.664642] vfe_stats_cs_buf_init CS PING ADDR 39000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.665222] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.671783] configure_pingpong_buffers Configure ping/pong address for 25
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.672150] configure_pingpong_buffers Configure ping/pong address for 26
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.675354] VFE opertaion mode = 0x1, output mode = 0x140
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.764169] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Sep  9 05:07:52 ubuntu-phablet kernel: [   88.764291] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Sep  9 05:07:54 ubuntu-phablet kernel: [   91.126110] vfe32_proc_general: cmdID = STOP
Sep  9 05:07:54 ubuntu-phablet kernel: [   91.143750] lm3559_flash_set_led_state: led_state = 4
Sep  9 05:07:54 ubuntu-phablet kernel: [   91.143750] lm3559_config_gpio_off
Sep  9 05:07:54 ubuntu-phablet kernel: [   91.207508] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.380): {{{
libust[3293/3296]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3296]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3295]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3295]: 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[3293/3327]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3327]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3328]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3293/3328]: 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 

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)
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
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 3293: 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 3293: 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 3293: 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:07:47.818 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:07:47.887 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:07:48.356 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
05:07:49.189 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.camera_camera_3.0.0.380' 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