commit | 6dbd7807865a9a6ed0f3891602e3948ad5edeff0 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Sat Feb 20 08:34:10 2021 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Sun Feb 21 16:08:39 2021 +0000 |
tree | 469f18c603b7f6184a12ae911f3a404703763020 | |
parent | 3c88e2d1b057226b3d6b3312bc253a4151d07022 [diff] |
build-unit-test-docker: prevent exception in thread start-up Add a lock to allow all the threads to start before they start running, so that one thread doesn't 'join' on its dependency before the dependency starts. This shows as an exception: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "./scripts/build-unit-test-docker", line 353, in run deppkg.join() File "/usr/lib/python3.8/threading.py", line 1006, in join raise RuntimeError("cannot join thread before it is started") Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7594ac393f310085eb8328a0394493c01b78add3
Build script for CI jobs in Jenkins.