Re execute a test case if fixtures.TimeoutException is thrown
Since [1] was introduced, it's very frequent to have
"fixtures._fixtures.timeout.TimeoutException" exceptions during the
execution of UTs and FTs. Because the privsep includes the synchronized
decorator, the synchronization wait is done inside the privsep context.
This is prone to timeouts if the wait is too long.
Until we can reorder the decorators of ip_lib [2] or we can remove the
sync decorators [3], this patch can mitigate the errors in the CI.
Backporting for stable/stein as mentioned change [1] is in this branch
Reviewed: https:/ /review. opendev. org/705183 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6589f06e464 6ef0a3df3f6f65f 92b3733d58e7fb
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 6589f06e4646ef0 a3df3f6f65f92b3 733d58e7fb
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 11 10:13:19 2019 +0000
Re execute a test case if fixtures. TimeoutExceptio n is thrown
Since [1] was introduced, it's very frequent to have _fixtures. timeout. TimeoutExceptio n" exceptions during the
"fixtures.
execution of UTs and FTs. Because the privsep includes the synchronized
decorator, the synchronization wait is done inside the privsep context.
This is prone to timeouts if the wait is too long.
Until we can reorder the decorators of ip_lib [2] or we can remove the
sync decorators [3], this patch can mitigate the errors in the CI.
Backporting for stable/stein as mentioned change [1] is in this branch
[1]https:/ /review. opendev. org/#/c/ 631275/ /review. opendev. org/#/c/ 666853/ /review. opendev. org/#/c/ 657608/
[2]https:/
[3]https:/
Closes-Bug: #1843478
Change-Id: If865c4683645f9 bd11f5e1b528bad e0547505bfd b48842c83deef1e 5850bcc44d)
(cherry picked from commit 63715ea361ea94f