action #80962
closedos-autoinst development container image is still based on 15.1 but repo is switched to 15.2 already
Description
Motivation¶
I don't like that with every dot-version release of Leap we forget something and we run into inconsistencies so I prefer to use Tumbleweed as base for all containers we do. We still run tests on a Leap base in OBS and in recent months there were no problems due to Leap vs. Tumbleweed. Currently our base container is still based on Leap 15.1 but we did not realize.
https://build.opensuse.org/package/show/devel:openQA/os-autoinst_dev has only 15.2 enabled with a new name for the repo "containers15.2". We can either hardcode the version in the git repo as well or switch to Tumbleweed.
Acceptance criteria¶
- AC1: base image is based on a current OS version, e.g. Tumbleweed or Leap
Impact¶
blocking https://github.com/os-autoinst/os-autoinst/pull/1576 with #66721
Updated by okurz about 4 years ago
- Status changed from In Progress to Feedback
Updated by okurz about 4 years ago
Maybe we also need a patched qemu version for openSUSE Tumbleweed. But the link from openSUSE Leap 15.2 fails to build in https://build.opensuse.org/package/live_build_log/devel:openQA:ci/qemu/openSUSE_Tumbleweed/x86_64
I will try with a link with an updated package name.
Did osc linkpac openSUSE:Factory qemu devel:openQA:ci qemu-disabled-membarrier-Factory
. The new version from Factory has a build condition:
%if %{with system_membarrier}
--enable-membarrier \
%else
--disable-membarrier \
%endif
so we should be able to set a variable (or unset?). Currently building.
https://github.com/os-autoinst/os-autoinst/pull/1586
disabled the build of "qemu" for repo "openSUSE_Factory" which is a link to Leap 15.1 (!) in https://build.opensuse.org/package/meta/devel:openQA:ci/qemu with:
<build>
<disable repository="openSUSE_Tumbleweed"/>
</build>
and correspondingly disabled the build of "qemu-disabled-membarrier-Factory" which is a link to Factory and does not build for Leap 15.2 in https://build.opensuse.org/package/meta/devel:openQA:ci/qemu-disabled-membarrier-Factory with:
<build>
<disable repository="openSUSE_Leap_15.2"/>
</build>
All packages in https://build.opensuse.org/project/show/devel:openQA:ci built fine. The internal test suite of qemu for the Factory version is still building.
I have created https://github.com/os-autoinst/os-autoinst/pull/1576/commits/639b96c1e19c6fec15a7574d16d22cd1dcac6e3c to switch to 15.2 as a base as part of moving to GHA. As alternative i am trying a bigger step in https://github.com/os-autoinst/os-autoinst/pull/1586
The above mentioned switch to 15.2 I separated in https://github.com/os-autoinst/os-autoinst/pull/1588
Updated by okurz about 4 years ago
https://github.com/os-autoinst/os-autoinst/pull/1588 merged, moved to Leap 15.2. Created a corresponding PR for os-autoinst-distri-opensuse with https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11602
AC1 covered but I want to go to Tumbleweed if we can:
https://github.com/os-autoinst/os-autoinst/pull/1586 rebased
Updated by okurz almost 4 years ago
PR still open. But also created https://github.com/os-autoinst/os-autoinst/pull/1612 as a single-commit PR for the rename of the container path after I had also changed the directory path from "docker" to "container" to be more generic.
Updated by okurz almost 4 years ago
The latter was merged and adjusted. Updated https://github.com/os-autoinst/os-autoinst/pull/1586 but there was no feedback by one else yet.
Updated by okurz almost 4 years ago
PR merged. Adjusted https://build.opensuse.org/package/meta/devel:openQA/os-autoinst_dev to use "containers" instead of "containers15.2"
Updated by okurz almost 4 years ago
Created a simple PR https://github.com/os-autoinst/os-autoinst/pull/1617 to test the new development image
Updated by okurz almost 4 years ago
This seems to get CI jobs stuck. Trying with an even simpler PR https://github.com/os-autoinst/os-autoinst/pull/1618