Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 457042 Details for
Bug 603380
dev-python/pexpect-3.3: Multiple test failures
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 21.01 KB, created by
Thomas Deutschmann (RETIRED)
on 2016-12-21 21:07:21 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Thomas Deutschmann (RETIRED)
Created:
2016-12-21 21:07:21 UTC
Size:
21.01 KB
patch
obsolete
> * Package: dev-python/pexpect-3.3 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU x86 > * FEATURES: preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pexpect-3.3.tar.gz to /var/tmp/portage/dev-python/pexpect-3.3/work >>>> Source unpacked in /var/tmp/portage/dev-python/pexpect-3.3/work >>>> Preparing source in /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >copying pxssh.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib >copying fdpexpect.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib >copying FSM.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib >copying screen.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib >copying ANSI.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib >creating /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/fdpexpect.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/replwrap.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/__init__.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/pxssh.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/FSM.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/ANSI.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >copying pexpect/screen.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python2_7/lib/pexpect >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >copying pxssh.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib >copying fdpexpect.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib >copying FSM.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib >copying screen.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib >copying ANSI.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib >creating /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/fdpexpect.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/replwrap.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/__init__.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/pxssh.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/FSM.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/ANSI.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >copying pexpect/screen.py -> /var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3-python3_4/lib/pexpect >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase python_compile_all >>>> 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 > * > * Call stack: > * ebuild.sh, line 115: Called src_test > * environment, line 3647: Called distutils-r1_src_test > * environment, line 945: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 282: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3160: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2265: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2263: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 553: Called distutils-r1_run_phase 'python_test' > * environment, line 877: Called python_test > * environment, line 3526: Called die > * The specific snippet of code: > * py.test tests || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/pexpect-3.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pexpect-3.3::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/pexpect-3.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pexpect-3.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3' > * S: '/var/tmp/portage/dev-python/pexpect-3.3/work/pexpect-3.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 603380
: 457042