Project

General

Profile

Actions

action #94255

open

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

containers: Improve the speed of the container test in CI

Added by ilausuch over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2021-06-18
Due date:
% Done:

0%

Estimated time:

Description

Motivation

The container testing has two main parts: build + run containers.
The building process consume a lot of time and we saw recently several failures because of timeouts #93713
The building process takes a lot of time installing packages with zypper (we don't have metrics yet, but is human observation).

Acceptance criteria

  • AC 1: Decrease the time to run the container tests

Suggestions

Because we want to focus on test openQA itself and not the packages we install in our system, I suggest to focus only on open QA testing, and don't care too much about the required packages.
For that, I suggest split each container images in two parts (two different Dockerfiles). One Dockerfile will prepare the base system with the installation of all the packages. The other Docker file will run the openQA code for testing.
The base image could be created during the test, but most interesting, I think is that, we can use a pre build image created by OBS (or other service) every day (or with the frequency we decided) and uploaded tom some registry

Actions

Also available in: Atom PDF