PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Tuesday the 14th of July, 2020

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[01:11:47] <travis-ci> pypa/pip#17250 (master - 328e4c0 : Chris Hunt): The build passed.
[01:11:47] <travis-ci> Change view : https://github.com/pypa/pip/compare/77ead320b02d...328e4c06da4b
[01:11:47] <travis-ci> Build details : https://travis-ci.org/pypa/pip/builds/707830537
[14:04:07] <zbr> Do we have a failover for files.pythonhosted.org CDN?
[14:04:27] <zbr> sometimes we get 503 errors and I want to fallback to something else when i receive a 503
[14:05:24] <dstufft> do the 503 errors persist or are they transient?
[14:06:44] <zbr> transient
[14:07:42] <zbr> is not very common, but sometimes such an error can make us lose 4-5h, if it happens at an openstack gate
[14:08:18] <zbr> we do have our own mirrors, but they rely on files.pythonhosted.org, so they would return a 503 when it happens
[14:09:01] <zbr> example: https://opendev.org/opendev/system-config/src/branch/master/playbooks/roles/mirror/templates/mirror.vhost.j2#L94
[14:09:31] <zbr> if we put a fallback, we could prevent such failures from breaking a build.
[14:09:42] <zbr> but obviously, we need something to fallback to.
[14:11:01] <zbr> I do mention: when it gives 503, it will also respond the same when the client retries (3 times for pip, if i remember well).
[14:11:30] <zbr> so the retry logic from pip fails us, as the CDN is consistent in giving 503 for the same session.
[14:11:53] <dstufft> zbr: can you file a ticket?
[14:13:12] <zbr> dstufft: to which project? warehouse?
[14:13:24] <dstufft> yea
[14:13:39] <dstufft> our backends should be resilient against 503s like that, and should automatically fall over
[14:14:06] <zbr> sure, doing it now, explaining, maybe we can even document how to implement reliable mirrors for CI/CD for pypi.
[14:20:31] <zbr> added https://github.com/pypa/warehouse/issues/8260 -- feel free to rephrase it if not clear
[23:33:07] <travis-ci> pypa/pip#17254 (master - 328e4c0 : Chris Hunt): The build passed.
[23:33:07] <travis-ci> Change view : https://github.com/pypa/pip/compare/77ead320b02d7922030f3fd36a41b05fa686f1e8...328e4c06da4b645fc5dcf97f975edc3b7bba9477
[23:33:07] <travis-ci> Build details : https://travis-ci.org/pypa/pip/builds/708162253
[23:55:56] <travis-ci> pypa/pip#17255 (master - 607ec6c : Chris Hunt): The build passed.
[23:55:57] <travis-ci> Change view : https://github.com/pypa/pip/compare/328e4c06da4b...607ec6c34262
[23:55:57] <travis-ci> Build details : https://travis-ci.org/pypa/pip/builds/708166923