5ff38b7f30
Functional tests for netns_cleanup have been failing a few times in the gate lately. After thorough tests we've seen that the issue was related to using rootwrap-daemon inside a wait_until_true loop. When timeout fired while utils.execute() was reading from rootwrap-daemon, it got interrupted and the output of the last command was not read. Therefore, next calls to utils.execute() would read the output of their previous command rather than their own, leading to unexpected results. This fix will poll existing processes in the namespace without making use of the wait_until_true loop. Instead, it will check elapsed time and raise the exception if timeout is exceeded. Also, i'm removing debug traces introduced in |
||
---|---|---|
.. | ||
eventlet | ||
sanity | ||
__init__.py | ||
ipset_cleanup.py | ||
keepalived_state_change.py | ||
linuxbridge_cleanup.py | ||
netns_cleanup.py | ||
ovs_cleanup.py | ||
pd_notify.py | ||
sanity_check.py |