babashka-sci-dev 2023-02-06

looks like a ubuntu mirror issue not docker, can retry

the issue is coming from trying to run apt update

I've already retried

yeah fairly sure its a ubuntu mirror thing.

this depends on things like source ip and mirrors etc, not sure of a definite way to fix this

do you think it will resolve itself?

Yeah one of the retries might resolve it. These things unfortunately rely on non immutable registries

Maybe we could use a curl docker image rather than Ubuntu

I'll just wait a few hours

is it a circle ci thing?

does the same pass in actions?

i can try to have a look in a bit, not around the machine

I can reproduce it when going manually to http://archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-2ubuntu1.5_amd64.deb - sometimes it works, sometimes it doesn't. It seems their infra might be a bit sketchy?

yeah its almost always that. depends on where the mirror lands you and your IP getting banned etc or not

but it's happening today a lot whereas it hasn't happened in a long time

guess we'll need to move to nix for everything sooner than later :P

id try asking in #circleci too

another option could be us vendoring in base images in our dockerhubs and always FROM those

solve one flaky test, get another flaky ubuntu thing

this is the reason people like me have jobs