*** This log is abridged to its last 1000 lines: tests.test_socket_fd.ExpectTestCase.test_timeout __________________________________________________________________________________________________________________________________________ Exp_TimeoutTestCase.test_correctStackTrace __________________________________________________________________________________________________________________________________________ self = def test_correctStackTrace (self): '''Verify that the stack trace returned with a TIMEOUT instance correctly handles function calls.''' def nestedFunction (spawnInstance): spawnInstance.expect("junk", timeout=3) try: > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_timeout_pattern.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_timeout_pattern.Exp_TimeoutTestCase.test_correctStackTrace ________________________________________________________________________________________________________________________________________ Exp_TimeoutTestCase.test_exp_timeout_notThrown ________________________________________________________________________________________________________________________________________ self = def test_exp_timeout_notThrown (self): '''Verify that a TIMEOUT is not thrown when we match what we expect.''' try: > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_timeout_pattern.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_timeout_pattern.Exp_TimeoutTestCase.test_exp_timeout_notThrown __________________________________________________________________________________________________________________________________________ Exp_TimeoutTestCase.test_pattern_printout ___________________________________________________________________________________________________________________________________________ self = def test_pattern_printout (self): '''Verify that a TIMEOUT returns the proper patterns it is trying to match against. Make sure it is returning the pattern from the correct call.''' try: > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_timeout_pattern.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_timeout_pattern.Exp_TimeoutTestCase.test_pattern_printout __________________________________________________________________________________________________________________________________________ Exp_TimeoutTestCase.test_stacktraceMunging __________________________________________________________________________________________________________________________________________ self = def test_stacktraceMunging (self): '''Verify that the stack trace returned with a TIMEOUT instance does not contain references to pexpect.''' try: > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_timeout_pattern.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_timeout_pattern.Exp_TimeoutTestCase.test_stacktraceMunging ________________________________________________________________________________________________________________________________________________ UnicodeTests.test_expect_basic ________________________________________________________________________________________________________________________________________________ self = def test_expect_basic (self): > p = pexpect.spawnu('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_expect_basic _____________________________________________________________________________________________________________________________________________ UnicodeTests.test_expect_echo_exact ______________________________________________________________________________________________________________________________________________ self = def test_expect_echo_exact (self): '''Like test_expect_echo(), but using expect_exact(). ''' > p = pexpect.spawnu('cat', timeout=5) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_expect_echo_exact _____________________________________________________________________________________________________________________________________________ UnicodeTests.test_expect_exact_basic _____________________________________________________________________________________________________________________________________________ self = def test_expect_exact_basic (self): > p = pexpect.spawnu('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_expect_exact_basic ___________________________________________________________________________________________________________________________________________ UnicodeTests.test_expect_setecho_toggle ____________________________________________________________________________________________________________________________________________ self = def test_expect_setecho_toggle(self): '''This tests that echo may be toggled off. ''' > p = pexpect.spawnu('cat', timeout=5) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_expect_setecho_toggle ________________________________________________________________________________________________________________________________________ UnicodeTests.test_expect_setecho_toggle_exact _________________________________________________________________________________________________________________________________________ self = def test_expect_setecho_toggle_exact(self): > p = pexpect.spawnu('cat', timeout=5) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_expect_setecho_toggle_exact ________________________________________________________________________________________________________________________________________________ UnicodeTests.test_log_unicode _________________________________________________________________________________________________________________________________________________ self = def test_log_unicode(self): msg = "abcΩ÷" filename_send = tempfile.mktemp() filename_read = tempfile.mktemp() > p = pexpect.spawnu('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_log_unicode _____________________________________________________________________________________________________________________________________________ UnicodeTests.test_readline_bin_echo ______________________________________________________________________________________________________________________________________________ self = def test_readline_bin_echo(self): # Test using readline() with spawnu objects. pexpect 3.2 had threw # a TypeError when concatenating a bytestring to a unicode type. # given, > child = pexpect.spawnu('echo', ['input', ]) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_readline_bin_echo _________________________________________________________________________________________________________________________________________ UnicodeTests.test_spawn_expect_ascii_unicode _________________________________________________________________________________________________________________________________________ self = def test_spawn_expect_ascii_unicode(self): # A bytes-based spawn should be able to handle ASCII-only unicode, for # backwards compatibility. > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_spawn_expect_ascii_unicode _____________________________________________________________________________________________________________________________________________ UnicodeTests.test_spawn_send_unicode _____________________________________________________________________________________________________________________________________________ self = def test_spawn_send_unicode(self): # A bytes-based spawn should be able to send arbitrary unicode > p = pexpect.spawn('cat') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_spawn_send_unicode ___________________________________________________________________________________________________________________________________________ UnicodeTests.test_spawn_utf8_incomplete ____________________________________________________________________________________________________________________________________________ self = def test_spawn_utf8_incomplete(self): # This test case ensures correct incremental decoding, which # otherwise fails when the stream inspected by os.read() # does not align exactly at a utf-8 multibyte boundary: # UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in # position 0: unexpected end of data > p = pexpect.spawnu('cat', maxread=1) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:860: in spawnu return spawn(*args, **kwargs) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_spawn_utf8_incomplete ________________________________________________________________________________________________________________________________________________ UnicodeTests.test_unicode_argv ________________________________________________________________________________________________________________________________________________ self = def test_unicode_argv(self): """ Ensure a program can be executed with unicode arguments. """ > p = pexpect.spawn(u'echo ǝpoɔıun', timeout=5, encoding='utf8') /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_unicode.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_unicode.UnicodeTests.test_unicode_argv _____________________________________________________________________________________________________________________________________________ TestCaseWinsize.test_initial_winsize _____________________________________________________________________________________________________________________________________________ self = def test_initial_winsize(self): """ Assert initial window dimension size (24, 80). """ > p = pexpect.spawn('{self.PYTHONBIN} sigwinch_report.py' .format(self=self), timeout=3) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_winsize.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_winsize.TestCaseWinsize.test_initial_winsize ______________________________________________________________________________________________________________________________________ TestCaseWinsize.test_initial_winsize_by_dimension _______________________________________________________________________________________________________________________________________ self = def test_initial_winsize_by_dimension(self): """ Assert user-parameter window dimension size is initial. """ > p = pexpect.spawn('{self.PYTHONBIN} sigwinch_report.py' .format(self=self), timeout=3, dimensions=(40, 100)) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_winsize.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_winsize.TestCaseWinsize.test_initial_winsize_by_dimension _______________________________________________________________________________________________________________________________________________ TestCaseWinsize.test_setwinsize ________________________________________________________________________________________________________________________________________________ self = def test_setwinsize(self): """ Ensure method .setwinsize() sends signal caught by child. """ > p = pexpect.spawn('{self.PYTHONBIN} sigwinch_report.py' .format(self=self), timeout=3) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/tests/test_winsize.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/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 ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------------------------------------- tests.test_winsize.TestCaseWinsize.test_setwinsize ======================================================================================================================================================= warnings summary ======================================================================================================================================================= pexpect/ANSI.py:29 /home/udu/aports/main/py3-pexpect/src/pexpect-4.9/pexpect/ANSI.py:29: UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte from . import screen tests/test_pxssh.py: 9 warnings tests/test_repr.py: 2 warnings tests/test_run.py: 17 warnings tests/test_timeout_pattern.py: 4 warnings tests/test_unicode.py: 11 warnings tests/test_winsize.py: 3 warnings /usr/lib/python3.12/pty.py:95: DeprecationWarning: This process (pid=1278408) is multi-threaded, use of forkpty() may lead to deadlocks in the child. pid, fd = os.forkpty() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =================================================================================================================================================== short test summary info ==================================================================================================================================================== FAILED tests/test_async.py::AsyncTests::test_async_and_gc - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_async_and_sync - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_async_replwrap - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_async_utf8 - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_eof - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_expect_exact - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_simple_expect - OSError: out of pty devices FAILED tests/test_async.py::AsyncTests::test_timeout - OSError: out of pty devices FAILED tests/test_constructor.py::TestCaseConstructor::test_constructor - OSError: out of pty devices FAILED tests/test_constructor.py::TestCaseConstructor::test_named_parameters - OSError: out of pty devices FAILED tests/test_ctrl_chars.py::TestCtrlChars::test_bad_sendcontrol_chars - OSError: out of pty devices FAILED tests/test_ctrl_chars.py::TestCtrlChars::test_control_chars - OSError: out of pty devices FAILED tests/test_ctrl_chars.py::TestCtrlChars::test_sendcontrol - OSError: out of pty devices FAILED tests/test_ctrl_chars.py::TestCtrlChars::test_sendeof - OSError: out of pty devices FAILED tests/test_ctrl_chars.py::TestCtrlChars::test_sendintr - OSError: out of pty devices FAILED tests/test_delay.py::TestCaseDelay::test_delayafterread - OSError: out of pty devices FAILED tests/test_delay.py::TestCaseDelay::test_delaybeforesend - OSError: out of pty devices FAILED tests/test_destructor.py::TestCaseDestructor::test_destructor - OSError: out of pty devices FAILED tests/test_dotall.py::TestCaseDotall::test_dotall - OSError: out of pty devices FAILED tests/test_dotall.py::TestCaseDotall::test_precompiled - OSError: out of pty devices FAILED tests/test_env.py::TestCaseEnv::test_run_uses_env - OSError: out of pty devices FAILED tests/test_env.py::TestCaseEnv::test_run_uses_env_path - OSError: out of pty devices FAILED tests/test_env.py::TestCaseEnv::test_run_uses_env_path_over_path - OSError: out of pty devices FAILED tests/test_env.py::TestCaseEnv::test_spawn_uses_env - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_bad_arg - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_before_across_chunks - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_before_after - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_before_after_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_before_after_timeout - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_buffer_interface - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_ascii - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_none - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_utf8 - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_basic - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_echo - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_echo_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_eof - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_exact_basic - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_ignore_case - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_ignore_case_flag - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_index - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_index_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_order - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_order_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_regex_enc_none - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_regex_enc_utf8 - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_setecho_off - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_setecho_off_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_expect_timeout - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_greed - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_greed_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_increasing_searchwindowsize - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_ordering - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_ordering_exact - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_searchwindowsize - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_signal_handling - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_stdin_closed - AssertionError: assert 1 == 0 FAILED tests/test_expect.py::ExpectTestCase::test_stdin_stdout_closed - AssertionError: assert 1 == 0 FAILED tests/test_expect.py::ExpectTestCase::test_timeout_none - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_unexpected_eof - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_waitnoecho - OSError: out of pty devices FAILED tests/test_expect.py::ExpectTestCase::test_waitnoecho_order - OSError: out of pty devices FAILED tests/test_interact.py::InteractTestCase::test_interact_escape - OSError: out of pty devices FAILED tests/test_interact.py::InteractTestCase::test_interact_escape_None - OSError: out of pty devices FAILED tests/test_interact.py::InteractTestCase::test_interact_exit_unicode - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_consistent_multiple_calls - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGHUP - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGINT - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGKILL - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_normal_termination - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_wait - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_expect_wait_after_termination - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_forced_terminate - OSError: out of pty devices FAILED tests/test_isalive.py::IsAliveTestCase::test_signal_wait - OSError: out of pty devices FAILED tests/test_log.py::TestCaseLog::test_log - OSError: out of pty devices FAILED tests/test_log.py::TestCaseLog::test_log_logfile_read - OSError: out of pty devices FAILED tests/test_log.py::TestCaseLog::test_log_logfile_send - OSError: out of pty devices FAILED tests/test_log.py::TestCaseLog::test_log_send_and_received - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_bad_child_pid - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_bad_type_in_expect - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_cwd - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_eof - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_exception_tb - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_isalive - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_isatty - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_isatty_poll - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_iter - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_nonnative_pty_fork - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_read - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_read_after_close_raises_value_error - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_read_poll - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_read_poll_timeout - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_readline - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_readline_bin_echo - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_readlines - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_sighup - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_terminate - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_with - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_write - OSError: out of pty devices FAILED tests/test_misc.py::TestCaseMisc::test_writelines - OSError: out of pty devices FAILED tests/test_performance.py::PerformanceTestCase::test_100000 - OSError: out of pty devices FAILED tests/test_performance.py::PerformanceTestCase::test_large_stdout_stream - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_connection_refused - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_custom_ssh_cmd - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_failed_custom_ssh_cmd - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_failed_set_unique_prompt - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_fake_ssh - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_login_bash - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_login_tcsh - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_login_zsh - OSError: out of pty devices FAILED tests/test_pxssh.py::PxsshTestCase::test_wrong_pw - OSError: out of pty devices FAILED tests/test_repr.py::TestCaseMisc::test_str_spawn - OSError: out of pty devices FAILED tests/test_repr.py::TestCaseMisc::test_str_spawnu - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_bad_exitstatus - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_callback - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_event_as_function - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_event_as_method - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_event_as_string - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_event_typeerror - OSError: out of pty devices FAILED tests/test_run.py::RunFuncTestCase::test_run_exit - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_bad_exitstatus - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_callback - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_function - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_method - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_string - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_typeerror - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_exit - OSError: out of pty devices FAILED tests/test_run.py::RunUnicodeFuncTestCase::test_run_unicode - OSError: out of pty devices FAILED tests/test_socket.py::ExpectTestCase::test_fd_isalive - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_fd_isalive_poll - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_fd_isatty - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_fd_isatty_poll - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_maxread - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_multiple_interrupts - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_socket - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_socket_with_write - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket.py::ExpectTestCase::test_timeout - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_fd_isalive - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_fd_isalive_poll - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_fd_isatty - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_fd_isatty_poll - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_fileobj - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_maxread - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_multiple_interrupts - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_not_file_descriptor - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_not_int - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_socket - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_socket_with_write - PermissionError: [Errno 13] Permission denied FAILED tests/test_socket_fd.py::ExpectTestCase::test_timeout - PermissionError: [Errno 13] Permission denied FAILED tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_correctStackTrace - OSError: out of pty devices FAILED tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_exp_timeout_notThrown - OSError: out of pty devices FAILED tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_pattern_printout - OSError: out of pty devices FAILED tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_stacktraceMunging - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_expect_basic - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_expect_echo_exact - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_expect_exact_basic - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle_exact - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_log_unicode - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_readline_bin_echo - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_spawn_expect_ascii_unicode - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_spawn_send_unicode - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_spawn_utf8_incomplete - OSError: out of pty devices FAILED tests/test_unicode.py::UnicodeTests::test_unicode_argv - OSError: out of pty devices FAILED tests/test_winsize.py::TestCaseWinsize::test_initial_winsize - OSError: out of pty devices FAILED tests/test_winsize.py::TestCaseWinsize::test_initial_winsize_by_dimension - OSError: out of pty devices FAILED tests/test_winsize.py::TestCaseWinsize::test_setwinsize - OSError: out of pty devices ================================================================================================================================= 171 failed, 73 passed, 13 deselected, 47 warnings in 14.46s ================================================================================================================================== >>> ERROR: py3-pexpect: check failed >>> py3-pexpect: Uninstalling dependencies... (1/30) Purging .makedepends-py3-pexpect (20250918.031759) (2/30) Purging py3-ptyprocess-pyc (0.7.0-r6) (3/30) Purging py3-ptyprocess (0.7.0-r6) (4/30) Purging py3-gpep517-pyc (19-r0) (5/30) Purging py3-gpep517 (19-r0) (6/30) Purging py3-installer-pyc (0.7.0-r2) (7/30) Purging py3-installer (0.7.0-r2) (8/30) Purging py3-setuptools-pyc (80.9.0-r0) (9/30) Purging py3-setuptools (80.9.0-r0) (10/30) Purging py3-wheel-pyc (0.46.1-r0) (11/30) Purging py3-wheel (0.46.1-r0) (12/30) Purging py3-pytest-pyc (8.3.5-r0) (13/30) Purging py3-pytest (8.3.5-r0) (14/30) Purging py3-iniconfig-pyc (2.1.0-r0) (15/30) Purging py3-iniconfig (2.1.0-r0) (16/30) Purging py3-packaging-pyc (25.0-r0) (17/30) Purging py3-packaging (25.0-r0) (18/30) Purging py3-parsing-pyc (3.2.3-r0) (19/30) Purging py3-parsing (3.2.3-r0) (20/30) Purging py3-pluggy-pyc (1.5.0-r0) (21/30) Purging py3-pluggy (1.5.0-r0) (22/30) Purging py3-py-pyc (1.11.0-r4) (23/30) Purging py3-py (1.11.0-r4) (24/30) Purging coreutils (9.7-r1) Executing coreutils-9.7-r1.post-deinstall (25/30) Purging coreutils-env (9.7-r1) (26/30) Purging coreutils-fmt (9.7-r1) (27/30) Purging coreutils-sha512sum (9.7-r1) (28/30) Purging libattr (2.5.2-r2) (29/30) Purging utmps-libs (0.1.3.1-r0) (30/30) Purging skalibs-libs (2.14.4.0-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages