Skip to content

openQA Setup

Henne Vogelsang edited this page Jun 18, 2019 · 19 revisions

openQA is an automated test tool for operating systems and the engine at the heart of openSUSE’s automated testing initiative.

We have an openQA project in the reference installation of openSUSE. Currently we test the Unstable and 2.8/2.9/2.10 appliances there.

Trigger

To trigger a job we run the schedule-obs.sh script on the bs-team server scheduled via a cron job. The keys used to connect to openQA are stored in ~/.config/openqa/client.conf.

Test Suite

The openQA distribution tests for OBS are located in the os-autoinst organization in the os-autoinst-distri-obs repository. This basically boots the OBS appliance and runs a smoketest of the webui. The webui tests are located in the dist/t/spec/ directory.

Notifications

We send out email notifications for every test result in openQA. Currently we run 'Unstable', '2.9' and '2.8'. The emails are triggered via this script openQA_mail_notification.rb which runs in /tmp on the bs team server via a cron job.

Adding a new version

If you need to add a new version to openQA you need to create a new product/medium based on the other obs products, then add this medium to our job group and redeploy the trigger script. You need to be openQA "administrator" permissions to be able to do this.

Clone this wiki locally