starting phase `separate-from-pid1' build process now running as PID 18 phase `separate-from-pid1' succeeded after 0.0 seconds starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/i5bvvqdzb4cjbhwqv7bvvhkf365xwhb6-python-wrapper-3.11.11/bin:/gnu/store/kwhmi07bswd85lqh51vm2f4kr2i7rf6q-python-wheel-0.40.0/bin:/gnu/store/lq8qjz98ahi1y8dsmfmp2wysg713fw37-python-pytest-8.3.3/bin:/gnu/store/9qcvl6rg6idqns39ra2jbm2kdz1rwicx-tar-1.34/bin:/gnu/store/5yv24flz74w2bjbpl4fy9n8brcnhhg0m-gzip-1.13/bin:/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/bin:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/bin:/gnu/store/nq9418ayx64v9ahnwldvihlv4mddg64c-diffutils-3.10/bin:/gnu/store/drgzs1dic48b1rz090b39yw09wvjs0qa-patch-2.7.6/bin:/gnu/store/r4r6zdsgqc1wmxmy3lasxj1z1bg9ciqc-findutils-4.9.0/bin:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/bin:/gnu/store/swsr50qcmki242ka78gwvqyw821463rv-zstd-1.5.2/bin:/gnu/store/rjjzvnkk4cv57859wvjchgdsd0zrjnim-sed-4.8/bin:/gnu/store/iy4f97nh5mrn7q7miw2ypxnz4fp19k6k-grep-3.11/bin:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/bin:/gnu/store/3bg5qfsmjw6p7bh1xadarbaq246zis0d-coreutils-9.1/bin:/gnu/store/m3fxyhpqp774hi0kx8vmxibsqz99lqa7-make-4.4.1/bin:/gnu/store/yxlaq640a0fn912h5pr74m5b8iz85rw1-bash-minimal-5.1.16/bin:/gnu/store/mg6dkhs9w5a46b4nvdx1nmmdgbp0cfcd-ld-wrapper-0/bin:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/bin:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/bin:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/bin:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/sbin:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/bin:/gnu/store/llh6akq6j6frkf60r02b15hdqc0iflx9-python-typing-extensions-4.12.2/bin:/gnu/store/wy91cpx28gldd3gk8qnxx86fq2i7r88f-python-tomli-2.1.0/bin:/gnu/store/07wyl7w8gyyrads56l6m94ibkj6gv88z-python-packaging-bootstrap-24.2/bin:/gnu/store/b3dkr7hfsa4zi413z0sm92aib4mzqcxb-python-py-1.11.0/bin:/gnu/store/ykbng66w7gf59wyrgv0i0h7cii54423l-python-attrs-bootstrap-24.2.0/bin:/gnu/store/df1b3j4dgahsaif481mk07zyls3v4y33-python-pyparsing-3.2.1/bin' environment variable `GUIX_PYTHONPATH' set to `/gnu/store/gr1338yryzsv4nmxada481i0hnhs7a5k-python-setuptools-67.6.1/lib/python3.11/site-packages:/gnu/store/mwwlsj6yfdydwc3qp2x04z45z57h2j8g-python-setuptools-scm-7.1.0/lib/python3.11/site-packages:/gnu/store/kwhmi07bswd85lqh51vm2f4kr2i7rf6q-python-wheel-0.40.0/lib/python3.11/site-packages:/gnu/store/lq8qjz98ahi1y8dsmfmp2wysg713fw37-python-pytest-8.3.3/lib/python3.11/site-packages:/gnu/store/52gq6gkcrqvzk42ybx3ivnkjvs3xqm2x-python-psutil-5.9.2/lib/python3.11/site-packages:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/lib/python3.11/site-packages:/gnu/store/llh6akq6j6frkf60r02b15hdqc0iflx9-python-typing-extensions-4.12.2/lib/python3.11/site-packages:/gnu/store/wy91cpx28gldd3gk8qnxx86fq2i7r88f-python-tomli-2.1.0/lib/python3.11/site-packages:/gnu/store/07wyl7w8gyyrads56l6m94ibkj6gv88z-python-packaging-bootstrap-24.2/lib/python3.11/site-packages:/gnu/store/b3dkr7hfsa4zi413z0sm92aib4mzqcxb-python-py-1.11.0/lib/python3.11/site-packages:/gnu/store/amml1y564kjjvxrcgl2zcgyz3d948nyy-python-pluggy-1.5.0/lib/python3.11/site-packages:/gnu/store/zrab19x0ksy64rbcsjdxrbb6yijgpvyh-python-exceptiongroup-1.1.1/lib/python3.11/site-packages:/gnu/store/9ij4d41cm48ira37n31gxr7cx7gbzwii-python-iniconfig-1.1.1/lib/python3.11/site-packages:/gnu/store/ykbng66w7gf59wyrgv0i0h7cii54423l-python-attrs-bootstrap-24.2.0/lib/python3.11/site-packages:/gnu/store/6jvysrm82q05rbc42lk1143xzz7fsm47-python-six-bootstrap-1.16.0/lib/python3.11/site-packages:/gnu/store/df1b3j4dgahsaif481mk07zyls3v4y33-python-pyparsing-3.2.1/lib/python3.11/site-packages' environment variable `PYTHONTZPATH' unset environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/include:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/include:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/include:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/include:/gnu/store/m3fxyhpqp774hi0kx8vmxibsqz99lqa7-make-4.4.1/include:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/include:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/include:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/include:/gnu/store/j0w4q2cbzjbg7s4yf9lip8dcbslbw3hi-linux-libre-headers-5.15.49/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/include:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/include:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/include:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/include:/gnu/store/m3fxyhpqp774hi0kx8vmxibsqz99lqa7-make-4.4.1/include:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/include:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include/c++:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/include:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/include:/gnu/store/j0w4q2cbzjbg7s4yf9lip8dcbslbw3hi-linux-libre-headers-5.15.49/include' environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/include:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/include:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/include:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/include:/gnu/store/m3fxyhpqp774hi0kx8vmxibsqz99lqa7-make-4.4.1/include:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/include:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/include:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/include:/gnu/store/j0w4q2cbzjbg7s4yf9lip8dcbslbw3hi-linux-libre-headers-5.15.49/include' environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/include:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/include:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/include:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/include:/gnu/store/m3fxyhpqp774hi0kx8vmxibsqz99lqa7-make-4.4.1/include:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/include:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include/c++:/gnu/store/bqxrv6awpk0y1k67c040qm28imk7xds1-gcc-11.4.0/include:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/include:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/include:/gnu/store/j0w4q2cbzjbg7s4yf9lip8dcbslbw3hi-linux-libre-headers-5.15.49/include' environment variable `LIBRARY_PATH' set to `/gnu/store/gr1338yryzsv4nmxada481i0hnhs7a5k-python-setuptools-67.6.1/lib:/gnu/store/mwwlsj6yfdydwc3qp2x04z45z57h2j8g-python-setuptools-scm-7.1.0/lib:/gnu/store/kwhmi07bswd85lqh51vm2f4kr2i7rf6q-python-wheel-0.40.0/lib:/gnu/store/lq8qjz98ahi1y8dsmfmp2wysg713fw37-python-pytest-8.3.3/lib:/gnu/store/52gq6gkcrqvzk42ybx3ivnkjvs3xqm2x-python-psutil-5.9.2/lib:/gnu/store/pdsn19r59s8mbac1z7qj17738b0yng92-bzip2-1.0.8/lib:/gnu/store/z7r7qf08p6qgaw27qy86d8fgbknz8c0s-file-5.45/lib:/gnu/store/5wsbh52qwg83h2zap0pgic5fn985cq2z-gawk-5.3.0/lib:/gnu/store/ylddhkxf92aq06m28nzz671jbcmdw48j-xz-5.4.5/lib:/gnu/store/byb1pwq6pw3j8mmx3p7491jx7a6a03c5-binutils-2.41/lib:/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/lib:/gnu/store/hwzlxqp51gl75fni0vzyshsfbn062bhz-glibc-2.39-static/lib:/gnu/store/6nn013ww5k04qmkwla94sjplh53ydsy3-python-3.11.11/lib:/gnu/store/llh6akq6j6frkf60r02b15hdqc0iflx9-python-typing-extensions-4.12.2/lib:/gnu/store/wy91cpx28gldd3gk8qnxx86fq2i7r88f-python-tomli-2.1.0/lib:/gnu/store/07wyl7w8gyyrads56l6m94ibkj6gv88z-python-packaging-bootstrap-24.2/lib:/gnu/store/b3dkr7hfsa4zi413z0sm92aib4mzqcxb-python-py-1.11.0/lib:/gnu/store/amml1y564kjjvxrcgl2zcgyz3d948nyy-python-pluggy-1.5.0/lib:/gnu/store/zrab19x0ksy64rbcsjdxrbb6yijgpvyh-python-exceptiongroup-1.1.1/lib:/gnu/store/9ij4d41cm48ira37n31gxr7cx7gbzwii-python-iniconfig-1.1.1/lib:/gnu/store/ykbng66w7gf59wyrgv0i0h7cii54423l-python-attrs-bootstrap-24.2.0/lib:/gnu/store/6jvysrm82q05rbc42lk1143xzz7fsm47-python-six-bootstrap-1.16.0/lib:/gnu/store/df1b3j4dgahsaif481mk07zyls3v4y33-python-pyparsing-3.2.1/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/6w2vw5ms0i6l3yn7aqxlcv9g3sccl6qz-glibc-2.39/lib/locale' environment variable `TZDIR' unset phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' using 'C.UTF-8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' pytest-xprocess-1.0.2/ pytest-xprocess-1.0.2/LICENSE pytest-xprocess-1.0.2/MANIFEST.in pytest-xprocess-1.0.2/PKG-INFO pytest-xprocess-1.0.2/README.rst pytest-xprocess-1.0.2/pyproject.toml pytest-xprocess-1.0.2/pytest_xprocess.egg-info/ pytest-xprocess-1.0.2/pytest_xprocess.egg-info/PKG-INFO pytest-xprocess-1.0.2/pytest_xprocess.egg-info/SOURCES.txt pytest-xprocess-1.0.2/pytest_xprocess.egg-info/dependency_links.txt pytest-xprocess-1.0.2/pytest_xprocess.egg-info/entry_points.txt pytest-xprocess-1.0.2/pytest_xprocess.egg-info/requires.txt pytest-xprocess-1.0.2/pytest_xprocess.egg-info/top_level.txt pytest-xprocess-1.0.2/setup.cfg pytest-xprocess-1.0.2/setup.py pytest-xprocess-1.0.2/tests/ pytest-xprocess-1.0.2/tests/conftest.py pytest-xprocess-1.0.2/tests/server.py pytest-xprocess-1.0.2/tests/test_callback.py pytest-xprocess-1.0.2/tests/test_functional_workflow.py pytest-xprocess-1.0.2/tests/test_interruption_clean_up.py pytest-xprocess-1.0.2/tests/test_process_initialization.py pytest-xprocess-1.0.2/tests/test_process_termination.py pytest-xprocess-1.0.2/tests/test_resource_cleanup.py pytest-xprocess-1.0.2/tests/test_startup_timeout.py pytest-xprocess-1.0.2/tox.ini pytest-xprocess-1.0.2/xprocess/ pytest-xprocess-1.0.2/xprocess/__init__.py pytest-xprocess-1.0.2/xprocess/pytest_xprocess.py pytest-xprocess-1.0.2/xprocess/xprocess.py phase `unpack' succeeded after 0.0 seconds starting phase `ensure-no-mtimes-pre-1980' phase `ensure-no-mtimes-pre-1980' succeeded after 0.0 seconds starting phase `enable-bytecode-determinism' phase `enable-bytecode-determinism' succeeded after 0.0 seconds starting phase `ensure-no-cythonized-files' phase `ensure-no-cythonized-files' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' Using 'setuptools.build_meta' to build wheels, auto-detected '#f', override '#f'. Prepending '[]' to sys.path, auto-detected '#f', override '#f'. running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/xprocess copying xprocess/xprocess.py -> build/lib/xprocess copying xprocess/pytest_xprocess.py -> build/lib/xprocess copying xprocess/__init__.py -> build/lib/xprocess warning: build_py: byte-compiling is disabled, skipping. installing to build/bdist.linux-ppc64le/wheel running install running install_lib creating build/bdist.linux-ppc64le creating build/bdist.linux-ppc64le/wheel creating build/bdist.linux-ppc64le/wheel/xprocess copying build/lib/xprocess/__init__.py -> build/bdist.linux-ppc64le/wheel/xprocess copying build/lib/xprocess/pytest_xprocess.py -> build/bdist.linux-ppc64le/wheel/xprocess copying build/lib/xprocess/xprocess.py -> build/bdist.linux-ppc64le/wheel/xprocess warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info running egg_info writing pytest_xprocess.egg-info/PKG-INFO writing dependency_links to pytest_xprocess.egg-info/dependency_links.txt writing entry points to pytest_xprocess.egg-info/entry_points.txt writing requirements to pytest_xprocess.egg-info/requires.txt writing top-level names to pytest_xprocess.egg-info/top_level.txt reading manifest file 'pytest_xprocess.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG' adding license file 'LICENSE' writing manifest file 'pytest_xprocess.egg-info/SOURCES.txt' Copying pytest_xprocess.egg-info to build/bdist.linux-ppc64le/wheel/pytest_xprocess-1.0.2-py3.11.egg-info running install_scripts creating build/bdist.linux-ppc64le/wheel/pytest_xprocess-1.0.2.dist-info/WHEEL creating '/tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/dist/.tmp-em6l6fn6/pytest_xprocess-1.0.2-py3-none-any.whl' and adding 'build/bdist.linux-ppc64le/wheel' to it adding 'xprocess/__init__.py' adding 'xprocess/pytest_xprocess.py' adding 'xprocess/xprocess.py' adding 'pytest_xprocess-1.0.2.dist-info/LICENSE' adding 'pytest_xprocess-1.0.2.dist-info/METADATA' adding 'pytest_xprocess-1.0.2.dist-info/WHEEL' adding 'pytest_xprocess-1.0.2.dist-info/entry_points.txt' adding 'pytest_xprocess-1.0.2.dist-info/top_level.txt' adding 'pytest_xprocess-1.0.2.dist-info/RECORD' removing build/bdist.linux-ppc64le/wheel phase `build' succeeded after 0.5 seconds starting phase `install' phase `install' succeeded after 0.1 seconds starting phase `add-install-to-pythonpath' phase `add-install-to-pythonpath' succeeded after 0.0 seconds starting phase `add-install-to-path' phase `add-install-to-path' succeeded after 0.0 seconds starting phase `create-entrypoints' phase `create-entrypoints' succeeded after 0.0 seconds starting phase `wrap' find-files: /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/sbin: No such file or directory phase `wrap' succeeded after 0.0 seconds starting phase `compile-bytecode' Listing '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages'... Listing '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/pytest_xprocess-1.0.2.dist-info'... Listing '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess'... Compiling '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/__init__.py'... Compiling '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/pytest_xprocess.py'... Compiling '/gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py'... phase `compile-bytecode' succeeded after 0.1 seconds starting phase `check' Using pytest ============================= test session starts ============================== platform linux -- Python 3.11.11, pytest-8.3.3, pluggy-1.5.0 -- /gnu/store/i5bvvqdzb4cjbhwqv7bvvhkf365xwhb6-python-wrapper-3.11.11/bin/python cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/.hypothesis/examples') rootdir: /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2 configfile: tox.ini plugins: hypothesis-6.54.5, xprocess-1.0.2 collecting ... collected 51 items tests/test_callback.py::test_callback_success[s1] PASSED [ 1%] tests/test_callback.py::test_callback_success[s2] PASSED [ 3%] tests/test_callback.py::test_callback_success[s3] PASSED [ 5%] tests/test_callback.py::test_callback_fail[s1] PASSED [ 7%] tests/test_callback.py::test_callback_fail[s2] PASSED [ 9%] tests/test_callback.py::test_callback_fail[s3] PASSED [ 11%] tests/test_functional_workflow.py::test_functional_work_flow PASSED [ 13%] tests/test_interruption_clean_up.py::test_interruption_cleanup PASSED [ 15%] tests/test_interruption_clean_up.py::test_interruption_does_not_cleanup PASSED [ 17%] tests/test_process_initialization.py::test_servers_start[s1] PASSED [ 19%] tests/test_process_initialization.py::test_servers_start[s2] PASSED [ 21%] tests/test_process_initialization.py::test_servers_start[s3] PASSED [ 23%] tests/test_process_initialization.py::test_ensure_not_restart[s1] PASSED [ 25%] tests/test_process_initialization.py::test_ensure_not_restart[s2] PASSED [ 27%] tests/test_process_initialization.py::test_ensure_not_restart[s3] PASSED [ 29%] tests/test_process_initialization.py::test_startup_detection_max_read_lines[s1-started-21] PASSED [ 31%] tests/test_process_initialization.py::test_startup_detection_max_read_lines[s2-spam, bacon, eggs-30] PASSED [ 33%] tests/test_process_initialization.py::test_startup_detection_max_read_lines[s3-finally started-130] PASSED [ 35%] tests/test_process_initialization.py::test_runtime_error_on_start_fail[s1] PASSED [ 37%] tests/test_process_initialization.py::test_runtime_error_on_start_fail[s2] PASSED [ 39%] tests/test_process_initialization.py::test_runtime_error_on_start_fail[s3] PASSED [ 41%] tests/test_process_initialization.py::test_popen_kwargs[s1] PASSED [ 43%] tests/test_process_initialization.py::test_popen_kwargs[s2] PASSED [ 45%] tests/test_process_initialization.py::test_popen_kwargs[s3] PASSED [ 47%] tests/test_process_initialization.py::test_startup_without_pattern[s1] FAILED [ 49%] tests/test_process_initialization.py::test_startup_without_pattern[s2] FAILED [ 50%] tests/test_process_initialization.py::test_startup_without_pattern[s3] FAILED [ 52%] tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s1-will not match-21] FAILED [ 54%] tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] FAILED [ 56%] tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s3-finally started-130] FAILED [ 58%] tests/test_process_termination.py::test_clean_shutdown[s1] PASSED [ 60%] tests/test_process_termination.py::test_clean_shutdown[s2] PASSED [ 62%] tests/test_process_termination.py::test_clean_shutdown[s3] PASSED [ 64%] tests/test_process_termination.py::test_terminate_no_pid[s1] PASSED [ 66%] tests/test_process_termination.py::test_terminate_no_pid[s2] PASSED [ 68%] tests/test_process_termination.py::test_terminate_no_pid[s3] PASSED [ 70%] tests/test_process_termination.py::test_terminate_only_parent[s1] PASSED [ 72%] tests/test_process_termination.py::test_terminate_only_parent[s2] PASSED [ 74%] tests/test_process_termination.py::test_terminate_only_parent[s3] PASSED [ 76%] tests/test_process_termination.py::test_sigkill_after_failed_sigterm[s1] PASSED [ 78%] tests/test_process_termination.py::test_sigkill_after_failed_sigterm[s2] PASSED [ 80%] tests/test_process_termination.py::test_sigkill_after_failed_sigterm[s3] PASSED [ 82%] tests/test_process_termination.py::test_return_value_on_failure[s1] PASSED [ 84%] tests/test_process_termination.py::test_return_value_on_failure[s2] PASSED [ 86%] tests/test_process_termination.py::test_return_value_on_failure[s3] PASSED [ 88%] tests/test_resource_cleanup.py::test_0 PASSED [ 90%] tests/test_resource_cleanup.py::test_1 PASSED [ 92%] tests/test_resource_cleanup.py::test_2 PASSED [ 94%] tests/test_startup_timeout.py::test_timeout_raise_exception[s1] PASSED [ 96%] tests/test_startup_timeout.py::test_timeout_raise_exception[s2] PASSED [ 98%] tests/test_startup_timeout.py::test_timeout_raise_exception[s3] PASSED [100%] =================================== FAILURES =================================== _______________________ test_startup_without_pattern[s1] _______________________ tcp_port = 51131, proc_name = 's1' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 51131, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s1$ /gnu/store/i5bvvqdzb4cjbhwqv7bvvhkf365xwhb6-python-wrapper-3.11.11/bin/python /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/tests/server.py 51131 --no-children process 's1' started pid=81 _______________________ test_startup_without_pattern[s2] _______________________ tcp_port = 58145, proc_name = 's2' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 58145, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s2$ /gnu/store/i5bvvqdzb4cjbhwqv7bvvhkf365xwhb6-python-wrapper-3.11.11/bin/python /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/tests/server.py 58145 --no-children process 's2' started pid=82 _______________________ test_startup_without_pattern[s3] _______________________ tcp_port = 33535, proc_name = 's3' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() /gnu/store/06cka0qnzfp8k0cbf1ph2cpdxkidc0pq-python-pytest-xprocess-1.0.2/lib/python3.11/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 33535, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s3$ /gnu/store/i5bvvqdzb4cjbhwqv7bvvhkf365xwhb6-python-wrapper-3.11.11/bin/python /tmp/guix-build-python-pytest-xprocess-1.0.2.drv-0/pytest-xprocess-1.0.2/tests/server.py 33535 --no-children process 's3' started pid=83 _________ test_startup_with_pattern_and_callback[s1-will not match-21] _________ tcp_port = 34059, proc_name = 's1', proc_pttrn = 'will not match', lines = 21 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": > with pytest.raises(RuntimeError): E Failed: DID NOT RAISE tests/test_process_initialization.py:159: Failed _______ test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] ________ tcp_port = 59141, proc_name = 's2', proc_pttrn = 'spam, bacon, eggs', lines = 30 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": with pytest.raises(RuntimeError): xprocess.ensure(proc_name, Starter) # since we made xprocess fail to start the server on purpose, we cannot # terminate it using XProcessInfo.terminate method once it does not # know the PID, process name or even that it is running, so we tell the # server to terminate itself. with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("localhost", tcp_port)) sock.sendall(bytes("exit\n", "utf-8")) else: xprocess.ensure(proc_name, Starter) info = xprocess.getinfo(proc_name) assert info.isrunning() > assert request_response_cycle(tcp_port, data) tests/test_process_initialization.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 59141, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ________ test_startup_with_pattern_and_callback[s3-finally started-130] ________ tcp_port = 36949, proc_name = 's3', proc_pttrn = 'finally started', lines = 130 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": with pytest.raises(RuntimeError): xprocess.ensure(proc_name, Starter) # since we made xprocess fail to start the server on purpose, we cannot # terminate it using XProcessInfo.terminate method once it does not # know the PID, process name or even that it is running, so we tell the # server to terminate itself. with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("localhost", tcp_port)) sock.sendall(bytes("exit\n", "utf-8")) else: xprocess.ensure(proc_name, Starter) info = xprocess.getinfo(proc_name) assert info.isrunning() > assert request_response_cycle(tcp_port, data) tests/test_process_initialization.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 36949, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError =========================== short test summary info ============================ FAILED tests/test_process_initialization.py::test_startup_without_pattern[s1] - ConnectionRefusedError: [Errno 111] Connection refused FAILED tests/test_process_initialization.py::test_startup_without_pattern[s2] - ConnectionRefusedError: [Errno 111] Connection refused FAILED tests/test_process_initialization.py::test_startup_without_pattern[s3] - ConnectionRefusedError: [Errno 111] Connection refused FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s1-will not match-21] - Failed: DID NOT RAISE FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] - ConnectionRefusedError: [Errno 111] Connection refused FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s3-finally started-130] - ConnectionRefusedError: [Errno 111] Connection refused ======================== 6 failed, 45 passed in 49.55s ========================= pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo().terminate()'. error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "/gnu/store/lq8qjz98ahi1y8dsmfmp2wysg713fw37-python-pytest-8.3.3/bin/pytest" arguments: ("-vv") exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 50.2 seconds command "/gnu/store/lq8qjz98ahi1y8dsmfmp2wysg713fw37-python-pytest-8.3.3/bin/pytest" "-vv" failed with status 1 build process 18 exited with status 256