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 mad skills in:

openqa virtualbox virtualization

This project is part of:

Hack Week 15

Activity

  • almost 2 years ago: okurz liked Add VirtualBox bootloader to openQA
  • almost 2 years ago: michalnowak added keyword "virtualization" to Add VirtualBox bootloader to openQA
  • almost 2 years ago: michalnowak added keyword "virtualbox" to Add VirtualBox bootloader to openQA
  • almost 2 years ago: michalnowak added keyword "openqa" to Add VirtualBox bootloader to openQA
  • almost 2 years ago: michalnowak started Add VirtualBox bootloader to openQA
  • Show History

    Comments

    Be the first to comment!

    Similar Projects

    Stealing SCC RegCodes by dzedro

    SCC doesn't require an email address, so could ...


    Simulate SD card in software by algraf

    To make OpenQA work with real ARM devices, we n...


    Check p2v tool (guestfs) by aginies

    Test the latest release of guesfs tools, and ch...


    Bare Metal OpenQA by algraf

    Today OpenQA mostly runs on virtual machines, b...


    Improve openvswitch+libvirt+Xen by jfehlig

    openvswitch is used by cloud infrastructure (e....