Page MenuHomePhabricator

oauth_registered_consumer table not created under sqlite
Closed, ResolvedPublic

Description

Wikimedia Jenkins uses sqlite as a backend. The OAuth database updater does not register any schema for sqlite, that causes some tests to fails because the table oauth_registered_consumer is not found.


Version: unspecified
Severity: normal

Details

Reference
bz67296

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz67296.
bzimport added a subscriber: Unknown Object (MLST).
hashar created this task.Jun 30 2014, 1:13 PM

switch depends and blocks

Change 143021 had a related patch set uploaded by Hashar:
Supports sqlite

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

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.

I think that fix should work, I'll try and test it out. Good to have regardless.

Do you have a link to the failing tests? None of the tests should be using a database, so I'm not sure where that slipped in.

Change 143021 merged by jenkins-bot:
Supports sqlite

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

Some other extension tests (maybe OATHAuth) ends up hitting the oauth_registered_consumer table and thus a stack trace.

All good now, thank you. Might later backport it to REL1_23.

Change 143590 had a related patch set uploaded by Hashar:
Supports sqlite

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

Change 143590 merged by jenkins-bot:
Supports sqlite

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

Backported to REL1_23.