Project

General

Profile

Actions

action #80962

closed

os-autoinst development container image is still based on 15.1 but repo is switched to 15.2 already

Added by okurz over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Organisational
Target version:
Start date:
2020-12-10
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #2

Updated by okurz over 3 years ago

  • Status changed from In Progress to Feedback
Actions #3

Updated by okurz over 3 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

Actions #4

Updated by okurz over 3 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

Actions #5

Updated by okurz about 3 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.

Actions #6

Updated by okurz about 3 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.

Actions #7

Updated by okurz about 3 years ago

PR merged. Adjusted https://build.opensuse.org/package/meta/devel:openQA/os-autoinst_dev to use "containers" instead of "containers15.2"

Actions #8

Updated by okurz about 3 years ago

Created a simple PR https://github.com/os-autoinst/os-autoinst/pull/1617 to test the new development image

Actions #9

Updated by okurz about 3 years ago

This seems to get CI jobs stuck. Trying with an even simpler PR https://github.com/os-autoinst/os-autoinst/pull/1618

Actions #10

Updated by okurz about 3 years ago

  • Status changed from Feedback to Resolved

done

Actions

Also available in: Atom PDF