Page MenuHomePhabricator

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

Description

00:00:02.153 A database query error has occurred.
00:00:02.155 Query: CREATE TABLE /*$wgDBPrefix*/cv_ratings_votes (
00:00:02.156 vot_category BLOB NOT NULL default '',
00:00:02.158 vot_title BLOB NOT NULL default '',
00:00:02.159 vot_user INTEGER NOT NULL default 0,
00:00:02.160 vot_rating INTEGER NOT NULL default 0,
00:00:02.162 INDEX vot_category_title ( vot_category, vot_title ),
00:00:02.163 INDEX vot_category_title_user ( vot_category, vot_title, vot_user ),
00:00:02.165 INDEX vot_category_title_rating ( vot_category, vot_title, vot_rating )
00:00:02.166 )
00:00:02.167 Function: DatabaseBase::sourceFile( /srv/ssd/jenkins-slave/workspace/mwext-CommunityVoice-testextensions-master/extensions/CommunityVoice/CommunityVoice.sql )
00:00:02.169 Error: 1 near "INDEX": syntax error

The extension needs to be tweaked to support sqlite which should be fairly trivial.


Version: unspecified
Severity: normal

Details

Reference
bz65876

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz65876.
hashar created this task.May 28 2014, 9:29 PM

Change 135936 had a related patch set uploaded by Hashar:
Ignore some extensions tests results

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

Change 135936 merged by jenkins-bot:
Ignore some extensions tests results

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

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

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

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 143012 merged by jenkins-bot:
Sqlite compatibility

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

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 143588 had a related patch set uploaded by Hashar:
Sqlite compatibility

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

Change 143588 merged by jenkins-bot:
Sqlite compatibility

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

Backported to REL1_23.