Testcase: test_photo_editor_rotate

Build #:265:20150722.2:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_photo_editor_rotate
testsuite
gallery_app.tests.test_photo_viewer.TestPhotoEditor
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 22 19:18:52 ubuntu-phablet powerd[884]: handle_requestSysState from :1.62 (active) - ACTIVE (1)
Jul 22 19:18:52 ubuntu-phablet powerd[884]: name_watch_add: looking for :1.62
Jul 22 19:18:52 ubuntu-phablet powerd[884]: watching :1.62 to see when it disappears on dbus
Jul 22 19:18:52 ubuntu-phablet powerd[884]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 22 19:18:52 ubuntu-phablet powerd[884]: handle_requestSysState - SUCCESS
Jul 22 19:18:52 ubuntu-phablet powerd[884]: Enqueue state change to ACTIVE
Jul 22 19:18:52 ubuntu-phablet powerd[884]: queue empty && state == current, discarding
Jul 22 19:18:52 ubuntu-phablet powerd[884]: libsuspend: release_wake_lock: powerd_power_request
Jul 22 19:19:28 ubuntu-phablet powerd[884]: handle_clearSysState from :1.62, cookie: e462af05-ce42-4b26-8bc5-dd6bea3bab10
Jul 22 19:19:28 ubuntu-phablet powerd[884]: clear_sys_request: active - :1.62
Jul 22 19:19:28 ubuntu-phablet powerd[884]: name_watch_remove: looking for :1.62
Jul 22 19:19:28 ubuntu-phablet powerd[884]: name_watch: ref_count for :1.62 is now 0
Jul 22 19:19:28 ubuntu-phablet powerd[884]: no longer watching :1.62, there are no more requests
Jul 22 19:19:28 ubuntu-phablet powerd[884]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 22 19:19:28 ubuntu-phablet powerd[884]: Enqueue state change to ACTIVE
Jul 22 19:19:28 ubuntu-phablet powerd[884]: queue empty && state == current, discarding
Jul 22 19:19:28 ubuntu-phablet powerd[884]: libsuspend: release_wake_lock: powerd_power_request
Jul 22 19:19:29 ubuntu-phablet dbus[839]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 22 19:19:29 ubuntu-phablet dbus[839]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.gallery_gallery_2.9.1.1209): {{{
libust[4034/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4036]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4037]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4037]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/GalleryApplication.qml:202:5: QML Binding: Binding loop detected for
property "target"

(process:4034): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/GalleryApplication.qml:202:5: QML Binding: Binding loop detected for
property "target"
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:310:9: QML ActionContext: Unity.Action deprecatedContext.
Please use ActionContext from Ubuntu.Components.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/LoadingScreen.qml:38:9: QML ActivityIndicator: Theme.createStyleComponent()
is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:154:42: Unable to assign [undefined] to bool
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:288:26: Unable to assign QString to QQmlComponent*
Opening ("/home/phablet/Pictures", "/home/phablet/Videos") ...
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table MediaTable already exists")
SQLite string:  "-- Media table

CREATE TABLE MediaTable (
  id INTEGER PRIMARY KEY,
  filename TEXT NOT NULL
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table AlbumTable already exists")
SQLite string:  "-- Album table

CREATE TABLE AlbumTable (
  id INTEGER PRIMARY KEY,
  time_added INTEGER,
  title TEXT NOT NULL,
  subtitle TEXT NOT NULL
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index AlbumTableTimeAddedIndex already exists")
SQLite string:  "CREATE INDEX AlbumTableTimeAddedIndex ON AlbumTable(time_added)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table MediaAlbumTable already exists")
SQLite string:  "-- Media/album relationship table

CREATE TABLE MediaAlbumTable (
  media_id INTEGER REFERENCES MediaTable ON DELETE CASCADE,
  album_id INTEGER REFERENCES AlbumTable ON DELETE CASCADE
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaAlbumTableMediaIndex already exists")
SQLite string:  "CREATE INDEX MediaAlbumTableMediaIndex ON MediaAlbumTable(media_id)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaAlbumTableAlbumIndex already exists")
SQLite string:  "CREATE INDEX MediaAlbumTableAlbumIndex ON MediaAlbumTable(album_id)"
Error executing database file:  "rc/sql/2.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: is_closed")
SQLite string:  "-- Album table
-- Add columns for open state and current page

ALTER TABLE AlbumTable ADD COLUMN is_closed BOOLEAN DEFAULT 1"
Error executing database file:  "rc/sql/2.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: current_page")
SQLite string:  "ALTER TABLE AlbumTable ADD COLUMN current_page INTEGER DEFAULT -1"
Error executing database file:  "rc/sql/3.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table PhotoEditTable already exists")
SQLite string:  "-- Photo edit table

CREATE TABLE PhotoEditTable (
  media_id INTEGER PRIMARY KEY REFERENCES MediaTable ON DELETE CASCADE,
  crop_rectangle TEXT
)"
Error executing database file:  "rc/sql/4.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: cover_nickname")
SQLite string:  "-- Album table
-- Add column for the album cover name.

