k8s-coredump fails to build in clean debian env

Bug #1991114 reported by Al Bailey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Al Bailey

Bug Description

Brief Description
-----------------
k8s-coredump python module fails to build in a clean debian env.

Severity
--------
Major

Steps to Reproduce
------------------
Setup a fresh build env, and try to build k8scoredump

Expected Behavior
------------------
It should work

Actual Behavior
----------------
It fails

Reproducibility
---------------
100% (if the env is clean)

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

Branch/Pull Time/Commit
-----------------------
Sept 28, 2022

Last Pass
---------
The code only merged on Sept 27, 2022

Timestamp/Logs
--------------
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpliv3fdei', '--quiet', 'pbr>=2.0.0']' returned non-zero exit status 1.

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

Workaround
----------
None really. A review is coming

Al Bailey (albailey1974)
Changed in starlingx:
assignee: nobody → Al Bailey (albailey1974)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to utilities (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/859616
Committed: https://opendev.org/starlingx/utilities/commit/476e88f583243bce347ee2983ba3789195c03763
Submitter: "Zuul (22348)"
Branch: master

commit 476e88f583243bce347ee2983ba3789195c03763
Author: Al Bailey <email address hidden>
Date: Wed Sep 28 13:48:16 2022 +0000

    Debian: Fix a k8s-coredump build break in clean env

    In a clean build env the k8s-coredump component
    may fail to build when calling its pip command, which
    references pbr.

    The fix is to include python3-pbr as a build requirement

    Closes-Bug: 1991114
    Signed-off-by: Al Bailey <email address hidden>
    Change-Id: I29feb7d7f0a9f7fe2416c0cb9df32043991c58ed

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.8.0 stx.build stx.debian stx.tools
tags: removed: stx.tools
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.