* Package: dev-python/ptyprocess-0.6.0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: arm64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> Unpacking source... >>> Unpacking ptyprocess-0.6.0.tar.gz to /var/tmp/portage/dev-python/ptyprocess-0.6.0/work >>> Source unpacked in /var/tmp/portage/dev-python/ptyprocess-0.6.0/work >>> Preparing source in /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python2_7/lib/ptyprocess copying ptyprocess/__init__.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python2_7/lib/ptyprocess copying ptyprocess/ptyprocess.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python2_7/lib/ptyprocess copying ptyprocess/_fork_pty.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python2_7/lib/ptyprocess copying ptyprocess/util.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python2_7/lib/ptyprocess warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 96 running build running build_py creating /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python3_6/lib/ptyprocess copying ptyprocess/__init__.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python3_6/lib/ptyprocess copying ptyprocess/ptyprocess.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python3_6/lib/ptyprocess copying ptyprocess/_fork_pty.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python3_6/lib/ptyprocess copying ptyprocess/util.py -> /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0-python3_6/lib/ptyprocess warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/ptyprocess-0.6.0 * python2_7: running distutils-r1_run_phase python_test * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-4.6.9, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python2.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0 collecting ... collected 13 items tests/test_echo.py::PtyEchoTestCase::test_waitnoecho_forever FAILED [ 7%] tests/test_echo.py::PtyEchoTestCase::test_waitnoecho_timeout FAILED [ 15%] tests/test_invalid_binary.py::InvalidBinaryChars::test_invalid_binary FAILED [ 23%] tests/test_preexec_fn.py::PreexecFns::test_preexec FAILED [ 30%] tests/test_preexec_fn.py::PreexecFns::test_preexec_error FAILED [ 38%] tests/test_spawn.py::PtyTestCase::test_interactive_repl_unicode_echo <- ../../../../../../../usr/lib64/python2.7/unittest/case.py SKIPPED [ 46%] tests/test_spawn.py::PtyTestCase::test_interactive_repl_unicode_noecho <- ../../../../../../../usr/lib64/python2.7/unittest/case.py SKIPPED [ 53%] tests/test_spawn.py::PtyTestCase::test_quick_spawn FAILED [ 61%] tests/test_spawn.py::PtyTestCase::test_spawn_sh FAILED [ 69%] tests/test_spawn.py::PtyTestCase::test_spawn_sh_unicode FAILED [ 76%] tests/test_wait.py::TestWaitAfterTermination::test_wait_false_shortproc FAILED [ 84%] tests/test_wait.py::TestWaitAfterTermination::test_wait_true_shortproc FAILED [ 92%] tests/test_wait.py::TestWaitAfterTermination::test_wait_twice_longproc FAILED [100%] =================================== FAILURES =================================== ___________________ PtyEchoTestCase.test_waitnoecho_forever ____________________ self = @unittest.skipIf(_is_solaris, "waitnoecho cannot be called on this platform.") def test_waitnoecho_forever(self): """Ensure waitnoecho() with no timeout will return when echo=False.""" > cat = PtyProcess.spawn(['cat'], echo=False) tests/test_echo.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ___________________ PtyEchoTestCase.test_waitnoecho_timeout ____________________ self = @unittest.skipIf(_is_solaris, "waitnoecho cannot be called on this platform.") def test_waitnoecho_timeout(self): """Ensure waitnoecho() with timeout will return when using stty to unset echo.""" > cat = PtyProcess.spawn(['cat'], echo=True) tests/test_echo.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ____________________ InvalidBinaryChars.test_invalid_binary ____________________ self = def test_invalid_binary(self): '''This tests that we correctly handle the case where we attempt to spawn a child process but the exec call fails''' # Create a file that should fail the exec call dirpath = tempfile.mkdtemp() fullpath = os.path.join(dirpath, "test") with open(fullpath, 'wb') as f: # Add some constant so it will never be executable # - Not 0x54AD (Windows PE) # - Not 0x7FEF (ELF) # - Not 0410 or 0413 (a.out) # - Not 0x2321 (script) file_start = b'\x00\x00' file_data = file_start + os.urandom(1022) f.write(file_data) # Make it executable st = os.stat(fullpath) os.chmod(fullpath, st.st_mode | stat.S_IEXEC) # TODO Verify this does what is intended on Windows try: > child = PtyProcess.spawn([fullpath]) tests/test_invalid_binary.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ___________________________ PreexecFns.test_preexec ____________________________ self = def test_preexec(self): td = tempfile.mkdtemp() filepath = os.path.join(td, 'foo') def pef(): with open(filepath, 'w') as f: f.write('bar') try: > child = PtyProcess.spawn(['ls'], preexec_fn=pef) tests/test_preexec_fn.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ________________________ PreexecFns.test_preexec_error _________________________ self = def test_preexec_error(self): def func(): raise ValueError("Test error condition") try: > child = PtyProcess.spawn(['ls'], preexec_fn=func) tests/test_preexec_fn.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError _________________________ PtyTestCase.test_quick_spawn _________________________ self = def test_quick_spawn(self): """Spawn a very short-lived process.""" # so far only reproducible on Solaris 11, spawning a process # that exits very quickly raised an exception at 'inst.setwinsize', # because the pty file descriptor was quickly lost after exec(). > PtyProcess.spawn(['true']) tests/test_spawn.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError __________________________ PtyTestCase.test_spawn_sh ___________________________ self = def test_spawn_sh(self): outp = b'' self._spawn_sh(PtyProcess, self.cmd.encode('ascii'), > outp, self.env_value.encode('ascii')) tests/test_spawn.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_spawn.py:21: in _spawn_sh p = ptyp.spawn(['sh'], env=self.env) ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ______________________ PtyTestCase.test_spawn_sh_unicode _______________________ self = def test_spawn_sh_unicode(self): outp = u'' self._spawn_sh(PtyProcessUnicode, self.cmd, > outp, self.env_value) tests/test_spawn.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_spawn.py:21: in _spawn_sh p = ptyp.spawn(['sh'], env=self.env) ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ______________ TestWaitAfterTermination.test_wait_false_shortproc ______________ self = def test_wait_false_shortproc(self): """Ensure correct (False) wait status for short-lived processes.""" > child = PtyProcess.spawn(['false']) tests/test_wait.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ______________ TestWaitAfterTermination.test_wait_true_shortproc _______________ self = def test_wait_true_shortproc(self): """Ensure correct (True) wait status for short-lived processes.""" > child = PtyProcess.spawn(['true']) tests/test_wait.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ______________ TestWaitAfterTermination.test_wait_twice_longproc _______________ self = def test_wait_twice_longproc(self): """Ensure correct wait status when called twice.""" # previous versions of ptyprocess raises PtyProcessError when # wait was called more than once with "Cannot wait for dead child # process.". No longer true since v0.5. > child = PtyProcess.spawn(['sleep', '1']) tests/test_wait.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptyprocess/ptyprocess.py:226: in spawn pid, fd = pty.fork() /usr/lib64/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib64/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg 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 os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib64/python2.7/pty.py:70: OSError ===================== 11 failed, 2 skipped in 2.10 seconds ===================== * ERROR: dev-python/ptyprocess-0.6.0::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2882: Called distutils-r1_src_test * environment, line 1228: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 425: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2497: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2010: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2008: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 816: Called distutils-r1_run_phase 'python_test' * environment, line 1165: Called python_test * environment, line 2842: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/ptyprocess-0.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/ptyprocess-0.6.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/ptyprocess-0.6.0:20200428-122417.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/ptyprocess-0.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/ptyprocess-0.6.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0' * S: '/var/tmp/portage/dev-python/ptyprocess-0.6.0/work/ptyprocess-0.6.0' emerge --info: Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.3.0, glibc-2.31-r2, 4.9.0-4-arm64 aarch64) ================================================================= System uname: Linux-4.9.0-4-arm64-aarch64-with-gentoo-2.7 KiB Mem: 131544964 total, 89441144 free KiB Swap: 3321056 total, 2837760 free Timestamp of repository gentoo: Tue, 28 Apr 2020 13:12:53 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.8.2-r2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CC="aarch64-unknown-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -g -ggdb -frecord-gcc-switches" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="aarch64-unknown-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -g -ggdb -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -g -ggdb -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -g -ggdb -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j96" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl arm64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS