Public bug reported:

This was found when checking the new libvirt 7.6

https://autopkgtest.ubuntu.com/results/autopkgtest-impish-ci-train-ppa-
service-4644/impish/amd64/o/oz/20210811_210304_40f24@/log.gz

It had various problems like:
>           raise libvirtError('virConnectOpen() failed')
E           libvirt.libvirtError: Failed to connect socket to 
'/home/ubuntu/.cache/libvirt/virtqemud-sock': No such file or directory

While trying to recreate this it did not happen again.
But instead I found

    def test_init_guest():
        guest = setup_guest(tdlxml2)
    
        assert guest.disksize == 20
        assert guest.image_name() == 'tester'
>       assert guest.output_image_path() == '/home/%s/.oz/images/tester.dsk' % 
> getpass.getuser()
E       AssertionError: assert '/var/lib/libvirt/images/tester.dsk' == 
'/home/root/.oz/images/tester.dsk'
E         - /home/root/.oz/images/tester.dsk
E         + /var/lib/libvirt/images/tester.dsk

That is due to our default of LIBVIRT_DEFAULT_URI=qemu:///system
But this worked in the past in autopkgtests
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/amd64/o/oz/20210723_190656_116de@/log.gztest_init_guest

Also it is independent, I can downgrade/upgrade between 7.4 / 7.6 and the issue 
remains.
I need to drive a bunch of VM based testing with/without PPA hoping that it 
will help to find what is broken.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: oz (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939677

Title:
  oz test fails in impish with new libvirt 7.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1939677/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to