Project

General

Profile

action #94255

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 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2021-06-18
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

History

#1 Updated by ilausuch 3 months ago

  • Subject changed from Improve the speed of the containers test in the IC & tests to containers: Improve the speed of the containers test in the IC & tests

#2 Updated by okurz 3 months ago

  • Priority changed from Normal to Low
  • Target version set to future
  • Parent task set to #80142

What is "IC"? I guess you mean CI?

#3 Updated by cdywan 3 months ago

  • Subject changed from containers: Improve the speed of the containers test in the IC & tests to containers: Improve the speed of the container test in CI

Also available in: Atom PDF