Project

General

Profile

Actions

action #154930

closed

Expand buildah test to Docker

Added by rbranco 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-02-05
Due date:
% Done:

100%

Estimated time:

Description

Background

A recent regression from an API incompatibility between docker and buildah/skopeo in https://bugzilla.suse.com/show_bug.cgi?id=1219563 shows us that we don't test buildah with docker.

We should check if we can extend our buildah test to use docker. This also motivates to separate the buildah part to be an independent test module, which can be run for podman and for docker independently.

Acceptance criterium

  • Expand buildah test to use docker
  • Refactor the buildah part to be a separate test module
  • Factory first principle applies

References


Related issues 1 (0 open1 closed)

Related to Containers - action #154933: Create test for skopeoResolvedetchubykalo2024-02-05

Actions
Actions #1

Updated by ph03nix 5 months ago

Actions #2

Updated by ph03nix 5 months ago

  • Description updated (diff)
Actions #3

Updated by ph03nix 5 months ago

  • Priority changed from Normal to Low
Actions #4

Updated by pherranz 5 months ago

  • Assignee set to pherranz
Actions #5

Updated by rbranco 5 months ago

I would put the priority to Normal or even High considering that we're going to ship Docker 25 in the near future.

Actions #6

Updated by pherranz 5 months ago

I'm still reading about buildah and thinking about how to approach this ticket

Actions #7

Updated by rbranco 5 months ago

From https://bugzilla.suse.com/show_bug.cgi?id=1219563#c2 this command should not fail:

buildah from docker-daemon:registry.suse.com/bci/bci-base:15.5

So I guess adding a test for this bug would be as easy as just adding an assert_script_run for that command.

To make it run with docker just add the loadtest 'containers/buildah' ... line in load_host_tests_podman() to load_host_tests_docker().

No additional refactoring needed because buildah is already its own module.

Actions #8

Updated by pherranz 4 months ago

  • Status changed from Workable to In Progress
Actions #9

Updated by pherranz 4 months ago

Actions #10

Updated by pherranz 4 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by ph03nix 4 months ago

  • Status changed from Resolved to In Progress

Re-opening due to failures in 15-SP3 JeOS: https://openqa.suse.de/tests/13622254

Actions #12

Updated by pherranz 4 months ago

  • Assignee changed from pherranz to ph03nix

Assigning to @ph03nix

Actions #13

Updated by ph03nix 4 months ago

https://bugzilla.suse.com/show_bug.cgi?id=1220568 but we need to fix the test code as well.

Actions #15

Updated by ph03nix 4 months ago

  • Priority changed from Low to Normal
Actions #16

Updated by ph03nix 4 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF