Project

General

Profile

Actions

action #155857

open

Create podman migration scenario

Added by ph03nix 5 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-04-01
Due date:
% Done:

0%

Estimated time:
Tags:

Description

We need to establish a new migration scenario to check if existing podman container can be migrated from one SLEM version to the next one.

Our current test design doesn't allow this, because in each test module we create resources and also delete them. We need a new scenario, in which we have a preparation and a validation test module. The purpose is to generate podman containers, validate them, perform the migration and then validate them again.

Test scenario

  • Generate two new test modules: testenv_prepare and testenv_validate
  • In testenv_prepare we should generate some containers using the existing system configuration. e.g. A single Tumbleweed container and a pod consisting of two containers, which depend on each other
  • In testenv_validate we check, if the expected containers and pods are present, and if they are functioning

The idea is that one can create different scenarios using those two test modules, e.g.

  • Installation
  • testenv_prepare
  • testenv_validate

But also a migration scenario like

  • Installation
  • testenv_prepare
  • testenv_validate
  • System update/System migration
  • testenv_validate

Acceptance criteria

  • Generate the test modules according to the plan above
  • Integrate the new test modules in O3 - The container-host2microosnext scenario would be a good candidate
Actions

Also available in: Atom PDF