-
Notifications
You must be signed in to change notification settings - Fork 262
Open
Description
There is still minor issue after the fix for #379:
test_untracked_memory_doesnt_increase_unfinished_thread_dealloc_in_thread (greenlet.tests.test_leaks.TestLeaks.test_untracked_memory_doesnt_increase_unfinished_thread_dealloc_in_thread) ... Exception in thread Thread-249:
Traceback (most recent call last):
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/__init__.py", line 212, in get_process_uss
return psutil.Process().memory_full_info().uss
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'pmem' object has no attribute 'uss'. Did you mean: 'rss'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
self._context.run(self.run)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.14/threading.py", line 1024, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/test_leaks.py", line 398, in __call__
self.uss_before = test.get_process_uss()
~~~~~~~~~~~~~~~~~~~~^^
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/__init__.py", line 214, in get_process_uss
raise unittest.SkipTest("uss not supported") from e
unittest.case.SkipTest: uss not supported
FAIL
Please note that test_untracked_memory_doesnt_increase_unfinished_thread_dealloc_in_main is properly skipped:
test_untracked_memory_doesnt_increase_unfinished_thread_dealloc_in_main (greenlet.tests.test_leaks.TestLeaks.test_untracked_memory_doesnt_increase_unfinished_thread_dealloc_in_main) ... Exception in thread Thread-248:
Traceback (most recent call last):
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/__init__.py", line 212, in get_process_uss
return psutil.Process().memory_full_info().uss
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'pmem' object has no attribute 'uss'. Did you mean: 'rss'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
self._context.run(self.run)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.14/threading.py", line 1024, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/test_leaks.py", line 398, in __call__
self.uss_before = test.get_process_uss()
~~~~~~~~~~~~~~~~~~~~^^
File "/data/builds/ul-mass-rebuild/components/python/greenlet/build/prototype/i386/usr/lib/python3.14/vendor-packages/greenlet/tests/__init__.py", line 214, in get_process_uss
raise unittest.SkipTest("uss not supported") from e
unittest.case.SkipTest: uss not supported
skipped 'uss not supported'
Metadata
Metadata
Assignees
Labels
No labels