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
  • about 2 years ago: michalnowak added keyword "virtualization" to Add VirtualBox bootloader to openQA
  • about 2 years ago: michalnowak added keyword "virtualbox" to Add VirtualBox bootloader to openQA
  • about 2 years ago: michalnowak added keyword "openqa" to Add VirtualBox bootloader to openQA
  • about 2 years ago: michalnowak started Add VirtualBox bootloader to openQA
  • Show History

    Comments

    Be the first to comment!

    Similar Projects

    allow openQA tests in python by bmwiedemann

    using perl's Inline::Python module, it should b...


    Setup UEFI HTTPBoot with OVMF and try to write/run test on openQA by bchou

    HTTPBoot was added into UEFI SPEC since 2.5. It...


    openQA web UI improvements by asmorodskyi

    1. currently when you navigate to Test Results ...


    Add SUSE Manager virtualization management capabilities by cbosdonnat

    SUSE Manager can do some virtual machines manag...


    Native Xen support for RADOS Block devices by jfehlig

    libvirt+Xen should support the qdisk (qemu) rbd...