зеркало из https://github.com/mozilla/gecko-dev.git
cd16187ecd
In automation, we try to use pypi.pvt.build.mozilla.org nearly everywhere. This hostname doesn't resolve in TaskCluster and outside of buildbot automation. A consequence of work in bug 1304176 and using a modern pip is that we attempt to connect to all defined pip links. This was resulting in pip attempting connections to pypi.pvt.build.mozilla.org. And since pip was attempting retries, this resulted in a several second delay for all pip operations if that host didn't resolve. This commit adds a DNS lookup in mozharness before using a pip --link. We spend a little bit of overhead in mozharness doing a DNS lookup. In return, we guarantee we'll avoid a multiple second pause if any links don't resolve. This is somewhat hacky. But it seems like the easiest solution. MozReview-Commit-ID: EecqBQSW75R --HG-- extra : rebase_source : 9664a3694232e4ce2dec216b036ba29783c2842d |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
docker | ||
firefox-ui | ||
gtest | ||
instrumentation | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
puppeteer | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
xpcshell | ||
README.txt | ||
cppunittest.ini | ||
mach_commands.py | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff