>>> py3-pytest-timeout: Building main/py3-pytest-timeout 2.3.1-r1 (using abuild 3.15.0-r0) started Mon, 04 Aug 2025 22:16:35 +0000 >>> py3-pytest-timeout: Validating /home/udu/aports/main/py3-pytest-timeout/APKBUILD... >>> py3-pytest-timeout: Analyzing dependencies... >>> py3-pytest-timeout: Installing for build: build-base py3-pytest py3-gpep517 py3-setuptools py3-wheel py3-pexpect (1/23) Installing py3-iniconfig (2.1.0-r0) (2/23) Installing py3-iniconfig-pyc (2.1.0-r0) (3/23) Installing py3-pluggy (1.6.0-r0) (4/23) Installing py3-pluggy-pyc (1.6.0-r0) (5/23) Installing py3-py (1.11.0-r4) (6/23) Installing py3-py-pyc (1.11.0-r4) (7/23) Installing py3-pygments (2.19.2-r0) (8/23) Installing py3-pygments-pyc (2.19.2-r0) (9/23) Installing py3-pytest (8.4.1-r0) (10/23) Installing py3-pytest-pyc (8.4.1-r0) (11/23) Installing py3-installer (0.7.0-r2) (12/23) Installing py3-installer-pyc (0.7.0-r2) (13/23) Installing py3-gpep517 (19-r0) (14/23) Installing py3-gpep517-pyc (19-r0) (15/23) Installing py3-setuptools (80.9.0-r0) (16/23) Installing py3-setuptools-pyc (80.9.0-r0) (17/23) Installing py3-wheel (0.46.1-r0) (18/23) Installing py3-wheel-pyc (0.46.1-r0) (19/23) Installing py3-ptyprocess (0.7.0-r6) (20/23) Installing py3-ptyprocess-pyc (0.7.0-r6) (21/23) Installing py3-pexpect (4.9-r1) (22/23) Installing py3-pexpect-pyc (4.9-r1) (23/23) Installing .makedepends-py3-pytest-timeout (20250804.221635) Executing busybox-1.37.0-r18.trigger OK: 964 MiB in 318 packages >>> py3-pytest-timeout: Cleaning up srcdir >>> py3-pytest-timeout: Cleaning up pkgdir >>> py3-pytest-timeout: Cleaning up tmpdir >>> py3-pytest-timeout: Fetching https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest-timeout-2.3.1.tar.gz >>> py3-pytest-timeout: Fetching https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest-timeout-2.3.1.tar.gz >>> py3-pytest-timeout: Checking sha512sums... pytest-timeout-2.3.1.tar.gz: OK >>> py3-pytest-timeout: Unpacking /var/cache/distfiles/pytest-timeout-2.3.1.tar.gz... 2025-08-04 22:16:36,071 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: DFSG approved License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-08-04 22:16:36,081 root INFO running bdist_wheel 2025-08-04 22:16:36,089 root INFO running build 2025-08-04 22:16:36,089 root INFO running build_py 2025-08-04 22:16:36,091 root INFO creating build/lib 2025-08-04 22:16:36,091 root INFO copying pytest_timeout.py -> build/lib 2025-08-04 22:16:36,094 root INFO installing to build/bdist.linux-x86_64/wheel 2025-08-04 22:16:36,094 root INFO running install 2025-08-04 22:16:36,098 root INFO running install_lib 2025-08-04 22:16:36,100 root INFO creating build/bdist.linux-x86_64/wheel 2025-08-04 22:16:36,100 root INFO copying build/lib/pytest_timeout.py -> build/bdist.linux-x86_64/wheel/. 2025-08-04 22:16:36,100 root INFO running install_egg_info 2025-08-04 22:16:36,102 root INFO running egg_info 2025-08-04 22:16:36,103 root INFO writing pytest_timeout.egg-info/PKG-INFO 2025-08-04 22:16:36,108 root INFO writing dependency_links to pytest_timeout.egg-info/dependency_links.txt 2025-08-04 22:16:36,108 root INFO writing entry points to pytest_timeout.egg-info/entry_points.txt 2025-08-04 22:16:36,108 root INFO writing requirements to pytest_timeout.egg-info/requires.txt 2025-08-04 22:16:36,108 root INFO writing top-level names to pytest_timeout.egg-info/top_level.txt 2025-08-04 22:16:36,109 root INFO reading manifest file 'pytest_timeout.egg-info/SOURCES.txt' 2025-08-04 22:16:36,110 root INFO reading manifest template 'MANIFEST.in' 2025-08-04 22:16:36,110 root INFO adding license file 'LICENSE' 2025-08-04 22:16:36,110 root INFO writing manifest file 'pytest_timeout.egg-info/SOURCES.txt' 2025-08-04 22:16:36,110 root INFO Copying pytest_timeout.egg-info to build/bdist.linux-x86_64/wheel/./pytest_timeout-2.3.1-py3.12.egg-info 2025-08-04 22:16:36,111 root INFO running install_scripts 2025-08-04 22:16:36,111 root INFO creating build/bdist.linux-x86_64/wheel/pytest_timeout-2.3.1.dist-info/WHEEL 2025-08-04 22:16:36,111 wheel INFO creating '/home/udu/aports/main/py3-pytest-timeout/src/pytest-timeout-2.3.1/.dist/.tmp-6rzf3xze/pytest_timeout-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-08-04 22:16:36,111 wheel INFO adding 'pytest_timeout.py' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/licenses/LICENSE' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/METADATA' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/WHEEL' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/entry_points.txt' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/top_level.txt' 2025-08-04 22:16:36,112 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/RECORD' 2025-08-04 22:16:36,112 root INFO removing build/bdist.linux-x86_64/wheel 2025-08-04 22:16:36,112 gpep517 INFO The backend produced .dist/pytest_timeout-2.3.1-py3-none-any.whl pytest_timeout-2.3.1-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 rootdir: /home/udu/aports/main/py3-pytest-timeout/src/pytest-timeout-2.3.1 configfile: tox.ini plugins: timeout-2.3.1 collected 47 items test_pytest_timeout.py ...s................................F =================================== FAILURES =================================== ______ test_suppresses_timeout_when_debugger_is_entered[pdb-set_trace()] _______ pytester = debugging_module = 'pdb', debugging_set_trace = 'set_trace()' @pytest.mark.parametrize( ["debugging_module", "debugging_set_trace"], [ ("pdb", "set_trace()"), pytest.param( "ipdb", "set_trace()", marks=pytest.mark.xfail( reason="waiting on https://github.com/pytest-dev/pytest/pull/7207" " to allow proper testing" ), ), pytest.param( "pydevd", "settrace(port=4678)", marks=pytest.mark.xfail(reason="in need of way to setup pydevd server"), ), ], ) @have_spawn def test_suppresses_timeout_when_debugger_is_entered( pytester, debugging_module, debugging_set_trace ): p1 = pytester.makepyfile( """ import pytest, {debugging_module} @pytest.mark.timeout(1) def test_foo(): {debugging_module}.{debugging_set_trace} """.format( debugging_module=debugging_module, debugging_set_trace=debugging_set_trace ) ) > child = pytester.spawn_pytest(str(p1)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/udu/aports/main/py3-pytest-timeout/src/pytest-timeout-2.3.1/test_pytest_timeout.py:475: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/pytester.py:1515: in spawn_pytest return self.spawn(cmd, expect_timeout=expect_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/_pytest/pytester.py:1529: in spawn child = pexpect.spawn(cmd, logfile=logfile, timeout=expect_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:315: in _spawnpty return ptyprocess.PtyProcess.spawn(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/ptyprocess/ptyprocess.py:230: in spawn pid, fd = pty.fork() ^^^^^^^^^^ /usr/lib/python3.12/pty.py:107: in fork master_fd, slave_fd = openpty() ^^^^^^^^^ /usr/lib/python3.12/pty.py:34: in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name).""" for x in 'pqrstuvwxyzPQRST': for y in '0123456789abcdef': pty_name = '/dev/pty' + x + y try: fd = os.open(pty_name, os.O_RDWR) except OSError: continue return (fd, '/dev/tty' + x + y) > raise OSError('out of pty devices') E OSError: out of pty devices /usr/lib/python3.12/pty.py:67: OSError =========================== short test summary info ============================ SKIPPED [1] test_pytest_timeout.py:76: could not import 'pytest_cov': No module named 'pytest_cov' FAILED test_pytest_timeout.py::test_suppresses_timeout_when_debugger_is_entered[pdb-set_trace()] !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! =================== 1 failed, 35 passed, 1 skipped in 36.59s =================== /usr/lib/python3.12/site-packages/_pytest/pathlib.py:96: PytestWarning: (rm_rf) error removing /tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393/popen-gw9/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393/popen-gw9/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:96: PytestWarning: (rm_rf) error removing /tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393/popen-gw9 : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393/popen-gw9' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:96: PytestWarning: (rm_rf) error removing /tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393 : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-87406411-499e-42f4-8b8f-1a970c6f4393' warnings.warn( >>> ERROR: py3-pytest-timeout: check failed >>> py3-pytest-timeout: Uninstalling dependencies... (1/23) Purging .makedepends-py3-pytest-timeout (20250804.221635) (2/23) Purging py3-pytest-pyc (8.4.1-r0) (3/23) Purging py3-pytest (8.4.1-r0) (4/23) Purging py3-iniconfig-pyc (2.1.0-r0) (5/23) Purging py3-iniconfig (2.1.0-r0) (6/23) Purging py3-pluggy-pyc (1.6.0-r0) (7/23) Purging py3-pluggy (1.6.0-r0) (8/23) Purging py3-py-pyc (1.11.0-r4) (9/23) Purging py3-py (1.11.0-r4) (10/23) Purging py3-pygments-pyc (2.19.2-r0) (11/23) Purging py3-pygments (2.19.2-r0) (12/23) Purging py3-gpep517-pyc (19-r0) (13/23) Purging py3-gpep517 (19-r0) (14/23) Purging py3-installer-pyc (0.7.0-r2) (15/23) Purging py3-installer (0.7.0-r2) (16/23) Purging py3-setuptools-pyc (80.9.0-r0) (17/23) Purging py3-setuptools (80.9.0-r0) (18/23) Purging py3-wheel-pyc (0.46.1-r0) (19/23) Purging py3-wheel (0.46.1-r0) (20/23) Purging py3-pexpect-pyc (4.9-r1) (21/23) Purging py3-pexpect (4.9-r1) (22/23) Purging py3-ptyprocess-pyc (0.7.0-r6) (23/23) Purging py3-ptyprocess (0.7.0-r6) Executing busybox-1.37.0-r18.trigger OK: 943 MiB in 295 packages