Comment 14 for bug 1266711

Jeremy Stanley (fungi) wrote :

The trigger for this was an inadvertent upgrade to libvirt 1.11 on all the slaves. When we determined that was broken and reverted it with (back in late September), we neglected to remove the /etc/apt/sources.list.d/cloudarchive.list file it left behind. This went unnoticed because unattended-upgrade job does not upgrade from unofficial repositories unless explicitly whitelisted, so it wasn't until early this morning when we approved that apt-get ended up pulling libvirt-dev and its dependencies from Ubuntu Cloud Archive rather than main that this came to light.

The ensuing mayhem was resolved by merging and then using to execute the following on all precise.* slaves:

    rm -f /etc/apt/sources.list.d/cloudarchive.list
    apt-get update
    apt-get install -y --force-yes \
        libvirt-bin=0.9.8-2ubuntu17.16 \
        libvirt-dev=0.9.8-2ubuntu17.16 \
        libvirt0=0.9.8-2ubuntu17.16 \
        libxenstore3.0=4.1.5-0ubuntu0.12.04.2 \

Since then, subsequent unit tests are back to using old libvirt in CI and passing normally.