Package Details: python-mirakuru 2.5.3-1

Git Clone URL: https://aur.archlinux.org/python-mirakuru.git (read-only, click to copy)
Package Base: python-mirakuru
Description: Start your subprocess and wait for a clear indication that it's running
Upstream URL: https://github.com/ClearcodeHQ/mirakuru
Licenses: LGPL-3.0-only
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 1
Popularity: 0.000018
First Submitted: 2023-06-17 14:03 (UTC)
Last Updated: 2024-10-22 07:16 (UTC)

Latest Comments

richard_mt commented on 2024-01-17 07:08 (UTC)

@carsme: I tried, same problem :(

carsme commented on 2024-01-16 18:36 (UTC)

@richard_mt I'm afraid I cannot reproduce this. Try deleting the directory ~/.cache/yay/python-mirakuru and reinstall.

richard_mt commented on 2024-01-16 13:58 (UTC)

Tests do not pass on my machine :(

============================================================================================================================= test session starts ============================================================================================================================== platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.3.0 rootdir: /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2 configfile: pyproject.toml plugins: time-machine-2.13.0, anyio-4.2.0 collected 60 items

tests/test_base.py . [ 1%] tests/executors/test_executor.py ...................... [ 38%] tests/executors/test_executor_kill.py ...FF. [ 48%] tests/executors/test_http_executor.py ..FFFFFFF....... [ 75%] tests/executors/test_output_executor.py ... [ 80%] tests/executors/test_pid_executor.py ...... [ 90%] tests/executors/test_tcp_executor.py .... [ 96%] tests/executors/test_unixsocket_executor.py .. [100%]

=================================================================================================================================== FAILURES =================================================================================================================================== ___________________ test_daemons_killing _____________________

def test_daemons_killing() -> None:
    """Test if all subprocesses of SimpleExecutor can be killed.

    The most problematic subprocesses are daemons or other services that
    change the process group ID. This test verifies that daemon process
    is killed after executor's kill().
    """
    executor = SimpleExecutor(("python", SAMPLE_DAEMON_PATH), shell=True)
    executor.start()
    time.sleep(2)
    assert (
        executor.running() is not True
    ), "Executor should not have subprocess running as it started a daemon."
  assert SAMPLE_DAEMON_PATH in ps_aux()

E assert '/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/sample_daemon.py' in "b'USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nroot 1 0.0 0.0 23024 1206... 0:00 [kworker/2:0-cgroup_destroy]\nrichard 116560 200 0.0 11640 4992 pts/1 R+ 14:57 0:00 ps aux -w\n'" E + where "b'USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nroot 1 0.0 0.0 23024 1206... 0:00 [kworker/2:0-cgroup_destroy]\nrichard 116560 200 0.0 11640 4992 pts/1 R+ 14:57 0:00 ps aux -w\n'" = ps_aux()

tests/executors/test_executor_kill.py:70: AssertionError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/sample_daemon.py", line 18, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' __________________ 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()

tests/executors/test_executor_kill.py:84:


mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0e510d0>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:8000 True" 0x7c49b0e510d0> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' _________________ testslow_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:82:


mirakuru/base.py:180: in enter return self.start() mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0f7ba90>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False HEAD" 0x7c49b0f7ba90> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' _________________ testslow_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:82:


mirakuru/base.py:180: in enter return self.start() mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0e8d4d0>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False GET" 0x7c49b0e8d4d0> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' _________________ testslow_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:82:


mirakuru/base.py:180: in enter return self.start() mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0ecb9d0>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False POST" 0x7c49b0ecb9d0> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' _________________ testslow_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:101:


mirakuru/base.py:180: in enter return self.start() mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0e31990>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False Key" 0x7c49b0e31990> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' ________________ testslow_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:123:


mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0e41610>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False HEAD" 0x7c49b0e41610> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' _________________ testslow_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:123:


mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0fa2590>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False GET" 0x7c49b0fa2590> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' ________________ testslow_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:123:


mirakuru/base.py:512: in start self.wait_for(self.check_subprocess) mirakuru/base.py:435: in wait_for if wait_for():


self = <mirakuru.http.HTTPExecutor: "/usr/bin/p..." 0x7c49b0ec8210>

def check_subprocess(self) -> bool:
    """Make sure the process didn't exit with an error and run the checks.

    :rtype: bool
    :return: the actual check status or False before starting the process
    :raise ProcessExitedWithError: when the main process exits with
        an error
    """
    if self.process is None:  # pragma: no cover
        # No process was started.
        return False
    exit_code = self.process.poll()
    if exit_code is not None and exit_code != 0:
        # The main process exited with an error. Clean up the children
        # if any.
        self._kill_all_kids(self._kill_signal)
        self._clear_process()
      raise ProcessExitedWithError(self, exit_code)

E mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False POST" 0x7c49b0ec8210> executor has exited with a non-zero code: 1.

mirakuru/base.py:532: ProcessExitedWithError ----------------------------------------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py", line 23, in <module> from tests.signals import block_signals # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'tests.signals' =========================================================================================================================== short test summary info ============================================================================================================================ FAILED tests/executors/test_executor_kill.py::test_daemons_killing - assert '/home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/sample_daemon.py' in "b'USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nroot 1 0.0 0.0 23024 1206... 0:00 [kworker/2:0-cgroup_destroy]\nrichard 116... FAILED tests/executors/test_executor_kill.py::test_stopping_brutally - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:8000 True" 0x7c49b0e510d0> executor has exited with a ... FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[HEAD] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False HEAD" 0x7c49b0f7ba90> executor has exited w... FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[GET] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False GET" 0x7c49b0e8d4d0> executor has exited wi... FAILED tests/executors/test_http_executor.py::test_slow_method_server_starting[POST] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False POST" 0x7c49b0ecb9d0> executor has exited w... FAILED tests/executors/test_http_executor.py::test_slow_post_payload_server_starting - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False Key" 0x7c49b0e31990> executor has exited wi... FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[HEAD] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False HEAD" 0x7c49b0e41610> executor has exited w... FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[GET] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False GET" 0x7c49b0fa2590> executor has exited wi... FAILED tests/executors/test_http_executor.py::test_slow_method_server_timed_out[POST] - mirakuru.exceptions.ProcessExitedWithError: The process invoked by the <mirakuru.http.HTTPExecutor: "/usr/bin/python /home/richard/.cache/yay/python-mirakuru/src/mirakuru-2.5.2/tests/server_for_tests.py 127.0.0.1:7987 False POST" 0x7c49b0ec8210> executor has exited w... ======================================================================================================================== 9 failed, 51 passed in 43.49s =========================================================================================================================

carsme commented on 2023-07-03 19:52 (UTC)

@mroethke Thanks for notifying me. Fixed.

mroethke commented on 2023-07-02 10:36 (UTC)

Please add procps-ng to checkdepends, it is not installed by default in a clean chroot causing some tests to fail.