[virt-tools-list] virt-manager test suite hangs on FreeBSD
Cole Robinson
crobinso at redhat.com
Wed Dec 11 12:28:28 UTC 2019
On 12/11/19 5:22 AM, Andrea Bolognani wrote:
> In the libvirt-jenkins-ci repo, which contains the configuration for
> the CI environment used by libvirt and related project, in the
> virt-manager specific configuration we've had this comment for a
> while:
>
> # libxml2's Python 3 bindings don't work properly on FreeBSD,
> # so skip the test suite there for the time being. See
> # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224902
>
> and, accordingly, we haven't been running the test suite on FreeBSD.
>
> The bug in question seems to have been fixed in the meantime, so I
> figured I'd give it another go. Now the test suite no longer fails
> immediately: what happens instead is that it works its way through a
> number of tests, and then just hangs there.
>
> I tried iteratively commenting out the test where it was hanging, run
> the test suite again, and repeat the process, but that turned out to
> take way too long so at some point I just gave up :) Also the various
> culprits seemed to be mostly unrelated and I even had to go back
> earlier in the file a few times, so it was probably not a good
> approach to begin with.
>
> I have no idea how to debug this thing. Can an actual virt-manager
> developer jump in? I'll gladly provide guidance on how to set up a
> suitable FreeBSD environment - thanks to the libvirt-jenkins-ci
> project mentioned above, it's a mostly automated process and
> shouldn't take too much time.
>
I have a freebsd VM kicking around, I will try it later today. You can
use './setup.py test --debug' which may give more info where it is
hanging. Possibly somewhere in the cli tests where we try to handle mock
stdin or try to fake --wait timeouts
- Cole
More information about the virt-tools-list
mailing list