build avoidance fails if reference build is read only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Scott Little |
Bug Description
Brief Description
-----------------
A centos build using build avoidance will fail if the
upstream reference build is read only. The read only
is replicated in the user's build environment, and any
packages that need to be updates (since the reference
build) will fail with reason 'permission denied'
A read only reference build is rare, but can occur to
preserve important reference builds, such as a release build
or the last build prior tothe introduction of a major feature.
Severity
--------
Major
Steps to Reproduce
------------------
Write down the steps to reproduce the issue
Expected Behavior
------------------
Write down what was expected after taking the steps written above
Actual Behavior
----------------
Check out a released branch
build-pkg --build-avoidance
Reproducibility
---------------
100% if reference build is read only.
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Day one
Last Pass
---------
Never
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Build
Workaround
----------
sudo chmod ug+w $MY_WORKSPACE
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.build |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /824990
Review: https:/