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
============================= test session starts ==============================
platform darwin -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /nix/store/r5znpynv6m1a9n7w8l8vd5h14clii8a4-python3.7-psutil-5.7.0/lib/python3.7/site-packages/psutil/tests
collecting ... Fatal Python error: Segmentation fault
Current thread 0x00007fff94f4b3c0 (most recent call first):
File "/nix/store/r5znpynv6m1a9n7w8l8vd5h14clii8a4-python3.7-psutil-5.7.0/lib/python3.7/site-packages/psutil/_psosx.py", line 217 in sensors_battery
File "/nix/store/r5znpynv6m1a9n7w8l8vd5h14clii8a4-python3.7-psutil-5.7.0/lib/python3.7/site-packages/psutil/__init__.py", line 2289 in sensors_battery
File "/nix/store/r5znpynv6m1a9n7w8l8vd5h14clii8a4-python3.7-psutil-5.7.0/lib/python3.7/site-packages/psutil/tests/__init__.py", line 175 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/nix/store/czp18gp07v8ky547m54sacip2rzc5q9p-python3.7-py-1.8.1/lib/python3.7/site-packages/py/_path/local.py", line 701 in pyimport
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/python.py", line 493 in _importtestmodule
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/python.py", line 425 in _getobj
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/python.py", line 249 in obj
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/python.py", line 441 in _inject_setup_module_fixture
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/python.py", line 428 in collect
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/runner.py", line 257 in <lambda>
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/runner.py", line 237 in from_call
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/runner.py", line 257 in pytest_make_collect_report
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 87 in <lambda>
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/runner.py", line 379 in collect_one_node
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 721 in genitems
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 496 in _perform_collect
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 458 in perform_collect
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 256 in pytest_collection
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 87 in <lambda>
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 246 in _main
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 197 in wrap_session
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 87 in <lambda>
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/6kwgl4ws7rrlxfn7ckz5nq08nrizfka1-python3.7-pluggy-0.13.1/lib/python3.7/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/config/__init__.py", line 93 in main
File "/nix/store/gfvb69d2jn49scj826dbsilk19005dki-python3.7-pytest-5.3.5/bin/.pytest-wrapped", line 9 in <module>
/nix/store/hjysymfn0i88vdn0dny8f6jy44bnybx9-stdenv-darwin/setup: line 1312: 48196 Segmentation fault: 11 pytest $out/lib/python3.7/site-packages/psutil/tests/test_system.py -k 'not user \
and not disk_io_counters and not sensors_battery \
and not cpu_times'
The text was updated successfully, but these errors were encountered:
Platform
Bug description
tests/test_system.py fails on macOS because
sensors_battery
is called ontests/__init__.py
evaluation and it segfaultspsutil/psutil/tests/__init__.py
Line 175 in ea4887e
Test results
The text was updated successfully, but these errors were encountered: