* Package: sys-process/bpytop-1.0.61-r1 * Repository: gentoo * Maintainer: chutzpah@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux 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/35351dba4127c200cfc7d3c21be146a43c3f2fd6 (Fri Jan 29 18:54:16 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.14 (python 3.7.9-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-gentoo-2.7 KiB Mem: 71926568 total, 47995856 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-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* Apache-2.0" 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/sys-process/bpytop-1.0.61-r1/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="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-29T19:56:22 >>> dev-python/psutil-5.7.3 2021-01-29T19:56:22 >>> dev-python/toml-0.10.2 2021-01-29T19:56:28 >>> dev-python/pyproject2setuppy-9 2021-01-29T19:56:30 >>> sys-process/bpytop-1.0.61-r1 2021-01-29T19:56:44 >>> dev-python/iniconfig-1.1.1 2021-01-29T19:56:45 >>> dev-python/more-itertools-8.6.0 2021-01-29T19:56:45 >>> dev-python/pyparsing-2.4.7-r1 2021-01-29T19:56:45 >>> dev-python/py-1.10.0 2021-01-29T19:56:45 >>> dev-python/typing-extensions-3.7.4.3 2021-01-29T19:56:46 >>> dev-python/zipp-3.4.0 2021-01-29T19:56:46 >>> dev-python/namespace-zope-1-r1 2021-01-29T19:56:56 >>> dev-python/packaging-20.8 2021-01-29T19:57:01 >>> dev-python/importlib_metadata-3.4.0 2021-01-29T19:57:03 >>> dev-python/zope-interface-5.2.0 2021-01-29T19:57:09 >>> dev-python/pluggy-0.13.1-r1 2021-01-29T19:57:11 >>> dev-python/attrs-20.3.0 2021-01-29T19:57:16 >>> dev-python/pytest-6.2.2 >>> Unpacking source... >>> Unpacking bpytop-1.0.61.tar.gz to /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work >>> Source unpacked in /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work >>> Preparing source in /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61 ... * Applying bpytop-1.0.61-tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 36 running build running build_py copying bpytop.py -> /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61-python3_7/lib 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 copying bpytop.py -> /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61-python3_8/lib 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 copying bpytop.py -> /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61-python3_9/lib warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: sys-process/bpytop-1.0.61-r1 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61 collecting ... collected 27 items tests/test_classes.py::test_Fx_uncolor PASSED [ 3%] tests/test_classes.py::test_Color PASSED [ 7%] tests/test_classes.py::test_Theme PASSED [ 11%] tests/test_classes.py::test_Box_calc_sizes PASSED [ 14%] tests/test_classes.py::test_Graph PASSED [ 18%] tests/test_classes.py::test_Meter PASSED [ 22%] tests/test_classes.py::test_Banner PASSED [ 25%] tests/test_classes.py::test_CpuCollector_collect PASSED [ 29%] tests/test_classes.py::test_CpuCollector_get_sensors PASSED [ 33%] tests/test_classes.py::test_CpuCollector_collect_temps SKIPPED (Not ...) [ 37%] tests/test_classes.py::test_MemCollector_collect FAILED [ 40%] tests/test_classes.py::test_NetCollector_get_nics PASSED [ 44%] tests/test_classes.py::test_NetCollector_collect PASSED [ 48%] tests/test_classes.py::test_ProcCollector_collect PASSED [ 51%] tests/test_classes.py::test_CpuBox_draw PASSED [ 55%] tests/test_classes.py::test_MemBox_draw PASSED [ 59%] tests/test_classes.py::test_NetBox_draw PASSED [ 62%] tests/test_classes.py::test_ProcBox_draw PASSED [ 66%] tests/test_functions.py::test_get_cpu_name PASSED [ 70%] tests/test_functions.py::test_get_cpu_core_mapping PASSED [ 74%] tests/test_functions.py::test_create_box PASSED [ 77%] tests/test_functions.py::test_floating_humanizer PASSED [ 81%] tests/test_functions.py::test_units_to_bytes PASSED [ 85%] tests/test_title.py::test_empty PASSED [ 88%] tests/test_title.py::test_nonempty PASSED [ 92%] tests/test_title.py::test_empty_with_environ PASSED [ 96%] tests/test_title.py::test_nonempty_with_environ PASSED [100%] =================================== FAILURES =================================== __________________________ test_MemCollector_collect ___________________________ def test_MemCollector_collect(): MemBox.width = 20 bpytop.CONFIG.show_swap = True bpytop.CONFIG.show_disks = True bpytop.CONFIG.disks_filter = "" bpytop.CONFIG.swap_disk = True MemCollector._collect() assert isinstance(MemCollector.string["total"], str) and MemCollector.string["total"] != "" assert isinstance(MemCollector.values["used"], int) assert isinstance(MemCollector.percent["free"], int) if MemBox.swap_on: assert len(MemCollector.disks) > 1 assert "__swap" in MemCollector.disks else: > assert len(MemCollector.disks) > 0 E assert 0 > 0 E + where 0 = len({}) E + where {} = MemCollector.disks tests/test_classes.py:79: AssertionError =========================== short test summary info ============================ FAILED tests/test_classes.py::test_MemCollector_collect - assert 0 > 0 =================== 1 failed, 25 passed, 1 skipped in 0.23s ==================== * ERROR: sys-process/bpytop-1.0.61-r1::gentoo failed (test phase): * Tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3085: Called distutils-r1_src_test * environment, line 1278: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 484: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2689: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2121: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2119: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 838: Called distutils-r1_run_phase 'python_test' * environment, line 1215: Called python_test * environment, line 3043: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=sys-process/bpytop-1.0.61-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-process/bpytop-1.0.61-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sys-process/bpytop-1.0.61-r1:20210129-185719.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/bpytop-1.0.61-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/bpytop-1.0.61-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61' * S: '/var/tmp/portage/sys-process/bpytop-1.0.61-r1/work/bpytop-1.0.61'