>>> py3-ptyprocess: Building main/py3-ptyprocess 0.7.0-r6 (using abuild 3.15.0-r1) started Mon, 17 Nov 2025 12:15:42 +0000 >>> py3-ptyprocess: Validating /home/udu/aports/main/py3-ptyprocess/APKBUILD... >>> py3-ptyprocess: Analyzing dependencies... >>> py3-ptyprocess: Installing for build: build-base python3 py3-setuptools bash WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/7) Installing py3-parsing (3.2.3-r0) (2/7) Installing py3-parsing-pyc (3.2.3-r0) (3/7) Installing py3-packaging (25.0-r0) (4/7) Installing py3-packaging-pyc (25.0-r0) (5/7) Installing py3-setuptools (80.9.0-r0) (6/7) Installing py3-setuptools-pyc (80.9.0-r0) (7/7) Installing .makedepends-py3-ptyprocess (20251117.121544) OK: 306 MiB in 96 packages >>> py3-ptyprocess: Fetching https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-0.7.0.tar.gz >>> py3-ptyprocess: Fetching https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-0.7.0.tar.gz >>> py3-ptyprocess: Checking sha512sums... ptyprocess-0.7.0.tar.gz: OK >>> py3-ptyprocess: Unpacking /var/cache/distfiles/ptyprocess-0.7.0.tar.gz... EEEEEEEEEEEEEE ====================================================================== ERROR: test_waitnoecho_forever (tests.test_echo.PtyEchoTestCase.test_waitnoecho_forever) Ensure waitnoecho() with no timeout will return when echo=False. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_echo.py", line 19, in test_waitnoecho_forever cat = PtyProcess.spawn(['cat'], echo=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_waitnoecho_timeout (tests.test_echo.PtyEchoTestCase.test_waitnoecho_timeout) Ensure waitnoecho() with timeout will return when using stty to unset echo. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_echo.py", line 30, in test_waitnoecho_timeout cat = PtyProcess.spawn(['cat'], echo=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_invalid_binary (tests.test_invalid_binary.InvalidBinaryChars.test_invalid_binary) This tests that we correctly handle the case where we attempt to ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_invalid_binary.py", line 55, in test_invalid_binary child = PtyProcess.spawn([fullpath]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_preexec (tests.test_preexec_fn.PreexecFns.test_preexec) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_preexec_fn.py", line 36, in test_preexec child = PtyProcess.spawn(['ls'], preexec_fn=pef) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_preexec_error (tests.test_preexec_fn.PreexecFns.test_preexec_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_preexec_fn.py", line 49, in test_preexec_error child = PtyProcess.spawn(['ls'], preexec_fn=func) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_interactive_repl_unicode_echo (tests.test_spawn.PtyTestCase.test_interactive_repl_unicode_echo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 115, in test_interactive_repl_unicode_echo self._interactive_repl_unicode(echo=True) File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 63, in _interactive_repl_unicode bc = PtyProcessUnicode.spawn(['bc'], echo=echo) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_interactive_repl_unicode_noecho (tests.test_spawn.PtyTestCase.test_interactive_repl_unicode_noecho) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 111, in test_interactive_repl_unicode_noecho self._interactive_repl_unicode(echo=False) File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 63, in _interactive_repl_unicode bc = PtyProcessUnicode.spawn(['bc'], echo=echo) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_pass_fds (tests.test_spawn.PtyTestCase.test_pass_fds) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 129, in test_pass_fds p = PtyProcess.spawn(['bash', ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_quick_spawn (tests.test_spawn.PtyTestCase.test_quick_spawn) Spawn a very short-lived process. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 58, in test_quick_spawn PtyProcess.spawn(['true']) File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_spawn_sh (tests.test_spawn.PtyTestCase.test_spawn_sh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 45, in test_spawn_sh self._spawn_sh(PtyProcess, self.cmd.encode('ascii'), File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 23, in _spawn_sh p = ptyp.spawn(['sh'], env=self.env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_spawn_sh_unicode (tests.test_spawn.PtyTestCase.test_spawn_sh_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 50, in test_spawn_sh_unicode self._spawn_sh(PtyProcessUnicode, self.cmd, File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_spawn.py", line 23, in _spawn_sh p = ptyp.spawn(['sh'], env=self.env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_wait_false_shortproc (tests.test_wait.TestWaitAfterTermination.test_wait_false_shortproc) Ensure correct (False) wait status for short-lived processes. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_wait.py", line 19, in test_wait_false_shortproc child = PtyProcess.spawn(['false']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_wait_true_shortproc (tests.test_wait.TestWaitAfterTermination.test_wait_true_shortproc) Ensure correct (True) wait status for short-lived processes. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_wait.py", line 12, in test_wait_true_shortproc child = PtyProcess.spawn(['true']) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_wait_twice_longproc (tests.test_wait.TestWaitAfterTermination.test_wait_twice_longproc) Ensure correct wait status when called twice. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/tests/test_wait.py", line 29, in test_wait_twice_longproc child = PtyProcess.spawn(['sleep', '1']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/udu/aports/main/py3-ptyprocess/src/ptyprocess-0.7.0/ptyprocess/ptyprocess.py", line 230, in spawn pid, fd = pty.fork() ^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 107, in fork master_fd, slave_fd = openpty() ^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ---------------------------------------------------------------------- Ran 14 tests in 0.016s FAILED (errors=14) >>> ERROR: py3-ptyprocess: check failed