>>> py3-pytest-timeout: Building main/py3-pytest-timeout 2.3.1-r1 (using abuild 3.15.0-r0) started Sun, 07 Sep 2025 18:44:47 +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/21) Installing py3-iniconfig (2.1.0-r0) (2/21) Installing py3-iniconfig-pyc (2.1.0-r0) (3/21) Installing py3-pluggy (1.6.0-r0) (4/21) Installing py3-pluggy-pyc (1.6.0-r0) (5/21) Installing py3-py (1.11.0-r4) (6/21) Installing py3-py-pyc (1.11.0-r4) (7/21) Installing py3-pytest (8.3.5-r0) (8/21) Installing py3-pytest-pyc (8.3.5-r0) (9/21) Installing py3-installer (0.7.0-r2) (10/21) Installing py3-installer-pyc (0.7.0-r2) (11/21) Installing py3-gpep517 (19-r0) (12/21) Installing py3-gpep517-pyc (19-r0) (13/21) Installing py3-setuptools (80.9.0-r0) (14/21) Installing py3-setuptools-pyc (80.9.0-r0) (15/21) Installing py3-wheel (0.46.1-r0) (16/21) Installing py3-wheel-pyc (0.46.1-r0) (17/21) Installing py3-ptyprocess (0.7.0-r6) (18/21) Installing py3-ptyprocess-pyc (0.7.0-r6) (19/21) Installing py3-pexpect (4.9-r1) (20/21) Installing py3-pexpect-pyc (4.9-r1) (21/21) Installing .makedepends-py3-pytest-timeout (20250907.184447) Executing busybox-1.37.0-r19.trigger OK: 956 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-09-07 18:44:47,888 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-09-07 18:44:47,899 root INFO running bdist_wheel 2025-09-07 18:44:47,906 root INFO running build 2025-09-07 18:44:47,906 root INFO running build_py 2025-09-07 18:44:47,908 root INFO creating build/lib 2025-09-07 18:44:47,908 root INFO copying pytest_timeout.py -> build/lib 2025-09-07 18:44:47,912 root INFO installing to build/bdist.linux-x86_64/wheel 2025-09-07 18:44:47,912 root INFO running install 2025-09-07 18:44:47,916 root INFO running install_lib 2025-09-07 18:44:47,918 root INFO creating build/bdist.linux-x86_64/wheel 2025-09-07 18:44:47,918 root INFO copying build/lib/pytest_timeout.py -> build/bdist.linux-x86_64/wheel/. 2025-09-07 18:44:47,918 root INFO running install_egg_info 2025-09-07 18:44:47,919 root INFO running egg_info 2025-09-07 18:44:47,921 root INFO writing pytest_timeout.egg-info/PKG-INFO 2025-09-07 18:44:47,921 root INFO writing dependency_links to pytest_timeout.egg-info/dependency_links.txt 2025-09-07 18:44:47,921 root INFO writing entry points to pytest_timeout.egg-info/entry_points.txt 2025-09-07 18:44:47,921 root INFO writing requirements to pytest_timeout.egg-info/requires.txt 2025-09-07 18:44:47,921 root INFO writing top-level names to pytest_timeout.egg-info/top_level.txt 2025-09-07 18:44:47,923 root INFO reading manifest file 'pytest_timeout.egg-info/SOURCES.txt' 2025-09-07 18:44:47,923 root INFO reading manifest template 'MANIFEST.in' 2025-09-07 18:44:47,923 root INFO adding license file 'LICENSE' 2025-09-07 18:44:47,924 root INFO writing manifest file 'pytest_timeout.egg-info/SOURCES.txt' 2025-09-07 18:44:47,924 root INFO Copying pytest_timeout.egg-info to build/bdist.linux-x86_64/wheel/./pytest_timeout-2.3.1-py3.12.egg-info 2025-09-07 18:44:47,924 root INFO running install_scripts 2025-09-07 18:44:47,925 root INFO creating build/bdist.linux-x86_64/wheel/pytest_timeout-2.3.1.dist-info/WHEEL 2025-09-07 18:44:47,925 wheel INFO creating '/home/udu/aports/main/py3-pytest-timeout/src/pytest-timeout-2.3.1/.dist/.tmp-3pv8nw0q/pytest_timeout-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout.py' 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/licenses/LICENSE' 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/METADATA' 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/WHEEL' 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/entry_points.txt' 2025-09-07 18:44:47,925 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/top_level.txt' 2025-09-07 18:44:47,926 wheel INFO adding 'pytest_timeout-2.3.1.dist-info/RECORD' 2025-09-07 18:44:47,926 root INFO removing build/bdist.linux-x86_64/wheel 2025-09-07 18:44:47,926 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.3.5, 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:1506: in spawn_pytest return self.spawn(cmd, expect_timeout=expect_timeout) /usr/lib/python3.12/site-packages/_pytest/pytester.py:1520: 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.03s =================== /usr/lib/python3.12/site-packages/_pytest/pathlib.py:96: PytestWarning: (rm_rf) error removing /tmp/pytest-of-udu/garbage-41e19acb-eff8-4727-8c1d-aa80ffd83eaa/popen-gw17/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-41e19acb-eff8-4727-8c1d-aa80ffd83eaa/popen-gw17/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-41e19acb-eff8-4727-8c1d-aa80ffd83eaa/popen-gw17 : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-41e19acb-eff8-4727-8c1d-aa80ffd83eaa/popen-gw17' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:96: PytestWarning: (rm_rf) error removing /tmp/pytest-of-udu/garbage-41e19acb-eff8-4727-8c1d-aa80ffd83eaa : [Errno 39] Directory not empty: '/tmp/pytest-of-udu/garbage-41e19acb-eff8-4727-8c1d-aa80ffd83eaa' warnings.warn( >>> ERROR: py3-pytest-timeout: check failed >>> py3-pytest-timeout: Uninstalling dependencies... (1/21) Purging .makedepends-py3-pytest-timeout (20250907.184447) (2/21) Purging py3-pytest-pyc (8.3.5-r0) (3/21) Purging py3-pytest (8.3.5-r0) (4/21) Purging py3-iniconfig-pyc (2.1.0-r0) (5/21) Purging py3-iniconfig (2.1.0-r0) (6/21) Purging py3-pluggy-pyc (1.6.0-r0) (7/21) Purging py3-pluggy (1.6.0-r0) (8/21) Purging py3-py-pyc (1.11.0-r4) (9/21) Purging py3-py (1.11.0-r4) (10/21) Purging py3-gpep517-pyc (19-r0) (11/21) Purging py3-gpep517 (19-r0) (12/21) Purging py3-installer-pyc (0.7.0-r2) (13/21) Purging py3-installer (0.7.0-r2) (14/21) Purging py3-setuptools-pyc (80.9.0-r0) (15/21) Purging py3-setuptools (80.9.0-r0) (16/21) Purging py3-wheel-pyc (0.46.1-r0) (17/21) Purging py3-wheel (0.46.1-r0) (18/21) Purging py3-pexpect-pyc (4.9-r1) (19/21) Purging py3-pexpect (4.9-r1) (20/21) Purging py3-ptyprocess-pyc (0.7.0-r6) (21/21) Purging py3-ptyprocess (0.7.0-r6) Executing busybox-1.37.0-r19.trigger OK: 943 MiB in 297 packages