build-iso fails when run in parallel

Bug #1851399 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
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.

Tags: stx.build
Ghada Khalil (gkhalil)
tags: added: stx.build
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.