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 created this task.Dec 4 2015, 9:54 AM
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 updated the task description. (Show Details)Dec 4 2015, 10:30 AM
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 closed this task as Resolved.Dec 4 2015, 10:57 AM
hashar claimed this task.
Setting $wgTmpDirectory = '/mnt/home/jenkins-deploy/tmpfs/jenkins-0';