Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 917356

Summary: dev-python/greenlet-3.0.1 fails test test_unhandled_std_exception_as_greenlet_function_aborts
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:greenlet-3.0.1:20231113-184430.log
emerge-info.txt

Description Jonathan Lovelace 2023-11-15 04:15:12 UTC
Created attachment 874823 [details]
dev-python:greenlet-3.0.1:20231113-184430.log

=dev-python/greenlet-3.0.1 fails its test phase for me. Specifically, the test "test_unhandled_std_exception_as_greenlet_function_aborts (greenlet.tests.test_cpp.CPPTests.test_unhandled_std_exception_as_greenlet_function_aborts)" fails with the following output:

======================================================================
FAIL: test_unhandled_std_exception_as_greenlet_function_aborts (greenlet.tests.test_cpp.CPPTests.test_unhandled_std_exception_as_greenlet_function_aborts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/greenlet-3.0.1/work/greenlet-3.0.1-python3_11/install/usr/lib/python3.11/site-packages/greenlet/tests/leakcheck.py", line 316, in wrapper
    return _RefCountChecker(self, method)(args, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-python/greenlet-3.0.1/work/greenlet-3.0.1-python3_11/install/usr/lib/python3.11/site-packages/greenlet/tests/leakcheck.py", line 294, in __call__
    self._run_test(args, kwargs)
  File "/var/tmp/portage/dev-python/greenlet-3.0.1/work/greenlet-3.0.1-python3_11/install/usr/lib/python3.11/site-packages/greenlet/tests/leakcheck.py", line 212, in _run_test
    self.function(self.testcase, *args, **kwargs)
  File "/var/tmp/portage/dev-python/greenlet-3.0.1/work/greenlet-3.0.1-python3_11/install/usr/lib/python3.11/site-packages/greenlet/tests/test_cpp.py", line 58, in test_unhandled_std_exception_as_greenlet_function_aborts
    self.assertIn(
AssertionError: 'greenlet: Unhandled C++ exception: Thrown from an extension.' not found in "fail_cpp_exception is running\nraising <built-in method switch of greenlet.greenlet object at 0x7fae7db89d40>\nterminate called after throwing an instance of 'std::runtime_error'\n  what():  Thrown from an extension.\n"

----------------------------------------------------------------------
Ran 137 tests in 30.463s

FAILED (failures=1, skipped=1)
Time limit exceeded.
Threads: Waiting for only 1 --> 1
MGlets : Waiting for only 5 --> 6
Time limit exceeded.
Threads: Waiting for only 1 --> 1
MGlets : Waiting for only 13 --> 20
Time limit exceeded.
Threads: Waiting for only 1 --> 1
MGlets : Waiting for only 13 --> 20
Comment 1 Jonathan Lovelace 2023-11-15 04:15:36 UTC
Created attachment 874824 [details]
emerge-info.txt