Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/Vagrantfile: disable unattended-upgrades
CI runs occasionally fail with errors similar to: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? This lock is typically held by dpkg or apt when they check for or proceed to updates. The two main suspects are usually: - An aborted run of dpkg or apt, that would not have released the lock on exit, or - Automatic updates running in the background, for example with the unattended-upgrades package. The logs did not raise any previous apt failure. Automatic updates may well be responsible for the lock being held. We do not want them running on test machines anyway, so let's disable unattended-updates altogether. This should be moved directly to the CI images in the future; the current patch is a quick fix so we can stop the CI failures as soon as possible. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
- Loading branch information