Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 895008 Details for
Bug 933491
dev-python/gfloat-0.0.5 fails tests on 32-bit
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log and emerge --info (x86)
file_933491.txt (text/plain), 29.23 KB, created by
matoro
on 2024-06-03 20:15:22 UTC
(
hide
)
Description:
build.log and emerge --info (x86)
Filename:
MIME Type:
Creator:
matoro
Created:
2024-06-03 20:15:22 UTC
Size:
29.23 KB
patch
obsolete
>Portage 3.0.63 (python 3.12.3-final-0, default/linux/x86/23.0/i686, gcc-13, glibc-2.39-r6, 6.9.2-arch1-1 i686) >================================================================= >System uname: Linux-6.9.2-arch1-1-i686-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.39 >KiB Mem: 32212248 total, 12730432 free >KiB Swap: 12582908 total, 12582908 free >Timestamp of repository gentoo: Mon, 03 Jun 2024 19:49:00 +0000 >sh bash 5.1_p16-r6 >ld GNU ld (Gentoo 2.42 p3) 2.42.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.1_p16-r6::gentoo >dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo >dev-build/automake: 1.16.5-r2::gentoo >dev-build/cmake: 3.28.5::gentoo >dev-build/libtool: 2.4.7-r4::gentoo >dev-build/make: 4.4.1-r1::gentoo >dev-build/meson: 1.4.0-r1::gentoo >dev-lang/perl: 5.38.2-r3::gentoo >dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo >dev-lang/rust-bin: 1.77.1::gentoo >sys-apps/baselayout: 2.15::gentoo >sys-apps/openrc: 0.54::gentoo >sys-apps/sandbox: 2.38::gentoo >sys-devel/binutils: 2.42-r1::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 13.2.1_p20240210::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-devel/llvm: 17.0.6::gentoo >sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.39-r6::gentoo >Repositories: > >gentoo > location: /var/db/repos/gentoo > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: False > sync-rsync-verify-jobs: 1 > sync-rsync-verify-max-age: 3 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >Binary Repositories: > >gentoobinhost > priority: 1 > sync-uri: https://distfiles.gentoo.org/releases/x86/binpackages/23.0/i686 > >ACCEPT_KEYWORDS="x86" >ACCEPT_LICENSE="@FREE" >CBUILD="i686-pc-linux-gnu" >CFLAGS="-O2 -march=i686 -pipe -msse2 -mfpmath=sse" >CHOST="i686-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d" >CXXFLAGS="-O2 -march=i686 -pipe -msse2 -mfpmath=sse" >DISTDIR="/var/cache/distfiles" >EMERGE_DEFAULT_OPTS="--autounmask --autounmask-continue --autounmask-backtrack=y --complete-graph --deep --usepkg --getbinpkg=y --backtrack=300 --usepkg-exclude dev-perl/Mozilla-CA --usepkg-exclude perl-core/Math-BigInt" >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 -march=i686 -pipe -msse2 -mfpmath=sse" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=i686 -pipe -msse2 -mfpmath=sse" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" >LEX="flex" >MAKEOPTS="-j8" >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" >SHELL="/bin/bash" >USE="acl bzip2 crypt gdbm iconv ipv6 libtirpc ncurses nls openmp pam pcre readline seccomp ssl test-rust unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 sse" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" >Unset: ADDR2LINE, AR, 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > * Package: dev-python/gfloat-0.0.5:0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_12 test x86 > * FEATURES: keeptemp network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking gfloat-0.0.5.tar.gz to /var/tmp/portage/dev-python/gfloat-0.0.5/work >>>> Source unpacked in /var/tmp/portage/dev-python/gfloat-0.0.5/work >>>> Preparing source in /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5 ... > * Build system packages: > * dev-python/gpep517 : 16 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 69.5.1-r1 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 8.1.0 > * dev-python/wheel : 0.43.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5 ... > * python3_12: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for gfloat-0.0.5 via setuptools.build_meta >python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/wheel >2024-06-03 19:58:33,062 gpep517 INFO Building wheel via backend setuptools.build_meta >2024-06-03 19:58:33,227 root INFO running bdist_wheel >2024-06-03 19:58:33,252 root INFO running build >2024-06-03 19:58:33,252 root INFO running build_py >2024-06-03 19:58:33,257 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build >2024-06-03 19:58:33,257 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib >2024-06-03 19:58:33,257 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,257 root INFO copying src/gfloat/round.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,258 root INFO copying src/gfloat/__init__.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,258 root INFO copying src/gfloat/formats.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,258 root INFO copying src/gfloat/decode.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,258 root INFO copying src/gfloat/types.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat >2024-06-03 19:58:33,259 root INFO running egg_info >2024-06-03 19:58:33,263 root INFO writing src/gfloat.egg-info/PKG-INFO >2024-06-03 19:58:33,264 root INFO writing dependency_links to src/gfloat.egg-info/dependency_links.txt >2024-06-03 19:58:33,265 root INFO writing requirements to src/gfloat.egg-info/requires.txt >2024-06-03 19:58:33,265 root INFO writing top-level names to src/gfloat.egg-info/top_level.txt >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-06-03 19:58:33,291 root INFO reading manifest file 'src/gfloat.egg-info/SOURCES.txt' >2024-06-03 19:58:33,292 root INFO adding license file 'LICENSE' >2024-06-03 19:58:33,293 root INFO writing manifest file 'src/gfloat.egg-info/SOURCES.txt' >2024-06-03 19:58:33,294 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-06-03 19:58:33,303 wheel INFO installing to /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel >2024-06-03 19:58:33,303 root INFO running install >2024-06-03 19:58:33,318 root INFO running install_lib >2024-06-03 19:58:33,323 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686 >2024-06-03 19:58:33,323 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel >2024-06-03 19:58:33,323 root INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,323 root INFO copying /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat/round.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,324 root INFO copying /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat/__init__.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,324 root INFO copying /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat/formats.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,324 root INFO copying /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat/decode.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,324 root INFO copying /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/lib/gfloat/types.py -> /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat >2024-06-03 19:58:33,324 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-06-03 19:58:33,325 root INFO running install_egg_info >2024-06-03 19:58:33,329 root INFO Copying src/gfloat.egg-info to /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat-0.0.5-py3.12.egg-info >2024-06-03 19:58:33,330 root INFO running install_scripts >2024-06-03 19:58:33,333 wheel INFO creating /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel/gfloat-0.0.5.dist-info/WHEEL >2024-06-03 19:58:33,333 wheel INFO creating '/var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/wheel/.tmp-q9teht8t/gfloat-0.0.5-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel' to it >2024-06-03 19:58:33,334 wheel INFO adding 'gfloat/__init__.py' >2024-06-03 19:58:33,334 wheel INFO adding 'gfloat/decode.py' >2024-06-03 19:58:33,334 wheel INFO adding 'gfloat/formats.py' >2024-06-03 19:58:33,334 wheel INFO adding 'gfloat/round.py' >2024-06-03 19:58:33,335 wheel INFO adding 'gfloat/types.py' >2024-06-03 19:58:33,335 wheel INFO adding 'gfloat-0.0.5.dist-info/LICENSE' >2024-06-03 19:58:33,335 wheel INFO adding 'gfloat-0.0.5.dist-info/METADATA' >2024-06-03 19:58:33,335 wheel INFO adding 'gfloat-0.0.5.dist-info/WHEEL' >2024-06-03 19:58:33,335 wheel INFO adding 'gfloat-0.0.5.dist-info/top_level.txt' >2024-06-03 19:58:33,336 wheel INFO adding 'gfloat-0.0.5.dist-info/RECORD' >2024-06-03 19:58:33,336 wheel INFO removing /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/build/bdist.linux-i686/wheel >2024-06-03 19:58:33,336 gpep517 INFO The backend produced /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/wheel/gfloat-0.0.5-py3-none-any.whl > * Installing gfloat-0.0.5-py3-none-any.whl to /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/install >python3.12 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/install --interpreter=/usr/bin/python3.12 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/wheel/gfloat-0.0.5-py3-none-any.whl >2024-06-03 19:58:33,471 gpep517 INFO Installing /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/wheel/gfloat-0.0.5-py3-none-any.whl into /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/install >/usr/lib/python3.12/site-packages/gfloat/decode.py:9: SyntaxWarning: invalid escape sequence '\l' >/usr/lib/python3.12/site-packages/gfloat/decode.py:9: SyntaxWarning: invalid escape sequence '\l' >/usr/lib/python3.12/site-packages/gfloat/decode.py:9: SyntaxWarning: invalid escape sequence '\l' >2024-06-03 19:58:33,490 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/gfloat-0.0.5 > * python3_12: running distutils-r1_run_phase python_test >python3.12 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories >============================================================= test session starts ============================================================= >platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.5.0 -- /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5-python3_12/install/usr/bin/python3.12 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5 >configfile: pyproject.toml >collecting ... collected 59 items > >test/test_decode.py::test_spot_check_ocp_e5m2 PASSED [ 1/59] >test/test_decode.py::test_spot_check_ocp_e4m3 PASSED [ 2/59] >test/test_decode.py::test_spot_check_p3109_p3 PASSED [ 3/59] >test/test_decode.py::test_spot_check_p3109_p1 PASSED [ 4/59] >test/test_decode.py::test_spot_check_binary16 PASSED [ 5/59] >test/test_decode.py::test_spot_check_bfloat16 PASSED [ 6/59] >test/test_decode.py::test_specials[p3109_p1] PASSED [ 7/59] >test/test_decode.py::test_specials[p3109_p2] PASSED [ 8/59] >test/test_decode.py::test_specials[p3109_p3] PASSED [ 9/59] >test/test_decode.py::test_specials[p3109_p4] PASSED [10/59] >test/test_decode.py::test_specials[p3109_p5] PASSED [11/59] >test/test_decode.py::test_specials[p3109_p6] PASSED [12/59] >test/test_decode.py::test_specials_decode[ocp_e4m3] PASSED [13/59] >test/test_decode.py::test_specials_decode[ocp_e5m2] PASSED [14/59] >test/test_decode.py::test_specials_decode[p3109_p1] PASSED [15/59] >test/test_decode.py::test_specials_decode[p3109_p2] PASSED [16/59] >test/test_decode.py::test_specials_decode[p3109_p3] PASSED [17/59] >test/test_decode.py::test_specials_decode[p3109_p4] PASSED [18/59] >test/test_decode.py::test_specials_decode[p3109_p5] PASSED [19/59] >test/test_decode.py::test_specials_decode[p3109_p6] PASSED [20/59] >test/test_decode.py::test_specials_decode[binary16] PASSED [21/59] >test/test_decode.py::test_specials_decode[bfloat16] PASSED [22/59] >test/test_decode.py::test_specials_decode[binary32] PASSED [23/59] >test/test_decode.py::test_consistent_decodes_all_values[fmt0-float16-uint16] PASSED [24/59] >test/test_decode.py::test_consistent_decodes_all_values[fmt1-bfloat16-uint16] PASSED [25/59] >test/test_decode.py::test_consistent_decodes_all_values[fmt2-float8_e4m3fn-uint8] PASSED [26/59] >test/test_decode.py::test_except[-1] PASSED [27/59] >test/test_decode.py::test_except[65536] PASSED [28/59] >test/test_encode.py::test_encode[ocp_e4m3] PASSED [29/59] >test/test_encode.py::test_encode[ocp_e5m2] PASSED [30/59] >test/test_encode.py::test_encode[p3109_p1] PASSED [31/59] >test/test_encode.py::test_encode[p3109_p2] PASSED [32/59] >test/test_encode.py::test_encode[p3109_p3] PASSED [33/59] >test/test_encode.py::test_encode[p3109_p4] PASSED [34/59] >test/test_encode.py::test_encode[p3109_p5] PASSED [35/59] >test/test_encode.py::test_encode[p3109_p6] PASSED [36/59] >test/test_encode.py::test_encode[binary16] PASSED [37/59] >test/test_encode.py::test_encode[bfloat16] PASSED [38/59] >test/test_encode.py::test_encode[binary32] FAILED [39/59] >test/test_finfo.py::test_finfo[fmt0-float8_e5m2] PASSED [40/59] >test/test_finfo.py::test_finfo[fmt1-float8_e4m3fn] PASSED [41/59] >test/test_finfo.py::test_finfo[fmt2-float16] PASSED [42/59] >test/test_finfo.py::test_finfo[fmt3-bfloat16] PASSED [43/59] >test/test_finfo.py::test_constants PASSED [44/59] >test/test_round.py::test_round_p3109 PASSED [45/59] >test/test_round.py::test_round_e5m2 PASSED [46/59] >test/test_round.py::test_round_e4m3 PASSED [47/59] >test/test_round.py::test_round[ocp_e5m2] PASSED [48/59] >test/test_round.py::test_round[ocp_e4m3] PASSED [49/59] >test/test_round.py::test_round[p3109_p1] PASSED [50/59] >test/test_round.py::test_round[p3109_p2] PASSED [51/59] >test/test_round.py::test_round[p3109_p3] PASSED [52/59] >test/test_round.py::test_round[p3109_p4] PASSED [53/59] >test/test_round.py::test_round[p3109_p5] PASSED [54/59] >test/test_round.py::test_round[p3109_p6] PASSED [55/59] >test/test_round.py::test_ml_dtype_compatible[fi0-float8_e5m2] PASSED [56/59] >test/test_round.py::test_ml_dtype_compatible[fi1-float8_e4m3fn] PASSED [57/59] >test/test_round.py::test_round_ints[fi0-float8_e5m2] PASSED [58/59] >test/test_round.py::test_round_ints[fi1-float8_e4m3fn] PASSED [59/59] > >================================================================== FAILURES =================================================================== >____________________________________________________________ test_encode[binary32] ____________________________________________________________ > >fi = FormatInfo(name='binary32', k=32, precision=24, emax=127, has_nz=True, has_infs=True, num_high_nans=8388607, has_subnormals=True) > > @pytest.mark.parametrize("fi", all_formats, ids=str) > def test_encode(fi): > dec = lambda v: decode_float(fi, v).fval > > if fi.bits <= 8: > step = 1 > elif fi.bits <= 16: > step = 13 > elif fi.bits <= 32: > step = 73013 > > for i in range(0, 2**fi.bits, step): > fv = decode_float(fi, i) > ival = encode_float(fi, fv.fval) >> fv2 = decode_float(fi, ival) > >dec = <function test_encode.<locals>.<lambda> at 0x1d9ba028> >fi = FormatInfo(name='binary32', > k=32, > precision=24, > emax=127, > has_nz=True, > has_infs=True, > num_high_nans=8388607, > has_subnormals=True) >fv = FloatValue(ival=2147531369, > fval=-6.68713640160446e-41, > exp=0, > expval=-126, > significand=47721, > fsignificand=0.005688786506652832, > signbit=1, > fclass=<FloatClass.SUBNORMAL: 2>) >fv2 = FloatValue(ival=4294967295, > fval=nan, > exp=255, > expval=128, > significand=8388607, > fsignificand=1.9999998807907104, > signbit=1, > fclass=<FloatClass.NAN: 5>) >i = 2147531369 >ival = -2147435927 >step = 73013 > >test/test_encode.py:25: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >fi = FormatInfo(name='binary32', k=32, precision=24, emax=127, has_nz=True, has_infs=True, num_high_nans=8388607, has_subnormals=True) >i = -2147435927 > > def decode_float(fi: FormatInfo, i: int) -> FloatValue: > """ > Given :py:class:`FormatInfo` and integer code point, decode to a :py:class:`FloatValue` > > :param fi: Foating point format descriptor. > :type fi: FormatInfo > > :param i: Integer code point, in the range :math:`0 \le i < 2^{k}`, > where :math:`k` = ``fi.k`` > :type i: int > > :return: Decoded float value > :rtype: FloatValue > > :raise ValueError: If i is outside the range of valid code points in fi. > """ > k = fi.k > p = fi.precision > t = p - 1 # trailing significand field width > w = k - p > > if i < 0 or i >= 2**k: >> raise ValueError(f"Code point {i} not in range [0, 2**{k})") >E ValueError: Code point -2147435927 not in range [0, 2**32) > >fi = FormatInfo(name='binary32', > k=32, > precision=24, > emax=127, > has_nz=True, > has_infs=True, > num_high_nans=8388607, > has_subnormals=True) >i = -2147435927 >k = 32 >p = 24 >t = 23 >w = 8 > >../gfloat-0.0.5-python3_12/install/usr/lib/python3.12/site-packages/gfloat/decode.py:30: ValueError >============================================================== warnings summary =============================================================== >test/test_decode.py::test_consistent_decodes_all_values[fmt1-bfloat16-uint16] > /usr/lib/python3.12/site-packages/numpy/testing/_private/utils.py:334: RuntimeWarning: invalid value encountered in isnan > isdesnan = isnan(desired) > >test/test_round.py::test_ml_dtype_compatible[fi0-float8_e5m2] > /var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5/test/test_round.py:153: RuntimeWarning: invalid value encountered in scalar multiply > return a * (1 - t) + b * t > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================================================== short test summary info =========================================================== >FAILED test/test_encode.py::test_encode[binary32] - ValueError: Code point -2147435927 not in range [0, 2**32) >================================================== 1 failed, 58 passed, 2 warnings in 8.00s =================================================== > * ERROR: dev-python/gfloat-0.0.5::gentoo failed (test phase): > * pytest failed with python3.12 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 4172: Called distutils-r1_src_test > * environment, line 2115: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 861: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3776: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3282: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3280: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1358: Called distutils-r1_run_phase 'python_test' > * environment, line 2038: Called python_test > * environment, line 4059: Called distutils-r1_python_test > * environment, line 1976: Called epytest > * environment, line 2709: Called die > * The specific snippet of code: > * [[ ${ret} -ne 0 ]] && die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/gfloat-0.0.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/gfloat-0.0.5::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/gfloat-0.0.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/gfloat-0.0.5/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5' > * S: '/var/tmp/portage/dev-python/gfloat-0.0.5/work/gfloat-0.0.5' > > > >
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 933491
: 895008 |
895009