delta cronjob / archive mirror synchronization problem
The perl-rebuilds-cronjob.sh script has had recurring mostly silent failures lately, where the system emails that it's scheduling builds, but they fail with things like
2018-06-28 03:33:46,866 INFO Processing delta-xxxac.commands
2018-06-28 03:33:46,867 ERROR Unable to fetch libdigest-hmac-perl_1.03+dfsg-2.dsc
2018-06-28 03:33:46,868 ERROR Unable to fetch libdevel-calltrace-perl_1.2-2.dsc
Requeueing the commands later works fine.
This looks to me like a synchronization issue between different archive mirrors: the cronjobs use
http://deb.debian.org/debian but the chroots
sources.list files (which I expect are the place that matters) point to localhost / apt-cacher-ng, which uses
Presumably the latter has started to lag behind the former badly enough that the new packages aren't available yet when the cronjob is run.
At the moment, tracerouting deb.debian.org from perl.debian.net shows US (MIT) for IPv4 and NL (SURFnet) for IPv6. So I suppose the apt-cacher-ng backend is better. I've made a local commit for now pointing sources.list to localhost, but it should probably be replaced by something more generic like getting the repository URL from the environment or something.