Failed to build stx-libvirt based on stx-debian image

Bug #1999898 reported by Thales Elero Cervi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Thales Elero Cervi

Bug Description

Brief Description
-----------------
Latest debian docker images build job failed to build the recently added stx-libvirt due to missing packages.

http://mirror.starlingx.cengn.ca/mirror/starlingx/master/debian/monolithic/20221215T070000Z/

Severity
--------
Minor: docker image did not build

Steps to Reproduce
------------------
* Checkout to master
* Try to build the stx-libvirt image:
$ docker build /localdisk/designer/jenkins/debian-master/cgcs-root/stx/integ/virt/libvirt/debian/docker --file /localdisk/designer/jenkins/debian-master/cgcs-root/stx/integ/virt/libvirt/debian/docker/Dockerfile --build-arg BASE=starlingx/stx-debian:master-stable-20221215T070000Z --tag jenkins/stx-libvirt:master-debian-stable-build

Expected Behavior
------------------
Image builds successfully.

Actual Behavior
----------------
Image fails to build.

Reproducibility
---------------
Reproducible

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

Branch/Pull Time/Commit
-----------------------
cengn starlingx/master/debian/monolithic/20221215T070000Z/

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

Timestamp/Logs
--------------
[2022-12-15T16:23:58.503Z] E: Unable to locate package cgroup-tools
[2022-12-15T16:23:58.503Z] E: Unable to locate package libcgroup1
[2022-12-15T16:23:58.754Z] The command '/bin/sh -c apt-get -y update && apt-get -y install ceph-common dmidecode iptables iproute2 cgroup-tools libcgroup1 libnss-libvirt libvirt0 libvirt-clients libvirt-daemon libvirt-daemon-config-network libvirt-daemon-config-nwfilter libvirt-daemon-driver-lxc libvirt-daemon-driver-qemu libvirt-daemon-driver-storage-gluster libvirt-daemon-system libvirt-daemon-system-systemd libvirt-login-shell pm-utils qemu qemu-block-extra qemu-system-common qemu-system-data qemu-system-x86 qemu-guest-agent openvswitch-common openvswitch-switch openvswitch-switch-dpdk python3-openvswitch && apt-get -y clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[2022-12-15T16:23:58.754Z] Command (docker) failed, attempt 3 of 3.
[2022-12-15T16:23:58.754Z] Max command attempts reached. Aborting...
[2022-12-15T16:23:58.754Z] Failed to build stx-libvirt... Aborting
[2022-12-15T16:23:58.754Z] Building rvmc

Test Activity
-------------
Build

Workaround
----------
None

Changed in starlingx:
assignee: nobody → Thales Elero Cervi (tcervi)
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/+/867976

Changed in starlingx:
status: New → In Progress
description: updated
tags: added: stx.8.0 stx.containers stx.distro.openstack
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

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

commit 33c30821319b10371241711da8c37fcb6fb0903f
Author: Thales Elero Cervi <email address hidden>
Date: Fri Dec 16 11:44:31 2022 -0300

    Add stx-libvirt missing dependencies

    This change adds the missing packages required to build the stx-libvirt
    image based on stx-debian.
    Those where missing and now when building the Docker image we can
    download it from our local repository.

    Test Plan:
    PASS - Run downloader -b -s
    PASS - Build stx-libvirt image

    Closes-Bug: 1999898

    Signed-off-by: Thales Elero Cervi <email address hidden>
    Change-Id: Ie8c6d17cf8291a1dd55210ebe079eb25ec4d1a39

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
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.