On 9/24/19 2:00 PM, Alex Bennée wrote: > There was in the clean-up code caused by attempting to inspect images > which finished before we got there. Clean up the clean up code by: > > - only track the one instance at a time > - use --filter for docker ps instead of doing it by hand > - just call docker rm -f to be done with it > - use uuid.uuid4() for a random uid > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > > --- > v2 > - drop the try/except approach and be smarter > - use uuid4 as uuid1 can generate clashes in parallel builds > > fixup! tests/docker: reduce scary warnings by cleaning up clean up > --- > tests/docker/docker.py | 34 ++++++++++++++++------------------ > 1 file changed, 16 insertions(+), 18 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~