race condition in tripleoclient unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We're seeing random failures in the py3x jobs for tripleoclient. Looks like there's a race condition where the /tmp/ansible-
2021-09-30 07:36:12.619177 | ubuntu-bionic | tripleoclient.
2021-09-30 07:36:12.619189 | ubuntu-bionic | -------
2021-09-30 07:36:12.619202 | ubuntu-bionic |
2021-09-30 07:36:12.619214 | ubuntu-bionic | Captured traceback:
2021-09-30 07:36:12.619226 | ubuntu-bionic | ~~~~~~~~~~~~~~~~~~~
2021-09-30 07:36:12.619238 | ubuntu-bionic | Traceback (most recent call last):
2021-09-30 07:36:12.619251 | ubuntu-bionic |
2021-09-30 07:36:12.619263 | ubuntu-bionic | File "/home/
2021-09-30 07:36:12.619279 | ubuntu-bionic | return func(*newargs, **newkeywargs)
2021-09-30 07:36:12.619292 | ubuntu-bionic |
2021-09-30 07:36:12.619305 | ubuntu-bionic | File "/home/
2021-09-30 07:36:12.619318 | ubuntu-bionic | 'num': 42
2021-09-30 07:36:12.619330 | ubuntu-bionic |
2021-09-30 07:36:12.619343 | ubuntu-bionic | File "/home/
2021-09-30 07:36:12.619356 | ubuntu-bionic | os.chmod(
2021-09-30 07:36:12.619368 | ubuntu-bionic |
2021-09-30 07:36:12.619380 | ubuntu-bionic | FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ansible-
2021-09-30 07:36:12.619392 | ubuntu-bionic |
Fix proposed to branch: master /review. opendev. org/c/openstack /python- tripleoclient/ +/811984
Review: https:/