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:

openqa virtualbox virtualization

This project is part of:

Hack Week 15

Activity

  • about 7 years ago: okurz liked this project.
  • about 7 years ago: michalnowak added keyword "openqa" to this project.
  • about 7 years ago: michalnowak added keyword "virtualbox" to this project.
  • about 7 years ago: michalnowak added keyword "virtualization" to this project.
  • about 7 years ago: michalnowak started this project.
  • about 7 years ago: michalnowak originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    QJobViewer by apappas

    [comment]: # (Please use the project descriptio...


    Test Results for openQA on GitHub by livdywan

    Project Description

    Jobs in openQA are us...


    mikrolite - a cli to create lighweight Kubernetes clusters using microvms by rcase

    [comment]: # (Please use the project descriptio...


    Plan 9 filesystem support in GRUB by ptesarik

    [comment]: # (Please use the project descriptio...