* Package: dev-python/sniffio-1.2.0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_pypy3 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/e9309c11a0caa5cb3cfce81cbf54efcadedcfa33 (Sun Jan 31 19:24:38 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.14 (python 3.9.1-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-glibc2.32 KiB Mem: 71926568 total, 47682120 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.1 p2) 2.35.1 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.0-r1::gentoo dev-lang/python: 2.7.18-r6::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo dev-util/cmake: 3.19.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* Apache-2.0 MIT" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -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=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/dev-python/sniffio-1.2.0/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=x86-64 -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=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36" 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="pypy3 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 emerge history: 2021-01-31T20:29:43 >>> dev-python/sniffio-1.2.0 2021-01-31T20:29:59 >>> dev-python/toml-0.10.2 2021-01-31T20:30:00 >>> dev-python/more-itertools-8.6.0 2021-01-31T20:29:59 >>> dev-python/iniconfig-1.1.1 2021-01-31T20:30:00 >>> dev-python/py-1.10.0 2021-01-31T20:30:00 >>> dev-python/pyparsing-2.4.7-r1 2021-01-31T20:30:01 >>> dev-python/typing-extensions-3.7.4.3 2021-01-31T20:30:01 >>> dev-python/namespace-zope-1-r1 2021-01-31T20:30:08 >>> dev-python/zipp-3.4.0 2021-01-31T20:30:14 >>> dev-python/packaging-20.9 2021-01-31T20:30:18 >>> dev-python/zope-interface-5.2.0 2021-01-31T20:30:22 >>> dev-python/importlib_metadata-3.4.0 2021-01-31T20:30:25 >>> dev-python/attrs-20.3.0 2021-01-31T20:30:28 >>> dev-python/pluggy-0.13.1-r1 2021-01-31T20:30:33 >>> dev-python/pytest-6.2.2 >>> Unpacking source... >>> Unpacking sniffio-1.2.0.gh.tar.gz to /var/tmp/portage/dev-python/sniffio-1.2.0/work >>> Source unpacked in /var/tmp/portage/dev-python/sniffio-1.2.0/work >>> Preparing source in /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0 ... * pypy3: running distutils-r1_run_phase distutils-r1_python_compile pypy3 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio copying sniffio/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio copying sniffio/_version.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio copying sniffio/_impl.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio/_tests copying sniffio/_tests/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio/_tests copying sniffio/_tests/test_sniffio.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio/_tests copying sniffio/py.typed -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-pypy3/lib/sniffio 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 running build_py creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio copying sniffio/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio copying sniffio/_version.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio copying sniffio/_impl.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio/_tests copying sniffio/_tests/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio/_tests copying sniffio/_tests/test_sniffio.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio/_tests copying sniffio/py.typed -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_7/lib/sniffio 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 running build_py creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio copying sniffio/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio copying sniffio/_version.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio copying sniffio/_impl.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio/_tests copying sniffio/_tests/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio/_tests copying sniffio/_tests/test_sniffio.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio/_tests copying sniffio/py.typed -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_8/lib/sniffio 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 running build_py creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio copying sniffio/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio copying sniffio/_version.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio copying sniffio/_impl.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio creating /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio/_tests copying sniffio/_tests/__init__.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio/_tests copying sniffio/_tests/test_sniffio.py -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio/_tests copying sniffio/py.typed -> /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0-python3_9/lib/sniffio warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/sniffio-1.2.0 * pypy3: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.6.12[pypy-7.3.3-final], pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/pypy3 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0 collecting ... collected 0 items / 1 error ==================================== ERRORS ==================================== _______________ ERROR collecting sniffio/_tests/test_sniffio.py ________________ ImportError while importing test module '/var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0/sniffio/_tests/test_sniffio.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/pypy3.6/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/pypy3.6/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib/pypy3.6/lib-python/3/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1003: in _gcd_import ??? :980: in _find_and_load ??? :950: in _find_and_load_unlocked ??? :228: in _call_with_frames_removed ??? :1003: in _gcd_import ??? :980: in _find_and_load ??? :950: in _find_and_load_unlocked ??? :228: in _call_with_frames_removed ??? :1003: in _gcd_import ??? :980: in _find_and_load ??? :964: in _find_and_load_unlocked ??? :674: in _load_unlocked ??? /frozen importlib._bootstrap_external:691: in exec_module ??? :228: in _call_with_frames_removed ??? sniffio/__init__.py:10: in from ._impl import ( sniffio/_impl.py:1: in from contextvars import ContextVar E ModuleNotFoundError: No module named 'contextvars' =========================== short test summary info ============================ ERROR sniffio/_tests/test_sniffio.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.49s =============================== * ERROR: dev-python/sniffio-1.2.0::gentoo failed (test phase): * Tests failed with pypy3 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3072: Called distutils-r1_src_test * environment, line 1266: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 483: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2677: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2109: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2107: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 822: Called distutils-r1_run_phase 'python_test' * environment, line 1203: Called python_test * environment, line 3032: Called die * The specific snippet of code: * pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/sniffio-1.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/sniffio-1.2.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/sniffio-1.2.0:20210131-193036.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/sniffio-1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/sniffio-1.2.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0' * S: '/var/tmp/portage/dev-python/sniffio-1.2.0/work/sniffio-1.2.0'