Search Criteria
Package Details: python-mirakuru 2.5.3-1
Package Actions
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.000013 |
First Submitted: | 2023-06-17 14:03 (UTC) |
Last Updated: | 2024-10-22 07:16 (UTC) |
Dependencies (9)
- python (python37AUR, python311AUR, python310AUR)
- python-psutil
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- openbsd-netcat (openbsd-netcat-gitAUR) (check)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (check)
- python-daemonAUR (check)
- python-pytest (check)
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 _____________________
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 ____________________
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>
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'
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>
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'
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>
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'
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>
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 __________________
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>
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'
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>
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'
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>
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'
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>
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.