build-pkgs: "exit on failure" feature broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
hqbai |
Bug Description
Brief Description
-----------------
The "-e" option ("exit on fail") of build-pkgs script doesn't work.
Severity
--------
Minor
Steps to Reproduce
------------------
(Approximate)
* create a package that fails during the build
* try to build it with "-e"
Expected Behavior
------------------
build-pkgs exits immediately upon encountering a build error
Actual Behavior
----------------
build-pkgs keeps trying to build the package (and any other packages, depending on the command line args).
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2024-02-22
Last Pass
---------
Unknown
Timestamp/Logs
--------------
N/A
Test Activity
-------------
N/A
Workaround
----------
* Terminate the script with "CTRL+C".
* Exit "stx shell" and run "stx-init-env --reset". Reason: CTRL+C may corrupt the chroot and confuse the pkg-builder container, the "stx-init-env --reset" will fix it.
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.build |
Changed in starlingx: | |
assignee: | nobody → hqbai (hbai) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /910370
Review: https:/