Testcase: test_select_button_cancel

Build #:254:20150713: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_select_button_cancel
testsuite
gallery_app.tests.test_events_view.TestEventsView
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 13 03:56:28 ubuntu-phablet powerd[891]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 13 03:56:28 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.64
Jul 13 03:56:28 ubuntu-phablet powerd[891]: watching :1.64 to see when it disappears on dbus
Jul 13 03:56:28 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 03:56:28 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 13 03:56:28 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 03:56:28 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 03:56:28 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 03:56:46 ubuntu-phablet powerd[891]: handle_clearSysState from :1.64, cookie: f244c7fe-3d4e-4664-8eb3-55bd816c1747
Jul 13 03:56:46 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.64
Jul 13 03:56:46 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.64
Jul 13 03:56:46 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.64 is now 0
Jul 13 03:56:46 ubuntu-phablet powerd[891]: no longer watching :1.64, there are no more requests
Jul 13 03:56:46 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 03:56:46 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 03:56:46 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 03:56:46 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 03:56:46 ubuntu-phablet dbus[772]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 13 03:56:46 ubuntu-phablet dbus[772]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.gallery_gallery_2.9.1.1209): {{{
libust[4493/4494]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4494]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4495]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: 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:4493): 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
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 39 ms - inf ms per media
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*
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
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (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.
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[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
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:192ms
new-cache-entry cache-miss full-load  file:///home/phablet/Pictures/sample03.jpg req:1080x1080 ret:1050x701 cache:0b/2 time:115ms
cache-hit  file:///home/phablet/Pictures/sample04.jpg req:1080x1080 ret:1080x589 cache:0b/2 time:11ms
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
QFileSystemWatcher::addPaths: list is empty
libust[4493/4526]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4493/4527]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5028]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5028]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5029]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5029]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5045]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5046]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5045]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5046]: 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:5025): 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
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 28 ms - inf ms per media
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*
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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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[5025/5045]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5046]: Error: Error opening shm /lttng-ust-wait-5-32011 (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
libust[5025/5045]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5046]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
QFileSystemWatcher::addPaths: list is empty
libust[5025/5045]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5025/5046]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
}}}

test-log: {{{
03:56:27.724 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
03:56:27.780 DEBUG __init__:217 - Launching gallery-app via click package.
03:56:27.781 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.gallery' and URIs ''
03:56:28.816 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.gallery_gallery_2.9.1.1209' with URIs '' via upstart-app-launch
03:56:35.764 INFO logging:45 - MainScreen: Open a tab. Arguments ('eventsTab',). Keyword arguments: {}.
03:56:35.947 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
03:56:36.359 INFO logging:45 - MainScreen: Open a tab. Arguments (1,). Keyword arguments: {}.
03:56:36.650 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
03:56:36.899 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
03:56:39.107 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.
03:56:39.498 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:56:39.499 DEBUG _uinput:485 - Tapping at: 927,121
03:56:41.405 DEBUG runtest:172 - Deleting /home/phablet/Pictures
03:56:46.743 DEBUG runtest:172 - Restoring backed up pics to /home/phablet/Pictures
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/gallery_app/tests/test_events_view.py", line 80, in test_select_button_cancel
    self.assertTrue(events_view.inSelectionMode)
  File "/usr/lib/python3.4/unittest/case.py", line 654, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true

command_type
testcase_test