Hasty Briefsbeta

CI for Libvirt/Bhyve on FreeBSD

16 hours ago
  • #FreeBSD
  • #libvirt
  • #CI/CD
  • Sponsored by the FreeBSD Foundation to improve libvirt's FreeBSD integration.
  • Focused on enabling CI to reduce manual testing efforts.
  • Evaluated and decided to port libvirt-tck for existing test reuse.
  • Faced challenges with virt-builder due to libguestfs not being ported to FreeBSD.
  • Used workarounds like SSH and Linuxulator for image generation.
  • Adjusted tests for bhyve compatibility and implemented missing features like virtio-rnd.
  • Successfully ran main tests: domain, networks, and storage.
  • Excluded irrelevant or unsupported tests: hooks, nwfilter, qemu, selinux.
  • Configured Jenkins with a two-step pipeline for building and testing.
  • Identified areas for improvement in Git revision builds and Jenkins configuration.