Closed tianon closed 6 years ago
I've tested now without squignix in the loop and it still fails, so this isn't necessarily specifically a squignix issue, but I think there might be more we can do in squignix itself to help mitigate it, maybe? :disappointed:
Yeah, at the point this happens, we're actually running inside a chroot
doing apt-get install
(not debootstrap
), so we're not hitting Squignix at all, and maybe that's really the problem here. :smile:
Might mess with bind-mounting /etc/resolv.conf
in debuerreotype to combat this, but regardless there's not actually an issue with Squignix here. :+1:
Filed https://github.com/debuerreotype/debuerreotype/pull/39 to improve debuerreotype so it can utilize Squignix more fully. :+1:
Detailed issue filed at https://github.com/debuerreotype/debuerreotype/issues/41 (for further digging).
When proxying all of
snapshot.debian.org
through squignix, runningbuild-all.sh
eventually fails on a somewhat random.deb
file (regardless of architecture, the failure is consistent).An example failure from the
debootstrap
side:The only even semi-related entries in the NGINX log are the following:
It seems like snapshot.debian.org is having some minor hiccup, and then either
max_fails
orfail_timeout
bites us, but we can't configure those explicitly since we don't (and can't) use a properupstream
block withserver
entries (since those don't support variables), but that's just a guess. None of the other options in https://nginx.org/en/docs/http/ngx_http_proxy_module.html seem like they'd really help (or hurt) since the only two that seem related default to0
(proxy_next_upstream_timeout
andproxy_next_upstream_tries
).(Filing this issue just to have somewhere to track it -- going to have to put in a workaround to not use squignix for building Debian images for now.)