build-iso fails when run in parallel

Bug #1851399 reported by Scott Little on 2019-11-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Low
Scott Little

Bug Description

If a user is working on two independent workspaces, it should be possible to run build-iso within each workspace at the same time. In practice the yum,repoquery,createrepo commands used from within build-iso will all be using a common /var/tmp/$USER working directory. They will pollute each-others cache, and one or both will fail.

Suggested solution is to set TMPDIR=$MY_WORKSPACE/tmp prior to invoking anything in the yum,repoquery,createrepo family of commands. Probably need to do make this setting in all StarlingX build-* commands.

Alternatively, set it as an exported environment variable.

Ghada Khalil (gkhalil) on 2019-11-05
tags: added: stx.build
Ghada Khalil (gkhalil) wrote :

Marking as low / not gating - not a very likely scenario

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
assignee: nobody → Scott Little (slittle1)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers