Bug in make_patch_functions.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Don Penney |
Bug Description
Brief Description
-----------------
Patches that are marked as UNREMOVABLE in the patch xml can still be removed.
It appears there’s a bug in the formal patch code for this tag:
if 'UNREMOVABLE' in self.metadata:
This should be pf.meta.
Severity
--------
Minor - option is not widely used
Steps to Reproduce
------------------
- Build a patch with unremovable in the xml
<UNREMOVABLE>
- On a system, test that the patch cannot be removed
Expected Behavior
------------------
The patch cannot be removed
Actual Behavior
----------------
The patch can be removed
Reproducibility
---------------
Reproducible
System Configuration
-------
any
Branch/Pull Time/Commit
-------
all branches; appears to be a day 1 issue
Last Pass
---------
Never
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Patch Build
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Don Penney (dpenney) |
Changed in starlingx: | |
importance: | Low → Medium |
stx.5.0 / low to med priority - would be nice to fix, but not gating