← Back to team overview

touch-packages team mailing list archive

[Bug 1310985] Re: during test execution, a lot of SQLite errors are generated

 

** Project changed: gallery-app => gallery-app (Ubuntu)

** Changed in: gallery-app (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gallery-app in Ubuntu.
https://bugs.launchpad.net/bugs/1310985

Title:
  during test execution, a lot of SQLite errors are generated

Status in gallery-app package in Ubuntu:
  New

Bug description:
  From latest mako testing:

  https://jenkins.qa.ubuntu.com/job/trusty-touch-mako-smoke-
  daily/262/artifact/clientlogs/gallery_app/application-click-
  com.ubuntu.gallery_gallery_2.9.1.952.log/*view*/

  Opening ("/home/phablet/Pictures", "/home/phablet/Videos/camera") ... 
  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
  )" 

  ....

  and so on and so worth.

  Are the tests not setup / cleaned up correctly? or is the test-bed is
  not clean? at the moment my merge proposal is blocked from merging,
  and i'm not sure if this is a red herring or not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1310985/+subscriptions