Page MenuHomePhabricator

qunit jobs have Localisation cache under /tmp causing cache pollution between runs
Closed, ResolvedPublic

Description

Found in T120349, the localisation cache for qunit jobs is shared between runs. That is because it is written to /tmp.

The web env does not have TMPDIR injected. We need to:

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added subscribers: aude, hashar, JanZerebecki and 4 others.

Change 256912 had a related patch set uploaded (by Hashar):
mw-apply-settings: set $wgTmpDirectory explicitly

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

hashar set Security to None.

Change 256912 merged by jenkins-bot:
mw-apply-settings: set $wgTmpDirectory explicitly

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

Had to fix the script a bit more:

https://gerrit.wikimedia.org/r/256913mw-apply-settings: fix duplicate ?> php closing tag
https://gerrit.wikimedia.org/r/#/c/256914/mw-apply-settings: no PHP opening tag either
hashar claimed this task.
Setting $wgTmpDirectory = '/mnt/home/jenkins-deploy/tmpfs/jenkins-0';