Closed Bug 1415655 Opened 7 years ago Closed 6 years ago

Intermittent Could not install python package: /Users/cltbld/tasks/task_1510167958/build/venv/bin/pip install --timeout 120 --no-index --find-links http://pypi.pvt.build.mozilla.org/pub --find-links http://pypi.pub.build.mozilla.org/pub

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell infra])

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=143104982&repo=autoland

https://queue.taskcluster.net/v1/task/Xa_i9eGnRf2-bFplk9qpSQ/runs/0/artifacts/public/logs/live_backing.log

Could not install python package: /Users/cltbld/tasks/task_1510167958/build/venv/bin/pip install --timeout 120 --no-index --find-links http://pypi.pvt.build.mozilla.org/pub --find-links http://pypi.pub.build.mozilla.org/pub --trusted-host pypi.pub.build.mozilla.org --trusted-host pypi.pvt.build.mozilla.org jsonschema==2.5.1 failed after 5 tries!
Closed the trees for this because of its frequency.
Severity: normal → blocker
We think this is due to the recent mdc1 move train.

It's likely that machines in mdc1 can't access pypi.pvt properly.
Priority: P5 → P1
See Also: → 1387039, 1412965
```
11:06:41     INFO -  Ignoring indexes: https://pypi.python.org/simple
11:06:41     INFO -  Collecting psutil>=3.1.1
11:06:43     INFO -    HTTP error 403 while getting http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz (from http://pypi.pvt.build.mozilla.org/pub/)
11:06:43     INFO -    Could not install requirement psutil>=3.1.1 from http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz because of error 403 Client Error: Forbidden for url: http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz
11:06:43     INFO -  Could not install requirement psutil>=3.1.1 from http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz because of HTTP error 403 Client Error: Forbidden for url: http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz for URL http://pypi.pvt.build.mozilla.org/pub/psutil-3.1.1.tar.gz (from http://pypi.pvt.build.mozilla.org/pub/)
11:06:43  WARNING - Return code: 1
```
In bug 1412965, similar failures to pypi.pvt were reported and found to be intermittent from the moonshots: "So far this seems to be limited to linux moonshot machines 285-295 and it's not consistent.  403 returned when contacting pypi:"
garndt has disabled the machines that were most recently moved to mdc1.
Adding these two lines to generated/allow-build-net-zlb.conf fixes the issue we think

    RewriteCond %{HTTP:X-Cluster-Client-Ip} !^10\.49\.56\.\d+$
    RewriteCond %{HTTP:X-Cluster-Client-Ip} !^10\.49\.58\.\d+$
Added those two subnets to releng::init in IT puppet, which in turns makes its way into the apache configs. 

To ssh://git-internal.mozilla.org/sysadmins/puppet.git
   33f8974c3e..ac4f3644b2  master -> master
Whiteboard: [stockwell infra]
All the occurrences of this issues happened on Nov 8, hasn't resurfaced since then.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.