Can't build images in parallel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Scott Little |
Bug Description
Brief Description
-----------------
A single use can't build stx docker images in parallel. When two jenkins jobs tried to invoke
build-stx-images.sh in parallel, building in different environments and on different branches, on failed with ...
docker: Error response from daemon: Conflict. The container name "/jenkins_
The issue is the use of "${USER}
Severity
--------
Major. Random image build failures for jenkins, or other power users
Steps to Reproduce
------------------
A single user sets up two independent build environments on the same system.
Both run build-stx-images.sh in parallel.
Expected Behavior
------------------
images build
Actual Behavior
----------------
One og the builds fails sporadically.
Reproducibility
---------------
25%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
2020-06-20
Last Pass
---------
2020-06-19
Timestamp/Logs
--------------
TBD
Test Activity
-------------
Build
Workaround
----------
Do not build in parallel.
Low priority - serial image builds work