This test case sometimes fails during CI. https://github.com/gentoo/portage/runs/6759556753 ====================================================================== FAIL: testOverallTimeoutWithException (portage.tests.util.futures.test_retry.RetryForkExecutorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/work/portage/portage/build/lib/portage/tests/__init__.py", line 273, in run testMethod() File "/home/runner/work/portage/portage/build/lib/portage/tests/util/futures/test_retry.py", line 180, in testOverallTimeoutWithException isinstance(done.pop().exception().__cause__, SucceedNeverException) AssertionError: False is not true
When the assertion fails, I guess that it probably failed with asyncio.TimeoutError instead of SucceedNeverException.
*** Bug 880173 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=98536f208194197c521675e0d0072bdc599e015a commit 98536f208194197c521675e0d0072bdc599e015a Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2022-11-25 21:21:30 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-11-25 23:40:38 +0000 testOverallTimeoutWithException: handle TimeoutError Bug: https://bugs.gentoo.org/850127 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/tests/util/futures/test_retry.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457170222d9a1133406b90955269580e4db2ee2b commit 457170222d9a1133406b90955269580e4db2ee2b Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-01 05:16:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-01 05:16:52 +0000 sys-apps/portage: add 3.0.40 Closes: https://bugs.gentoo.org/814380 Closes: https://bugs.gentoo.org/850127 Closes: https://bugs.gentoo.org/881383 Closes: https://bugs.gentoo.org/883071 Closes: https://bugs.gentoo.org/883307 Closes: https://bugs.gentoo.org/883437 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.40.ebuild | 283 +++++++++++++++++++++++++++++++++ 2 files changed, 284 insertions(+)