Title
-----
Example: Controller swact fails after Backup & Restore
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.
build-pkgTimestamp/Logs
--------------
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/loadbuild/jenkins/Titanium_R6_build/2018-09-25_12-49-42/std/rpmbuild/SPECS/shim-signed-12-1.tis.2.src.rpm/NAMES/shim-signed'
15:46:42 Including named target '/localdisk/loadbuild/jenkins/Titanium_R6_build/2018-09-25_12-49-42/std/rpmbuild/SPECS/shim-signed-12-1.tis.2.src.rpm/BUILDS/shim-signed'
15:46:42 found shim-signed: /localdisk/loadbuild/jenkins/Titanium_R6_build/2018-09-25_12-49-42/std/rpmbuild/SRPMS/shim-signed-12-1.tis.2.src.rpm
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/loadbuild/jenkins/Titanium_R6_build/2018-09-25_12-49-42/std/rpmbuild/SRPMS/shim-signed-12-1.tis.2.src.rpm
...
15:53:34 build-srpms-parallel --rt --no-descendants --no-build-info
15:53:34 make: all
...
15:53:44 ERROR: reaper (1286): Failed to build src.rpm from source at 'b2'
15:53:44
Title
-----
Example: Controller swact fails after Backup & Restore
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 ------- ------- -- da64426b076322d 7ac9365d20
-------
master
stx-root: b20ac0164dd830e
build-pkgTimest amp/Logs loadbuild/ jenkins/ Titanium_ R6_build/ 2018-09- 25_12-49- 42/std/ rpmbuild/ SPECS/shim- signed- 12-1.tis. 2.src.rpm/ NAMES/shim- signed' loadbuild/ jenkins/ Titanium_ R6_build/ 2018-09- 25_12-49- 42/std/ rpmbuild/ SPECS/shim- signed- 12-1.tis. 2.src.rpm/ BUILDS/ shim-signed' loadbuild/ jenkins/ Titanium_ R6_build/ 2018-09- 25_12-49- 42/std/ rpmbuild/ SRPMS/shim- signed- 12-1.tis. 2.src.rpm loadbuild/ jenkins/ Titanium_ R6_build/ 2018-09- 25_12-49- 42/std/ rpmbuild/ SRPMS/shim- signed- 12-1.tis. 2.src.rpm parallel --rt --no-descendants --no-build-info
--------------
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