Testcase: test_take_picture(with touch)

Build #:64:20140930:20140929.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 30 07:54:31 ubuntu-phablet kernel: [  142.186906] type=1400 audit(1412063671.473:90): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.387" name="/run/user/32011/" pid=4842 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep 30 07:54:31 ubuntu-phablet kernel: [  142.311887] msm_enqueue: queue eventdata new max is 1
Sep 30 07:54:31 ubuntu-phablet kernel: [  142.462719] msm_enqueue: queue control new max is 1
Sep 30 07:54:31 ubuntu-phablet kernel: [  142.495589] lm3559_flash_set_led_state: led_state = 3
Sep 30 07:54:32 ubuntu-phablet kernel: [  142.967739] vfe32_proc_general: cmdID = RESET
Sep 30 07:54:32 ubuntu-phablet kernel: [  142.967984] msm_mctl_set_vfe_output_mode: mctl=0xc0fea778, vfe output mode =0x1
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.211231] vfe_stats_awb_buf_init AWB PING ADDR 43000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.211414] vfe_stats_awb_buf_init AWB PONG ADDR 45000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.211628] vfe_stats_aec_bg_buf_init AEC PING ADDR 30000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.211902] vfe_stats_aec_bg_buf_init AEC PONG ADDR 31000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.212086] vfe_stats_ihist_buf_init IHIST PING ADDR 36000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.212360] vfe_stats_ihist_buf_init IHIST PONG ADDR 37000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.212543] vfe_stats_rs_buf_init RS PING ADDR 3e000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.212818] vfe_stats_rs_buf_init RS PONG ADDR 3f000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.213001] vfe_stats_cs_buf_init CS PING ADDR 39000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.213276] vfe_stats_cs_buf_init CS PONG ADDR 3a000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.213947] configure_pingpong_buffers Configure ping/pong address for 25
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.214039] configure_pingpong_buffers Configure ping/pong address for 26
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.217854] VFE opertaion mode = 0x1, output mode = 0x140
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.278712] vfe_stats_af_bf_buf_init AF PING ADDR 33000 
Sep 30 07:54:32 ubuntu-phablet kernel: [  143.278834] vfe_stats_af_bf_buf_init AF PONG ADDR 34000 
Sep 30 07:54:34 ubuntu-phablet kernel: [  144.711246] wlan: [1387:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -74, countryCode US
Sep 30 07:54:34 ubuntu-phablet kernel: [  144.711521] wlan: [1387:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e1 chan=
1, rssi = -73, countryCode US
Sep 30 07:54:34 ubuntu-phablet kernel: [  144.711765] wlan: [1387:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -60, countryCode US
Sep 30 07:54:34 ubuntu-phablet kernel: [  144.711979] wlan: [1387:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -62, countryCode US
Sep 30 07:54:34 ubuntu-phablet kernel: [  144.712498] wlan: [1387:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -59, countryCode US
Sep 30 07:54:34 ubuntu-phablet kernel: [  145.255547] vfe32_proc_general: cmdID = STOP
Sep 30 07:54:34 ubuntu-phablet kernel: [  145.281367] lm3559_flash_set_led_state: led_state = 4
Sep 30 07:54:34 ubuntu-phablet kernel: [  145.281397] lm3559_config_gpio_off
Sep 30 07:54:34 ubuntu-phablet kernel: [  145.339203] msm_release_ion_client Calling ion_client_destroy
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.387): {{{
libust[4110/4115]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4115]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4116]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4116]: 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[4110/4151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4152]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4152]: 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*) 

PlaybackStatusChanged signal arrived via the bus.
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
	ext1: 1, ext2: 0 
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.387/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
virtual void AalMediaPlayerControl::play() 

virtual void core::ubuntu::media::ServiceStub::pause_other_sessions(core::ubuntu::media::Player::PlayerKey)
Actually calling m_hubPlayerSession->play()
PlaybackStatusChanged signal arrived via the bus.
libust[4110/4151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4152]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
EndOfStream signal arrived via the bus.
void AalMediaPlayerControl::playbackComplete() 

virtual void AalMediaPlayerControl::stop() 

seeked_to signal arrived via the bus.
PlaybackStatusChanged signal arrived via the bus.
qml: Picture saved as /home/phablet/Pictures/com.ubuntu.camera/image20140930_075359252.jpg
libust[4110/4151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4152]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4110/4152]: 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 4110: 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 4110: 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 4110: 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[4365/4370]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4370]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4371]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4371]: 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[4365/4386]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4387]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4387]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4386]: 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*) 

PlaybackStatusChanged signal arrived via the bus.
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)
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
QFileSystemWatcher::removePaths: list is empty
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.387/GalleryView.qml:34: TypeError: Cannot read property 'selectionType' of null
	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: 1, ext2: 0 
	ext1: 1, ext2: 0 
ShaderEffect: Property 'source' is not assigned a valid texture provider ().
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
libust[4365/4387]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4365/4386]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId:  19
Already have a texture id and video sink, not creating a new one
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
libust[4842/4845]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4845]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4846]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4846]: 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[4842/4866]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4866]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4867]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4842/4867]: 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)
	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 
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.
QCoreApplication::postEvent: Unexpected null receiver
process 4842: 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 4842: 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 4842: 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: {{{
07:54:28.463 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:54:28.471 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:54:29.156 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
07:54:30.000 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