Testcase: test_take_picture(with touch)

Build #:25:20140907:20140903.1
Arch:flo (Nexus 7 2013)
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  8 03:14:09 ubuntu-phablet com.ubuntu.location[5199]: 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  8 03:14:10 ubuntu-phablet com.ubuntu.location[5238]: 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  8 03:14:11 ubuntu-phablet kernel: [  119.063934] type=1400 audit(1410146051.797:88): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.camera_camera_3.0.0.380" name="/run/user/32011/" pid=5266 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Sep  8 03:14:11 ubuntu-phablet kernel: [  119.168548] gpio 25 VCM_PD(1)
Sep  8 03:14:11 ubuntu-phablet kernel: [  119.168670] gpio 31 XSHUTDN(1)
Sep  8 03:14:11 ubuntu-phablet kernel: [  119.197265] msm_sensor_config:1422 sensor state 1
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.814849] msm_sensor_config:1445 sensor state 0
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.966735] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.969879] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.976074] bq27541_get_psp current = -356 mA
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.976928] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.977844] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:16 ubuntu-phablet kernel: [  123.978668] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.287475] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.288208] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.288848] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.289520] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.290130] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.291320] bq27541_get_psp current = -356 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.294860] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.295532] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.296173] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.296844] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.298034] bq27541_get_psp current = -356 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.304992] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.305572] bq27541_get_capacity check capacity, cap = 3057, smb_retry = 0
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.306152] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.307617] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.307983] bq27541_get_capacity = 100% ret= 100
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.309051] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.311401] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.314666] bq27541_get_psp current = -356 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.319183] bq27541_get_psp status: Full ret= 0xfe9c
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.319671] bq27541_get_psp current = 651 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.320892] bq27541_get_psp voltage_now= 2964000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.321380] bq27541_get_psp error: temperature ret=4023, old_temp=234 
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.321380] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.322570] bq27541_get_capacity check capacity, cap = 385, smb_retry = 0
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.324920] bq27541_get_psp status: Full ret= 0x0bf1
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.326782] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.327423] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.328613] bq27541_get_psp current = -356 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.342681] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.347747] bq27541_get_psp status: Charging ret= 0x0181
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.349304] bq27541_get_psp current = -356 mA
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.349975] bq27541_get_psp voltage_now= 4023000 uV
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.350616] bq27541_get_capacity = 76% ret= 77
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.351257] bq27541_get_psp temperature= 234 (0.1¢XC)
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.427368] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.427642] smb345_charger: [smb345_config_thermal_charging] temp=23, volt=4023000
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.428009] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep  8 03:14:17 ubuntu-phablet kernel: [  124.428283] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

Application Log (com.ubuntu.camera_camera_3.0.0.380): {{{
libust[3664/3668]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3668]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3667]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3667]: 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[3664/3716]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3716]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3717]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3664/3717]: 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)
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 3664: 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 3664: 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 3664: 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[4008/4012]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4012]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4011]: 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[4008/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4037]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4037]: 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 

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
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
libust[4008/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4037]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
libust[4008/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4008/4037]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/4984]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/4984]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/4985]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/4985]: 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.380/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.380"
libust[4981/5005]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/5005]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/5006]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/5006]: 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 

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
libust[4981/5005]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4981/5006]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
virtual void AalMediaPlayerControl::stop() 

PlaybackStatusChanged signal arrived via the bus.
QCoreApplication::postEvent: Unexpected null receiver
process 4981: 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 4981: 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 4981: 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 4981: 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 4981: 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[5266/5270]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5270]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5269]: 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[5266/5285]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5285]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5286]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5286]: 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 

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
libust[5266/5285]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5286]: 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.
libust[5266/5285]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5266/5286]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
}}}

test-log: {{{
03:14:08.917 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
03:14:08.925 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
03:14:09.684 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.camera' and URIs ''
03:14:10.467 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