yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79986
[Bug 1843478] Re: Mitigate frequent fixtures._fixtures.timeout.TimeoutException in UTs and FTs
Reviewed: https://review.opendev.org/681432
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=63715ea361ea94fb48842c83deef1e5850bcc44d
Submitter: Zuul
Branch: master
commit 63715ea361ea94fb48842c83deef1e5850bcc44d
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Sep 11 10:13:19 2019 +0000
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.
[1]https://review.opendev.org/#/c/631275/
[2]https://review.opendev.org/#/c/666853/
[3]https://review.opendev.org/#/c/657608/
Closes-Bug: #1843478
Change-Id: If865c4683645f9bd11f5e1b528bade0547505bfd
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1843478
Title:
Mitigate frequent fixtures._fixtures.timeout.TimeoutException in UTs
and FTs
Status in neutron:
Fix Released
Bug description:
Since [0] 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.
[0] https://review.opendev.org/#/c/631275/
[1] https://148a66b404dde523de26-17406e3478c64e603d8ff3ea0aac16c8.ssl.cf5.rackcdn.com/680393/1/check/neutron-functional-python27/59e721e/testr_results.html.gz
[2] https://0668011f33af6364883c-c555fae2d8c498523cc4b2c363541725.ssl.cf1.rackcdn.com/679852/11/gate/neutron-functional/6b7c424/testr_results.html.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1843478/+subscriptions
References