Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 667265 Details for
Bug 750311
dev-python/python-bugzilla-3.0.1 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), 29.63 KB, created by
Agostino Sarubbo
on 2020-10-20 06:09:41 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-10-20 06:09:41 UTC
Size:
29.63 KB
patch
obsolete
> * Package: dev-python/python-bugzilla-3.0.1 > * Repository: gentoo > * Maintainer: dilfridge@gentoo.org mgorny@gentoo.org,python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 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/31103f0cbee1d615b16ea64f572711791cd88ea2 (Mon Oct 19 00:05:58 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r2, 5.4.0-1025-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1025-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 >KiB Mem: 71926568 total, 45142080 free >KiB Swap: 0 total, 0 free >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.35.1 p1) 2.35.1 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo >dev-util/cmake: 3.18.4::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.35.1::gentoo >sys-devel/gcc: 10.2.0-r2::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r2::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* GPL-2+" >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="/var/tmp/portage/dev-python/python-bugzilla-3.0.1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME 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 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 test 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="-j36 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 elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_6 python3_7 python3_8 python3_9" USERLAND="GNU" >Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking python-bugzilla-3.0.1.tar.gz to /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work >>>> Preparing source in /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1 ... > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 36 >running build >Generating man/bugzilla.1 >running build_py >creating /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_authfiles.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_backendrest.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/rhbugzilla.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/exceptions.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/oldclasses.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_util.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_compatimports.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_backendbase.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/apiversion.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_backendxmlrpc.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_cli.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/base.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/__init__.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/bug.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_session.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >copying bugzilla/_rhconverters.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_6/lib/bugzilla >warning: build_py: byte-compiling is disabled, skipping. > > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 36 >running build >Generating man/bugzilla.1 >running build_py >creating /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_authfiles.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_backendrest.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/rhbugzilla.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/exceptions.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/oldclasses.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_util.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_compatimports.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_backendbase.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/apiversion.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_backendxmlrpc.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_cli.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/base.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/__init__.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/bug.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_session.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >copying bugzilla/_rhconverters.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_7/lib/bugzilla >warning: build_py: byte-compiling is disabled, skipping. > > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile >python3.8 setup.py build -j 36 >running build >Generating man/bugzilla.1 >running build_py >creating /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_authfiles.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_backendrest.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/rhbugzilla.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/exceptions.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/oldclasses.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_util.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_compatimports.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_backendbase.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/apiversion.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_backendxmlrpc.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_cli.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/base.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/__init__.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/bug.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_session.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >copying bugzilla/_rhconverters.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_8/lib/bugzilla >warning: build_py: byte-compiling is disabled, skipping. > > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 36 >running build >Generating man/bugzilla.1 >running build_py >creating /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_authfiles.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_backendrest.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/rhbugzilla.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/exceptions.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/oldclasses.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_util.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_compatimports.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_backendbase.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/apiversion.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_backendxmlrpc.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_cli.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/base.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/__init__.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/bug.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_session.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >copying bugzilla/_rhconverters.py -> /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1-python3_9/lib/bugzilla >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/python-bugzilla-3.0.1 > * python3_6: running distutils-r1_run_phase python_test >Error setting locale: unsupported locale setting >============================= test session starts ============================== >platform linux -- Python 3.6.12, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.6 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1 >collecting ... collected 52 items > >tests/test_api_attachments.py::test_api_attachments FAILED [ 1%] >tests/test_api_authfiles.py::testCookies PASSED [ 3%] >tests/test_api_authfiles.py::test_readconfig PASSED [ 5%] >tests/test_api_authfiles.py::test_authfiles_saving PASSED [ 7%] >tests/test_api_authfiles.py::test_authfiles_nowrite PASSED [ 9%] >tests/test_api_bug.py::testBasic PASSED [ 11%] >tests/test_api_bug.py::testBugNoID PASSED [ 13%] >tests/test_api_bug.py::test_api_getbugs PASSED [ 15%] >tests/test_api_bug.py::test_bug_getattr PASSED [ 17%] >tests/test_api_bug.py::test_bug_apis FAILED [ 19%] >tests/test_api_externalbugs.py::test_externalbugs PASSED [ 21%] >tests/test_api_groups.py::test_api_groups PASSED [ 23%] >tests/test_api_misc.py::test_mock_rhbz PASSED [ 25%] >tests/test_api_misc.py::test_file_imports PASSED [ 26%] >tests/test_api_misc.py::testUserAgent PASSED [ 28%] >tests/test_api_misc.py::test_fixurl PASSED [ 30%] >tests/test_api_misc.py::testPostTranslation PASSED [ 32%] >tests/test_api_misc.py::test_rhbz_pre_translation PASSED [ 34%] >tests/test_api_misc.py::testUpdateFailures PASSED [ 36%] >tests/test_api_misc.py::testCreatebugFieldConversion PASSED [ 38%] >tests/test_api_misc.py::testURLSavedSearch PASSED [ 40%] >tests/test_api_misc.py::testStandardQuery PASSED [ 42%] >tests/test_api_misc.py::test_api_login PASSED [ 44%] >tests/test_api_misc.py::test_version_bad PASSED [ 46%] >tests/test_api_misc.py::test_extensions_bad PASSED [ 48%] >tests/test_api_misc.py::test_bad_scheme PASSED [ 50%] >tests/test_api_misc.py::test_update_flags PASSED [ 51%] >tests/test_api_misc.py::test_bugs_history_raw PASSED [ 53%] >tests/test_api_misc.py::test_get_comments PASSED [ 55%] >tests/test_api_misc.py::test_get_xmlrpc_proxy PASSED [ 57%] >tests/test_api_misc.py::test_requests_session_passthrough PASSED [ 59%] >tests/test_api_misc.py::test_query_url_fail PASSED [ 61%] >tests/test_api_products.py::test_api_component_edit PASSED [ 63%] >tests/test_api_products.py::test_api_products PASSED [ 65%] >tests/test_api_products.py::test_bug_fields PASSED [ 67%] >tests/test_api_users.py::test_api_users PASSED [ 69%] >tests/test_cli_attach.py::test_attach PASSED [ 71%] >tests/test_cli_attach.py::test_attach_get FAILED [ 73%] >tests/test_cli_info.py::test_info PASSED [ 75%] >tests/test_cli_login.py::test_login PASSED [ 76%] >tests/test_cli_login.py::test_interactive_login PASSED [ 78%] >tests/test_cli_misc.py::testHelp PASSED [ 80%] >tests/test_cli_misc.py::testCmdHelp PASSED [ 82%] >tests/test_cli_misc.py::testVersion PASSED [ 84%] >tests/test_cli_misc.py::testPositionalArgs PASSED [ 86%] >tests/test_cli_misc.py::testDebug PASSED [ 88%] >tests/test_cli_misc.py::testExceptions PASSED [ 90%] >tests/test_cli_misc.py::testManualURL PASSED [ 92%] >tests/test_cli_misc.py::test_json_xmlrpc PASSED [ 94%] >tests/test_cli_modify.py::test_modify PASSED [ 96%] >tests/test_cli_new.py::test_new PASSED [ 98%] >tests/test_cli_query.py::test_query PASSED [100%] > >=================================== FAILURES =================================== >_____________________________ test_api_attachments _____________________________ > > def test_api_attachments(): > # misc coverage testing for Bugzilla attachment APIs > fakebz = tests.mockbackend.make_bz( > bug_attachment_get_all_args=( > "data/mockargs/test_attachments_getall1.txt"), > bug_attachment_get_all_return={}, > bug_attachment_update_args=( > "data/mockargs/test_attachments_update1.txt"), > bug_attachment_update_return={}, > bug_attachment_get_args=( > "data/mockargs/test_attachments_get1.txt"), > bug_attachment_get_return=( > "data/mockreturn/test_attach_get1.txt"), > bug_attachment_create_args=( > "data/mockargs/test_api_attachments_create1.txt"), > bug_attachment_create_return={ > "attachments": {"123456": {}, "456789": []}}, > ) > > # coverage for include/exclude handling > fakebz.get_attachments([123456], None, > include_fields=["foo"], exclude_fields="bar") > > # coverage for updateattachment > fakebz.updateattachmentflags(None, "112233", "needinfo", > value="foobar", is_patch=True) > > # coverage for openattachment >> fobj = fakebz.openattachment(502352) > >tests/test_api_attachments.py:41: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >bugzilla/base.py:1656: in openattachment > attachments = self.get_attachments(None, attachid) >bugzilla/base.py:1695: in get_attachments > return self._backend.bug_attachment_get(attachment_ids, params) >tests/mockbackend.py:59: in bug_attachment_get > return self.__helper(args) >tests/mockbackend.py:53: in __helper > returnstr = open(tests.utils.tests_path(func_return)).read() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <encodings.ascii.IncrementalDecoder object at 0x7f8828fa4e48> >input = b"{'attachments': {'502352': {'bug_id': 663674,\n 'content_type': 'text/plain',\n ... 'summary': 'An empty test file with a utf-8 '\n 'filename'}},\n 'bugs': {}}\n" >final = True > > def decode(self, input, final=False): >> return codecs.ascii_decode(input, self.errors)[0] >E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 367: ordinal not in range(128) > >/usr/lib64/python3.6/encodings/ascii.py:26: UnicodeDecodeError >________________________________ test_bug_apis _________________________________ > > def test_bug_apis(): > def _get_fake_bug(apiname): > update_args = "data/mockargs/test_bug_apis_%s_update.txt" % apiname > fakebz = tests.mockbackend.make_bz(rhbz=True, > bug_get_args=None, > bug_get_return="data/mockreturn/test_getbug_rhel.txt", > bug_update_args=update_args, > bug_update_return={}) > return fakebz.getbug(1165434) > > # bug.setstatus, wrapper for update_bugs > bug = _get_fake_bug("setstatus") > bug.setstatus("POST", "foocomment", private=True) > > # bug.close, wrapper for update_bugs > bug = _get_fake_bug("close") > bug.close("UPSTREAM", dupeid=123456, comment="foocomment2", > isprivate=False, fixedin="1.2.3.4.5") > > # bug.setassignee, wrapper for update_bugs > bug = _get_fake_bug("setassignee") > bug.setassignee( > assigned_to="foo@example.com", qa_contact="bar@example.com", > comment="foocomment") > with pytest.raises(ValueError): > # Hits a validation path > bug.setassignee() > > # bug.addcc test > bug = _get_fake_bug("addcc") > bug.addcc("foo2@example.com", comment="foocomment") > > # bug.deletecc test > bug = _get_fake_bug("deletecc") > bug.deletecc("foo2@example.com", comment="foocomment") > > # bug.addcomment test > bug = _get_fake_bug("addcomment") > bug.addcomment("test comment", private=True) > > # bug.updateflags test > bug = _get_fake_bug("updateflags") > bug.updateflags({"someflag": "someval"}) > > # Some minor flag API tests > assert "creation_date" in bug.get_flag_type("needinfo") > assert bug.get_flag_type("NOPE") is None > assert bug.get_flags("NOPE") is None > assert bug.get_flag_status("NOPE") is None > > # Minor get_history_raw wrapper > fakebz = tests.mockbackend.make_bz(rhbz=True, > bug_history_args="data/mockargs/test_bug_api_history.txt", > bug_history_return={}, > bug_get_args=None, > bug_get_return="data/mockreturn/test_getbug_rhel.txt", > bug_comments_args="data/mockargs/test_bug_api_comments.txt", > bug_comments_return={"bugs": {"1165434": {"comments": []}}}, > bug_attachment_get_all_args=( > "data/mockargs/test_bug_api_get_attachments.txt"), > bug_attachment_get_all_return="data/mockreturn/test_attach_get2.txt", > ) > > # Stub API testing > bug = fakebz.getbug(1165434) > bug.get_history_raw() > bug.getcomments() > > # Some hackery to hit a few attachment code paths > bug.id = 663674 >> attachments = bug.get_attachments() > >tests/test_api_bug.py:184: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >bugzilla/bug.py:369: in get_attachments > include_fields, exclude_fields) >bugzilla/base.py:1696: in get_attachments > return self._backend.bug_attachment_get_all(ids, params) >tests/mockbackend.py:61: in bug_attachment_get_all > return self.__helper(args) >tests/mockbackend.py:53: in __helper > returnstr = open(tests.utils.tests_path(func_return)).read() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <encodings.ascii.IncrementalDecoder object at 0x7f8828fa87b8> >input = b"{'attachments': {},\n 'bugs': {'663674': [{'bug_id': 663674,\n 'content_type': 'application/oct...\n 'size': 45,\n 'summary': 'An empty test file with a utf-8 filename'}]}}\n" >final = True > > def decode(self, input, final=False): >> return codecs.ascii_decode(input, self.errors)[0] >E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5306: ordinal not in range(128) > >/usr/lib64/python3.6/encodings/ascii.py:26: UnicodeDecodeError >_______________________________ test_attach_get ________________________________ > >run_cli = <function run_cli.<locals>._do_run at 0x7f8828e6de18> > > def test_attach_get(run_cli): > import tempfile > import shutil > tmpdir = tempfile.mkdtemp(dir=os.getcwd()) > origcwd = os.getcwd() > os.chdir(tmpdir) > try: >> _test_attach_get(run_cli) > >tests/test_cli_attach.py:89: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/test_cli_attach.py:66: in _test_attach_get > out = run_cli(cmd, fakebz) >tests/conftest.py:104: in _do_run > return tests.utils.do_run_cli(capsys, monkeypatch, *args, **kwargs) >tests/utils.py:110: in do_run_cli > bugzilla._cli.main(unittest_bz_instance=bzinstance) >bugzilla/_cli.py:1289: in main > return _main(unittest_bz_instance) >bugzilla/_cli.py:1272: in _main > _do_get_attach(bz, opt) >bugzilla/_cli.py:1110: in _do_get_attach > bz.get_attachments(None, opt.get)["attachments"].values()) >bugzilla/base.py:1695: in get_attachments > return self._backend.bug_attachment_get(attachment_ids, params) >tests/mockbackend.py:59: in bug_attachment_get > return self.__helper(args) >tests/mockbackend.py:53: in __helper > returnstr = open(tests.utils.tests_path(func_return)).read() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <encodings.ascii.IncrementalDecoder object at 0x7f8828d6c278> >input = b"{'attachments': {'502352': {'bug_id': 663674,\n 'content_type': 'text/plain',\n ... 'summary': 'An empty test file with a utf-8 '\n 'filename'}},\n 'bugs': {}}\n" >final = True > > def decode(self, input, final=False): >> return codecs.ascii_decode(input, self.errors)[0] >E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 367: ordinal not in range(128) > >/usr/lib64/python3.6/encodings/ascii.py:26: UnicodeDecodeError >=========================== short test summary info ============================ >FAILED tests/test_api_attachments.py::test_api_attachments - UnicodeDecodeErr... >FAILED tests/test_api_bug.py::test_bug_apis - UnicodeDecodeError: 'ascii' cod... >FAILED tests/test_cli_attach.py::test_attach_get - UnicodeDecodeError: 'ascii... >========================= 3 failed, 49 passed in 1.05s ========================= > * ERROR: dev-python/python-bugzilla-3.0.1::gentoo failed (test phase): > * Tests fail with python3.6 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2995: Called distutils-r1_src_test > * environment, line 1266: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 482: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2604: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2048: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2046: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 839: Called distutils-r1_run_phase 'python_test' > * environment, line 1203: Called python_test > * environment, line 2955: 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/python-bugzilla-3.0.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-bugzilla-3.0.1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/python-bugzilla-3.0.1:20201019-155424.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/python-bugzilla-3.0.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-bugzilla-3.0.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1' > * S: '/var/tmp/portage/dev-python/python-bugzilla-3.0.1/work/python-bugzilla-3.0.1'
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 750311
: 667265