Actions
action #107806
closeddocker build fails - No provider of 'apache2' found due to container-suseconnect-zypp failure.
Start date:
2022-03-03
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
openQA test in scenario sle-15-Server-DVD-Updates-x86_64-docker_tests@64bit fails in
image_docker
I noticed it fails from time to time, a restart of the job normally helps, but it's worth to invest a bit in improving the code to handle this failure.
Maybe a script_retry
could help, but I guess we need to cleanup the half-created container before retrying...
# docker build -f /var/tmp/containerapp/BuildTest/Dockerfile -t myapp /var/tmp/containerapp/BuildTest; echo Ob1IB-$?-
Sending build context to Docker daemon 3.072kB
Step 1/7 : FROM zypper_docker_derived
---> 124e3f7c0f8a
Step 2/7 : RUN zypper -n in apache2 && zypper clean -a
---> Running in ac4289e3abc0
Refreshing service 'container-suseconnect-zypp'.
Removing repository 'SLES12-SP4-Debuginfo-Pool for sle-12-x86_64' [...done]
Removing repository 'SLES12-SP4-Debuginfo-Updates for sle-12-x86_64' [...done]
Removing repository 'SLES12-SP4-Pool for sle-12-x86_64' [...done]
Removing repository 'SLES12-SP4-Source-Pool for sle-12-x86_64' [...done]
Removing repository 'SLES12-SP4-Updates for sle-12-x86_64' [...done]
Problem retrieving the repository index file for service 'container-suseconnect-zypp':
[container-suseconnect-zypp|file:/usr/lib/zypp/plugins/services/container-suseconnect-zypp]
Warning: Skipping service 'container-suseconnect-zypp' because of the above error.
Loading repository data...
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Reading installed packages...
'apache2' not found in package names. Trying capabilities.
No provider of 'apache2' found.
The command '/bin/sh -c zypper -n in apache2 && zypper clean -a' returned a non-zero code: 104
Ob1IB-104-
Test suite description¶
The base test suite is used for job templates defined in YAML documents. It has no settings of its own.
Reproducible¶
Fails since (at least) Build 20220303-1 (current job)
Expected result¶
Last good: 20220302-1 (or more recent)
Further details¶
Always latest result in this scenario: latest
Actions