In openQA we support various backends which are able to 'host' tests. 'svirt' - one of those backends - is so generic that it allows to conned to a virtualization host via SSH a perform shell commands directly.
As VirtualBox has decent command line interface (especially VBoxManage
command) it shouldn't be that hard to support VirtualBox in openQA's os-autoinst via svirt backend.
My approach will be to use VirtualBox' native CLI instead of svirt's XML crafting ability in installation/bootloader_virtualbox
test module, because libvirt vbox driver in Leap does not support VirtualBox 5 API, and because finding correct attributes for vbox libvirt's driver attributes is time consuming and error prone.
Results/Post Mortem
For a decent VirtualBox support in openQA, VirtualBox would have to make serial port reliable as we rely on it heavily. VNC support is also an underdeveloped after-thought, which might break in the future; RDP support is provided as a non-free addon only (openQA does not support RDP anyway).
On the other hand VirtualBox CLI proved to be easy to use.
openQA bits
Bugs
Looking for hackers with the skills:
This project is part of:
Hack Week 15
Activity
Comments
Be the first to comment!
Similar Projects
Automate testing for openSCAP / ComplianceAsCode with CI or openQA by c-hagenest
[comment]: # (Please use the project descriptio...
Learn PostgreSQL advanced features by okurz
Motivation
The PostgreSQL database implement...
Implement text based OCR in openQA by clanig
Project Description
Currently openQA requir...
Force USB devices to be read from a virtual machine on a given PC by nguyens
[comment]: # (Please use the project descriptio...
Expanding e2e tests on Windows self-hosted runners via CI by iguimaraes
Project Description
Rancher Desktop is ...
Build a Unikernel that runs WebAssembly by flavio_castelli
[comment]: # (Please use the project descriptio...