build: sriov-fec-daemon: fails to compile

Bug #2064532 reported by Davlet Panech
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Nidhi Shivashankara Belur

Bug Description

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

Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Nidhi Shivashankara Belur (nshivash)
Ghada Khalil (gkhalil)
tags: added: stx.10.0 stx.build stx.containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to app-sriov-fec-operator (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to app-sriov-fec-operator (master)

Reviewed: https://review.opendev.org/c/starlingx/app-sriov-fec-operator/+/918015
Committed: https://opendev.org/starlingx/app-sriov-fec-operator/commit/48aec685a7e99d9488a4b107006555ac0cba3de5
Submitter: "Zuul (22348)"
Branch: master

commit 48aec685a7e99d9488a4b107006555ac0cba3de5
Author: Nidhi Shivashankara Belur <email address hidden>
Date: Thu May 2 15:59:29 2024 -0700

    Fix sriov-fec-daemon docker build issue

    - Replace commit ID with latest commit ID from the upstream source.

    Test Status:

    - PASS: Build all the SRIOV FEC Operator docker images using
      build-stx-images.sh script.

    Closes-Bug: 2064532

    Story: 2010975
    Task: 50030

    Signed-off-by: Nidhi Shivashankara Belur <email address hidden>
    Change-Id: I692632c54717aaa4d7663d4fc009245492808675

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.