Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917356 - dev-python/greenlet-3.0.1 fails test test_unhandled_std_exception_as_greenlet_function_aborts
Summary: dev-python/greenlet-3.0.1 fails test test_unhandled_std_exception_as_greenlet...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-11-15 04:15 UTC by Jonathan Lovelace
Modified: 2023-11-26 00:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:greenlet-3.0.1:20231113-184430.log (dev-python:greenlet-3.0.1:20231113-184430.log,78.07 KB, text/plain; charset=utf-8)
2023-11-15 04:15 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.16 KB, text/plain; charset=utf-8)
2023-11-15 04:15 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
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