Skip to content

openQA Setup

Eduardo J edited this page Jul 12, 2021 · 17 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 group of projects in the reference installation of openSUSE. Currently we test the Unstable and 2.10 appliances there.

Trigger

To trigger a job we run the obs-tools/openqa-trigger/schedule-obs.sh script on the bs-team server scheduled with docker-compose. The keys used to connect to openQA are retrieved from the obs-tools/openqa-trigger/client.conf file.

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.

If you want to run this test suite locally, you can follow our Run OpenQA smoketest locally.

Notifications

We send out email notifications for every test result in openQA. Currently we run 'Unstable' and '2.10'. 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