Created attachment 457042 [details] build.log >>> Source compiled. >>> Test phase: dev-python/pexpect-3.3 * python2_7: running distutils-r1_run_phase python_test ==================================================================================== test session starts ===================================================================================== platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 rootdir: /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3, inifile: collected 133 items tests/test_FSM.py . tests/test_ansi.py .... tests/test_command_list_split.py . tests/test_constructor.py .. tests/test_ctrl_chars.py ..... tests/test_destructor.py . tests/test_dotall.py .. tests/test_expect.py ............................ tests/test_filedescriptor.py ..... tests/test_interact.py FFF tests/test_isalive.py ........ tests/test_log.py .... tests/test_misc.py ..................... tests/test_missing_command.py . tests/test_performance.py . tests/test_pickling.py . tests/test_pxssh.py ... tests/test_replwrap.py ..... tests/test_run.py ......... tests/test_screen.py ...... tests/test_timeout_pattern.py ..... tests/test_unicode.py .......... tests/test_which.py ...... tests/test_winsize.py . ========================================================================================== FAILURES ========================================================================================== ___________________________________________________________________________ InteractTestCase.test_interact_escape ____________________________________________________________________________ self = <tests.test_interact.InteractTestCase testMethod=test_interact_escape> def test_interact_escape(self): " Ensure `escape_character' value exits interactive mode. " p = pexpect.spawn(self.interact_py, timeout=5, env=self.env) > p.expect('<in >') tests/test_interact.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pexpect/__init__.py:1451: in expect timeout, searchwindowsize) pexpect/__init__.py:1466: in expect_list timeout, searchwindowsize) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pexpect.spawn object at 0xb66695ac>, searcher = <pexpect.searcher_re object at 0xb666978c>, timeout = 4.600780010223389, searchwindowsize = None def expect_loop(self, searcher, timeout=-1, searchwindowsize=-1): '''This is the common loop used inside expect. The 'searcher' should be an instance of searcher_re or searcher_string, which describes how and what to search for in the input. See expect() for other arguments, return value and exceptions. ''' self.searcher = searcher if timeout == -1: timeout = self.timeout if timeout is not None: end_time = time.time() + timeout if searchwindowsize == -1: searchwindowsize = self.searchwindowsize try: incoming = self.buffer freshlen = len(incoming) while True: # Keep reading until exception or return. index = searcher.search(incoming, freshlen, searchwindowsize) if index >= 0: self.buffer = incoming[searcher.end:] self.before = incoming[: searcher.start] self.after = incoming[searcher.start: searcher.end] self.match = searcher.match self.match_index = index return self.match_index # No match at this point if (timeout is not None) and (timeout < 0): raise TIMEOUT('Timeout exceeded in expect_any().') # Still have time left, so read more data c = self.read_nonblocking(self.maxread, timeout) freshlen = len(c) time.sleep(0.0001) incoming = incoming + c if timeout is not None: timeout = end_time - time.time() except EOF: err = sys.exc_info()[1] self.buffer = self.string_type() self.before = incoming self.after = EOF index = searcher.eof_index if index >= 0: self.match = EOF self.match_index = index return self.match_index else: self.match = None self.match_index = None > raise EOF(str(err) + '\n' + str(self)) E EOF: End Of File (EOF). Exception style platform. E <pexpect.spawn object at 0xb66695ac> E version: 3.3 E command: /usr/bin/python2.7 E args: [u'/usr/bin/python2.7', u'interact.py'] E searcher: <pexpect.searcher_re object at 0xb666978c> E buffer (last 100 chars): '' E before (last 100 chars): "ldn't read '/var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3/.coveragerc' as a config file\r\n" E after: <class 'pexpect.EOF'> E match: None E match_index: None E exitstatus: 1 E flag_eof: True E pid: 11184 E child_fd: 18 E closed: False E timeout: 5 E delimiter: <class 'pexpect.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 pexpect/__init__.py:1554: EOF ------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------ tests.test_interact.InteractTestCase.test_interact_escape __________________________________________________________________________ InteractTestCase.test_interact_spawn_eof __________________________________________________________________________ self = <tests.test_interact.InteractTestCase testMethod=test_interact_spawn_eof> def test_interact_spawn_eof(self): " Ensure subprocess receives EOF and exit. " p = pexpect.spawn(self.interact_py, timeout=5, env=self.env) > p.expect('<in >') tests/test_interact.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pexpect/__init__.py:1451: in expect timeout, searchwindowsize) pexpect/__init__.py:1466: in expect_list timeout, searchwindowsize) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pexpect.spawn object at 0xb66d280c>, searcher = <pexpect.searcher_re object at 0xb66d2b0c>, timeout = 4.917953014373779, searchwindowsize = None def expect_loop(self, searcher, timeout=-1, searchwindowsize=-1): '''This is the common loop used inside expect. The 'searcher' should be an instance of searcher_re or searcher_string, which describes how and what to search for in the input. See expect() for other arguments, return value and exceptions. ''' self.searcher = searcher if timeout == -1: timeout = self.timeout if timeout is not None: end_time = time.time() + timeout if searchwindowsize == -1: searchwindowsize = self.searchwindowsize try: incoming = self.buffer freshlen = len(incoming) while True: # Keep reading until exception or return. index = searcher.search(incoming, freshlen, searchwindowsize) if index >= 0: self.buffer = incoming[searcher.end:] self.before = incoming[: searcher.start] self.after = incoming[searcher.start: searcher.end] self.match = searcher.match self.match_index = index return self.match_index # No match at this point if (timeout is not None) and (timeout < 0): raise TIMEOUT('Timeout exceeded in expect_any().') # Still have time left, so read more data c = self.read_nonblocking(self.maxread, timeout) freshlen = len(c) time.sleep(0.0001) incoming = incoming + c if timeout is not None: timeout = end_time - time.time() except EOF: err = sys.exc_info()[1] self.buffer = self.string_type() self.before = incoming self.after = EOF index = searcher.eof_index if index >= 0: self.match = EOF self.match_index = index return self.match_index else: self.match = None self.match_index = None > raise EOF(str(err) + '\n' + str(self)) E EOF: End Of File (EOF). Exception style platform. E <pexpect.spawn object at 0xb66d280c> E version: 3.3 E command: /usr/bin/python2.7 E args: [u'/usr/bin/python2.7', u'interact.py'] E searcher: <pexpect.searcher_re object at 0xb66d2b0c> E buffer (last 100 chars): '' E before (last 100 chars): "ldn't read '/var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3/.coveragerc' as a config file\r\n" E after: <class 'pexpect.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 11240 E child_fd: 19 E closed: False E timeout: 5 E delimiter: <class 'pexpect.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 pexpect/__init__.py:1554: EOF ------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------ tests.test_interact.InteractTestCase.test_interact_spawn_eof _________________________________________________________________________ InteractTestCase.test_interact_spawnu_eof __________________________________________________________________________ self = <tests.test_interact.InteractTestCase testMethod=test_interact_spawnu_eof> def test_interact_spawnu_eof(self): " Ensure subprocess receives unicode, EOF, and exit. " p = pexpect.spawnu(self.interact_ucs_py, timeout=5, env=self.env) > p.expect('<in >') tests/test_interact.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pexpect/__init__.py:1451: in expect timeout, searchwindowsize) pexpect/__init__.py:1466: in expect_list timeout, searchwindowsize) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pexpect.spawnu object at 0xb658dd0c>, searcher = <pexpect.searcher_re object at 0xb658d5ec>, timeout = 4.924818992614746, searchwindowsize = None def expect_loop(self, searcher, timeout=-1, searchwindowsize=-1): '''This is the common loop used inside expect. The 'searcher' should be an instance of searcher_re or searcher_string, which describes how and what to search for in the input. See expect() for other arguments, return value and exceptions. ''' self.searcher = searcher if timeout == -1: timeout = self.timeout if timeout is not None: end_time = time.time() + timeout if searchwindowsize == -1: searchwindowsize = self.searchwindowsize try: incoming = self.buffer freshlen = len(incoming) while True: # Keep reading until exception or return. index = searcher.search(incoming, freshlen, searchwindowsize) if index >= 0: self.buffer = incoming[searcher.end:] self.before = incoming[: searcher.start] self.after = incoming[searcher.start: searcher.end] self.match = searcher.match self.match_index = index return self.match_index # No match at this point if (timeout is not None) and (timeout < 0): raise TIMEOUT('Timeout exceeded in expect_any().') # Still have time left, so read more data c = self.read_nonblocking(self.maxread, timeout) freshlen = len(c) time.sleep(0.0001) incoming = incoming + c if timeout is not None: timeout = end_time - time.time() except EOF: err = sys.exc_info()[1] self.buffer = self.string_type() self.before = incoming self.after = EOF index = searcher.eof_index if index >= 0: self.match = EOF self.match_index = index return self.match_index else: self.match = None self.match_index = None > raise EOF(str(err) + '\n' + str(self)) E EOF: End Of File (EOF). Exception style platform. E <pexpect.spawnu object at 0xb658dd0c> E version: 3.3 E command: /usr/bin/python2.7 E args: [u'/usr/bin/python2.7', u'interact_unicode.py'] E searcher: <pexpect.searcher_re object at 0xb658d5ec> E buffer (last 100 chars): u'' E before (last 100 chars): u"ldn't read '/var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3/.coveragerc' as a config file\r\n" E after: <class 'pexpect.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 11257 E child_fd: 20 E closed: False E timeout: 5 E delimiter: <class 'pexpect.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 pexpect/__init__.py:1554: EOF ------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------ tests.test_interact.InteractTestCase.test_interact_spawnu_eof =========================================================================== 3 failed, 130 passed in 112.52 seconds =========================================================================== * ERROR: dev-python/pexpect-3.3::gentoo failed (test phase): * Tests fail with python2.7 *
Portage 2.3.0 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-4.9.4, glibc-2.22-r4, 4.4.26-gentoo i686) ================================================================= System uname: Linux-4.4.26-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2 KiB Mem: 3108776 total, 1319660 free KiB Swap: 488276 total, 475812 free Timestamp of repository gentoo: Wed, 21 Dec 2016 08:22:26 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ARCH="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" EPREFIX="" EROOT="/" EVENT_NOEPOLL="1" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" GUILE_LOAD_PATH="/usr/share/guile/1.8" HOME="/root" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.9.4/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.25.1/info" INPUT_DEVICES="keyboard mouse evdev" IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MULTILIB_ABIS="x86" MULTIOSDIRS="../lib" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.9.4" PHP_TARGETS="php5-6" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" ROOT="/" ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.9.4" RUBY_TARGETS="ruby21" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" TERM="screen" TMUX="/tmp/tmux-0/default,4333,0" TMUX_PANE="%6" USER="root" USERLAND="GNU" VIDEO_CARDS="intel"
Version in tree stable. No test failure with present versions.