Brief Description
-----------------
Docker image sriov-fec-daemon [1] fails to compile. It is based on ubi:9.3, and attempts to install specific package versions from ubi repos, that seem to have disappeared since the Dockerfile [2] was created.
[1] https://opendev.org/starlingx/app-sriov-fec-operator/src/branch/master/sriov-fec-operator-images/debian/sriov-fec-daemon.stable_docker_image
[2] https://github.com/smart-edge-open/sriov-fec-operator/blob/02565627335dc5f55a12f648182de7a29282b93e/Dockerfile.daemon#L30
Severity
--------
Major
Steps to Reproduce
------------------
Try to build sriov-fec-daemon
Expected Behavior
------------------
Build succeeds
Actual Behavior
----------------
Build fails
Reproducibility
---------------
Seen once
System Configuration
--------------------
N/A
Branch/Pull Time/Commit
-----------------------
master/2024-05-01
Last Pass
---------
master/2024-04-30
Timestamp/Logs
--------------
From Jenkins: https://mirror.starlingx.windriver.com/mirror/starlingx/master/debian/monolithic/20240501T060054Z/logs/build-docker-images-stable.log.txt
[2024-05-01T13:07:14.380Z] Building sriov-fec-daemon
<...>
[2024-05-01T13:08:55.646Z] Step 13/40 : FROM registry.access.redhat.com/ubi9/ubi:9.3 as package_installer
[2024-05-01T13:08:55.646Z] 9.3: Pulling from ubi9/ubi
[2024-05-01T13:08:55.646Z] 1153e061da4e: Pulling fs layer
[2024-05-01T13:08:55.646Z] 1153e061da4e: Verifying Checksum
[2024-05-01T13:08:55.646Z] 1153e061da4e: Download complete
[2024-05-01T13:09:00.843Z] 1153e061da4e: Pull complete
[2024-05-01T13:09:00.843Z] Digest: sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072
[2024-05-01T13:09:00.843Z] Status: Downloaded newer image for registry.access.redhat.com/ubi9/ubi:9.3
[2024-05-01T13:09:00.843Z] ---> 8d2a8803cfca
[2024-05-01T13:09:00.843Z] Step 14/40 : RUN yum install -y ethtool-6.2-1.el9 gcc-11.4.1-2.1.el9 kmod-28-9.el9 pciutils-3.7.0-5.el9 procps-ng-3.3.17-13.el9 make-4.3-7.el9 wget-1.21.1-7.el9 && yum clean all && wget --progress=dot:giga -O zlib-1.2.13.tar.gz https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz && tar xzvf zlib-1.2.13.tar.gz
[2024-05-01T13:09:02.187Z] ---> Running in 6cc04a985116
[2024-05-01T13:09:03.098Z] Updating Subscription Management repositories.
[2024-05-01T13:09:03.098Z] Unable to read consumer identity
[2024-05-01T13:09:03.098Z]
[2024-05-01T13:09:03.098Z] This system is not registered with an entitlement server. You can use subscription-manager to register.
[2024-05-01T13:09:03.098Z]
[2024-05-01T13:09:03.648Z] Red Hat Universal Base Image 9 (RPMs) - BaseOS 994 kB/s | 515 kB 00:00
[2024-05-01T13:09:04.199Z] Red Hat Universal Base Image 9 (RPMs) - AppStre 4.4 MB/s | 2.0 MB 00:00
[2024-05-01T13:09:05.110Z] Red Hat Universal Base Image 9 (RPMs) - CodeRea 582 kB/s | 192 kB 00:00
[2024-05-01T13:09:05.360Z] No match for argument: gcc-11.4.1-2.1.el9
[2024-05-01T13:09:05.360Z] No match for argument: procps-ng-3.3.17-13.el9
[2024-05-01T13:09:05.360Z] No match for argument: make-4.3-7.el9
[2024-05-01T13:09:05.360Z] Error: Unable to find a match: gcc-11.4.1-2.1.el9 procps-ng-3.3.17-13.el9 make-4.3-7.el9
[2024-05-01T13:09:05.911Z] The command '/bin/sh -c yum install -y ethtool-6.2-1.el9 gcc-11.4.1-2.1.el9 kmod-28-9.el9 pciutils-3.7.0-5.el9 procps-ng-3.3.17-13.el9 make-4.3-7.el9 wget-1.21.1-7.el9 && yum clean all && wget --progress=dot:giga -O zlib-1.2.13.tar.gz https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz && tar xzvf zlib-1.2.13.tar.gz' returned a non-zero code: 1
[2024-05-01T13:09:05.911Z] make: *** [Makefile:196: image-sriov-fec-daemon] Error 1
Test Activity
-------------
N/A
Workaround
----------
N/A
Fix proposed to branch: master /review. opendev. org/c/starlingx /app-sriov- fec-operator/ +/918015
Review: https:/