Created attachment 848681 [details] pytest-7.2.0:20230116-152409.log.gz =================================== FAILURES =================================== ___________________ test_raise_assertion_error_raising_repr ____________________ [gw8] linux -- Python 3.10.9 /var/tmp/portage/dev-python/pytest-7.2.0/work/pytest-7.2.0-python3_10/install/usr/bin/python3.10 pytester = <Pytester PosixPath('/var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw8/test_raise_assert ion_error_raising_repr0')> def test_raise_assertion_error_raising_repr(pytester: Pytester) -> None: pytester.makepyfile( """ class RaisingRepr(object): def __repr__(self): raise Exception() def test_raising_repr(): raise AssertionError(RaisingRepr()) """ ) result = pytester.runpytest() if sys.version_info >= (3, 11): # python 3.11 has native support for un-str-able exceptions result.stdout.fnmatch_lines( ["E AssertionError: <exception str() failed>"] ) else: > result.stdout.fnmatch_lines( ["E AssertionError: <unprintable AssertionError object>"] ) E Failed: nomatch: 'E AssertionError: <unprintable AssertionError object>' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0' E and: 'rootdir: /var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw8/test_raise_assertion_error_raising_repr0' E and: 'collected 1 item' E and: '' E and: 'test_raise_assertion_error_raising_repr.py F [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '______________________________ test_raising_repr _______________________________' E and: '' E and: ' def test_raising_repr():' E and: '> raise AssertionError(RaisingRepr())' E and: 'E AssertionError: <exception str() failed>' E and: '' E and: 'test_raise_assertion_error_raising_repr.py:5: AssertionError' E and: '=========================== short test summary info ============================' E and: 'FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert...' E and: '============================== 1 failed in 0.04s ===============================' E remains unmatched: 'E AssertionError: <unprintable AssertionError object>' pytester = <Pytester PosixPath('/var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw8/test_raise_assertion_error_raising_repr0')> result = <RunResult ret=ExitCode.TESTS_FAILED len(stdout.lines)=18 len(stderr.lines)=0 duration=0.08s> /var/tmp/portage/dev-python/pytest-7.2.0/work/pytest-7.2.0/testing/test_assertion.py:1673: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0 rootdir: /var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw8/test_raise_assertion_error_raising_repr0 collected 1 item test_raise_assertion_error_raising_repr.py F [100%] =================================== FAILURES =================================== ______________________________ test_raising_repr _______________________________ def test_raising_repr(): > raise AssertionError(RaisingRepr()) E AssertionError: <exception str() failed> test_raise_assertion_error_raising_repr.py:5: AssertionError =========================== short test summary info ============================ FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert... ============================== 1 failed in 0.04s =============================== [...] =========================== short test summary info ============================ SKIPPED [1] testing/_py/test_local.py:650: case insensitive only on windows SKIPPED [1] testing/test_pathlib.py:442: Windows only SKIPPED [1] testing/test_capture.py:1441: only on windows SKIPPED [1] testing/_py/test_local.py:449: sys.version_info < (3,6) SKIPPED [1] testing/_py/test_local.py:454: sys.version_info < (3,6) SKIPPED [1] testing/test_tmpdir.py:221: win only SKIPPED [1] testing/_py/test_local.py:1220: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1226: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1238: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1244: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1249: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1257: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:1264: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] testing/_py/test_local.py:868: condition: not (sys.platform == 'win32' or getattr(os, '_name', None) == 'nt') SKIPPED [1] ../pytest-7.2.0-python3_10/install/usr/lib/python3.10/site-packages/_pytest/pathlib.py:434: symlinks not supported: [Errno 17] File exists: '/var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw9/test_collect_symlink_dir0/symlink_dir' -> '/var/tmp/portage/dev-python/pytest-7.2.0/temp/pytest-of-portage/pytest-0/popen-gw9/test_collect_symlink_dir0/dir' SKIPPED [1] testing/test_conftest.py:361: only relevant for case insensitive file systems SKIPPED [1] testing/test_config.py:1857: does not work with xdist currently SKIPPED [9] testing/code/test_excinfo.py:1545: Native ExceptionGroup not implemented SKIPPED [3] testing/test_warnings.py:521: not relevant until pytest 8.0 SKIPPED [1] testing/test_unittest.py:1327: could not import 'asynctest': No module named 'asynctest' SKIPPED [1] testing/test_faulthandler.py:71: sometimes crashes on CI (#7022) XFAIL testing/_py/test_local.py::TestLocalPath::test_long_filenames - reason: [NOTRUN] unreliable est for long filenames XFAIL testing/_py/test_local.py::TestUnicodePy2Py3::test_read_write - changing read/write might break existing usages XFAIL testing/test_config.py::TestParseIni::test_confcutdir - probably not needed XFAIL testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase - decide: feature or bug XFAIL testing/test_doctest.py::TestLiterals::test_number_non_matches['3.1416'-'3.14'] XFAIL testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing - other mechanism for adding to reporting needed XFAIL testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache - unimplemented feature XFAIL testing/test_pytester.py::test_make_hook_recorder - reason: internal reportrecorder tests need refactoring XFAIL testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash XFAIL testing/test_runner.py::test_runtest_in_module_ordering XFAIL testing/python/fixtures.py::TestAutouseDiscovery::test_setup_enabled_functionnode - 'enabled' feature not implemented XFAIL testing/python/fixtures.py::TestRequestBasic::test_request_garbage - reason: this test is flaky when executed with xdist FAILED testing/test_assertion.py::test_raise_assertion_error_raising_repr - Failed: nomatch: 'E AssertionError: <unprintable AssertionError object>' ===== 1 failed, 3318 passed, 31 skipped, 12 xfailed, 2 warnings in 22.21s ====== * ERROR: dev-python/pytest-7.2.0::gentoo failed (test phase): * pytest failed with python3.10
# emerge --info =dev-python/pytest-7.2.0 Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-12, glibc-2.36-r5, 6.0.19-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.0.19-gentoo-x86_64-AMD_Ryzen_7_5700G_with_Radeon_Graphics-with-glibc2.36 KiB Mem: 65120844 total, 1103164 free KiB Swap: 67108860 total, 66911996 free Timestamp of repository gentoo: Mon, 16 Jan 2023 08:45:01 +0000 Head commit of repository gentoo: a6fc08c0bf07d08f2ee66b45ee0a2cd58d266e1f sh dash 0.5.11.5 ld GNU ld (Gentoo 2.39 p5) 2.39.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.7.4 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust: 1.66.1::gentoo dev-util/ccache: 4.7.4::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 252.4::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 15.0.6-r1::gentoo sys-devel/gcc: 12.2.1_p20221231::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 15.0.6::gentoo sys-devel/llvm: 15.0.6-r1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" AR="/usr/bin/gcc-ar" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver3 -ftree-vectorize -flto=8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver3 -ftree-vectorize -flto=8" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver3 -ftree-vectorize -flto=8" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks 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-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver3 -ftree-vectorize -flto=8" GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ https://mirror.init7.net/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.netcologne.de/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -ftree-vectorize -flto=8" LEX="flex" LINGUAS="it it_IT" MAKEOPTS="-j16 -l16" NM="/usr/bin/gcc-nm" PKGDIR="/var/cache/binpkgs" 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" RANLIB="/usr/bin/gcc-ranlib" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gmp gnutls gphoto2 gpm graphviz gstreamer gtk gui guile handbook iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k kde kwallet lame lcms libass libglvnd libnotify libsamplerate libtirpc lm-sensors lua lz4 lzma lzo mad magic mhash mmap mng mp3 mp4 mpeg multilib musicbrainz ncurses nls nptl offensive ogg openal opengl openmp opus pam pango pcre pdf plasma png policykit postscript ppds pulseaudio qml qt5 rdesktop readline recode samba sctp sdl seccomp sndfile sockets sound speex spell sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test test-rust theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xft xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel virmidi" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="gnutls" 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" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-python/pytest-7.2.0::gentoo was built with the following: USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 (-pypy3) -python3_11 -python3_9" FEATURES="userfetch buildpkg-live binpkg-dostrip strict xattr binpkg-docompress ipc-sandbox split-log unmerge-orphans userpriv cgroup compress-build-logs sandbox unknown-features-warn protect-owned multilib-strict usersync network-sandbox sign unmerge-logs merge-sync parallel-fetch preserve-libs sfperms usersandbox qa-unresolved-soname-deps distlocks config-protect-if-modified pid-sandbox ebuild-locks binpkg-logs news assume-digests split-elog" # emerge -1pqv =dev-python/pytest-7.2.0 [ebuild R ] dev-python/pytest-7.2.0 USE="test*" PYTHON_TARGETS="python3_10 (-pypy3) -python3_9 -python3_11"