https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emulation/libguestfs-1.48.4 fails tests (hang). Discovered on: amd64 (internal ref: ci) NOTE: I had to kill the process.
Created attachment 791276 [details] build.log build log and emerge --info
At least in 1.52.2 it's not really hanging. The tests spin up lots of virtual machines, and since Portage cannot access KVM due to the sandbox and Portage isn't in the KVM group, the tests run with software emulation. Combined with the sandbox, its very slow and even on a powerful machine take 2 to 3 hours to complete. One particular test by itself has 599 sub-tests, and that test takes 30 to 60 minutes to complete by itself. If Portage has permissions to /dev/kvm, and either the sandboxess are disabled or an "addwrite /dev/kvm" is added in src_test, the tests will complete in 5 to 10 minutes.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184dbcb88b4ddb2bce8341da32faa08ce3bfff40 commit 184dbcb88b4ddb2bce8341da32faa08ce3bfff40 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2024-07-31 05:54:33 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2025-02-20 09:08:54 +0000 app-emulation/libguestfs: add 1.54.1 Removal of "systemtap" USE flag. No longer supported by upstream Removal of "gtk" USE flag. No longer links against GTK. Merge "inspect-icons" into {R,}DEPEND. This flag didn't do what it said, it just added some additional support for some icon formats. Added "vala" use flag for Vala binding. Completely refactored dependencies. This package's build system is a mess. It automagically probes things, some of which it never uses with certain options. libvirt will be the default backend with the libvirt USE flag is set. Either dev-libs/libisoburn or app-cdr/cdrtools can satisfy dependency (former preferred) Several bugs fixed Broken tests skipped, some previously broken tests were fixed. Python 3.13 support added Without KVM acceleration, the tests take a long time (On a 8-core 11th gen Intel processor with hyperthreading it takes 2 to 3 hours to run the test suite). One of the tests alone have 600 sub-tests and takes 30-60 minutes to complete just that one test. This can worked around by adding a strategic "addwrite /dev/kvm" and the proper /dev/kvm permissions so Portage can access it (for testing only, not for production use!). Or turn off the sandboxes, however, some tests will succeed when they would normally fail in the sandbox, so I don't recommend it for development purposes. With KVM, the whole testsuite runs in 5-10 minutes. Closes: https://bugs.gentoo.org/816759 Closes: https://bugs.gentoo.org/911641 Closes: https://bugs.gentoo.org/930590 Closes: https://bugs.gentoo.org/933712 Closes: https://bugs.gentoo.org/936623 Closes: https://bugs.gentoo.org/857849 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-emulation/libguestfs/Manifest | 1 + ...-1.52.1-disable-obsolete-lvmetad-in-tests.patch | 12 ++ app-emulation/libguestfs/libguestfs-1.54.1.ebuild | 225 +++++++++++++++++++++ 3 files changed, 238 insertions(+)