f/antelope: build-docker-images: Failed to build stx-debian-dev and stx-debian-tools-dev

Bug #2036285 reported by Luan Nunes Utimura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Luan Nunes Utimura

Bug Description

Brief Description
-----------------
After moving OPAE tools package dependencies to the `flock` layer [1], it has been observed that the `stx-debian-dev` and `stx-debian-tools-dev` container images are failing to build. Turns out that the majority of the depedencies should have stayed in the `containers` layer.

[1] https://review.opendev.org/c/starlingx/tools/+/893561

Severity
--------
Major.

Steps to Reproduce
------------------
Run `$MY_BUILD_TOOLS_DIR/build-docker-images/build-stx-images.sh --os debian --base <user>/stx-debian:<tag> --no-pull-base --wheels $MY_WORKSPACE/std/build-wheels-debian-stable/stx-debian-stable-wheels.tar --only {stx-debian-dev,stx-debian-tools-dev}`

Expected Behavior
------------------
Both images are built.

Actual Behavior
----------------
Both images fail to build.

Reproducibility
---------------
Reproducible.

System Configuration
--------------------
N/A.

Branch/Pull Time/Commit
-----------------------
Reproducible on `f/antelope` branch.

Last Pass
---------
N/A.

Timestamp/Logs
--------------
```
Reading state information...
E: Unable to locate package libhwloc-dev
E: Unable to locate package python3-intelhex
E: Unable to locate package python3-pybind11
The command '/bin/sh -c set -ex && apt-get update -y && apt-get upgrade -y && apt-get install -y autoconf-archive autogen automake bash bc bison cmake curl doxygen dwarves fakeroot flex g++ gcc genisoimage gettext isomd5sum kmod libcap-dev libelf-dev libncurses-dev libhwloc-dev=1.11.12-3 libjson-c-dev libssl-dev linux-headers-5.10.0-6 linux-perf-5.10 make pciutils python-is-python3 python3-intelhex python3-pip python3-pybind11 python3-yaml rsync sphinx-common sphinx-doc sudo sysvinit-utils uuid-dev vim wget xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Command (docker) failed, attempt 1 of 1.
Max command attempts reached. Aborting...
Failed to build stx-debian-dev... Aborting
```

```
Reading state information...
E: Unable to locate package libhwloc-dev
E: Unable to locate package python3-intelhex
E: Unable to locate package python3-pybind11
The command '/bin/sh -c set -ex && apt-get update -y && apt-get upgrade -y && apt-get install -y autoconf-archive autogen automake bash bc bison cmake curl doxygen dwarves fakeroot flex g++ gcc genisoimage gettext isomd5sum kmod libcap-dev libelf-dev libncurses-dev libhwloc-dev=1.11.12-3 libjson-c-dev libssl-dev linux-headers-5.10.0-6 linux-perf-5.10 make pciutils python-is-python3 python3-intelhex python3-pip python3-pybind11 python3-yaml rsync sphinx-common sphinx-doc sudo sysvinit-utils uuid-dev vim wget xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Command (docker) failed, attempt 1 of 1.
Max command attempts reached. Aborting...
Failed to build stx-debian-tools-dev... Aborting
```

Test Activity
-------------
Developer Testing.

Workaround
----------
N/A.

tags: added: stx.9.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (f/antelope)

Fix proposed to branch: f/antelope
Review: https://review.opendev.org/c/starlingx/tools/+/895513

Changed in starlingx:
assignee: nobody → Luan Nunes Utimura (lutimura)
summary: - build-docker-images: stx-debian-dev and stx-debian-tools-dev are failing
- to build
+ f/antelope: build-docker-images: Failed to build stx-debian-dev and stx-
+ debian-tools-dev
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (f/antelope)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/895513
Committed: https://opendev.org/starlingx/tools/commit/ae6d6d70d2ab5f58e3d4e2ecf3b8b4035a38a2c9
Submitter: "Zuul (22348)"
Branch: f/antelope

commit ae6d6d70d2ab5f58e3d4e2ecf3b8b4035a38a2c9
Author: Luan Nunes Utimura <email address hidden>
Date: Fri Sep 15 16:37:02 2023 -0300

    Reorganize OPAE tools package dependencies

    After moving OPAE tools package dependencies to the `flock` layer [1],
    it has been observed that both `stx-debian-dev` and
    `stx-debian-tools-dev` container images are failing to build due to
    missing packages.

    Therefore, this change moves back some of the dependencies that should
    have stayed in the `containers` layer.

    Note: We do not need to add `libnuma-dev` back because it is already
          present in `common` layer's `base-bullseye.lst`, which is
          accessible during container image builds (deb-local-binary).

    [1] https://review.opendev.org/c/starlingx/tools/+/893561

    Test Plan:
    PASS - Run `downloader`
    PASS - Build `opae-sdk` package
    PASS - Build `python3-opae.admin` package
    PASS - Build `python3-opae.pacsign` package
    PASS - Build `stx-debian-dev` container image
    PASS - Build `stx-debian-tools-dev` container image

    Closes-Bug: 2036285

    Change-Id: I92c9a9f27c487610ef6c932d03b5e6eb0910d13f
    Signed-off-by: Luan Nunes Utimura <email address hidden>

tags: added: in-f-antelope
Changed in starlingx:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/896776

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/896776
Committed: https://opendev.org/starlingx/tools/commit/cd4dd1006139c1578489ceeec69a006df00c85ed
Submitter: "Zuul (22348)"
Branch: master

commit cd4dd1006139c1578489ceeec69a006df00c85ed
Author: Luan Nunes Utimura <email address hidden>
Date: Fri Sep 15 16:37:02 2023 -0300

    Reorganize OPAE tools package dependencies

    After moving OPAE tools package dependencies to the `flock` layer [1],
    it has been observed that both `stx-debian-dev` and
    `stx-debian-tools-dev` container images are failing to build due to
    missing packages.

    Therefore, this change moves back some of the dependencies that should
    have stayed in the `containers` layer.

    Note: We do not need to add `libnuma-dev` back because it is already
          present in `common` layer's `base-bullseye.lst`, which is
          accessible during container image builds (deb-local-binary).

    [1] https://review.opendev.org/c/starlingx/tools/+/893561

    Test Plan:
    PASS - Run `downloader`
    PASS - Build `opae-sdk` package
    PASS - Build `python3-opae.admin` package
    PASS - Build `python3-opae.pacsign` package
    PASS - Build `stx-debian-dev` container image
    PASS - Build `stx-debian-tools-dev` container image

    Closes-Bug: 2036285

    Change-Id: I92c9a9f27c487610ef6c932d03b5e6eb0910d13f
    Signed-off-by: Luan Nunes Utimura <email address hidden>
    (cherry picked from commit ae6d6d70d2ab5f58e3d4e2ecf3b8b4035a38a2c9)

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.