You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-04-17T15:58:08.9453710Z ======================================================================
2024-04-17T15:58:08.9454630Z FAIL: psutil.tests.test_osx.TestSystemAPIs.test_vmem_active
2024-04-17T15:58:08.9456300Z ----------------------------------------------------------------------
2024-04-17T15:58:08.9456970Z Traceback (most recent call last):
2024-04-17T15:58:08.9468720Z File "/private/var/folders/c9/jqpw9nhs7jj7vm5185nyw05h0000gn/T/cibw-run-dez06mlf/cp311-macosx_x86_64/venv-test-x86_64/lib/python3.11/site-packages/psutil/tests/__init__.py", line 739, in wrapper
2024-04-17T15:58:08.9470640Z raise exc # noqa: PLE0704
2024-04-17T15:58:08.9471070Z ^^^^^^^^^
2024-04-17T15:58:08.9472970Z File "/private/var/folders/c9/jqpw9nhs7jj7vm5185nyw05h0000gn/T/cibw-run-dez06mlf/cp311-macosx_x86_64/venv-test-x86_64/lib/python3.11/site-packages/psutil/tests/__init__.py", line 731, in wrapper
2024-04-17T15:58:08.9475220Z return fun(*args, **kwargs)
2024-04-17T15:58:08.9475660Z ^^^^^^^^^^^^^^^^^^^^
2024-04-17T15:58:08.9476840Z File "/Users/runner/work/psutil/psutil/psutil/tests/test_osx.py", line 154, in test_vmem_active
2024-04-17T15:58:08.9478120Z self.assertAlmostEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)
2024-04-17T15:58:08.9479200Z AssertionError: 2259693568 != 2308902912 within 20971520 delta (49209344 difference)
In this case the active memory reported by vm_stat is 46M bigger than what is reported by psutil. Note to self: check how either vm_stat or top calculates this.
The text was updated successfully, but these errors were encountered:
Recently I have often see this failure:
In this case the active memory reported by
vm_stat
is 46M bigger than what is reported by psutil. Note to self: check how either vm_stat or top calculates this.The text was updated successfully, but these errors were encountered: