Project

General

Profile

Actions

action #178636

closed

[docker] dont use deprecated legacy builder to build container images

Added by mloviska about 1 month ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
2025-03-11
Due date:
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario sle-15-SP2-Server-DVD-Updates-x86_64-docker_tests@64bit fails in
docker

Test suite description

The base test suite is used for job templates defined in YAML documents. It has no settings of its own.

Update the test code accordingly, so we are not using legacy docker tooling when it is not necessary

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  3.584kB

Step 1/6 : FROM registry.opensuse.org/opensuse/bci/python:latest
 ---> 6bf4c0afa0c1
Step 2/6 : WORKDIR /srv/www/
 ---> Using cache
 ---> afb99ddcb676
Step 3/6 : COPY . .
 ---> Using cache
 ---> d6538aaa3501
Step 4/6 : EXPOSE 80
 ---> Using cache
 ---> 759217f45f22
Step 5/6 : ENV WORLD_VAR Arda
 ---> Using cache
 ---> abba786ad683
Step 6/6 : ENTRYPOINT "./www.py"
 ---> Using cache
 ---> a0513c8f35d9
Successfully built a0513c8f35d9
Successfully tagged myapp:latest

Reproducible

Fails since (at least) Build 20250310-1

Expected result

Last good: 20250309-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by mloviska about 1 month ago

  • Project changed from openQA Tests (public) to Containers and images
  • Category deleted (Bugs in existing tests)
Actions #2

Updated by mloviska about 1 month ago

  • Tags set to containers
Actions #3

Updated by rbranco about 1 month ago

  • Assignee set to rbranco

I added the buildx test that is now limited to Tumbleweed:
https://progress.opensuse.org/issues/134468

Perhaps we should extend this test to SLE as part of this ticket.

For context:
https://suse.slack.com/archives/C02DR0C5XUY/p1692622933559239

Actions #4

Updated by rbranco about 1 month ago

Opened bug about missing docker-buildx package in SLE 16.0 and SLEM != 5.5:
https://bugzilla.suse.com/show_bug.cgi?id=1239683

Actions #6

Updated by rbranco about 1 month ago

  • Status changed from New to In Progress
Actions #7

Updated by rbranco about 1 month ago

docker-buildx doesn't work with containers-suseconnect:
https://bugzilla.suse.com/show_bug.cgi?id=1233819

Actions #9

Updated by rbranco about 1 month ago

  • Status changed from In Progress to Rejected

Dan states that this package shouldn't be part of any SLES release:

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21482#pullrequestreview-2690032925

Actions

Also available in: Atom PDF