Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 635830 Details for
Bug 720800
dev-python/terminado fails tests
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), 19.55 KB, created by
Agostino Sarubbo
on 2020-05-03 11:55:37 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-05-03 11:55:37 UTC
Size:
19.55 KB
patch
obsolete
> * Package: dev-python/terminado-0.8.3 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_6 test userland_GNU x86 > * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking terminado-0.8.3.tar.gz to /var/tmp/portage/dev-python/terminado-0.8.3/work >>>> Source unpacked in /var/tmp/portage/dev-python/terminado-0.8.3/work >>>> Preparing source in /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 ... > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile > * DISTUTILS_USE_SETUPTOOLS value is probably incorrect > * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) > * expected: DISTUTILS_USE_SETUPTOOLS=no >python3.6 setup.py build -j 8 >running build >running build_py >creating /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >copying terminado/__init__.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >copying terminado/websocket.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >copying terminado/uimodule.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >copying terminado/management.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >creating /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado/tests >copying terminado/tests/__init__.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado/tests >copying terminado/tests/basic_test.py -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado/tests >copying terminado/uimod_embed.js -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado >creating /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado/_static >copying terminado/_static/terminado.js -> /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3-python3_6/lib/terminado/_static >/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires' > warnings.warn(msg) >/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'extras_require' > warnings.warn(msg) >/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires' > warnings.warn(msg) >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/terminado-0.8.3 > * python3_6: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.6.10, pytest-4.6.9, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.6 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 >plugins: httpbin-1.0.0 >collecting ... collected 8 items > >terminado/tests/basic_test.py::CommonTests::test_basic FAILED [ 12%] >terminado/tests/basic_test.py::CommonTests::test_basic_command PASSED [ 25%] >terminado/tests/basic_test.py::NamedTermTests::test_max_terminals PASSED [ 37%] >terminado/tests/basic_test.py::NamedTermTests::test_namespace PASSED [ 50%] >terminado/tests/basic_test.py::NamedTermTests::test_new PASSED [ 62%] >terminado/tests/basic_test.py::SingleTermTests::test_single_process PASSED [ 75%] >terminado/tests/basic_test.py::UniqueTermTests::test_max_terminals PASSED [ 87%] >terminado/tests/basic_test.py::UniqueTermTests::test_unique_processes PASSED [100%] > >=================================== FAILURES =================================== >____________________________ CommonTests.test_basic ____________________________ > >self = <tornado.websocket.WebSocketProtocol13 object at 0xf5ceb64c> >message = b'["stdout", "\\u001b]0;portage@localhost:/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3\\u0007\\u001b[01;31mx86 (CHROOT)\\u001b[01;34m /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 $\\u001b[00m \\r"]' >binary = False > > def write_message(self, message, binary=False): > """Sends the given message to the client of this Web Socket.""" > if binary: > opcode = 0x2 > else: > opcode = 0x1 > message = tornado.escape.utf8(message) > assert isinstance(message, bytes) > self._message_bytes_out += len(message) > flags = 0 > if self._compressor: > message = self._compressor.compress(message) > flags |= self.RSV1 > # For historical reasons, write methods in Tornado operate in a semi-synchronous > # mode in which awaiting the Future they return is optional (But errors can > # still be raised). This requires us to go through an awkward dance here > # to transform the errors that may be returned while presenting the same > # semi-synchronous interface. > try: >> fut = self._write_frame(True, opcode, message, flags=flags) > >/usr/lib/python3.6/site-packages/tornado/websocket.py:867: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <tornado.websocket.WebSocketProtocol13 object at 0xf5ceb64c>, fin = True >opcode = 1 >data = b'["stdout", "\\u001b]0;portage@localhost:/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3\\u0007\\u001b[01;31mx86 (CHROOT)\\u001b[01;34m /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 $\\u001b[00m \\r"]' >flags = 0 > > def _write_frame(self, fin, opcode, data, flags=0): > data_len = len(data) > if opcode & 0x8: > # All control frames MUST have a payload length of 125 > # bytes or less and MUST NOT be fragmented. > if not fin: > raise ValueError("control frames may not be fragmented") > if data_len > 125: > raise ValueError("control frame payloads may not exceed 125 bytes") > if fin: > finbit = self.FIN > else: > finbit = 0 > frame = struct.pack("B", finbit | opcode | flags) > if self.mask_outgoing: > mask_bit = 0x80 > else: > mask_bit = 0 > if data_len < 126: > frame += struct.pack("B", data_len | mask_bit) > elif data_len <= 0xFFFF: > frame += struct.pack("!BH", 126 | mask_bit, data_len) > else: > frame += struct.pack("!BQ", 127 | mask_bit, data_len) > if self.mask_outgoing: > mask = os.urandom(4) > data = mask + _websocket_mask(mask, data) > frame += data > self._wire_bytes_out += len(frame) >> return self.stream.write(frame) > >/usr/lib/python3.6/site-packages/tornado/websocket.py:846: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <tornado.iostream.IOStream object at 0xf5d002cc> >data = b'\x81~\x00\xe6["stdout", "\\u001b]0;portage@localhost:/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8....[01;31mx86 (CHROOT)\\u001b[01;34m /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 $\\u001b[00m \\r"]' >callback = None > > def write(self, data, callback=None): > """Asynchronously write the given data to this stream. > > If ``callback`` is given, we call it when all of the buffered write > data has been successfully written to the stream. If there was > previously buffered write data and an old write callback, that > callback is simply overwritten with this new callback. > > If no ``callback`` is given, this method returns a `.Future` that > resolves (with a result of ``None``) when the write has been > completed. > > The ``data`` argument may be of type `bytes` or `memoryview`. > > .. versionchanged:: 4.0 > Now returns a `.Future` if no callback is given. > > .. versionchanged:: 4.5 > Added support for `memoryview` arguments. > > .. deprecated:: 5.1 > > The ``callback`` argument is deprecated and will be removed > in Tornado 6.0. Use the returned `.Future` instead. > > """ >> self._check_closed() > >/usr/lib/python3.6/site-packages/tornado/iostream.py:570: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <tornado.iostream.IOStream object at 0xf5d002cc> > > def _check_closed(self): > if self.closed(): >> raise StreamClosedError(real_error=self.error) >E tornado.iostream.StreamClosedError: Stream is closed > >/usr/lib/python3.6/site-packages/tornado/iostream.py:1112: StreamClosedError > >During handling of the above exception, another exception occurred: >/usr/lib/python3.6/site-packages/tornado/testing.py:451: in tearDown > super(AsyncHTTPTestCase, self).tearDown() >/usr/lib/python3.6/site-packages/tornado/testing.py:222: in tearDown > self.__rethrow() >/usr/lib/python3.6/site-packages/tornado/testing.py:250: in __rethrow > raise_exc_info(failure) >/usr/lib/python3.6/site-packages/tornado/stack_context.py:339: in wrapped > ret = fn(*args, **kwargs) >terminado/management.py:199: in pty_read > client.on_pty_read(s) >terminado/websocket.py:64: in on_pty_read > self.send_json_message(['stdout', text]) >terminado/websocket.py:68: in send_json_message > self.write_message(json_msg) >/usr/lib/python3.6/site-packages/tornado/websocket.py:262: in write_message > return self.ws_connection.write_message(message, binary=binary) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <tornado.websocket.WebSocketProtocol13 object at 0xf5ceb64c> >message = b'["stdout", "\\u001b]0;portage@localhost:/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3\\u0007\\u001b[01;31mx86 (CHROOT)\\u001b[01;34m /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3 $\\u001b[00m \\r"]' >binary = False > > def write_message(self, message, binary=False): > """Sends the given message to the client of this Web Socket.""" > if binary: > opcode = 0x2 > else: > opcode = 0x1 > message = tornado.escape.utf8(message) > assert isinstance(message, bytes) > self._message_bytes_out += len(message) > flags = 0 > if self._compressor: > message = self._compressor.compress(message) > flags |= self.RSV1 > # For historical reasons, write methods in Tornado operate in a semi-synchronous > # mode in which awaiting the Future they return is optional (But errors can > # still be raised). This requires us to go through an awkward dance here > # to transform the errors that may be returned while presenting the same > # semi-synchronous interface. > try: > fut = self._write_frame(True, opcode, message, flags=flags) > except StreamClosedError: >> raise WebSocketClosedError() >E tornado.websocket.WebSocketClosedError > >/usr/lib/python3.6/site-packages/tornado/websocket.py:869: WebSocketClosedError >=============================== warnings summary =============================== >terminado/tests/basic_test.py:32 > /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3/terminado/tests/basic_test.py:32: PytestCollectionWarning: cannot collect test class 'TestTermClient' because it has a __init__ constructor (from: terminado/tests/basic_test.py) > class TestTermClient(object): > >terminado/tests/basic_test.py::CommonTests::test_basic > /usr/lib/python3.6/site-packages/tornado/stack_context.py:210: DeprecationWarning: StackContext is deprecated and will be removed in Tornado 6.0 > DeprecationWarning) > >terminado/tests/basic_test.py::UniqueTermTests::test_max_terminals > /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3/terminado/tests/basic_test.py:239: DeprecationWarning: Please use assertEqual instead. > self.assertEquals(msg, None) > >terminado/tests/basic_test.py::UniqueTermTests::test_max_terminals > /var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3/terminado/tests/basic_test.py:244: DeprecationWarning: Please use assertEqual instead. > self.assertEquals(msg[0], 'setup') > >-- Docs: https://docs.pytest.org/en/latest/warnings.html >=============== 1 failed, 7 passed, 4 warnings in 35.17 seconds ================ > * ERROR: dev-python/terminado-0.8.3::gentoo failed (test phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2892: Called distutils-r1_src_test > * environment, line 1238: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 438: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2507: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2020: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2018: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 826: Called distutils-r1_run_phase 'python_test' > * environment, line 1175: Called python_test > * environment, line 2852: Called die > * The specific snippet of code: > * py.test -v || die > * > * If you need support, post the output of `emerge --info '=dev-python/terminado-0.8.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/terminado-0.8.3::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/terminado-0.8.3:20200503-114214.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/terminado-0.8.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/terminado-0.8.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3' > * S: '/var/tmp/portage/dev-python/terminado-0.8.3/work/terminado-0.8.3' > > > >emerge --info: >Portage 2.3.99 (python 3.6.10-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.30-r8, 4.14.34-gentoo-infra38 i686) >================================================================= >System uname: Linux-4.14.34-gentoo-infra38-i686-Intel-R-_Xeon-R-_CPU_E5-2620_v4_@_2.10GHz-with-gentoo-2.6 >KiB Mem: 16426740 total, 5123432 free >KiB Swap: 4194268 total, 4185052 free >Timestamp of repository gentoo: Sun, 03 May 2020 09:55:08 +0000 >sh bash 4.4_p23-r1 >ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 >app-shells/bash: 4.4_p23-r1::gentoo >dev-lang/perl: 5.30.1::gentoo >dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo >dev-util/cmake: 3.16.5::gentoo >sys-apps/baselayout: 2.6-r1::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.13::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo >sys-devel/automake: 1.16.1-r1::gentoo >sys-devel/binutils: 2.33.1-r1::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.2.1-r4::gentoo >sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) >sys-libs/glibc: 2.30-r8::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > >x-portage > location: /usr/local/portage > masters: gentoo > priority: 0 > >ACCEPT_KEYWORDS="x86" >ACCEPT_LICENSE="*" >CBUILD="i686-pc-linux-gnu" >CC="i686-pc-linux-gnu-gcc" >CFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" >CHOST="i686-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="i686-pc-linux-gnu-g++" >CXXFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going y --quiet-fail 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 -march=i686 -pipe" >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 -march=i686 -pipe" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LINGUAS="en en_GB" >MAKEOPTS="-j8" >PKGDIR="/root/.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="X acl berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libtirpc ncurses nls nptl openmp openssl pam pcre readline seccomp split-usr ssl tcpd unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_X86="mmx mmxext sse sse2" 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" L10N="en en_GB en-GB" 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="amdgpu fbdev intel nouveau radeon radeonsi vesa 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
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 720800
: 635830