>>> py3-mirakuru: Building community/py3-mirakuru 2.6.1-r0 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 21:35:43 +0000 >>> py3-mirakuru: Validating /home/udu/aports/community/py3-mirakuru/APKBUILD... >>> py3-mirakuru: Analyzing dependencies... >>> py3-mirakuru: Installing for build: build-base py3-psutil py3-setuptools py3-gpep517 py3-wheel py3-daemon py3-pytest netcat-openbsd bash procps-ng py3-flaky WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/36) Installing py3-psutil-pyc (7.0.0-r0) (2/36) Installing py3-psutil (7.0.0-r0) (3/36) Installing py3-parsing (3.2.3-r0) (4/36) Installing py3-parsing-pyc (3.2.3-r0) (5/36) Installing py3-packaging (25.0-r0) (6/36) Installing py3-packaging-pyc (25.0-r0) (7/36) Installing py3-setuptools (80.9.0-r0) (8/36) Installing py3-setuptools-pyc (80.9.0-r0) (9/36) Installing py3-installer (0.7.0-r2) (10/36) Installing py3-installer-pyc (0.7.0-r2) (11/36) Installing py3-gpep517 (19-r0) (12/36) Installing py3-gpep517-pyc (19-r0) (13/36) Installing py3-wheel (0.46.1-r0) (14/36) Installing py3-wheel-pyc (0.46.1-r0) (15/36) Installing py3-lockfile (0.12.2-r10) (16/36) Installing py3-lockfile-pyc (0.12.2-r10) (17/36) Installing py3-daemon (3.1.1-r0) (18/36) Installing py3-daemon-pyc (3.1.1-r0) (19/36) Installing py3-iniconfig (2.1.0-r0) (20/36) Installing py3-iniconfig-pyc (2.1.0-r0) (21/36) Installing py3-pluggy (1.5.0-r0) (22/36) Installing py3-pluggy-pyc (1.5.0-r0) (23/36) Installing py3-py (1.11.0-r4) (24/36) Installing py3-py-pyc (1.11.0-r4) (25/36) Installing py3-pytest (8.3.5-r0) (26/36) Installing py3-pytest-pyc (8.3.5-r0) (27/36) Installing libmd (1.1.0-r0) (28/36) Installing libbsd (0.12.2-r0) (29/36) Installing netcat-openbsd (1.229.1-r0) (30/36) Installing skalibs-libs (2.14.4.0-r0) (31/36) Installing utmps-libs (0.1.3.1-r0) (32/36) Installing libproc2 (4.0.4-r3) (33/36) Installing procps-ng (4.0.4-r3) (34/36) Installing py3-flaky (3.8.1-r1) (35/36) Installing py3-flaky-pyc (3.8.1-r1) (36/36) Installing .makedepends-py3-mirakuru (20251012.213544) Executing busybox-1.37.0-r19.trigger OK: 312 MiB in 125 packages >>> py3-mirakuru: Cleaning up srcdir >>> py3-mirakuru: Cleaning up pkgdir >>> py3-mirakuru: Cleaning up tmpdir >>> py3-mirakuru: Fetching py3-mirakuru-2.6.1.tar.gz::https://github.com/ClearcodeHQ/mirakuru/archive/refs/tags/v2.6.1.tar.gz >>> py3-mirakuru: Fetching py3-mirakuru-2.6.1.tar.gz::https://github.com/ClearcodeHQ/mirakuru/archive/refs/tags/v2.6.1.tar.gz >>> py3-mirakuru: Checking sha512sums... py3-mirakuru-2.6.1.tar.gz: OK >>> py3-mirakuru: Unpacking /var/cache/distfiles/py3-mirakuru-2.6.1.tar.gz... 2025-10-12 21:35:45,741 gpep517 INFO Building wheel via backend setuptools.build_meta 2025-10-12 21:35:45,795 root INFO running bdist_wheel 2025-10-12 21:35:45,808 root INFO running build 2025-10-12 21:35:45,808 root INFO running build_py 2025-10-12 21:35:45,811 root INFO creating build/lib/mirakuru 2025-10-12 21:35:45,811 root INFO copying mirakuru/base.py -> build/lib/mirakuru 2025-10-12 21:35:45,812 root INFO copying mirakuru/output.py -> build/lib/mirakuru 2025-10-12 21:35:45,812 root INFO copying mirakuru/pid.py -> build/lib/mirakuru 2025-10-12 21:35:45,812 root INFO copying mirakuru/base_env.py -> build/lib/mirakuru 2025-10-12 21:35:45,813 root INFO copying mirakuru/exceptions.py -> build/lib/mirakuru 2025-10-12 21:35:45,813 root INFO copying mirakuru/compat.py -> build/lib/mirakuru 2025-10-12 21:35:45,813 root INFO copying mirakuru/tcp.py -> build/lib/mirakuru 2025-10-12 21:35:45,813 root INFO copying mirakuru/__init__.py -> build/lib/mirakuru 2025-10-12 21:35:45,814 root INFO copying mirakuru/unixsocket.py -> build/lib/mirakuru 2025-10-12 21:35:45,814 root INFO copying mirakuru/http.py -> build/lib/mirakuru 2025-10-12 21:35:45,814 root INFO running egg_info 2025-10-12 21:35:45,817 root INFO creating mirakuru.egg-info 2025-10-12 21:35:45,817 root INFO writing mirakuru.egg-info/PKG-INFO 2025-10-12 21:35:45,818 root INFO writing dependency_links to mirakuru.egg-info/dependency_links.txt 2025-10-12 21:35:45,818 root INFO writing requirements to mirakuru.egg-info/requires.txt 2025-10-12 21:35:45,819 root INFO writing top-level names to mirakuru.egg-info/top_level.txt 2025-10-12 21:35:45,819 root INFO writing manifest file 'mirakuru.egg-info/SOURCES.txt' 2025-10-12 21:35:45,822 root INFO reading manifest file 'mirakuru.egg-info/SOURCES.txt' 2025-10-12 21:35:45,823 root INFO reading manifest template 'MANIFEST.in' 2025-10-12 21:35:45,823 root WARNING warning: no files found matching '*.py' 2025-10-12 21:35:45,824 root INFO adding license file 'LICENSE' 2025-10-12 21:35:45,825 root INFO writing manifest file 'mirakuru.egg-info/SOURCES.txt' 2025-10-12 21:35:45,826 root INFO copying mirakuru/py.typed -> build/lib/mirakuru 2025-10-12 21:35:45,831 root INFO installing to build/bdist.linux-x86_64/wheel 2025-10-12 21:35:45,831 root INFO running install 2025-10-12 21:35:45,840 root INFO running install_lib 2025-10-12 21:35:45,843 root INFO creating build/bdist.linux-x86_64/wheel 2025-10-12 21:35:45,843 root INFO creating build/bdist.linux-x86_64/wheel/mirakuru 2025-10-12 21:35:45,843 root INFO copying build/lib/mirakuru/py.typed -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,843 root INFO copying build/lib/mirakuru/base.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/output.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/pid.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/base_env.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/exceptions.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/compat.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/tcp.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/__init__.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/unixsocket.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,844 root INFO copying build/lib/mirakuru/http.py -> build/bdist.linux-x86_64/wheel/./mirakuru 2025-10-12 21:35:45,845 root INFO running install_egg_info 2025-10-12 21:35:45,847 root INFO Copying mirakuru.egg-info to build/bdist.linux-x86_64/wheel/./mirakuru-2.6.1-py3.12.egg-info 2025-10-12 21:35:45,847 root INFO running install_scripts 2025-10-12 21:35:45,849 root INFO creating build/bdist.linux-x86_64/wheel/mirakuru-2.6.1.dist-info/WHEEL 2025-10-12 21:35:45,849 wheel INFO creating '/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/.dist/.tmp-bjgsen8p/mirakuru-2.6.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-10-12 21:35:45,850 wheel INFO adding 'mirakuru/__init__.py' 2025-10-12 21:35:45,850 wheel INFO adding 'mirakuru/base.py' 2025-10-12 21:35:45,850 wheel INFO adding 'mirakuru/base_env.py' 2025-10-12 21:35:45,850 wheel INFO adding 'mirakuru/compat.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/exceptions.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/http.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/output.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/pid.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/py.typed' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/tcp.py' 2025-10-12 21:35:45,851 wheel INFO adding 'mirakuru/unixsocket.py' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/licenses/LICENSE' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/METADATA' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/WHEEL' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/top_level.txt' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/zip-safe' 2025-10-12 21:35:45,852 wheel INFO adding 'mirakuru-2.6.1.dist-info/RECORD' 2025-10-12 21:35:45,852 root INFO removing build/bdist.linux-x86_64/wheel 2025-10-12 21:35:45,853 gpep517 INFO The backend produced .dist/mirakuru-2.6.1-py3-none-any.whl mirakuru-2.6.1-py3-none-any.whl ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 -- /home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/.testenv/bin/python3 cachedir: .pytest_cache rootdir: /home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1 configfile: pyproject.toml plugins: flaky-3.8.1 collecting ... collected 60 items / 2 deselected / 58 selected tests/executors/test_executor.py::test_running_process[sleep 300] FAILED [ 1%] tests/executors/test_executor.py::test_running_process[command1] FAILED [ 3%] tests/executors/test_executor.py::test_command[sleep 300] PASSED [ 5%] tests/executors/test_executor.py::test_command[command1] PASSED [ 6%] tests/executors/test_executor.py::test_custom_signal_stop FAILED [ 8%] tests/executors/test_executor.py::test_stop_custom_signal_stop FAILED [ 10%] tests/executors/test_executor.py::test_stop_custom_exit_signal_stop FAILED [ 12%] tests/executors/test_executor.py::test_running_context FAILED [ 13%] tests/executors/test_executor.py::test_executor_in_context_only FAILED [ 15%] tests/executors/test_executor.py::test_context_stopped FAILED [ 17%] tests/executors/test_executor.py::test_process_output[echo "foobar"] FAILED [ 18%] tests/executors/test_executor.py::test_process_output[command1] FAILED [ 20%] tests/executors/test_executor.py::test_process_output_shell[echo "foobar"] FAILED [ 22%] tests/executors/test_executor.py::test_process_output_shell[command1] FAILED [ 24%] tests/executors/test_executor.py::test_start_check_executor PASSED [ 25%] tests/executors/test_executor.py::test_stopping_not_yet_running_executor FAILED [ 27%] tests/executors/test_executor.py::test_forgotten_stop FAILED [ 29%] tests/executors/test_executor.py::test_executor_raises_if_process_exits_with_error FAILED [ 31%] tests/executors/test_executor.py::test_executor_ignores_processes_exiting_with_0 FAILED [ 32%] tests/executors/test_executor.py::test_executor_methods_returning_self FAILED [ 34%] tests/executors/test_executor.py::test_mirakuru_cleanup FAILED [ 36%] tests/executors/test_executor_kill.py::test_custom_signal_kill FAILED [ 37%] tests/executors/test_executor_kill.py::test_kill_custom_signal_kill FAILED [ 39%] tests/executors/test_executor_kill.py::test_already_closed FAILED [ 41%] tests/executors/test_executor_kill.py::test_stopping_brutally FAILED [ 43%] tests/executors/test_executor_kill.py::test_stopping_children_of_stopped_process PASSED [ 44%] tests/executors/test_http_executor.py::test_executor_starts_and_waits FAILED [ 46%] tests/executors/test_http_executor.py::test_shell_started_server_stops FAILED [ 48%] tests/executors/test_http_executor.py::test_slow_method_server_starting[HEAD] FAILED [ 50%] tests/executors/test_http_executor.py::test_slow_method_server_starting[GET] FAILED [ 51%] tests/executors/test_http_executor.py::test_slow_method_server_starting[POST] FAILED [ 53%] tests/executors/test_http_executor.py::test_slow_post_payload_server_starting FAILED [ 55%] tests/executors/test_http_executor.py::test_slow_method_server_timed_out[HEAD] FAILED [ 56%] tests/executors/test_http_executor.py::test_slow_method_server_timed_out[GET] FAILED [ 58%] tests/executors/test_http_executor.py::test_slow_method_server_timed_out[POST] FAILED [ 60%] tests/executors/test_http_executor.py::test_fail_if_other_running FAILED [ 62%] tests/executors/test_http_executor.py::test_default_port FAILED [ 63%] tests/executors/test_http_executor.py::test_http_status_codes[None-True] FAILED [ 65%] tests/executors/test_http_executor.py::test_http_status_codes[200-True] FAILED [ 67%] tests/executors/test_http_executor.py::test_http_status_codes[404-False] FAILED [ 68%] tests/executors/test_http_executor.py::test_http_status_codes[(2|4)\\d\\d-False] FAILED [ 70%] tests/executors/test_http_executor.py::test_http_status_codes[(200|404)-False] FAILED [ 72%] tests/executors/test_output_executor.py::test_executor_waits_for_process_output FAILED [ 74%] tests/executors/test_output_executor.py::test_executor_waits_for_process_err_output FAILED [ 75%] tests/executors/test_output_executor.py::test_executor_dont_start FAILED [ 77%] tests/executors/test_pid_executor.py::test_start_and_wait FAILED [ 79%] tests/executors/test_pid_executor.py::test_empty_filename[None] PASSED [ 81%] tests/executors/test_pid_executor.py::test_empty_filename[] PASSED [ 82%] tests/executors/test_pid_executor.py::test_if_file_created FAILED [ 84%] tests/executors/test_pid_executor.py::test_timeout_error FAILED [ 86%] tests/executors/test_pid_executor.py::test_fail_if_other_executor_running FAILED [ 87%] tests/executors/test_tcp_executor.py::test_start_and_wait FAILED [ 89%] tests/executors/test_tcp_executor.py::test_repr_and_str PASSED [ 91%] tests/executors/test_tcp_executor.py::test_it_raises_error_on_timeout FAILED [ 93%] tests/executors/test_tcp_executor.py::test_fail_if_other_executor_running FAILED [ 94%] tests/executors/test_unixsocket_executor.py::test_start_and_wait FAILED [ 96%] tests/executors/test_unixsocket_executor.py::test_start_and_timeout FAILED [ 98%] tests/test_base.py::test_importing_mirakuru PASSED [100%] ================================================================================================================================================== FAILURES ================================================================================================================================================== ______________________________________________________________________________________________________________________________________ test_running_process[sleep 300] _______________________________________________________________________________________________________________________________________ command = 'sleep 300' @pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split())) def test_running_process(command: Union[str, List[str]]) -> None: """Start process and shuts it down.""" executor = SimpleExecutor(command) executor.start() assert executor.running() is True > executor.stop() tests/executors/test_executor.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _______________________________________________________________________________________________________________________________________ test_running_process[command1] _______________________________________________________________________________________________________________________________________ command = ['sleep', '300'] @pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split())) def test_running_process(command: Union[str, List[str]]) -> None: """Start process and shuts it down.""" executor = SimpleExecutor(command) executor.start() assert executor.running() is True > executor.stop() tests/executors/test_executor.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError __________________________________________________________________________________________________________________________________________ test_custom_signal_stop ___________________________________________________________________________________________________________________________________________ def test_custom_signal_stop() -> None: """Start process and shuts it down using signal SIGQUIT.""" executor = SimpleExecutor(SLEEP_300, stop_signal=signal.SIGQUIT) executor.start() assert executor.running() is True > executor.stop() tests/executors/test_executor.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ________________________________________________________________________________________________________________________________________ test_stop_custom_signal_stop ________________________________________________________________________________________________________________________________________ def test_stop_custom_signal_stop() -> None: """Start process and shuts it down using signal SIGQUIT passed to stop.""" executor = SimpleExecutor(SLEEP_300) executor.start() assert executor.running() is True > executor.stop(stop_signal=signal.SIGQUIT) tests/executors/test_executor.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _____________________________________________________________________________________________________________________________________ test_stop_custom_exit_signal_stop ______________________________________________________________________________________________________________________________________ def test_stop_custom_exit_signal_stop() -> None: """Start process and expect it to finish with custom signal.""" executor = SimpleExecutor("false", shell=True) executor.start() # false exits instant, so there should not be a process to stop > retry(lambda: executor.stop(stop_signal=signal.SIGQUIT, expected_returncode=-3)) tests/executors/test_executor.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/retry.py:24: in retry res = func() tests/executors/test_executor.py:67: in retry(lambda: executor.stop(stop_signal=signal.SIGQUIT, expected_returncode=-3)) mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_running_context ____________________________________________________________________________________________________________________________________________ def test_running_context() -> None: """Start process and shuts it down.""" executor = SimpleExecutor(SLEEP_300) > with executor: tests/executors/test_executor.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _______________________________________________________________________________________________________________________________________ test_executor_in_context_only ________________________________________________________________________________________________________________________________________ def test_executor_in_context_only() -> None: """Start a process and shuts it down only in context.""" > with SimpleExecutor(SLEEP_300) as executor: tests/executors/test_executor.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_context_stopped ____________________________________________________________________________________________________________________________________________ def test_context_stopped() -> None: """Start for context and shuts it for nested context.""" executor = SimpleExecutor(SLEEP_300) with executor: assert executor.running() is True > with executor.stopped(): tests/executors/test_executor.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/contextlib.py:137: in __enter__ return next(self.gen) mirakuru/base.py:385: in stopped self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError During handling of the above exception, another exception occurred: def test_context_stopped() -> None: """Start for context and shuts it for nested context.""" executor = SimpleExecutor(SLEEP_300) > with executor: tests/executors/test_executor.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _____________________________________________________________________________________________________________________________________ test_process_output[echo "foobar"] _____________________________________________________________________________________________________________________________________ command = 'echo "foobar"' @pytest.mark.parametrize("command", (ECHO_FOOBAR, shlex.split(ECHO_FOOBAR))) def test_process_output(command: Union[str, List[str]]) -> None: """Start a process, check output and shut it down.""" executor = SimpleExecutor(command) executor.start() assert executor.output().read() == "foobar\n" > executor.stop() tests/executors/test_executor.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _______________________________________________________________________________________________________________________________________ test_process_output[command1] ________________________________________________________________________________________________________________________________________ command = ['echo', 'foobar'] @pytest.mark.parametrize("command", (ECHO_FOOBAR, shlex.split(ECHO_FOOBAR))) def test_process_output(command: Union[str, List[str]]) -> None: """Start a process, check output and shut it down.""" executor = SimpleExecutor(command) executor.start() assert executor.output().read() == "foobar\n" > executor.stop() tests/executors/test_executor.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError __________________________________________________________________________________________________________________________________ test_process_output_shell[echo "foobar"] __________________________________________________________________________________________________________________________________ command = 'echo "foobar"' @pytest.mark.parametrize("command", (ECHO_FOOBAR, shlex.split(ECHO_FOOBAR))) def test_process_output_shell(command: Union[str, List[str]]) -> None: """Start process, check output and shut it down with shell set to True.""" executor = SimpleExecutor(command, shell=True) executor.start() assert executor.output().read().strip() == "foobar" > executor.stop() tests/executors/test_executor.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________ test_process_output_shell[command1] _____________________________________________________________________________________________________________________________________ command = ['echo', 'foobar'] @pytest.mark.parametrize("command", (ECHO_FOOBAR, shlex.split(ECHO_FOOBAR))) def test_process_output_shell(command: Union[str, List[str]]) -> None: """Start process, check output and shut it down with shell set to True.""" executor = SimpleExecutor(command, shell=True) executor.start() assert executor.output().read().strip() == "foobar" > executor.stop() tests/executors/test_executor.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ___________________________________________________________________________________________________________________________________ test_stopping_not_yet_running_executor ___________________________________________________________________________________________________________________________________ def test_stopping_not_yet_running_executor() -> None: """Test if SimpleExecutor can be stopped even it was never running. We must make sure that it's possible to call .stop() and SimpleExecutor will not raise any exception and .start() can be called afterwards. """ executor = SimpleExecutor(SLEEP_300) executor.stop() executor.start() assert executor.running() is True > executor.stop() tests/executors/test_executor.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_forgotten_stop _____________________________________________________________________________________________________________________________________________ def test_forgotten_stop() -> None: """Test if SimpleExecutor subprocess is killed after an instance is deleted. Existence can end because of context scope end or by calling 'del'. If someone forgot to stop() or kill() subprocess it should be killed by default on instance cleanup. """ mark = uuid.uuid1().hex # We cannot simply do `sleep 300 #` in a shell because in that # case bash (default shell on some systems) does `execve` without cloning # itself - that means there will be no process with commandline like: # '/bin/sh -c sleep 300 && true #' - instead that process would # get substituted with 'sleep 300' and the marked commandline would be # overwritten. # Injecting some flow control (`&&`) forces bash to fork properly. marked_command = f"sleep 300 && true #{mark}" executor = SimpleExecutor(marked_command, shell=True) executor.start() assert executor.running() is True > ps_output = ps_aux() tests/executors/test_executor.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:22: in ps_aux return check_output(("ps", "aux", "-w")).decode() /usr/lib/python3.12/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True, popenargs = (('ps', 'aux', '-w'),), kwargs = {'stdout': -1}, process = , stdout = b'', stderr = None, retcode = 47 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '('ps', 'aux', '-w')' returned non-zero exit status 47. /usr/lib/python3.12/subprocess.py:571: CalledProcessError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- Error, do this: mount -t proc proc /proc ______________________________________________________________________________________________________________________________ test_executor_raises_if_process_exits_with_error ______________________________________________________________________________________________________________________________ def test_executor_raises_if_process_exits_with_error() -> None: """Test process exit detection. If the process exits with an error while checks are being polled, executor should raise an exception. """ error_code = 12 failing_executor = Executor(["bash", "-c", f"exit {error_code!s}"], timeout=5) failing_executor.pre_start_check = mock.Mock(return_value=False) # type: ignore # After-start check will keep returning False to let the process terminate. failing_executor.after_start_check = mock.Mock(return_value=False) # type: ignore with pytest.raises(ProcessExitedWithError) as exc: > failing_executor.start() tests/executors/test_executor.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:436: in wait_for if wait_for(): mirakuru/base.py:528: in check_subprocess self._kill_all_kids(self._kill_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _______________________________________________________________________________________________________________________________ test_executor_ignores_processes_exiting_with_0 _______________________________________________________________________________________________________________________________ def test_executor_ignores_processes_exiting_with_0() -> None: """Test process exit detection. Subprocess exiting with zero should be tolerated in order to support double-forking applications. """ # We execute a process that will return zero. In order to give the process # enough time to return we keep the polling loop spinning for a second. executor = Executor(["bash", "-c", "exit 0"], timeout=1.0) executor.pre_start_check = mock.Mock(return_value=False) # type: ignore executor.after_start_check = mock.Mock(return_value=False) # type: ignore with pytest.raises(TimeoutExpired): # We keep the post-checks spinning forever so it eventually times out. > executor.start() tests/executors/test_executor.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________ test_executor_methods_returning_self ____________________________________________________________________________________________________________________________________ def test_executor_methods_returning_self() -> None: """Test if SimpleExecutor lets to chain start, stop and kill methods.""" > executor = SimpleExecutor(SLEEP_300).start().stop().kill().stop() tests/executors/test_executor.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ___________________________________________________________________________________________________________________________________________ test_mirakuru_cleanup ____________________________________________________________________________________________________________________________________________ def test_mirakuru_cleanup() -> None: """Test if cleanup_subprocesses is fired correctly on python exit.""" cmd = f""" python -c 'from mirakuru import SimpleExecutor; from time import sleep; import gc; gc.disable(); ex = SimpleExecutor( ("python", "{SAMPLE_DAEMON_PATH}")).start(); sleep(1); ' """ check_output(shlex.split(cmd.replace("\n", ""))) > assert SAMPLE_DAEMON_PATH not in ps_aux() tests/executors/test_executor.py:252: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:22: in ps_aux return check_output(("ps", "aux", "-w")).decode() /usr/lib/python3.12/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True, popenargs = (('ps', 'aux', '-w'),), kwargs = {'stdout': -1}, process = , stdout = b'', stderr = None, retcode = 47 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '('ps', 'aux', '-w')' returned non-zero exit status 47. /usr/lib/python3.12/subprocess.py:571: CalledProcessError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- Exception ignored in atexit callback: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 84, in cleanup_subprocesses pids = processes_with_env(ENV_UUID, str(os.getpid())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil for proc in psutil.process_iter(): ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter a = set(pids()) ^^^^^^ File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1455, in pids _LOWEST_PID = ret[0] ~~~^^^ IndexError: list index out of range Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1455, in pids IndexError: list index out of range Error, do this: mount -t proc proc /proc __________________________________________________________________________________________________________________________________________ test_custom_signal_kill ___________________________________________________________________________________________________________________________________________ def test_custom_signal_kill() -> None: """Start process and shuts it down using signal SIGQUIT.""" executor = SimpleExecutor(SLEEP_300, kill_signal=signal.SIGQUIT) executor.start() assert executor.running() is True > executor.kill() tests/executors/test_executor_kill.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ________________________________________________________________________________________________________________________________________ test_kill_custom_signal_kill ________________________________________________________________________________________________________________________________________ def test_kill_custom_signal_kill() -> None: """Start process and shuts it down using signal SIGQUIT passed to kill.""" executor = SimpleExecutor(SLEEP_300) executor.start() assert executor.running() is True > executor.kill(sig=signal.SIGQUIT) tests/executors/test_executor_kill.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_already_closed _____________________________________________________________________________________________________________________________________________ def test_already_closed() -> None: """Check that the executor cleans after itself after it exited earlier.""" with pytest.raises(ProcessFinishedWithError) as excinfo: > with SimpleExecutor("python") as executor: tests/executors/test_executor_kill.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ___________________________________________________________________________________________________________________________________________ test_stopping_brutally ___________________________________________________________________________________________________________________________________________ def test_stopping_brutally() -> None: """Test if SimpleExecutor is stopping insubordinate process. Check if the process that doesn't react to SIGTERM signal will be killed by executor with SIGKILL automatically. """ host_port = "127.0.0.1:8000" cmd = f"{sys.executable} {TEST_SERVER_PATH} {host_port} True" executor = HTTPExecutor(cmd, f"http://{host_port!s}/", timeout=20) executor.start() assert executor.running() is True stop_at = time.time() + 10 > executor.stop() tests/executors/test_executor_kill.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:349: in stop self.wait_for(process_stopped) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:52] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:53] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:35:54] "HEAD / HTTP/1.1" 200 - _______________________________________________________________________________________________________________________________________ test_executor_starts_and_waits _______________________________________________________________________________________________________________________________________ def test_executor_starts_and_waits() -> None: """Test if process awaits for HEAD request to be completed.""" command = f'bash -c "sleep 3 && {HTTP_NORMAL_CMD}"' executor = HTTPExecutor(command, f"http://{HOST}:{PORT}/", timeout=20) executor.start() assert executor.running() is True connect_to_server() > executor.stop() tests/executors/test_http_executor.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:17] "HEAD / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:17] "GET / HTTP/1.1" 200 - ______________________________________________________________________________________________________________________________________ test_shell_started_server_stops _______________________________________________________________________________________________________________________________________ def test_shell_started_server_stops() -> None: """Test if executor terminates properly executor with shell=True.""" executor = HTTPExecutor(HTTP_NORMAL_CMD, f"http://{HOST}:{PORT}/", timeout=20, shell=True) with pytest.raises(socket.error): connect_to_server() > with executor: tests/executors/test_http_executor.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:17] "HEAD / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:17] "GET / HTTP/1.1" 200 - ___________________________________________________________________________________________________________________________________ test_slow_method_server_starting[HEAD] ___________________________________________________________________________________________________________________________________ method = 'HEAD' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_starting(method: str) -> None: """Test whether or not executor awaits for slow starting servers. Simple example. You run Gunicorn and it is working but you have to wait for worker processes. """ http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" > with HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=30, ) as executor: tests/executors/test_http_executor.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:17] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:18] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "HEAD / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:19] "GET / HTTP/1.1" 200 - ___________________________________________________________________________________________________________________________________ test_slow_method_server_starting[GET] ____________________________________________________________________________________________________________________________________ method = 'GET' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_starting(method: str) -> None: """Test whether or not executor awaits for slow starting servers. Simple example. You run Gunicorn and it is working but you have to wait for worker processes. """ http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" > with HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=30, ) as executor: tests/executors/test_http_executor.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:20] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:21] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "GET / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "GET / HTTP/1.1" 200 - ___________________________________________________________________________________________________________________________________ test_slow_method_server_starting[POST] ___________________________________________________________________________________________________________________________________ method = 'POST' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_starting(method: str) -> None: """Test whether or not executor awaits for slow starting servers. Simple example. You run Gunicorn and it is working but you have to wait for worker processes. """ http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" > with HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=30, ) as executor: tests/executors/test_http_executor.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:22] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:22] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:23] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "GET / HTTP/1.1" 200 - ___________________________________________________________________________________________________________________________________ test_slow_post_payload_server_starting ___________________________________________________________________________________________________________________________________ def test_slow_post_payload_server_starting() -> None: """Test whether or not executor awaits for slow starting servers. Simple example. You run Gunicorn and it is working but you have to wait for worker processes. """ http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False Key" > with HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method="POST", timeout=30, payload={"key": "hole"}, ) as executor: tests/executors/test_http_executor.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:24] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:25] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "POST / HTTP/1.1" 200 - 127.0.0.1 - - [12/Oct/2025 21:36:26] "GET / HTTP/1.1" 200 - __________________________________________________________________________________________________________________________________ test_slow_method_server_timed_out[HEAD] ___________________________________________________________________________________________________________________________________ method = 'HEAD' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_timed_out(method: str) -> None: """Check if timeout properly expires.""" http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" executor = HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=1 ) with pytest.raises(TimeoutExpired) as exc: > executor.start() tests/executors/test_http_executor.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:27] "HEAD / HTTP/1.1" 500 - ___________________________________________________________________________________________________________________________________ test_slow_method_server_timed_out[GET] ___________________________________________________________________________________________________________________________________ method = 'GET' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_timed_out(method: str) -> None: """Check if timeout properly expires.""" http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" executor = HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=1 ) with pytest.raises(TimeoutExpired) as exc: > executor.start() tests/executors/test_http_executor.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:28] "GET / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "GET / HTTP/1.1" 500 - __________________________________________________________________________________________________________________________________ test_slow_method_server_timed_out[POST] ___________________________________________________________________________________________________________________________________ method = 'POST' @pytest.mark.parametrize("method", ("HEAD", "GET", "POST")) def test_slow_method_server_timed_out(method: str) -> None: """Check if timeout properly expires.""" http_method_slow_cmd = f"{sys.executable} {TEST_SERVER_PATH} {HOST}:{PORT} False {method}" executor = HTTPExecutor( http_method_slow_cmd, f"http://{HOST}:{PORT}/", method=method, timeout=1 ) with pytest.raises(TimeoutExpired) as exc: > executor.start() tests/executors/test_http_executor.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:29] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:30] "POST / HTTP/1.1" 500 - 127.0.0.1 - - [12/Oct/2025 21:36:30] "POST / HTTP/1.1" 500 - _________________________________________________________________________________________________________________________________________ test_fail_if_other_running _________________________________________________________________________________________________________________________________________ def test_fail_if_other_running() -> None: """Test raising AlreadyRunning exception when port is blocked.""" executor = HTTPExecutor( HTTP_NORMAL_CMD, f"http://{HOST}:{PORT}/", ) executor2 = HTTPExecutor( HTTP_NORMAL_CMD, f"http://{HOST}:{PORT}/", ) > with executor: tests/executors/test_http_executor.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:30] "HEAD / HTTP/1.1" 200 - _____________________________________________________________________________________________________________________________________________ test_default_port ______________________________________________________________________________________________________________________________________________ @patch.object(HTTPExecutor, "DEFAULT_PORT", PORT) def test_default_port() -> None: """Test default port for the base TCP check. Check if HTTP executor fills in the default port for the TCP check from the base class if no port is provided in the URL. """ executor = HTTPExecutor(HTTP_NORMAL_CMD, f"http://{HOST}/") assert executor.url.port is None assert executor.port == PORT assert TCPExecutor.pre_start_check(executor) is False executor.start() assert TCPExecutor.pre_start_check(executor) is True > executor.stop() tests/executors/test_http_executor.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:30] "HEAD / HTTP/1.1" 200 - _____________________________________________________________________________________________________________________________________ test_http_status_codes[None-True] ______________________________________________________________________________________________________________________________________ accepted_status = None, expected_timeout = True @pytest.mark.parametrize( "accepted_status, expected_timeout", ( # default behaviour - only 2XX HTTP status codes are accepted (None, True), # one explicit integer status code (200, True), # one explicit status code as a string ("404", False), # status codes as a regular expression (r"(2|4)\d\d", False), # status codes as a regular expression ("(200|404)", False), ), ) def test_http_status_codes(accepted_status: Union[None, int, str], expected_timeout: bool) -> None: """Test how 'status' argument influences executor start. :param int|str accepted_status: Executor 'status' value :param bool expected_timeout: if Executor raises TimeoutExpired or not """ kwargs: Dict[str, Any] = { "command": HTTP_NORMAL_CMD, "url": f"http://{HOST}:{PORT}/badpath", "timeout": 2, } if accepted_status: kwargs["status"] = accepted_status executor = HTTPExecutor(**kwargs) if not expected_timeout: executor.start() executor.stop() else: with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_http_executor.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:31] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:31] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:32] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:32] "HEAD /badpath HTTP/1.1" 404 - ______________________________________________________________________________________________________________________________________ test_http_status_codes[200-True] ______________________________________________________________________________________________________________________________________ accepted_status = 200, expected_timeout = True @pytest.mark.parametrize( "accepted_status, expected_timeout", ( # default behaviour - only 2XX HTTP status codes are accepted (None, True), # one explicit integer status code (200, True), # one explicit status code as a string ("404", False), # status codes as a regular expression (r"(2|4)\d\d", False), # status codes as a regular expression ("(200|404)", False), ), ) def test_http_status_codes(accepted_status: Union[None, int, str], expected_timeout: bool) -> None: """Test how 'status' argument influences executor start. :param int|str accepted_status: Executor 'status' value :param bool expected_timeout: if Executor raises TimeoutExpired or not """ kwargs: Dict[str, Any] = { "command": HTTP_NORMAL_CMD, "url": f"http://{HOST}:{PORT}/badpath", "timeout": 2, } if accepted_status: kwargs["status"] = accepted_status executor = HTTPExecutor(**kwargs) if not expected_timeout: executor.start() executor.stop() else: with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_http_executor.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:33] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:33] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - 127.0.0.1 - - [12/Oct/2025 21:36:34] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:34] "HEAD /badpath HTTP/1.1" 404 - _____________________________________________________________________________________________________________________________________ test_http_status_codes[404-False] ______________________________________________________________________________________________________________________________________ accepted_status = '404', expected_timeout = False @pytest.mark.parametrize( "accepted_status, expected_timeout", ( # default behaviour - only 2XX HTTP status codes are accepted (None, True), # one explicit integer status code (200, True), # one explicit status code as a string ("404", False), # status codes as a regular expression (r"(2|4)\d\d", False), # status codes as a regular expression ("(200|404)", False), ), ) def test_http_status_codes(accepted_status: Union[None, int, str], expected_timeout: bool) -> None: """Test how 'status' argument influences executor start. :param int|str accepted_status: Executor 'status' value :param bool expected_timeout: if Executor raises TimeoutExpired or not """ kwargs: Dict[str, Any] = { "command": HTTP_NORMAL_CMD, "url": f"http://{HOST}:{PORT}/badpath", "timeout": 2, } if accepted_status: kwargs["status"] = accepted_status executor = HTTPExecutor(**kwargs) if not expected_timeout: executor.start() > executor.stop() tests/executors/test_http_executor.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:35] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:35] "HEAD /badpath HTTP/1.1" 404 - _________________________________________________________________________________________________________________________________ test_http_status_codes[(2|4)\\d\\d-False] __________________________________________________________________________________________________________________________________ accepted_status = '(2|4)\\d\\d', expected_timeout = False @pytest.mark.parametrize( "accepted_status, expected_timeout", ( # default behaviour - only 2XX HTTP status codes are accepted (None, True), # one explicit integer status code (200, True), # one explicit status code as a string ("404", False), # status codes as a regular expression (r"(2|4)\d\d", False), # status codes as a regular expression ("(200|404)", False), ), ) def test_http_status_codes(accepted_status: Union[None, int, str], expected_timeout: bool) -> None: """Test how 'status' argument influences executor start. :param int|str accepted_status: Executor 'status' value :param bool expected_timeout: if Executor raises TimeoutExpired or not """ kwargs: Dict[str, Any] = { "command": HTTP_NORMAL_CMD, "url": f"http://{HOST}:{PORT}/badpath", "timeout": 2, } if accepted_status: kwargs["status"] = accepted_status executor = HTTPExecutor(**kwargs) if not expected_timeout: executor.start() > executor.stop() tests/executors/test_http_executor.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:35] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:35] "HEAD /badpath HTTP/1.1" 404 - __________________________________________________________________________________________________________________________________ test_http_status_codes[(200|404)-False] ___________________________________________________________________________________________________________________________________ accepted_status = '(200|404)', expected_timeout = False @pytest.mark.parametrize( "accepted_status, expected_timeout", ( # default behaviour - only 2XX HTTP status codes are accepted (None, True), # one explicit integer status code (200, True), # one explicit status code as a string ("404", False), # status codes as a regular expression (r"(2|4)\d\d", False), # status codes as a regular expression ("(200|404)", False), ), ) def test_http_status_codes(accepted_status: Union[None, int, str], expected_timeout: bool) -> None: """Test how 'status' argument influences executor start. :param int|str accepted_status: Executor 'status' value :param bool expected_timeout: if Executor raises TimeoutExpired or not """ kwargs: Dict[str, Any] = { "command": HTTP_NORMAL_CMD, "url": f"http://{HOST}:{PORT}/badpath", "timeout": 2, } if accepted_status: kwargs["status"] = accepted_status executor = HTTPExecutor(**kwargs) if not expected_timeout: executor.start() > executor.stop() tests/executors/test_http_executor.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError -------------------------------------------------------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------------------------------------------------------- 127.0.0.1 - - [12/Oct/2025 21:36:35] code 404, message File not found 127.0.0.1 - - [12/Oct/2025 21:36:35] "HEAD /badpath HTTP/1.1" 404 - ___________________________________________________________________________________________________________________________________ test_executor_waits_for_process_output ___________________________________________________________________________________________________________________________________ def test_executor_waits_for_process_output() -> None: """Check if executor waits for specified output.""" command = 'bash -c "sleep 2 && echo foo && echo bar && sleep 100"' executor = OutputExecutor(command, "foo", timeout=10).start() assert executor.running() is True # foo has been used for start as a banner. assert executor.output().readline() == "bar\n" > executor.stop() tests/executors/test_output_executor.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _________________________________________________________________________________________________________________________________ test_executor_waits_for_process_err_output _________________________________________________________________________________________________________________________________ def test_executor_waits_for_process_err_output() -> None: """Check if executor waits for specified error output.""" command = 'bash -c "sleep 2 && >&2 echo foo && >&2 echo bar && sleep 100"' executor = OutputExecutor( command, "foo", timeout=10, stdin=None, stderr=subprocess.PIPE ).start() assert executor.running() is True # foo has been used for start as a banner. assert executor.err_output().readline() == "bar\n" > executor.stop() tests/executors/test_output_executor.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError __________________________________________________________________________________________________________________________________________ test_executor_dont_start __________________________________________________________________________________________________________________________________________ def test_executor_dont_start() -> None: """Executor should not start.""" command = 'bash -c "sleep 2 && echo foo && echo bar && sleep 100"' executor = OutputExecutor(command, "foobar", timeout=3) with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_output_executor.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/output.py:97: in start self.wait_for(await_for_output) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_start_and_wait _____________________________________________________________________________________________________________________________________________ def test_start_and_wait() -> None: """Test if the executor will await for the process to create a file.""" process = f'bash -c "sleep 2 && touch {FILENAME} && sleep 10"' > with PidExecutor(process, FILENAME, timeout=5) as executor: tests/executors/test_pid_executor.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_if_file_created ____________________________________________________________________________________________________________________________________________ def test_if_file_created() -> None: """Check whether the process really created the given file.""" assert os.path.isfile(FILENAME) is False executor = PidExecutor(SLEEP, FILENAME) > with executor: tests/executors/test_pid_executor.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError _____________________________________________________________________________________________________________________________________________ test_timeout_error _____________________________________________________________________________________________________________________________________________ def test_timeout_error() -> None: """Check if timeout properly expires.""" executor = PidExecutor(SLEEP, FILENAME, timeout=1) with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_pid_executor.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________ test_fail_if_other_executor_running _____________________________________________________________________________________________________________________________________ def test_fail_if_other_executor_running() -> None: """Test raising AlreadyRunning exception when port is blocked.""" process = f'bash -c "sleep 2 && touch {FILENAME} && sleep 10"' executor = PidExecutor(process, FILENAME) executor2 = PidExecutor(process, FILENAME) > with executor: tests/executors/test_pid_executor.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_start_and_wait _____________________________________________________________________________________________________________________________________________ caplog = <_pytest.logging.LogCaptureFixture object at 0x713ad88f6390> def test_start_and_wait(caplog: LogCaptureFixture) -> None: """Test if executor await for process to accept connections.""" caplog.set_level(logging.DEBUG, logger="mirakuru") executor = TCPExecutor(NC_COMMAND, "localhost", port=test_port, timeout=5) executor.start() assert executor.running() is True > executor.stop() tests/executors/test_tcp_executor.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError --------------------------------------------------------------------------------------------------------------------------------------------- Captured log call ---------------------------------------------------------------------------------------------------------------------------------------------- DEBUG mirakuru.base:base.py:261 Starting process: ['bash', '-c', 'sleep 2 && nc -lk 36393'] ______________________________________________________________________________________________________________________________________ test_it_raises_error_on_timeout _______________________________________________________________________________________________________________________________________ def test_it_raises_error_on_timeout() -> None: """Check if TimeoutExpired gets raised correctly.""" command = f'bash -c "sleep 10 && nc -lk {test_port}"' executor = TCPExecutor(command, host="localhost", port=test_port, timeout=2) with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_tcp_executor.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________ test_fail_if_other_executor_running _____________________________________________________________________________________________________________________________________ def test_fail_if_other_executor_running() -> None: """Test raising AlreadyRunning exception.""" executor = TCPExecutor(HTTP_SERVER, host="localhost", port=PORT) executor2 = TCPExecutor(HTTP_SERVER, host="localhost", port=PORT) > with executor: tests/executors/test_tcp_executor.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ____________________________________________________________________________________________________________________________________________ test_start_and_wait _____________________________________________________________________________________________________________________________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-udu/pytest-0'), _retention_count=3, _retention_policy='all') def test_start_and_wait( tmp_path_factory: pytest.TempPathFactory, ) -> None: """Test if executor await for process to accept connections.""" socker_path = tmp_path_factory.getbasetemp() / "mirakuru.sock" socket_server_cmd = f"{sys.executable} {TEST_SOCKET_SERVER_PATH} {socker_path}" executor = UnixSocketExecutor(socket_server_cmd + " 2", socket_name=str(socker_path), timeout=5) > with executor: tests/executors/test_unixsocket_executor.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:189: in __exit__ self.stop() mirakuru/base.py:358: in stop self._kill_all_kids(stop_signal) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ___________________________________________________________________________________________________________________________________________ test_start_and_timeout ___________________________________________________________________________________________________________________________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-udu/pytest-0'), _retention_count=3, _retention_policy='all') def test_start_and_timeout( tmp_path_factory: pytest.TempPathFactory, ) -> None: """Test if executor will properly time out.""" socker_path = tmp_path_factory.getbasetemp() / "mirakuru.sock" socket_server_cmd = f"{sys.executable} {TEST_SOCKET_SERVER_PATH} {socker_path}" executor = UnixSocketExecutor( socket_server_cmd + " 10", socket_name=str(socker_path), timeout=5 ) with pytest.raises(TimeoutExpired): > executor.start() tests/executors/test_unixsocket_executor.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mirakuru/base.py:510: in start self.wait_for(self.check_subprocess) mirakuru/base.py:440: in wait_for self.kill() mirakuru/base.py:408: in kill self._kill_all_kids(sig) mirakuru/base.py:294: in _kill_all_kids pids = processes_with_env(ENV_UUID, self._uuid) mirakuru/base_env.py:52: in processes_with_env_psutil for proc in psutil.process_iter(): /usr/lib/python3.12/site-packages/psutil/__init__.py:1510: in process_iter a = set(pids()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pids(): """Return a list of current running PIDs.""" global _LOWEST_PID ret = sorted(_psplatform.pids()) > _LOWEST_PID = ret[0] E IndexError: list index out of range /usr/lib/python3.12/site-packages/psutil/__init__.py:1455: IndexError ========================================================================================================================================== short test summary info =========================================================================================================================================== FAILED tests/executors/test_executor.py::test_running_process[sleep 300] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_running_process[command1] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_custom_signal_stop - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_stop_custom_signal_stop - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_stop_custom_exit_signal_stop - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_running_context - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_executor_in_context_only - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_context_stopped - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_process_output[echo "foobar"] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_process_output[command1] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_process_output_shell[echo "foobar"] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_process_output_shell[command1] - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_stopping_not_yet_running_executor - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_forgotten_stop - subprocess.CalledProcessError: Command '('ps', 'aux', '-w')' returned non-zero exit status 47. FAILED tests/executors/test_executor.py::test_executor_raises_if_process_exits_with_error - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_executor_ignores_processes_exiting_with_0 - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_executor_methods_returning_self - IndexError: list index out of range FAILED tests/executors/test_executor.py::test_mirakuru_cleanup - subprocess.CalledProcessError: Command '('ps', 'aux', '-w')' returned non-zero exit status 47. FAILED tests/executors/test_executor_kill.py::test_custom_signal_kill - IndexError: list index out of range FAILED tests/executors/test_executor_kill.py::test_kill_custom_signal_kill - IndexError: list index out of range FAILED tests/executors/test_executor_kill.py::test_already_closed - IndexError: list index out of range FAILED tests/executors/test_executor_kill.py::test_stopping_brutally - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_executor_starts_and_waits - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_shell_started_server_stops - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[HEAD] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[GET] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[POST] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_post_payload_server_starting - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[HEAD] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[GET] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[POST] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_fail_if_other_running - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_default_port - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_http_status_codes[None-True] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_http_status_codes[200-True] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_http_status_codes[404-False] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_http_status_codes[(2|4)\\d\\d-False] - IndexError: list index out of range FAILED tests/executors/test_http_executor.py::test_http_status_codes[(200|404)-False] - IndexError: list index out of range FAILED tests/executors/test_output_executor.py::test_executor_waits_for_process_output - IndexError: list index out of range FAILED tests/executors/test_output_executor.py::test_executor_waits_for_process_err_output - IndexError: list index out of range FAILED tests/executors/test_output_executor.py::test_executor_dont_start - IndexError: list index out of range FAILED tests/executors/test_pid_executor.py::test_start_and_wait - IndexError: list index out of range FAILED tests/executors/test_pid_executor.py::test_if_file_created - IndexError: list index out of range FAILED tests/executors/test_pid_executor.py::test_timeout_error - IndexError: list index out of range FAILED tests/executors/test_pid_executor.py::test_fail_if_other_executor_running - IndexError: list index out of range FAILED tests/executors/test_tcp_executor.py::test_start_and_wait - IndexError: list index out of range FAILED tests/executors/test_tcp_executor.py::test_it_raises_error_on_timeout - IndexError: list index out of range FAILED tests/executors/test_tcp_executor.py::test_fail_if_other_executor_running - IndexError: list index out of range FAILED tests/executors/test_unixsocket_executor.py::test_start_and_wait - IndexError: list index out of range FAILED tests/executors/test_unixsocket_executor.py::test_start_and_timeout - IndexError: list index out of range =========================================================================================================================== 50 failed, 8 passed, 2 deselected in 75.86s (0:01:15) ============================================================================================================================ Exception ignored in atexit callback: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 84, in cleanup_subprocesses pids = processes_with_env(ENV_UUID, str(os.getpid())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil for proc in psutil.process_iter(): ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter a = set(pids()) ^^^^^^ File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1455, in pids _LOWEST_PID = ret[0] ~~~^^^ IndexError: list index out of range Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you useException ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' Exception ignored in: Traceback (most recent call last): File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 460, in __del__ File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 408, in kill File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base.py", line 294, in _kill_all_kids File "/home/udu/aports/community/py3-mirakuru/src/mirakuru-2.6.1/mirakuru/base_env.py", line 52, in processes_with_env_psutil File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1510, in process_iter File "/usr/lib/python3.12/site-packages/psutil/__init__.py", line 1454, in pids File "/usr/lib/python3.12/site-packages/psutil/_pslinux.py", line 1578, in pids File "/usr/lib/python3.12/site-packages/psutil/_common.py", line 838, in get_procfs_path KeyError: 'psutil' it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** ******************************************************************************** Exception while deleting Executor. It is strongly suggested that you use it as a context manager instead. ******************************************************************************** >>> ERROR: py3-mirakuru: check failed >>> py3-mirakuru: Uninstalling dependencies... (1/36) Purging .makedepends-py3-mirakuru (20251012.213544) (2/36) Purging py3-psutil-pyc (7.0.0-r0) (3/36) Purging py3-psutil (7.0.0-r0) (4/36) Purging py3-gpep517-pyc (19-r0) (5/36) Purging py3-gpep517 (19-r0) (6/36) Purging py3-installer-pyc (0.7.0-r2) (7/36) Purging py3-installer (0.7.0-r2) (8/36) Purging py3-wheel-pyc (0.46.1-r0) (9/36) Purging py3-wheel (0.46.1-r0) (10/36) Purging py3-daemon-pyc (3.1.1-r0) (11/36) Purging py3-daemon (3.1.1-r0) (12/36) Purging py3-setuptools-pyc (80.9.0-r0) (13/36) Purging py3-setuptools (80.9.0-r0) (14/36) Purging py3-lockfile-pyc (0.12.2-r10) (15/36) Purging py3-lockfile (0.12.2-r10) (16/36) Purging py3-pytest-pyc (8.3.5-r0) (17/36) Purging py3-pytest (8.3.5-r0) (18/36) Purging py3-iniconfig-pyc (2.1.0-r0) (19/36) Purging py3-iniconfig (2.1.0-r0) (20/36) Purging py3-packaging-pyc (25.0-r0) (21/36) Purging py3-packaging (25.0-r0) (22/36) Purging py3-parsing-pyc (3.2.3-r0) (23/36) Purging py3-parsing (3.2.3-r0) (24/36) Purging py3-pluggy-pyc (1.5.0-r0) (25/36) Purging py3-pluggy (1.5.0-r0) (26/36) Purging py3-py-pyc (1.11.0-r4) (27/36) Purging py3-py (1.11.0-r4) (28/36) Purging netcat-openbsd (1.229.1-r0) (29/36) Purging procps-ng (4.0.4-r3) (30/36) Purging py3-flaky-pyc (3.8.1-r1) (31/36) Purging py3-flaky (3.8.1-r1) (32/36) Purging libbsd (0.12.2-r0) (33/36) Purging libmd (1.1.0-r0) (34/36) Purging libproc2 (4.0.4-r3) (35/36) Purging utmps-libs (0.1.3.1-r0) (36/36) Purging skalibs-libs (2.14.4.0-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages