Page MenuHomePhabricator

Jenkins: Set $wgHTTPProxy in mediawiki config
Closed, ResolvedPublic

Description

Some tests rely on an internet access, for example the Math extension fetch material from latexml. Hacking $wgHTTPProxy does fix the issue : https://gerrit.wikimedia.org/r/#/c/105188/

We have to set $wgHTTPProxy in the mediawiki.d configuration, should vary depending on the cluster the test is being run (pmtpa / eqiad).


Version: wmf-deployment
Severity: normal

Details

Reference
bz59253

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:18 AM
bzimport set Reference to bz59253.
bzimport added a subscriber: Unknown Object (MLST).

Change 105189 had a related patch set uploaded by Hashar:
webproxies service entries in wmnet.

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

Change 105189 merged by Mark Bergsma:
webproxies service entries in wmnet.

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

$ dig ANY webproxy.pmtpa.wmnet
webproxy.pmtpa.wmnet. 3600 IN CNAME brewster.wikimedia.org.
brewster.wikimedia.org. 2129 IN A 208.80.152.171

$ dig ANY webproxy.eqiad.wmnet
webproxy.eqiad.wmnet. 3600 IN CNAME carbon.wikimedia.org.
carbon.wikimedia.org. 2180 IN A 208.80.154.10

Now we need to inject that configuration in MediaWiki :-D

Change 105198 had a related patch set uploaded by Hashar:
mwconf: set $wgHTTPProxy based on wmf site

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

Change 105198 merged by jenkins-bot:
mwconf: set $wgHTTPProxy based on wmf site

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

Test change https://gerrit.wikimedia.org/r/#/c/105188/

The Math integration works so I guess $wgHTTPProxy is set properly \O/