build-tools: libvirt docker image fails to build

Bug #2016907 reported by Davlet Panech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Scott Little

Bug Description

Brief Description
-----------------
Libvirt causes errors when trying to build docker images. Probably caused by a recent split of libvirt & qemu from the integ repo (https://review.opendev.org/q/topic:virt-repo) -- it looks like the image.inc files were not updated.

Severity
--------
Major

Steps to Reproduce
------------------
* Build the packages
* Build the base image
* Build wheels
* Build docker images

Expected Behavior
------------------
Docker images build script succeeds

Actual Behavior
----------------
Docker images build script fails.

Reproducibility
---------------
Seen once

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

Branch/Pull Time/Commit
-----------------------
master/2023-04-18

Last Pass
---------
master/2023-04-17

Timestamp/Logs
--------------

11:01:08 >>> running builder pod command:
11:01:08 cd $MY_REPO/build-tools/build-docker-images && ./build-stx-images.sh --os-label=debian --attempts=3 --stream=stable --no-pull-base --version=2023-04-18_09-50-39 --prefix=master --user=wind-river --latest --base=admin-2.cumulus.wrs.com:30093/wind-river/stx-debian:master-stable-2023-04-18_09-50-39 --registry=admin-2.cumulus.wrs.com:30093 --cache --only=wra-elasticsearch,elastic-services,wra-ui,wra-elasticsearch,elastic-services,wra-ui,,wra-kibana --push --os=debian
11:01:08 STX-k8s - INFO: Running: kubectl -n jenkins-wra-master-debian get pods --selector 'app.kubernetes.io/instance=wra-master-debian,app.kubernetes.io/name=stx-builder' | tail -n +2 | awk '{print $1}'
11:01:08 STX-Shell - DEBUG: Running command: kubectl -n jenkins-wra-master-debian exec --stdin wra-master-debian-stx-builder-675bc89f7b-ss65j -- bash -l -c 'runuser -u $MYUNAME -- bash --norc -c '"'"'source /home/$MYUNAME/userenv && { cd $MY_REPO/build-tools/build-docker-images && ./build-stx-images.sh --os-label=debian --attempts=3 --stream=stable --no-pull-base --version=2023-04-18_09-50-39 --prefix=master --user=wind-river --latest --base=admin-2.cumulus.wrs.com:30093/wind-river/stx-debian:master-stable-2023-04-18_09-50-39 --registry=admin-2.cumulus.wrs.com:30093 --cache --only=wra-elasticsearch,elastic-services,wra-ui,wra-elasticsearch,elastic-services,wra-ui,,wra-kibana --push --os=debian ; }'"'"''
11:01:16 ERROR: /localdisk/designer/jenkins/wra-master-debian/do-not-build/stx/integ/virt/libvirt/debian/*.stable_docker_image: file not found
11:01:16 ERROR: /localdisk/designer/jenkins/wra-master-debian/do-not-build/stx/integ/debian_stable_docker_images.inc: referenced here
11:01:16 command terminated with exit code 1

Test Activity
-------------

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

Scott Little (slittle1)
Changed in starlingx:
assignee: nobody → Scott Little (slittle1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (master)

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

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to virt (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/integ/+/880770
Committed: https://opendev.org/starlingx/integ/commit/66cc3ae0e20c25f217f1dbafccf15489022179fc
Submitter: "Zuul (22348)"
Branch: master

commit 66cc3ae0e20c25f217f1dbafccf15489022179fc
Author: Scott Little <email address hidden>
Date: Tue Apr 18 12:38:22 2023 -0400

    Update debian_stable_docker_images.inc to reflect libvirt relocation

    A recent update relocated package libvirt from the 'integ' git repo
    to the 'virt' git repo, but failed to update the docker image
    packaging.

    Testing:
       build-stx-images.sh: pass

    Closes-bug: 2016907
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: I4d8a3cca890d5945a741570e587ff481ae0a25bd

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to virt (master)

Reviewed: https://review.opendev.org/c/starlingx/virt/+/880771
Committed: https://opendev.org/starlingx/virt/commit/49d796e61f365aa462d662b0c1b751c53d8eac56
Submitter: "Zuul (22348)"
Branch: master

commit 49d796e61f365aa462d662b0c1b751c53d8eac56
Author: Scott Little <email address hidden>
Date: Tue Apr 18 12:50:09 2023 -0400

    Update debian_stable_docker_images.inc to reflect libvirt relocation

    A recent update relocated package libvirt from the 'integ' git repo
    to the 'virt' git repo, but failed to update the docker image
    packaging.

    Testing:
        build-stx-images.sh: pass

    Closes-bug: 2016907
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: I7d650ee1257c703a3514b6f4c348e4020d138ed1

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.9.0 stx.build
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.