Debian: Build system programming error related to subprocess.Popen error handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
M. Vefa Bicakci |
Bug Description
Brief Description
-----------------
The Debian-based StarlingX build system has a minor programming error related to the handling of exceptions raised by the "subprocess.Popen" constructor and the "subprocess.
try:
process = subprocess.
# process.wait()
outs, errs = process.
except Exception:
outs, errs = process.
raise Exception(f'[ Failed - "{cmd}" ]')
If subprocess.
Here is the code review page where my colleague Davlet Panech noticed this issue:
https:/
This issue appears to be a day-1 Debian-based StarlingX build issue.
Severity
--------
Minor: This is a minor issue affecting error handling in low-probability scenarios.
Note
----
I did not fill out the full bug report template. This bug report exists just so that I (or another colleague) can publish a commit fixing this issue.
Changed in starlingx: | |
assignee: | nobody → M. Vefa Bicakci (vbicakci) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.build stx.debian |
tags: | added: stx.8.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /858434
Review: https:/