Page MenuHomePhabricator

Test php7.4 for dumps generation
Closed, ResolvedPublic

Description

We have now support in profile::mediawiki::php for running multiple versions of php alongside each other.

We need to test if moving to php 7.4 would break dumps generation; the idea would be to do so in deployment-prep. Adding a new php version can be done by adding the profile::mediawiki::php::php_version hiera key with an array of php versions *stringified* as values.

So for instance:

profile::mediawiki::php::php_version: ["7.2", "7.4"] # note the double quotes, thanks yaml.

By default the php executable will be linked to the first version in the list.

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolved toan
ResolvedLucas_Werkmeister_WMDE
ResolvedJoe
ResolvedJdforrester-WMF
ResolvedLadsgroup
InvalidNone
ResolvedReedy
OpenNone
Resolvedtstarling
ResolvedJdforrester-WMF
ResolvedPRODUCTION ERRORLegoktm
Resolvedtstarling
ResolvedJoe
ResolvedJoe
Resolvedtstarling
ResolvedArielGlenn

Event Timeline

ArielGlenn triaged this task as Medium priority.Nov 29 2021, 8:01 AM
ArielGlenn moved this task from Backlog to Active on the Dumps-Generation board.

Doing some testing of SQL/XML dumps in deployment-prep today, with php7.2 and 7.4 both installed. I don't expect any issues given that all my local testing is with 7.4, but better safe than sorry.

SQL/XML dumps look good. I'm testing wikidata entity dumps now.

Wikidata entity in lexeme dumps in all formats look good. So do commons mediainfo dumps. I'll check more of the "other" (not SQL/XML) dumps tomorrow.

Checked adds/changes dujmps today, they look good. Same for CirrusSearch dumps and the shorturls dump. I'll check out the remaining "other" (not SQL/XMl) dumps tomorrow.

ArielGlenn claimed this task.

Tested category rdf dumps and content translation dumps and they look good. That concludes all testing. With coordination, the snapshot hosts could be switched to use php7.4.