Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 652898 Details for
Bug 735894
dev-python/hpack-3.0.0 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), 18.54 KB, created by
Agostino Sarubbo
on 2020-08-04 12:45:46 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-04 12:45:46 UTC
Size:
18.54 KB
patch
obsolete
> * Package: dev-python/hpack-3.0.0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * Upstream: cory@lukasa.co.uk > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo/gentoo/commit/8529ec4172c03ed1f90248309a3ebb06ba7c9746 >@@@@@ END @@@@@ > >>>> Unpacking source... >>>> Unpacking hpack-3.0.0.tar.gz to /var/tmp/portage/dev-python/hpack-3.0.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/hpack-3.0.0/work >>>> Preparing source in /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0 ... > * Applying hpack-3.0.0-hypothesis-healthcheck.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0 ... > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/compat.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/huffman_constants.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/huffman_table.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/struct.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/exceptions.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/hpack.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/huffman.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/table.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >copying hpack/__init__.py -> /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0-python3_7/lib/hpack >running egg_info >creating hpack.egg-info >writing hpack.egg-info/PKG-INFO >writing dependency_links to hpack.egg-info/dependency_links.txt >writing top-level names to hpack.egg-info/top_level.txt >writing manifest file 'hpack.egg-info/SOURCES.txt' >reading manifest file 'hpack.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'hpack.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/hpack-3.0.0 > * python3_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.7.8, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.7 >cachedir: .pytest_cache >hypothesis profile 'gentoo' -> suppress_health_check=[HealthCheck.too_slow], database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0 >plugins: hypothesis-5.23.9 >collecting ... collected 84 items > >test/test_encode_decode.py::TestIntegerEncoding::test_encoding_10_with_5_bit_prefix PASSED [ 1%] >test/test_encode_decode.py::TestIntegerEncoding::test_encoding_1337_with_5_bit_prefix PASSED [ 2%] >test/test_encode_decode.py::TestIntegerEncoding::test_encoding_42_with_8_bit_prefix PASSED [ 3%] >test/test_encode_decode.py::TestIntegerDecoding::test_decoding_10_with_5_bit_prefix PASSED [ 4%] >test/test_encode_decode.py::TestIntegerDecoding::test_encoding_1337_with_5_bit_prefix PASSED [ 5%] >test/test_encode_decode.py::TestIntegerDecoding::test_encoding_42_with_8_bit_prefix PASSED [ 7%] >test/test_encode_decode.py::TestIntegerDecoding::test_decode_empty_string_fails PASSED [ 8%] >test/test_encode_decode.py::TestIntegerDecoding::test_decode_insufficient_data_fails PASSED [ 9%] >test/test_encode_decode.py::TestEncodingProperties::test_encode_positive_integer_always_valid PASSED [ 10%] >test/test_encode_decode.py::TestEncodingProperties::test_encode_fails_for_negative_integers PASSED [ 11%] >test/test_encode_decode.py::TestEncodingProperties::test_encode_fails_for_invalid_prefixes PASSED [ 13%] >test/test_encode_decode.py::TestEncodingProperties::test_decode_fails_for_invalid_prefixes PASSED [ 14%] >test/test_encode_decode.py::TestEncodingProperties::test_decode_either_succeeds_or_raises_error PASSED [ 15%] >test/test_encode_decode.py::TestEncodingProperties::test_encode_decode_round_trips PASSED [ 16%] >test/test_hpack.py::TestHPACKEncoder::test_literal_header_field_with_indexing PASSED [ 17%] >test/test_hpack.py::TestHPACKEncoder::test_sensitive_headers PASSED [ 19%] >test/test_hpack.py::TestHPACKEncoder::test_non_sensitive_headers_with_header_tuples PASSED [ 20%] >test/test_hpack.py::TestHPACKEncoder::test_sensitive_headers_with_header_tuples PASSED [ 21%] >test/test_hpack.py::TestHPACKEncoder::test_header_table_size_getter PASSED [ 22%] >test/test_hpack.py::TestHPACKEncoder::test_indexed_literal_header_field_with_indexing PASSED [ 23%] >test/test_hpack.py::TestHPACKEncoder::test_indexed_header_field PASSED [ 25%] >test/test_hpack.py::TestHPACKEncoder::test_indexed_header_field_from_static_table PASSED [ 26%] >test/test_hpack.py::TestHPACKEncoder::test_request_examples_without_huffman PASSED [ 27%] >test/test_hpack.py::TestHPACKEncoder::test_request_examples_with_huffman PASSED [ 28%] >test/test_hpack.py::TestHPACKEncoder::test_resizing_header_table PASSED [ 29%] >test/test_hpack.py::TestHPACKEncoder::test_resizing_header_table_sends_multiple_updates PASSED [ 30%] >test/test_hpack.py::TestHPACKEncoder::test_resizing_header_table_to_same_size_ignored PASSED [ 32%] >test/test_hpack.py::TestHPACKEncoder::test_resizing_header_table_sends_context_update PASSED [ 33%] >test/test_hpack.py::TestHPACKEncoder::test_setting_table_size_to_the_same_does_nothing PASSED [ 34%] >test/test_hpack.py::TestHPACKEncoder::test_evicting_header_table_objects PASSED [ 35%] >test/test_hpack.py::TestHPACKDecoder::test_literal_header_field_with_indexing PASSED [ 36%] >test/test_hpack.py::TestHPACKDecoder::test_raw_decoding PASSED [ 38%] >test/test_hpack.py::TestHPACKDecoder::test_literal_header_field_without_indexing PASSED [ 39%] >test/test_hpack.py::TestHPACKDecoder::test_header_table_size_getter PASSED [ 40%] >test/test_hpack.py::TestHPACKDecoder::test_indexed_header_field PASSED [ 41%] >test/test_hpack.py::TestHPACKDecoder::test_request_examples_without_huffman PASSED [ 42%] >test/test_hpack.py::TestHPACKDecoder::test_request_examples_with_huffman PASSED [ 44%] >test/test_hpack.py::TestHPACKDecoder::test_resizing_header_table PASSED [ 45%] >test/test_hpack.py::TestHPACKDecoder::test_apache_trafficserver PASSED [ 46%] >test/test_hpack.py::TestHPACKDecoder::test_utf8_errors_raise_hpack_decoding_error PASSED [ 47%] >test/test_hpack.py::TestHPACKDecoder::test_invalid_indexed_literal PASSED [ 48%] >test/test_hpack.py::TestHPACKDecoder::test_invalid_indexed_header PASSED [ 50%] >test/test_hpack.py::TestHPACKDecoder::test_literal_header_field_with_indexing_emits_headertuple PASSED [ 51%] >test/test_hpack.py::TestHPACKDecoder::test_literal_never_indexed_emits_neverindexedheadertuple PASSED [ 52%] >test/test_hpack.py::TestHPACKDecoder::test_indexed_never_indexed_emits_neverindexedheadertuple PASSED [ 53%] >test/test_hpack.py::TestHPACKDecoder::test_max_header_list_size PASSED [ 54%] >test/test_hpack.py::TestHPACKDecoder::test_can_decode_multiple_header_table_size_changes PASSED [ 55%] >test/test_hpack.py::TestHPACKDecoder::test_header_table_size_change_above_maximum PASSED [ 57%] >test/test_hpack.py::TestHPACKDecoder::test_table_size_not_adjusting PASSED [ 58%] >test/test_hpack.py::TestHPACKDecoder::test_table_size_last_rejected PASSED [ 59%] >test/test_hpack.py::TestHPACKDecoder::test_table_size_middle_rejected PASSED [ 60%] >test/test_hpack.py::TestHPACKDecoder::test_truncated_header_name PASSED [ 61%] >test/test_hpack.py::TestHPACKDecoder::test_truncated_header_value PASSED [ 63%] >test/test_hpack.py::TestDictToIterable::test_ordering PASSED [ 64%] >test/test_hpack.py::TestDictToIterable::test_ordering_applies_to_encoding PASSED [ 65%] >test/test_huffman.py::TestHuffman::test_request_huffman_decoder PASSED [ 66%] >test/test_huffman.py::TestHuffman::test_request_huffman_encode PASSED [ 67%] >test/test_huffman.py::TestHuffmanDecoder::test_huffman_decoder_properly_handles_all_bytestrings PASSED [ 69%] >test/test_struct.py::TestHeaderTuple::test_is_tuple PASSED [ 70%] >test/test_struct.py::TestHeaderTuple::test_unpacks_properly PASSED [ 71%] >test/test_struct.py::TestHeaderTuple::test_header_tuples_are_indexable PASSED [ 72%] >test/test_struct.py::TestHeaderTuple::test_never_indexed_tuples_are_not_indexable PASSED [ 73%] >test/test_struct.py::TestHeaderTuple::test_equal_to_tuples[HeaderTuple] PASSED [ 75%] >test/test_struct.py::TestHeaderTuple::test_equal_to_tuples[NeverIndexedHeaderTuple] PASSED [ 76%] >test/test_struct.py::TestHeaderTuple::test_equal_to_self[HeaderTuple] PASSED [ 77%] >test/test_struct.py::TestHeaderTuple::test_equal_to_self[NeverIndexedHeaderTuple] PASSED [ 78%] >test/test_struct.py::TestHeaderTuple::test_equal_for_different_indexes PASSED [ 79%] >test/test_table.py::TestPackageFunctions::test_table_entry_size PASSED [ 80%] >test/test_table.py::TestHeaderTable::test_get_by_index_dynamic_table PASSED [ 82%] >test/test_table.py::TestHeaderTable::test_get_by_index_static_table PASSED [ 83%] >test/test_table.py::TestHeaderTable::test_get_by_index_zero_index PASSED [ 84%] >test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range FAILED [ 85%] >test/test_table.py::TestHeaderTable::test_repr PASSED [ 86%] >test/test_table.py::TestHeaderTable::test_add_to_large PASSED [ 88%] >test/test_table.py::TestHeaderTable::test_search_in_static_full PASSED [ 89%] >test/test_table.py::TestHeaderTable::test_search_in_static_partial PASSED [ 90%] >test/test_table.py::TestHeaderTable::test_search_in_dynamic_full PASSED [ 91%] >test/test_table.py::TestHeaderTable::test_search_in_dynamic_partial PASSED [ 92%] >test/test_table.py::TestHeaderTable::test_search_no_match PASSED [ 94%] >test/test_table.py::TestHeaderTable::test_maxsize_prop_getter PASSED [ 95%] >test/test_table.py::TestHeaderTable::test_maxsize_prop_setter PASSED [ 96%] >test/test_table.py::TestHeaderTable::test_size PASSED [ 97%] >test/test_table.py::TestHeaderTable::test_shrink_maxsize_is_zero PASSED [ 98%] >test/test_table.py::TestHeaderTable::test_shrink_maxsize PASSED [100%] > >=================================== FAILURES =================================== >________________ TestHeaderTable.test_get_by_index_out_of_range ________________ > >self = <test_table.TestHeaderTable object at 0x7f763a9467d0> > > def test_get_by_index_out_of_range(self): > tbl = HeaderTable() > off = len(HeaderTable.STATIC_TABLE) > tbl.add(b'TestName', b'TestValue') > with pytest.raises(InvalidTableIndex) as e: > tbl.get_by_index(off + 2) > >> assert ( > "InvalidTableIndex: Invalid table index %d" % (off + 2) in str(e) > ) >E assert ('InvalidTableIndex: Invalid table index %d' % (61 + 2)) in "<ExceptionInfo InvalidTableIndex('Invalid table index 63') tblen=2>" >E + where "<ExceptionInfo InvalidTableIndex('Invalid table index 63') tblen=2>" = str(<ExceptionInfo InvalidTableIndex('Invalid table index 63') tblen=2>) > >test/test_table.py:48: AssertionError >=========================== short test summary info ============================ >FAILED test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range - ... >========================= 1 failed, 83 passed in 2.95s ========================= > * ERROR: dev-python/hpack-3.0.0::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3855: Called distutils-r1_src_test > * environment, line 1280: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 393: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3465: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2748: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2746: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 868: Called distutils-r1_run_phase 'python_test' > * environment, line 1217: Called python_test > * environment, line 3815: Called die > * The specific snippet of code: > * pytest -vv hpack test || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/hpack-3.0.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/hpack-3.0.0::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/hpack-3.0.0:20200804-123712.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/hpack-3.0.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/hpack-3.0.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0' > * S: '/var/tmp/portage/dev-python/hpack-3.0.0/work/hpack-3.0.0' > > > >emerge --info: >Portage 3.0.1 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.31-r6, 5.4.0-1018-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1018-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 17518332 free >KiB Swap: 0 total, 0 free >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.31-r6::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-max-age: 24 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="*" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >CHOST="x86_64-pc-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" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 -frecord-gcc-switches" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j16 V=1" >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="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" 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 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, 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 735894
: 652898