ALTER TABLE AlbumTable ADD COLUMN cover_nickname TEXT DEFAULT "default""
Error executing database file:  "rc/sql/5.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: is_enhanced")
SQLite string:  "-- Add is_enhanced column to PhotoEditTable to support one-touch auto-enhance

ALTER TABLE PhotoEditTable ADD COLUMN is_enhanced BOOLEAN default false"
Error executing database file:  "rc/sql/6.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: width")
SQLite string:  "-- Media table
-- Add columns for media size.

ALTER TABLE MediaTable ADD COLUMN width INT"
Error executing database file:  "rc/sql/6.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: height")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN height INT"
Error executing database file:  "rc/sql/7.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: orientation")
SQLite string:  "-- Add orientation column to PhotoEditTable to support rotating files where we
-- don't store the orientation as metadata in the file itself.

ALTER TABLE PhotoEditTable ADD COLUMN orientation INT DEFAULT 0"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: timestamp")
SQLite string:  "-- Optimizations for media table

ALTER TABLE MediaTable ADD COLUMN timestamp INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: exposure_time")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN exposure_time INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: original_orientation")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN original_orientation INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: filesize")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN filesize INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaTableFilenameIndex already exists")
SQLite string:  "CREATE INDEX MediaTableFilenameIndex ON MediaTable(filename)"
Opened ("/home/phablet/Pictures", "/home/phablet/Videos") 0 media files loaded in 40 ms - inf ms per media
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:246:5: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:47:5: QML Header: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/Utility/PhotosToolbarActions.qml:48:5: QML ActionItem:
Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Unable to set collection of type void*
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumViewer/AlbumViewer.qml:395: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumViewer/AlbumViewer.qml:393: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumEditor/AlbumEditor.qml:126: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumEditor/AlbumEditor.qml:158: TypeError: Cannot read property of null
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4062]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4034/4061]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
QFileSystemWatcher::addPaths: list is empty
libust[4276/4279]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4279]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4278]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/GalleryApplication.qml:202:5: QML Binding: Binding loop detected for
property "target"

(process:4276): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/GalleryApplication.qml:202:5: QML Binding: Binding loop detected for
property "target"
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:310:9: QML ActionContext: Unity.Action deprecatedContext.
Please use ActionContext from Ubuntu.Components.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/LoadingScreen.qml:38:9: QML ActivityIndicator: Theme.createStyleComponent()
is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:154:42: Unable to assign [undefined] to bool
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MainScreen.qml:288:26: Unable to assign QString to QQmlComponent*
Opening ("/home/phablet/Pictures", "/home/phablet/Videos") ...
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table MediaTable already exists")
SQLite string:  "-- Media table

CREATE TABLE MediaTable (
  id INTEGER PRIMARY KEY,
  filename TEXT NOT NULL
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table AlbumTable already exists")
SQLite string:  "-- Album table

CREATE TABLE AlbumTable (
  id INTEGER PRIMARY KEY,
  time_added INTEGER,
  title TEXT NOT NULL,
  subtitle TEXT NOT NULL
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index AlbumTableTimeAddedIndex already exists")
SQLite string:  "CREATE INDEX AlbumTableTimeAddedIndex ON AlbumTable(time_added)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table MediaAlbumTable already exists")
SQLite string:  "-- Media/album relationship table

CREATE TABLE MediaAlbumTable (
  media_id INTEGER REFERENCES MediaTable ON DELETE CASCADE,
  album_id INTEGER REFERENCES AlbumTable ON DELETE CASCADE
)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaAlbumTableMediaIndex already exists")
SQLite string:  "CREATE INDEX MediaAlbumTableMediaIndex ON MediaAlbumTable(media_id)"
Error executing database file:  "rc/sql/1.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaAlbumTableAlbumIndex already exists")
SQLite string:  "CREATE INDEX MediaAlbumTableAlbumIndex ON MediaAlbumTable(album_id)"
Error executing database file:  "rc/sql/2.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: is_closed")
SQLite string:  "-- Album table
-- Add columns for open state and current page

ALTER TABLE AlbumTable ADD COLUMN is_closed BOOLEAN DEFAULT 1"
Error executing database file:  "rc/sql/2.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: current_page")
SQLite string:  "ALTER TABLE AlbumTable ADD COLUMN current_page INTEGER DEFAULT -1"
Error executing database file:  "rc/sql/3.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "table PhotoEditTable already exists")
SQLite string:  "-- Photo edit table

CREATE TABLE PhotoEditTable (
  media_id INTEGER PRIMARY KEY REFERENCES MediaTable ON DELETE CASCADE,
  crop_rectangle TEXT
)"
Error executing database file:  "rc/sql/4.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: cover_nickname")
SQLite string:  "-- Album table
-- Add column for the album cover name.

ALTER TABLE AlbumTable ADD COLUMN cover_nickname TEXT DEFAULT "default""
Error executing database file:  "rc/sql/5.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: is_enhanced")
SQLite string:  "-- Add is_enhanced column to PhotoEditTable to support one-touch auto-enhance

