action #154930
closedExpand buildah test to Docker
100%
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¶
Updated by ph03nix 5 months ago
- Related to action #154933: Create test for skopeo added
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.
Updated by pherranz 4 months ago
All tests green, pending to be merged :)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18677
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
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.