Date: Tue, 25 Jun 2024 20:51:55 -0400 From: "Kevin P. Neal" <kpn@neutralgood.org> To: Alex Arslan <ararslan@comcast.net> Cc: freebsd-questions@freebsd.org Subject: Re: Diagnosing virtual machine network issues Message-ID: <ZntmK12nI3JPl48c@neutralgood.org> In-Reply-To: <D9068351-8822-413D-9E1E-CCDFFD860958@comcast.net>
index | next in thread | previous in thread | raw e-mail
On Thu, Jun 20, 2024 at 04:20:11PM -0700, Alex Arslan wrote: > Hello, > > I work on the Julia language (https://julialang.org) and am the de facto > maintainer of its FreeBSD support. Our continuous integration runs jobs in > FreeBSD 13.2 AMD64 virtual machines with KVM on Linux. This same Linux > machine also runs Windows jobs in VMs with KVM as well as Linux jobs using > a custom sandboxing setup. I haven't seen any responses. You may want to try freebsd-hackers since that list is much more technical than this one. > We've noticed a number of network-related issues that only occur on the > FreeBSD VMs and cause tests to fail. Currently we reliably see a test > failure that expects a host resolution failure via libcurl from > https://domain.invalid but on the FreeBSD VMs we instead get a timeout. > Previously we've also seen timeouts when making requests to httpbingo > and GitHub. However, I've never been able to reproduce any of these test > failures, which makes me suspect there's an issue with how we've set up > networking for the VMs. > > Can anybody provide guidance for how to determine what, if anything, could > be misconfigured? I apologize for the vagueness of this question; I'm not > really familiar with anything networking- or virtualization-related, so > I'm not sure what information would be helpful to include here. The > complete setup lives in https://github.com/JuliaCI/sandboxed-buildkite-agent > in the freebsd-kvm directory. In base-image/freebsd13.pkr.hcl [1], which > uses Packer to build a base qcow2 image, we set net_device = "virtio-net". > In buildkite-worker/kvm_machine.xml.template [2], we set the target device > to vnet0 with bridge virbr0. > > Thank you very much for your time! > > Best, > Alex > > [1]: https://github.com/JuliaCI/sandboxed-buildkite-agent/blob/main/freebsd-kvm/base-image/freebsd13.pkr.hcl > [2]: https://github.com/JuliaCI/sandboxed-buildkite-agent/blob/main/freebsd-kvm/buildkite-worker/kvm_machine.xml.template -- Kevin P. Neal from "Crito" by Plato, 360 BCE: "But why, my dear Crito, should we care about the opinion of the many? Good men, and they are the persons who are worth considering, will think of these things truly as they happened." - Socrateshelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZntmK12nI3JPl48c>
