On 08.05.2019 10:56, Gerd Hoffmann wrote: > This patch series changes the way virtual machines for test builds are > managed. They are created locally on the developer machine now. The > installer is booted on the serial console and the scripts walks through > the dialogs to install and configure the guest. > > That takes the download.patchew.org server out of the loop and makes it > alot easier to tweak the guest images (adding build dependencies for > example). > > The install scripts take care to apply host proxy settings (from *_proxy > environment variables) to the guest, so any package downloads will be > routed through the proxy and can be cached that way. This also makes > them work behind strict firewalls. > > There are also a bunch of smaller tweaks for tests/vm to fix issues I > was struggling with. See commit messages of individual patches for > details. > > Known issue: NetBSD package install is not working for me right now. > It did work a while ago. Not sure what is going on here. >
Error log? What is the command? pkgin install? > Do we have accelerator support for the BSDs? KVM-style? NetBSD does support HAXM (--accel hax) and in a downstream copy NVMM (-accel nvmm). http://blog.netbsd.org/tnf/entry/the_hardware_assisted_virtualization_challenge http://blog.netbsd.org/tnf/entry/from_zero_to_nvmm Once NVMM will stabilize we intend to submit it upstream. There is no support for hardware assisted acceleration in qemu for any other BSD. > A "make check" for a full > build takes ages, and I suspect tcg being used is part of the problem. > I did my tests using "TARGET_LIST=x86_64-softmmu" because of that. > > Gerd Hoffmann (13): > scripts: use git archive in archive-source > tests/vm: send proxy environment variables over ssh > tests/vm: send locale environment variables over ssh > tests/vm: use ssh with pty unconditionally > tests/vm: run test builds on snapshot > tests/vm: add vm-boot-{ssh,serial}-<guest> targets > tests/vm: add DEBUG=1 to help text > tests/vm: serial console support helpers > tests/vm: openbsd autoinstall, using serial console > tests/vm: freebsd autoinstall, using serial console > tests/vm: netbsd autoinstall, using serial console > tests/vm: fedora autoinstall, using serial console > tests/vm: ubuntu.i386: apt proxy setup > > tests/vm/basevm.py | 125 ++++++++++++++++++++++--- > scripts/archive-source.sh | 72 +++++++-------- > tests/vm/Makefile.include | 25 ++++- > tests/vm/fedora | 187 ++++++++++++++++++++++++++++++++++++++ > tests/vm/freebsd | 172 +++++++++++++++++++++++++++++++++-- > tests/vm/netbsd | 178 ++++++++++++++++++++++++++++++++++-- > tests/vm/openbsd | 150 +++++++++++++++++++++++++++--- > tests/vm/ubuntu.i386 | 4 + > 8 files changed, 830 insertions(+), 83 deletions(-) > create mode 100755 tests/vm/fedora >
signature.asc
Description: OpenPGP digital signature