Project

General

Profile

Actions

action #111161

closed

coordination #103323: [epic] BCI testing

BCI: Combine podman and docker jobs into single job

Added by jlausuch over 2 years ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2022-05-16
Due date:
% Done:

0%

Estimated time:

Description

Currently, we are testing images with podman and docker using different jobs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP3&build=_15-SP3_26.9_minimal&groupid=409
which sums up to ~40 jobs per image...

At the beginning there was only base image, and not many updates. Today we have 20+ different images, so we could find a way to not spam openQA with so many jobs.
Since we need to boot different Host versions to validate each container image, we can't group those jobs. However, we could group the jobs using the same qcow.

e.g. bci_on_SLES_15-SP3_host_podman and bci_on_SLES_15-SP3_host_docker could be just bci_on_SLES_15-SP3_host and we run docker and podman tests in the same job. If we see that there are problems when using podman and docker at the same time, we can also use snapshots in the jobs, but running docker and podman together should be supported.

This way, we can tell which engines to run from the container-release-bot. For example, init and pcp images are not supported with docker and we are just running the jobs and skipping the test, it would be more efficient to not run docker tests at all.


Related issues 1 (0 open1 closed)

Related to Containers and images - action #112754: Combine Kubernetes tests for BCI images into single jobResolvedilausuch2022-06-20

Actions
Actions #1

Updated by jlausuch over 2 years ago

  • Related to action #112754: Combine Kubernetes tests for BCI images into single job added
Actions #2

Updated by jlausuch over 2 years ago

  • Subject changed from BCI: Reduce number of jobs triggered per container image by grouping jobs together to BCI: Combine podman and docker jobs into single job
  • Description updated (diff)
Actions #3

Updated by pdostal over 2 years ago

In my opinion we should not run neither install Podman and Docker together.

Actions #4

Updated by jlausuch over 2 years ago

pdostal wrote:

In my opinion we should not run neither install Podman and Docker together.

In container image tests, we are already doing this in the autoyast profiles that create the HDDs:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/containers/autoyast_containers.xml.ep#L112
and there was never a problem.

Actions #5

Updated by mdati over 2 years ago

  • Assignee set to mdati
Actions #6

Updated by jlausuch over 2 years ago

  • Status changed from Workable to In Progress
Actions #7

Updated by mdati over 2 years ago

  • Status changed from In Progress to Feedback

After studied the needed changes, by means of a simplified mockup version, the current evidence is that it would imply to modify code parts in many modules (mainly main_containers.pm, bci_prepare.pm, bci_repo.pm, bci_test.pm, host_configuration.pm) basically because of inter-dependencies with the CONTAINER_RUNTIME parameter.

A double check on the status is needed.

Actions #8

Updated by jlausuch over 2 years ago

  • Status changed from Feedback to In Progress
  • Assignee changed from mdati to jlausuch

I'm taking this over.

Actions #9

Updated by jlausuch over 2 years ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by ph03nix about 2 months ago

  • Tags set to containers
Actions

Also available in: Atom PDF