Page MenuHomePhabricator

TitleKey does not pass Jenkins unit tests (sqlite compatibility)
Closed, ResolvedPublic

Description

The TitleKey extension is not compatible with sqlite. The installer ends up with a database error:

00:00:02.815 A database query error has occurred.
00:00:02.816 Query: CREATE TABLE titlekey (
00:00:02.817 tk_page INTEGER NOT NULL,
00:00:02.818 tk_namespace INTEGER NOT NULL,
00:00:02.819 tk_key TEXT NOT NULL,
00:00:02.819 PRIMARY KEY tk_page (tk_page),
00:00:02.820 INDEX name_key (tk_namespace, tk_key)
00:00:02.821 )
00:00:02.822 Function: DatabaseBase::sourceFile( /srv/ssd/jenkins-slave/workspace/mwext-TitleKey-testextensions-master/extensions/TitleKey/titlekey.sql )
00:00:02.823 Error: 1 near "tk_page": syntax error


Version: unspecified
Severity: normal

Details

Reference
bz65896

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:15 AM
bzimport set Reference to bz65896.

Change 136110 had a related patch set uploaded by Hashar:
Ignore TitleKey unit tests

https://gerrit.wikimedia.org/r/136110

Change 136110 merged by jenkins-bot:
Ignore TitleKey unit tests

https://gerrit.wikimedia.org/r/136110

We really need tests to pass when all wmf extensions are installed together. That is preventing us from progression toward the HHVM migrating. Raising priority to High.

Change 143294 had a related patch set uploaded by Hashar:
Sqlite compatibility

https://gerrit.wikimedia.org/r/143294

Change 143298 had a related patch set uploaded by Hashar:
Make some extensions voting

https://gerrit.wikimedia.org/r/143298

Change 143298 merged by jenkins-bot:
Make some extensions voting

https://gerrit.wikimedia.org/r/143298

Change 143294 merged by jenkins-bot:
Sqlite compatibility

https://gerrit.wikimedia.org/r/143294

Change 143592 had a related patch set uploaded by Hashar:
Sqlite compatibility

https://gerrit.wikimedia.org/r/143592

Change 143592 merged by jenkins-bot:
Sqlite compatibility

https://gerrit.wikimedia.org/r/143592

Backported to REL1_23.