Skip to content

Increase wait for apt retries further

Grant Young requested to merge gy-handle-unattended-upgrades into master

Apt dpkg lock errors can still occur with the builder. Looking into this more this is a background service in Ubuntu named unattended-upgrades that runs on a timer in the background to perform critical \ security upgrades. Since our boxes are typically off this will usually run as soon as their booted and appears can take up to 5 minutes.

MR adjusts the retry further to accommodate this. It appears to be a well known issue with Ansible trying to workaround this but there's no silver bullet solution outside of just waiting for it to finish. Disabling is also frowned upon as Google mandates machines are always up to date.

Merge request reports