build-pkg pkg-name of std pkg causes rt build failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Scott Little |
Bug Description
Title
-----
build-pkg pkg-name of std pkg causes rt build failure
Brief Description
-----------------
Designer issues 'build-pkg pkg-name' where pkg-name is only valid for std builds.
Expected result is that only 'std' build is executed on the named package.
What is observed is that aftes a successful std build, an 'rt' build is
executed with an invalid package list causing a failure.
The package is built correctly, but command returns 1.
This breaks scripts that test build-pkgs return code.
Severity
--------
Major
Steps to Reproduce
------------------
build-pkg shim-signed
echo $?
Expected Behavior
------------------
No rt build attempt, and return code 0
Actual Behavior
----------------
An unneeded rt build attemp after the std build.
rt build failes due to invalid target.
Final return code is 1.
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master
stx-root: b20ac0164dd830e
build-pkgTimest
--------------
15:46:26 build-rpms-parallel --std --no-descendants --no-build-info --no-required --careful shim-signed
15:46:26 ALL=0
15:46:42 Find the list of packages we must compile
15:46:42 waiting
15:46:42 Including named target '/localdisk/
15:46:42 Including named target '/localdisk/
15:46:42 found shim-signed: /localdisk/
15:46:42 SRPMS_TO_COMPILE = shim-signed
...
15:52:44 Pkgs built: 1
15:52:44 Packages successfully built in this order:
15:52:44 /localdisk/
...
15:53:34 build-srpms-
15:53:34 make: all
...
15:53:44 ERROR: reaper (1286): Failed to build src.rpm from source at 'b2'
15:53:44
######## Tue Sep 25 15:53:44 EDT 2018: build-srpm-parallel --rt failed with rc=1
Tue Sep 25 15:53:44 EDT 2018: build-srpm-parallel --rt failed with rc=1
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
importance: | Undecided → High |
description: | updated |
tags: | added: stx.2018.10 stx.build |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Fix proposed to branch: master /review. openstack. org/605458
Review: https:/