ALTER TABLE PhotoEditTable ADD COLUMN is_enhanced BOOLEAN default false"
Error executing database file:  "rc/sql/6.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: width")
SQLite string:  "-- Media table
-- Add columns for media size.

ALTER TABLE MediaTable ADD COLUMN width INT"
Error executing database file:  "rc/sql/6.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: height")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN height INT"
Error executing database file:  "rc/sql/7.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: orientation")
SQLite string:  "-- Add orientation column to PhotoEditTable to support rotating files where we
-- don't store the orientation as metadata in the file itself.

ALTER TABLE PhotoEditTable ADD COLUMN orientation INT DEFAULT 0"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: timestamp")
SQLite string:  "-- Optimizations for media table

ALTER TABLE MediaTable ADD COLUMN timestamp INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: exposure_time")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN exposure_time INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: original_orientation")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN original_orientation INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "duplicate column name: filesize")
SQLite string:  "ALTER TABLE MediaTable ADD COLUMN filesize INT DEFAULT NULL"
Error executing database file:  "rc/sql/8.sql"
SQLite error:  QSqlError("1", "Unable to execute statement", "index MediaTableFilenameIndex already exists")
SQLite string:  "CREATE INDEX MediaTableFilenameIndex ON MediaTable(filename)"
Opened ("/home/phablet/Pictures", "/home/phablet/Videos") 0 media files loaded in 78 ms - inf ms per media
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:246:5: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:47:5: QML Header: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/Utility/PhotosToolbarActions.qml:48:5: QML ActionItem:
Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
Unable to set collection of type void*
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumViewer/AlbumViewer.qml:395: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumViewer/AlbumViewer.qml:393: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumEditor/AlbumEditor.qml:126: TypeError: Cannot read property of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/AlbumEditor/AlbumEditor.qml:158: TypeError: Cannot read property of null
QQmlExpression: Expression file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MediaViewer/MediaViewer.qml:314:26 depends on
non-NOTIFYable properties:
    Photo::canBeEdited
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MediaViewer/PopupPhotoViewer.qml:169: TypeError: Cannot call method
'isSelected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1209/rc/qml/MediaViewer/PhotoViewerTransition.qml:83:5: QML GalleryPhotoComponent:
Binding loop detected for property "source"
new-cache-entry cache-miss full-load  file:///home/phablet/Pictures/sample04.jpg req:0x0 ret:1408x768 cache:0b/1 time:184ms
new-cache-entry cache-miss full-load  file:///home/phablet/Pictures/sample03.jpg req:1080x1080 ret:1050x701 cache:0b/2 time:110ms
cache-hit  file:///home/phablet/Pictures/sample04.jpg req:1080x1080 ret:1080x589 cache:0b/2 time:10ms
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
QFileSystemWatcher::addPaths: list is empty
libust[4276/4301]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4276/4300]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
}}}

test-log: {{{
19:18:51.205 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
19:18:51.260 DEBUG __init__:217 - Launching gallery-app via click package.
19:18:51.261 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.gallery' and URIs ''
19:18:52.301 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.gallery_gallery_2.9.1.1209' with URIs '' via upstart-app-launch
19:18:58.843 INFO logging:45 - MainScreen: Open a tab. Arguments ('eventsTab',). Keyword arguments: {}.
19:18:59.015 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:18:59.450 INFO logging:45 - MainScreen: Open a tab. Arguments (1,). Keyword arguments: {}.
19:18:59.700 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:18:59.936 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
19:19:00.151 DEBUG dbus:352 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
19:19:00.374 DEBUG dbus:352 - Selecting objects of type OrganicMediaList with attributes: {}
19:19:00.469 DEBUG dbus:352 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
19:19:00.532 DEBUG dbus:352 - Selecting objects of type QQuickImage with attributes: {}
19:19:00.780 DEBUG dbus:352 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
19:19:00.881 DEBUG dbus:352 - Selecting objects of type QQuickImage with attributes: {}
19:19:01.117 DEBUG dbus:352 - Selecting objects of type QQuickImage with attributes: {}
19:19:01.281 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:19:01.282 DEBUG _uinput:485 - Tapping at: 164,577
19:19:09.063 WARNING _header:298 - Header is an internal QML component of Ubuntu.Components and its API may change or be removed at any moment. Please
use MainView and Page instead.
19:19:09.596 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:19:09.597 DEBUG _uinput:485 - Tapping at: 540,481
19:19:11.170 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:19:11.171 DEBUG _uinput:485 - Tapping at: 927,121
19:19:23.924 DEBUG runtest:189 - Deleting /home/phablet/Pictures
19:19:29.652 DEBUG runtest:189 - Restoring backed up pics to /home/phablet/Pictures
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/gallery_app/tests/test_photo_viewer.py", line 227, in setUp
    self.click_edit_button()
  File "/home/phablet/autopilot/gallery_app/tests/test_photo_viewer.py", line 232, in click_edit_button
    photo_editor = self.photo_viewer.get_photo_editor()
  File "/home/phablet/autopilot/gallery_app/emulators/photo_viewer.py", line 84, in get_photo_editor
    return self.app.wait_select_single("PhotoEditor")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'PhotoEditor'.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test