[ 0s] Using BUILD_ROOT=/var/cache/obs/worker/root_25/.mount [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] Doing kvm build in /var/cache/obs/worker/root_25/root [ 0s] [ 1s] [ 1s] i01-ch2c started "build python-importlib-metadata.spec" at Thu Oct 31 19:12:21 UTC 2024. [ 1s] [ 1s] Building python-importlib-metadata:test for project 'devel:languages:python' repository 'openSUSE_Tumbleweed' arch 'x86_64' srcmd5 '065481dcde4e53c3b88b2c9ca59c0e09' [ 1s] [ 1s] processing recipe /var/cache/obs/worker/root_25/.build-srcdir/python-importlib-metadata.spec ... [ 1s] running changelog2spec --target rpm --file /var/cache/obs/worker/root_25/.build-srcdir/python-importlib-metadata.spec [ 1s] init_buildsystem --configdir /var/run/obs/worker/25/build/configs --cachedir /var/cache/build --prepare --buildflavor test --clean --rpmlist /var/cache/obs/worker/root_25/.build.rpmlist /var/cache/obs/worker/root_25/.build-srcdir/python-importlib-metadata.spec build ... [ 1s] unpacking preinstall image devel:languages:python/openSUSE_Tumbleweed/preinstallimage-python [b5ab6fca4477ae979df00971ff007263] [ 3s] [ 3s] copying packages... [ 3s] reordering...cycle: fontconfig -> libfontconfig1 [ 3s] breaking dependency libfontconfig1 -> fontconfig [ 3s] done [ 3s] Detected virtio-serial support [ 5s] booting kvm... [ 5s] ### VM INTERACTION START ### [ 5s] Using virtio-serial support and enabling console input [ 5s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -M pc,accel=kvm,usb=off,dump-guest-core=off,vmport=off -sandbox on -bios /usr/share/qemu/qboot.rom -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -object iothread,id=io0 -runas qemu -net none -kernel /var/cache/obs/worker/root_25/.mount/boot/kernel -initrd /var/cache/obs/worker/root_25/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime kvmclock mitigations=off elevator=noop nmi_watchdog=0 rw rd.driver.pre=binfmt_misc oops=panic panic=1 quiet console=hvc0 init=/.build/build -m 16384 -drive file=/var/cache/obs/worker/root_25/root,format=raw,if=none,id=disk,cache=unsafe,aio=io_uring -device virtio-blk-pci,iothread=io0,drive=disk,serial=0 -drive file=/var/cache/obs/worker/root_25/swap,format=raw,if=none,id=swap,cache=unsafe,aio=io_uring -device virtio-blk-pci,iothread=io0,drive=swap,serial=1 -device virtio-serial,max_ports=2 -device virtconsole,chardev=virtiocon0 -chardev stdio,mux=on,id=virtiocon0 -mon chardev=virtiocon0 -chardev socket,id=monitor,server=on,wait=off,path=/var/cache/obs/worker/root_25/root.qemu/monitor -mon chardev=monitor,mode=readline -smp 4 [ 6s] [!p]104[?7h[ 0.546789][ T1] systemd[1]: Failed to start Virtual Console Setup. [ 6s] [FAILED] Failed to start Virtual Console Setup. [ 7s] [FAILED] Failed to start Virtual Console Setup. [ 7s] ### VM INTERACTION END ### [ 7s] 2nd stage started in virtual machine [ 7s] machine type: x86_64 [ 7s] Linux version: 6.11.5-1-default #1 SMP PREEMPT_DYNAMIC Wed Oct 23 04:27:11 UTC 2024 (b4e3aa9) [ 7s] Time: Thu Oct 31 19:12:27 UTC 2024 [ 7s] Increasing log level from now on... [ 7s] [ 1.770608][ T565] sysrq: Changing Loglevel [ 7s] [ 1.770673][ T565] sysrq: Loglevel set to 4 [ 7s] Enable sysrq operations [ 7s] Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) [ 7s] no label, UUID=e7269884-e237-45c2-8836-0097bba21605 [ 7s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 7s] swapon: /dev/vdb: pagesize=4096, swapsize=4294967296, devsize=4294967296 [ 7s] swapon /dev/vdb [ 7s] WARNING: udev not running, creating extra device nodes [ 7s] logging output to //.build.log... [ 7s] processing recipe //.build-srcdir/python-importlib-metadata.spec ... [ 7s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build --buildflavor test //.build-srcdir/python-importlib-metadata.spec build ... [ 7s] initializing rpm db... [ 7s] querying package ids... [ 8s] [1/241] preinstalled aaa_base-84.87+git20240906.742565b-1.1 [ 8s] [2/241] preinstalled aaa_base-malloccheck-84.87+git20240906.742565b-1.1 [ 8s] [3/241] preinstalled bash-5.2.37-14.2 [ 8s] [4/241] preinstalled bash-sh-5.2.37-14.2 [ 8s] [5/241] preinstalled binutils-2.43-2.1 [ 8s] [6/241] preinstalled brp-check-suse-84.87+git20230324.8680ce4-1.5 [ 8s] [7/241] preinstalled build-compare-20240801T083050.024a3a7-1.2 [ 8s] [8/241] preinstalled build-mkbaselibs-20240913-1.2 [ 8s] [9/241] preinstalled bzip2-1.0.8-5.10 [ 8s] [10/241] preinstalled compat-usrmerge-build-84.87-5.20 [ 8s] [11/241] preinstalled compat-usrmerge-tools-84.87-5.20 [ 8s] [12/241] preinstalled coreutils-9.5-4.1 [ 8s] [13/241] preinstalled cpio-2.15-3.1 [ 8s] [14/241] preinstalled cpp-14-2.1 [ 8s] [15/241] preinstalled cpp14-14.2.1+git10750-1.1 [ 8s] [16/241] preinstalled crypto-policies-20230920.570ea89-3.2 [ 8s] [17/241] preinstalled debugedit-5.0-5.10 [ 8s] [18/241] preinstalled diffutils-3.10-1.7 [ 8s] [19/241] preinstalled dwz-0.15-3.3 [ 8s] [20/241] preinstalled elfutils-0.191-2.1 [ 8s] [21/241] preinstalled envsubst-mini-0.22.5-7.1 [ 8s] [22/241] cumulate fdupes-2.3.1-1.1 [ 8s] [23/241] preinstalled file-5.45-3.1 [ 8s] [24/241] preinstalled file-magic-5.45-3.1 [ 8s] [25/241] preinstalled filesystem-84.87-16.1 [ 8s] [26/241] preinstalled fillup-1.42-281.1 [ 8s] [27/241] preinstalled findutils-4.10.0-1.1 [ 8s] [28/241] preinstalled gawk-5.3.1-1.1 [ 8s] [29/241] preinstalled gcc-14-2.1 [ 8s] [30/241] preinstalled gcc-PIE-14-2.1 [ 8s] [31/241] preinstalled gcc14-14.2.1+git10750-1.1 [ 8s] [32/241] preinstalled gcc14-PIE-14.2.1+git10750-1.1 [ 8s] [33/241] preinstalled gettext-runtime-mini-0.22.5-7.1 [ 8s] [34/241] preinstalled gettext-tools-mini-0.22.5-7.1 [ 8s] [35/241] preinstalled glibc-2.40-2.1 [ 8s] [36/241] preinstalled glibc-devel-2.40-2.1 [ 8s] [37/241] preinstalled glibc-gconv-modules-extra-2.40-2.1 [ 8s] [38/241] preinstalled glibc-locale-base-2.40-2.1 [ 8s] [39/241] preinstalled grep-3.11-3.1 [ 8s] [40/241] preinstalled gzip-1.13-3.1 [ 8s] [41/241] preinstalled kernel-obs-build-6.11.5-1.1 [ 8s] [42/241] cumulate libX11-data-1.8.10-1.1 [ 8s] [43/241] cumulate libXau6-1.0.11-1.5 [ 8s] [44/241] preinstalled libacl1-2.3.2-2.1 [ 8s] [45/241] cumulate libalternatives1-1.2+30.a5431e9-1.5 [ 8s] [46/241] preinstalled libasan8-14.2.1+git10750-1.1 [ 8s] [47/241] preinstalled libasm1-0.191-2.1 [ 8s] [48/241] preinstalled libatomic1-14.2.1+git10750-1.1 [ 8s] [49/241] preinstalled libattr1-2.5.2-1.2 [ 8s] [50/241] preinstalled libaudit1-4.0-3.1 [ 8s] [51/241] preinstalled libblkid1-2.40.2-1.1 [ 8s] [52/241] cumulate libbrotlicommon1-1.1.0-1.3 [ 8s] [53/241] preinstalled libbz2-1-1.0.8-5.10 [ 8s] [54/241] preinstalled libcap-ng0-0.8.5-1.1 [ 8s] [55/241] preinstalled libcap2-2.70-1.1 [ 8s] [56/241] preinstalled libcrypt1-4.4.36-1.6 [ 8s] [57/241] preinstalled libctf-nobfd0-2.43-2.1 [ 8s] [58/241] preinstalled libctf0-2.43-2.1 [ 8s] [59/241] preinstalled libdb-4_8-4.8.30-45.1 [ 8s] [60/241] preinstalled libdw1-0.191-2.1 [ 8s] [61/241] preinstalled libeconf0-0.7.4-2.1 [ 8s] [62/241] preinstalled libelf1-0.191-2.1 [ 8s] [63/241] preinstalled libexpat1-2.6.3-2.1 [ 8s] [64/241] preinstalled libfdisk1-2.40.2-1.1 [ 8s] [65/241] preinstalled libffi8-3.4.6-1.1 [ 8s] [66/241] preinstalled libgcc_s1-14.2.1+git10750-1.1 [ 8s] [67/241] preinstalled libgcrypt20-1.11.0-1.1 [ 8s] [68/241] preinstalled libgdbm6-1.24-1.1 [ 8s] [69/241] preinstalled libgdbm_compat4-1.24-1.1 [ 8s] [70/241] preinstalled libgmp10-6.3.0-3.2 [ 8s] [71/241] preinstalled libgomp1-14.2.1+git10750-1.1 [ 8s] [72/241] preinstalled libgpg-error0-1.50-1.1 [ 8s] [73/241] preinstalled libhwasan0-14.2.1+git10750-1.1 [ 8s] [74/241] preinstalled libisl23-0.26-1.7 [ 8s] [75/241] preinstalled libitm1-14.2.1+git10750-1.1 [ 8s] [76/241] preinstalled libjitterentropy3-3.4.1-4.2 [ 8s] [77/241] preinstalled liblsan0-14.2.1+git10750-1.1 [ 8s] [78/241] preinstalled liblua5_4-5-5.4.7-3.1 [ 8s] [79/241] preinstalled liblzma5-5.6.3-1.1 [ 8s] [80/241] preinstalled libmagic1-5.45-3.1 [ 8s] [81/241] preinstalled libmount1-2.40.2-1.1 [ 8s] [82/241] preinstalled libmpc3-1.3.1-1.8 [ 8s] [83/241] preinstalled libmpdec3-2.5.1-2.19 [ 8s] [84/241] preinstalled libmpfr6-4.2.1-1.4 [ 8s] [85/241] preinstalled libncurses6-6.5.20241019-47.1 [ 8s] [86/241] preinstalled libopenssl3-3.1.7-1.1 [ 8s] [87/241] preinstalled libpcre2-8-0-10.44-1.1 [ 8s] [88/241] preinstalled libpkgconf5-2.2.0-1.1 [ 8s] [89/241] cumulate libpng16-16-1.6.43-3.2 [ 8s] [90/241] preinstalled libpopt0-1.19-1.8 [ 8s] [91/241] preinstalled libpython3_10-1_0-3.10.15-2.1 [ 8s] [92/241] preinstalled libpython3_11-1_0-3.11.10-1.2 [ 8s] [93/241] preinstalled libpython3_12-1_0-3.12.7-1.1 [ 8s] [94/241] preinstalled libreadline8-8.2.13-2.1 [ 8s] [95/241] preinstalled librpmbuild10-4.19.1.1-3.4 [ 8s] [96/241] preinstalled libseccomp2-2.5.5-1.3 [ 8s] [97/241] preinstalled libselinux1-3.7-2.1 [ 8s] [98/241] preinstalled libsmartcols1-2.40.2-1.1 [ 8s] [99/241] cumulate libsqlite3-0-3.46.0-1.1 [ 8s] [100/241] preinstalled libstdc++6-14.2.1+git10750-1.1 [ 8s] [101/241] preinstalled libtsan2-14.2.1+git10750-1.1 [ 8s] [102/241] preinstalled libubsan1-14.2.1+git10750-1.1 [ 8s] [103/241] preinstalled libuuid1-2.40.2-1.1 [ 8s] [104/241] preinstalled libxcrypt-devel-4.4.36-1.6 [ 8s] [105/241] preinstalled libz1-1.3.1-1.1 [ 8s] [106/241] preinstalled libzstd1-1.5.6-1.2 [ 8s] [107/241] preinstalled linux-glibc-devel-6.11-1.1 [ 8s] [108/241] preinstalled lua54-5.4.7-3.1 [ 8s] [109/241] preinstalled make-4.4.1-3.1 [ 8s] [110/241] preinstalled ncurses-utils-6.5.20241019-47.1 [ 8s] [111/241] preinstalled pam-1.7.0-1.1 [ 8s] [112/241] preinstalled patch-2.7.6-8.1 [ 8s] [113/241] preinstalled perl-5.40.0-2.1 [ 8s] [114/241] preinstalled perl-base-5.40.0-2.1 [ 8s] [115/241] preinstalled permctl-1699_20240522-1.2 [ 8s] [116/241] preinstalled permissions-1699_20240522-1.2 [ 8s] [117/241] preinstalled permissions-config-1699_20240522-1.2 [ 8s] [118/241] preinstalled pkgconf-2.2.0-1.1 [ 8s] [119/241] preinstalled pkgconf-m4-2.2.0-1.1 [ 8s] [120/241] preinstalled pkgconf-pkg-config-2.2.0-1.1 [ 8s] [121/241] preinstalled polkit-default-privs-1550+20241017.007e12d-1.1 [ 8s] [122/241] preinstalled post-build-checks-84.87+git20240327.7996a0f-1.1 [ 8s] [123/241] preinstalled python-rpm-macros-20240618.c146b29-1.1 [ 8s] [124/241] preinstalled python-rpm-packaging-20210526+a18ca48-1.11 [ 8s] [125/241] cumulate python310-attrs-23.2.0-51.13 [ 8s] [126/241] cumulate python310-autocommand-2.2.2-11.21 [ 8s] [127/241] cumulate python310-backports.tarfile-1.0.0-8.16 [ 8s] [128/241] preinstalled python310-base-3.10.15-2.1 [ 8s] [129/241] cumulate python310-exceptiongroup-1.2.2-25.12 [ 8s] [130/241] cumulate python310-iniconfig-2.0.0-24.40 [ 8s] [131/241] cumulate python310-more-itertools-10.5.0-56.1 [ 8s] [132/241] cumulate python310-packaging-24.1-85.4 [ 8s] [133/241] cumulate python310-pluggy-1.5.0-1.1 [ 8s] [134/241] preinstalled python310-setuptools-72.1.0-254.7 [ 8s] [135/241] cumulate python310-tomli-2.0.2-20.3 [ 8s] [136/241] cumulate python310-typing_extensions-4.12.2-60.12 [ 8s] [137/241] cumulate python310-zipp-3.19.2-49.14 [ 8s] [138/241] cumulate python311-attrs-23.2.0-51.13 [ 8s] [139/241] cumulate python311-autocommand-2.2.2-11.21 [ 8s] [140/241] cumulate python311-backports.tarfile-1.0.0-8.16 [ 8s] [141/241] preinstalled python311-base-3.11.10-1.2 [ 8s] [142/241] cumulate python311-iniconfig-2.0.0-24.40 [ 8s] [143/241] cumulate python311-more-itertools-10.5.0-56.1 [ 8s] [144/241] preinstalled python311-packaging-24.1-85.4 [ 8s] [145/241] cumulate python311-pluggy-1.5.0-1.1 [ 8s] [146/241] preinstalled python311-setuptools-72.1.0-254.7 [ 8s] [147/241] cumulate python311-setuptools_scm-8.1.0-81.10 [ 8s] [148/241] cumulate python311-tomli-2.0.2-20.3 [ 8s] [149/241] cumulate python311-typing_extensions-4.12.2-60.12 [ 8s] [150/241] cumulate python311-zipp-3.19.2-49.14 [ 8s] [151/241] cumulate python312-attrs-23.2.0-51.13 [ 8s] [152/241] cumulate python312-autocommand-2.2.2-11.21 [ 8s] [153/241] cumulate python312-backports.tarfile-1.0.0-8.16 [ 8s] [154/241] preinstalled python312-base-3.12.7-1.1 [ 8s] [155/241] cumulate python312-iniconfig-2.0.0-24.40 [ 8s] [156/241] cumulate python312-more-itertools-10.5.0-56.1 [ 8s] [157/241] cumulate python312-packaging-24.1-85.4 [ 8s] [158/241] cumulate python312-pluggy-1.5.0-1.1 [ 8s] [159/241] preinstalled python312-setuptools-72.1.0-254.7 [ 8s] [160/241] cumulate python312-tomli-2.0.2-20.3 [ 8s] [161/241] cumulate python312-typing_extensions-4.12.2-60.12 [ 8s] [162/241] cumulate python312-zipp-3.19.2-49.14 [ 8s] [163/241] preinstalled rpm-4.19.1.1-3.4 [ 8s] [164/241] preinstalled rpm-build-4.19.1.1-3.4 [ 8s] [165/241] preinstalled rpm-build-perl-4.19.1.1-3.4 [ 8s] [166/241] preinstalled rpm-config-SUSE-20240214-2.1 [ 8s] [167/241] preinstalled rpmlint-mini-2.6.1+git20241024.1f09e50-15.245 [ 8s] [168/241] preinstalled sed-4.9-2.6 [ 8s] [169/241] preinstalled system-user-root-20190513-2.16 [ 8s] [170/241] preinstalled systemd-rpm-macros-24-1.6 [ 8s] [171/241] preinstalled tar-1.35-3.1 [ 8s] [172/241] cumulate tcl-8.6.15-1.1 [ 8s] [173/241] preinstalled terminfo-base-6.5.20241019-47.1 [ 8s] [174/241] preinstalled update-alternatives-1.22.11-1.1 [ 8s] [175/241] preinstalled util-linux-2.40.2-1.1 [ 8s] [176/241] preinstalled which-2.21-5.14 [ 8s] [177/241] preinstalled xz-5.6.3-1.1 [ 8s] [178/241] cumulate alts-1.2+30.a5431e9-1.5 [ 8s] [179/241] cumulate libbrotlidec1-1.1.0-1.3 [ 8s] [180/241] cumulate libxcb1-1.17.0-1.1 [ 8s] [181/241] cumulate python310-3.10.15-2.1 [ 8s] [182/241] cumulate python310-importlib-metadata-8.5.0-57.1 [ 8s] [183/241] cumulate python310-jaraco.classes-3.4.0-25.15 [ 8s] [184/241] cumulate python310-jaraco.context-5.3.0-17.13 [ 8s] [185/241] cumulate python310-jaraco.functools-4.1.0-39.4 [ 8s] [186/241] cumulate python311-3.11.10-1.1 [ 8s] [187/241] cumulate python311-importlib-metadata-8.5.0-57.1 [ 8s] [188/241] cumulate python311-jaraco.classes-3.4.0-25.15 [ 8s] [189/241] cumulate python311-jaraco.context-5.3.0-17.13 [ 8s] [190/241] cumulate python311-jaraco.functools-4.1.0-39.4 [ 8s] [191/241] cumulate python312-3.12.7-1.1 [ 8s] [192/241] cumulate python312-importlib-metadata-8.5.0-57.1 [ 8s] [193/241] cumulate python312-jaraco.classes-3.4.0-25.15 [ 8s] [194/241] cumulate python312-jaraco.context-5.3.0-17.13 [ 8s] [195/241] cumulate python312-jaraco.functools-4.1.0-39.4 [ 8s] [196/241] cumulate python312-setuptools_scm-8.1.0-81.10 [ 8s] [197/241] cumulate python310-setuptools_scm-8.1.0-81.10 [ 8s] [198/241] cumulate python310-pip-24.3.1-70.2 [ 8s] [199/241] cumulate python310-pyfakefs-5.6.0-52.12 [ 8s] [200/241] cumulate python310-wheel-0.44.0-85.7 [ 8s] [201/241] cumulate python311-pip-24.3.1-70.2 [ 8s] [202/241] cumulate python311-pyfakefs-5.6.0-52.12 [ 8s] [203/241] cumulate python311-wheel-0.44.0-85.7 [ 8s] [204/241] cumulate python312-pip-24.3.1-70.2 [ 8s] [205/241] cumulate python312-pyfakefs-5.6.0-52.12 [ 8s] [206/241] cumulate python312-wheel-0.44.0-85.7 [ 8s] [207/241] cumulate libX11-6-1.8.10-1.1 [ 8s] [208/241] cumulate libfreetype6-2.13.2-2.2 [ 8s] [209/241] cumulate python310-typeguard-4.4.0-15.1 [ 8s] [210/241] cumulate python311-typeguard-4.4.0-15.1 [ 8s] [211/241] cumulate python312-typeguard-4.4.0-15.1 [ 8s] [212/241] cumulate python311-pytest-8.3.3-1.1 [ 8s] [213/241] cumulate python312-pytest-8.3.3-1.1 [ 8s] [214/241] cumulate python310-pytest-8.3.3-1.1 [ 8s] [215/241] cumulate libXext6-1.3.6-1.2 [ 8s] [216/241] cumulate libXmuu1-1.2.1-1.1 [ 8s] [217/241] cumulate libXrender1-0.9.11-1.4 [ 8s] [218/241] cumulate python310-inflect-7.3.1-24.7 [ 8s] [219/241] cumulate python311-inflect-7.3.1-24.7 [ 8s] [220/241] cumulate python312-inflect-7.3.1-24.7 [ 8s] [221/241] cumulate libXss1-1.2.4-1.4 [ 8s] [222/241] cumulate xhost-1.0.9-1.6 [ 8s] [223/241] cumulate python310-jaraco.text-4.0.0-35.1 [ 8s] [224/241] cumulate python311-jaraco.text-4.0.0-35.1 [ 8s] [225/241] cumulate python312-jaraco.text-4.0.0-35.1 [ 8s] [226/241] cumulate python310-jaraco.collections-5.1.0-34.1 [ 8s] [227/241] cumulate python311-jaraco.collections-5.1.0-34.1 [ 8s] [228/241] cumulate python312-jaraco.collections-5.1.0-34.1 [ 8s] [229/241] cumulate libfontconfig1-2.15.0-2.1 [ 8s] [230/241] cumulate fontconfig-2.15.0-2.1 [ 8s] [231/241] cumulate libXft2-2.3.8-1.3 [ 8s] [232/241] cumulate tk-8.6.15-1.1 [ 8s] [233/241] cumulate python310-tk-3.10.15-2.1 [ 8s] [234/241] cumulate python311-tk-3.11.10-1.1 [ 8s] [235/241] cumulate python312-tk-3.12.7-1.1 [ 8s] [236/241] cumulate python310-testsuite-3.10.15-2.1 [ 8s] [237/241] cumulate python311-testsuite-3.11.10-1.2 [ 8s] [238/241] cumulate python312-testsuite-3.12.7-1.1 [ 8s] [239/241] cumulate python310-jaraco.test-5.5.1-16.2 [ 8s] [240/241] cumulate python311-jaraco.test-5.5.1-16.2 [ 8s] [241/241] cumulate python312-jaraco.test-5.5.1-16.2 [ 8s] now installing cumulated packages [ 8s] Preparing... ######################################## [ 8s] Updating / installing... [ 8s] tcl-8.6.15-1.1 ######################################## [ 8s] python312-more-itertools-10.5.0-56.1 ######################################## [ 8s] python311-more-itertools-10.5.0-56.1 ######################################## [ 8s] python310-more-itertools-10.5.0-56.1 ######################################## [ 8s] libsqlite3-0-3.46.0-1.1 ######################################## [ 8s] python310-jaraco.functools-4.1.0-39.4 ######################################## [ 8s] python311-jaraco.functools-4.1.0-39.4 ######################################## [ 8s] python312-jaraco.functools-4.1.0-39.4 ######################################## [ 8s] python312-packaging-24.1-85.4 ######################################## [ 8s] python310-tomli-2.0.2-20.3 ######################################## [ 8s] python310-packaging-24.1-85.4 ######################################## [ 8s] python310-jaraco.classes-3.4.0-25.15 ######################################## [ 8s] python311-jaraco.classes-3.4.0-25.15 ######################################## [ 8s] python312-jaraco.classes-3.4.0-25.15 ######################################## [ 8s] python312-zipp-3.19.2-49.14 ######################################## [ 8s] python312-importlib-metadata-8.5.0-57.######################################## [ 8s] python312-typing_extensions-4.12.2-60.######################################## [ 8s] python312-typeguard-4.4.0-15.1 ######################################## [ 8s] python312-tomli-2.0.2-20.3 ######################################## [ 8s] python312-pluggy-1.5.0-1.1 ######################################## [ 8s] python312-iniconfig-2.0.0-24.40 ######################################## [ 8s] python312-backports.tarfile-1.0.0-8.16######################################## [ 8s] python312-jaraco.context-5.3.0-17.13 ######################################## [ 8s] python312-autocommand-2.2.2-11.21 ######################################## [ 8s] python312-attrs-23.2.0-51.13 ######################################## [ 8s] python311-zipp-3.19.2-49.14 ######################################## [ 8s] python311-importlib-metadata-8.5.0-57.######################################## [ 8s] python311-typing_extensions-4.12.2-60.######################################## [ 8s] python311-typeguard-4.4.0-15.1 ######################################## [ 8s] python311-tomli-2.0.2-20.3 ######################################## [ 8s] python311-pluggy-1.5.0-1.1 ######################################## [ 8s] python311-iniconfig-2.0.0-24.40 ######################################## [ 8s] python311-backports.tarfile-1.0.0-8.16######################################## [ 8s] python311-jaraco.context-5.3.0-17.13 ######################################## [ 8s] python311-autocommand-2.2.2-11.21 ######################################## [ 8s] python311-attrs-23.2.0-51.13 ######################################## [ 8s] python310-zipp-3.19.2-49.14 ######################################## [ 8s] python310-importlib-metadata-8.5.0-57.######################################## [ 8s] python310-typing_extensions-4.12.2-60.######################################## [ 8s] python310-typeguard-4.4.0-15.1 ######################################## [ 8s] python310-inflect-7.3.1-24.7 ######################################## [ 8s] python311-inflect-7.3.1-24.7 ######################################## [ 8s] python311-jaraco.text-4.0.0-35.1 ######################################## [ 8s] python311-jaraco.collections-5.1.0-34.######################################## [ 8s] python312-inflect-7.3.1-24.7 ######################################## [ 8s] python312-jaraco.text-4.0.0-35.1 ######################################## [ 8s] python312-jaraco.collections-5.1.0-34.######################################## [ 8s] python310-pluggy-1.5.0-1.1 ######################################## [ 8s] python310-iniconfig-2.0.0-24.40 ######################################## [ 8s] python310-exceptiongroup-1.2.2-25.12 ######################################## [ 8s] python310-backports.tarfile-1.0.0-8.16######################################## [ 8s] python310-jaraco.context-5.3.0-17.13 ######################################## [ 8s] python310-autocommand-2.2.2-11.21 ######################################## [ 8s] python310-jaraco.text-4.0.0-35.1 ######################################## [ 8s] python310-jaraco.collections-5.1.0-34.######################################## [ 8s] python310-attrs-23.2.0-51.13 ######################################## [ 8s] libpng16-16-1.6.43-3.2 ######################################## [ 8s] libbrotlicommon1-1.1.0-1.3 ######################################## [ 8s] libbrotlidec1-1.1.0-1.3 ######################################## [ 8s] libfreetype6-2.13.2-2.2 ######################################## [ 8s] libfontconfig1-2.15.0-2.1 ######################################## [ 8s] fontconfig-2.15.0-2.1 ######################################## [ 8s] libalternatives1-1.2+30.a5431e9-1.5 ######################################## [ 8s] alts-1.2+30.a5431e9-1.5 ######################################## [ 8s] python310-pip-24.3.1-70.2 ######################################## [ 8s] python310-3.10.15-2.1 ######################################## [ 8s] python311-pip-24.3.1-70.2 ######################################## [ 8s] python311-3.11.10-1.1 ######################################## [ 8s] python312-pip-24.3.1-70.2 ######################################## [ 8s] python312-3.12.7-1.1 ######################################## [ 8s] libXau6-1.0.11-1.5 ######################################## [ 8s] libxcb1-1.17.0-1.1 ######################################## [ 8s] libX11-data-1.8.10-1.1 ######################################## [ 8s] libX11-6-1.8.10-1.1 ######################################## [ 8s] libXext6-1.3.6-1.2 ######################################## [ 8s] libXss1-1.2.4-1.4 ######################################## [ 8s] libXmuu1-1.2.1-1.1 ######################################## [ 8s] xhost-1.0.9-1.6 ######################################## [ 8s] libXrender1-0.9.11-1.4 ######################################## [ 8s] libXft2-2.3.8-1.3 ######################################## [ 8s] tk-8.6.15-1.1 ######################################## [ 8s] python310-tk-3.10.15-2.1 ######################################## [ 8s] python310-testsuite-3.10.15-2.1 ######################################## [ 9s] python311-tk-3.11.10-1.1 ######################################## [ 9s] python311-testsuite-3.11.10-1.2 ######################################## [ 9s] python312-tk-3.12.7-1.1 ######################################## [ 9s] python312-testsuite-3.12.7-1.1 ######################################## [ 9s] python312-jaraco.test-5.5.1-16.2 ######################################## [ 9s] python311-jaraco.test-5.5.1-16.2 ######################################## [ 9s] python310-jaraco.test-5.5.1-16.2 ######################################## [ 9s] python312-pyfakefs-5.6.0-52.12 ######################################## [ 9s] python311-pyfakefs-5.6.0-52.12 ######################################## [ 9s] python310-pyfakefs-5.6.0-52.12 ######################################## [ 9s] python310-wheel-0.44.0-85.7 ######################################## [ 9s] python311-wheel-0.44.0-85.7 ######################################## [ 9s] python312-wheel-0.44.0-85.7 ######################################## [ 9s] python311-pytest-8.3.3-1.1 ######################################## [ 9s] python312-pytest-8.3.3-1.1 ######################################## [ 9s] python310-pytest-8.3.3-1.1 ######################################## [ 9s] python310-setuptools_scm-8.1.0-81.10 ######################################## [ 9s] python312-setuptools_scm-8.1.0-81.10 ######################################## [ 9s] python311-setuptools_scm-8.1.0-81.10 ######################################## [ 9s] fdupes-2.3.1-1.1 ######################################## [ 10s] now finalizing build dir... [ 10s] ... running 01-add_abuild_user_to_trusted_group [ 10s] ... running 02-set_timezone_to_utc [ 10s] ... running 03-set-permissions-secure [ 10s] ... running 11-hack_uname_version_to_kernel_version [ 10s] setting SOURCE_DATE_EPOCH_MTIME to 1730399840 [ 10s] syntax error in expression [ 10s] ----------------------------------------------------------------- [ 10s] I have the following modifications for python-importlib-metadata.spec: [ 10s] 19c19 [ 10s] < %global flavor @BUILD_FLAVOR@%{nil} [ 10s] --- [ 10s] > %global flavor test%{nil} [ 10s] 31c31 [ 10s] < Release: 0 [ 10s] --- [ 10s] > Release: 57.1 [ 10s] ----------------------------------------------------------------- [ 10s] ----- building python-importlib-metadata.spec (user abuild) [ 10s] ----------------------------------------------------------------- [ 10s] ----------------------------------------------------------------- [ 10s] setting SOURCE_DATE_EPOCH_MTIME to 1730399840 [ 10s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.opensuse.org/devel:languages:python/openSUSE_Tumbleweed/065481dcde4e53c3b88b2c9ca59c0e09-python-importlib-metadata:test' /home/abuild/rpmbuild/SOURCES/python-importlib-metadata.spec [ 11s] using SOURCE_DATE_EPOCH with value 1730399839 as build time [ 11s] Executing(%prep): /usr/bin/bash -e /var/tmp/rpm-tmp.uiAkQM [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + rm -rf importlib_metadata-8.5.0 [ 11s] + /usr/lib/rpm/rpmuncompress -x /home/abuild/rpmbuild/SOURCES/importlib_metadata-8.5.0.tar.gz [ 11s] + STATUS=0 [ 11s] + '[' 0 -ne 0 ']' [ 11s] + cd importlib_metadata-8.5.0 [ 11s] + rm -rf /home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0-SPECPARTS [ 11s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0-SPECPARTS [ 11s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 11s] + RPM_EC=0 [ 11s] ++ jobs -p [ 11s] + exit 0 [ 11s] Executing(%build): /usr/bin/bash -e /var/tmp/rpm-tmp.DcRniS [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64 [ 11s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64 [ 11s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 11s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64 [ 11s] + cd importlib_metadata-8.5.0 [ 11s] ++ '[' -f _current_flavor ']' [ 11s] ++ true [ 11s] + last_flavor= [ 11s] + '[' -z '' ']' [ 11s] + last_flavor=tmp [ 11s] + '[' tmp '!=' python310 ']' [ 11s] + '[' -d build ']' [ 11s] + '[' -d _build.python310 ']' [ 11s] + echo python310 [ 11s] + python_flavor=python310 [ 11s] + myargs= [ 11s] + '[' -f './dist/*-none-any.whl' ']' [ 11s] + /usr/bin/python3.10 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . [ 11s] WARNING: Disabling truststore because of missing certificates [ 11s] Processing /home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0 [ 11s] Preparing metadata (pyproject.toml): started [ 11s] Running command Preparing metadata (pyproject.toml) [ 12s] running dist_info [ 12s] creating /tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info [ 12s] writing /tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/PKG-INFO [ 12s] writing dependency_links to /tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/dependency_links.txt [ 12s] writing requirements to /tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/requires.txt [ 12s] writing top-level names to /tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/top_level.txt [ 12s] writing manifest file '/tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/SOURCES.txt' [ 12s] reading manifest file '/tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/SOURCES.txt' [ 12s] adding license file 'LICENSE' [ 12s] writing manifest file '/tmp/pip-modern-metadata-l8s1kktd/importlib_metadata.egg-info/SOURCES.txt' [ 12s] creating '/tmp/pip-modern-metadata-l8s1kktd/importlib_metadata-8.5.0.dist-info' [ 12s] Preparing metadata (pyproject.toml): finished with status 'done' [ 12s] Building wheels for collected packages: importlib_metadata [ 12s] Building wheel for importlib_metadata (pyproject.toml): started [ 12s] Running command Building wheel for importlib_metadata (pyproject.toml) [ 12s] running bdist_wheel [ 12s] running build [ 12s] running build_py [ 12s] creating build/lib [ 12s] creating build/lib/importlib_metadata [ 12s] copying importlib_metadata/__init__.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_adapters.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_collections.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_compat.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_functools.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_itertools.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_meta.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/_text.py -> build/lib/importlib_metadata [ 12s] copying importlib_metadata/diagnose.py -> build/lib/importlib_metadata [ 12s] creating build/lib/importlib_metadata/compat [ 12s] copying importlib_metadata/compat/__init__.py -> build/lib/importlib_metadata/compat [ 12s] copying importlib_metadata/compat/py311.py -> build/lib/importlib_metadata/compat [ 12s] copying importlib_metadata/compat/py39.py -> build/lib/importlib_metadata/compat [ 12s] running egg_info [ 12s] writing importlib_metadata.egg-info/PKG-INFO [ 12s] writing dependency_links to importlib_metadata.egg-info/dependency_links.txt [ 12s] writing requirements to importlib_metadata.egg-info/requires.txt [ 12s] writing top-level names to importlib_metadata.egg-info/top_level.txt [ 12s] reading manifest file 'importlib_metadata.egg-info/SOURCES.txt' [ 12s] adding license file 'LICENSE' [ 12s] writing manifest file 'importlib_metadata.egg-info/SOURCES.txt' [ 12s] copying importlib_metadata/py.typed -> build/lib/importlib_metadata [ 12s] installing to build/bdist.linux-x86_64/wheel [ 12s] running install [ 12s] running install_lib [ 12s] creating build/bdist.linux-x86_64 [ 12s] creating build/bdist.linux-x86_64/wheel [ 12s] creating build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/__init__.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_adapters.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_collections.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_compat.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_functools.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_itertools.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_meta.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/_text.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] copying build/lib/importlib_metadata/diagnose.py -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] creating build/bdist.linux-x86_64/wheel/importlib_metadata/compat [ 12s] copying build/lib/importlib_metadata/compat/__init__.py -> build/bdist.linux-x86_64/wheel/importlib_metadata/compat [ 12s] copying build/lib/importlib_metadata/compat/py311.py -> build/bdist.linux-x86_64/wheel/importlib_metadata/compat [ 12s] copying build/lib/importlib_metadata/compat/py39.py -> build/bdist.linux-x86_64/wheel/importlib_metadata/compat [ 12s] copying build/lib/importlib_metadata/py.typed -> build/bdist.linux-x86_64/wheel/importlib_metadata [ 12s] running install_egg_info [ 12s] Copying importlib_metadata.egg-info to build/bdist.linux-x86_64/wheel/importlib_metadata-8.5.0-py3.10.egg-info [ 12s] running install_scripts [ 12s] creating build/bdist.linux-x86_64/wheel/importlib_metadata-8.5.0.dist-info/WHEEL [ 12s] creating '/tmp/pip-wheel-trnxukkx/.tmp-79til3ce/importlib_metadata-8.5.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it [ 12s] adding 'importlib_metadata/__init__.py' [ 12s] adding 'importlib_metadata/_adapters.py' [ 12s] adding 'importlib_metadata/_collections.py' [ 12s] adding 'importlib_metadata/_compat.py' [ 12s] adding 'importlib_metadata/_functools.py' [ 12s] adding 'importlib_metadata/_itertools.py' [ 12s] adding 'importlib_metadata/_meta.py' [ 12s] adding 'importlib_metadata/_text.py' [ 12s] adding 'importlib_metadata/diagnose.py' [ 12s] adding 'importlib_metadata/py.typed' [ 12s] adding 'importlib_metadata/compat/__init__.py' [ 12s] adding 'importlib_metadata/compat/py311.py' [ 12s] adding 'importlib_metadata/compat/py39.py' [ 12s] adding 'importlib_metadata-8.5.0.dist-info/LICENSE' [ 12s] adding 'importlib_metadata-8.5.0.dist-info/METADATA' [ 12s] adding 'importlib_metadata-8.5.0.dist-info/WHEEL' [ 12s] adding 'importlib_metadata-8.5.0.dist-info/top_level.txt' [ 12s] adding 'importlib_metadata-8.5.0.dist-info/RECORD' [ 12s] removing build/bdist.linux-x86_64/wheel [ 12s] Building wheel for importlib_metadata (pyproject.toml): finished with status 'done' [ 12s] Created wheel for importlib_metadata: filename=importlib_metadata-8.5.0-py3-none-any.whl size=26499 sha256=7e8ec53b4a6355417982d8f1500519ecdcf617c501ec1904334217f72e429f28 [ 12s] Stored in directory: /home/abuild/.cache/pip/wheels/8e/09/70/08792a03c569a89d7f2c55f450091b155974147c3b25f745d2 [ 12s] Successfully built importlib_metadata [ 12s] + '[' -f ./build/importlib_metadata-8.5.0-py3-none-any.whl ']' [ 12s] + mkdir -p ./dist [ 12s] + cp ./build/importlib_metadata-8.5.0-py3-none-any.whl ./dist/ [ 12s] ++ '[' -f _current_flavor ']' [ 12s] ++ cat _current_flavor [ 12s] + last_flavor=python310 [ 12s] + '[' -z python310 ']' [ 12s] + '[' python310 '!=' python312 ']' [ 12s] + '[' -d build ']' [ 12s] + mv build _build.python310 [ 12s] + '[' -d _build.python312 ']' [ 12s] + echo python312 [ 12s] + python_flavor=python312 [ 12s] + myargs= [ 12s] + '[' -f ./dist/importlib_metadata-8.5.0-py3-none-any.whl ']' [ 12s] + echo 'Already found a compatible wheel in ./dist' [ 12s] Already found a compatible wheel in ./dist [ 12s] + mkdir -p ./build [ 12s] + cp ./dist/importlib_metadata-8.5.0-py3-none-any.whl ./build/ [ 12s] ++ '[' -f _current_flavor ']' [ 12s] ++ cat _current_flavor [ 12s] + last_flavor=python312 [ 12s] + '[' -z python312 ']' [ 12s] + '[' python312 '!=' python311 ']' [ 12s] + '[' -d build ']' [ 12s] + mv build _build.python312 [ 12s] + '[' -d _build.python311 ']' [ 12s] + echo python311 [ 12s] + python_flavor=python311 [ 12s] + myargs= [ 12s] + '[' -f ./dist/importlib_metadata-8.5.0-py3-none-any.whl ']' [ 12s] + echo 'Already found a compatible wheel in ./dist' [ 12s] Already found a compatible wheel in ./dist [ 12s] + mkdir -p ./build [ 12s] + cp ./dist/importlib_metadata-8.5.0-py3-none-any.whl ./build/ [ 12s] + RPM_EC=0 [ 12s] ++ jobs -p [ 12s] + exit 0 [ 12s] Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.WqDUIb [ 12s] + umask 022 [ 12s] + cd /home/abuild/rpmbuild/BUILD [ 12s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64 [ 12s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 12s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64 [ 12s] + cd importlib_metadata-8.5.0 [ 12s] + /usr/lib/rpm/find-debuginfo -j4 -n --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0 [ 12s] + /usr/lib/rpm/brp-compress [ 12s] + /usr/lib/rpm/brp-suse [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 12s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.ML92g9 [ 12s] + umask 022 [ 12s] + cd /home/abuild/rpmbuild/BUILD [ 12s] + cd importlib_metadata-8.5.0 [ 12s] + set +x [ 12s] Using libalternatives variant 310 for pip in XDG_CONFIG_HOME during Python 3.10 expansions. [ 12s] Using libalternatives variant 310 for pip3 in XDG_CONFIG_HOME during Python 3.10 expansions. [ 12s] Using libalternatives variant 310 for py.test in XDG_CONFIG_HOME during Python 3.10 expansions. [ 12s] Using libalternatives variant 310 for pytest in XDG_CONFIG_HOME during Python 3.10 expansions. [ 12s] Using libalternatives variant 310 for wheel in XDG_CONFIG_HOME during Python 3.10 expansions. [ 12s] Using libalternatives variant 312 for pip in XDG_CONFIG_HOME during Python 3.12 expansions. [ 12s] Using libalternatives variant 312 for pip3 in XDG_CONFIG_HOME during Python 3.12 expansions. [ 12s] Using libalternatives variant 312 for py.test in XDG_CONFIG_HOME during Python 3.12 expansions. [ 12s] Using libalternatives variant 312 for pytest in XDG_CONFIG_HOME during Python 3.12 expansions. [ 12s] Using libalternatives variant 312 for wheel in XDG_CONFIG_HOME during Python 3.12 expansions. [ 12s] + export PATH=/home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 12s] + PATH=/home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 12s] ++ '[' -f _current_flavor ']' [ 12s] ++ cat _current_flavor [ 12s] + last_flavor=python311 [ 12s] + '[' -z python311 ']' [ 12s] + '[' python311 '!=' python310 ']' [ 12s] + '[' -d build ']' [ 12s] + mv build _build.python311 [ 12s] + '[' -d _build.python310 ']' [ 12s] + mv _build.python310 build [ 12s] + echo python310 [ 12s] + python_flavor=python310 [ 12s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-importlib-metadata-test-8.5.0-57.1.x86_64/usr/lib/python3.10/site-packages [ 12s] + PYTHONDONTWRITEBYTECODE=1 [ 12s] + pytest-3.10 --ignore=_build.python310 --ignore=_build.python312 --ignore=_build.python311 -v --ignore exercises.py [ 12s] ============================= test session starts ============================== [ 12s] platform linux -- Python 3.10.15, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.10 [ 12s] cachedir: .pytest_cache [ 12s] rootdir: /home/abuild/rpmbuild/BUILD/importlib_metadata-8.5.0 [ 12s] configfile: pytest.ini [ 12s] plugins: typeguard-0.0.0, jaraco.test-5.5.1, pyfakefs-5.6.0 [ 13s] collecting ... collected 110 items [ 13s] [ 13s] importlib_metadata/__init__.py::importlib_metadata.EntryPoint PASSED [ 0%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.EntryPoint._disallow_dist PASSED [ 1%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.EntryPoint.matches PASSED [ 2%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.FastPath PASSED [ 3%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.PathDistribution._name_from_stem PASSED [ 4%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.Prepared PASSED [ 5%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.Sectioned PASSED [ 6%] [ 13s] importlib_metadata/__init__.py::importlib_metadata._get_toplevel_name PASSED [ 7%] [ 13s] importlib_metadata/__init__.py::importlib_metadata.packages_distributions PASSED [ 8%] [ 13s] importlib_metadata/_collections.py::importlib_metadata._collections.FreezableDefaultDict PASSED [ 9%] [ 13s] importlib_metadata/_functools.py::importlib_metadata._functools.method_cache PASSED [ 10%] [ 13s] importlib_metadata/_functools.py::importlib_metadata._functools.pass_none PASSED [ 10%] [ 13s] importlib_metadata/_itertools.py::importlib_metadata._itertools.always_iterable PASSED [ 11%] [ 13s] importlib_metadata/_itertools.py::importlib_metadata._itertools.bucket PASSED [ 12%] [ 13s] importlib_metadata/_text.py::importlib_metadata._text.FoldedCase PASSED [ 13%] [ 13s] tests/_context.py::tests._context.suppress PASSED [ 14%] [ 13s] tests/_path.py::tests._path.Recording PASSED [ 15%] [ 13s] tests/_path.py::tests._path.build PASSED [ 16%] [ 13s] tests/compat/test_py39_compat.py::OldStdlibFinderTests::test_compatibility_with_old_stdlib_path_distribution SKIPPED [ 17%] [ 13s] tests/test_api.py::APITests::test_as_json PASSED [ 18%] [ 13s] tests/test_api.py::APITests::test_as_json_egg_info PASSED [ 19%] [ 13s] tests/test_api.py::APITests::test_as_json_odd_case PASSED [ 20%] [ 13s] tests/test_api.py::APITests::test_entry_points PASSED [ 20%] [ 13s] tests/test_api.py::APITests::test_entry_points_allows_no_attributes PASSED [ 21%] [ 13s] tests/test_api.py::APITests::test_entry_points_distribution PASSED [ 22%] [ 13s] tests/test_api.py::APITests::test_entry_points_missing_group PASSED [ 23%] [ 13s] tests/test_api.py::APITests::test_entry_points_missing_name PASSED [ 24%] [ 13s] tests/test_api.py::APITests::test_entry_points_unique_packages_normalized PASSED [ 25%] [ 13s] tests/test_api.py::APITests::test_file_hash_repr PASSED [ 26%] [ 13s] tests/test_api.py::APITests::test_files_dist_info PASSED [ 27%] [ 13s] tests/test_api.py::APITests::test_files_egg_info PASSED [ 28%] [ 13s] tests/test_api.py::APITests::test_for_name_does_not_exist PASSED [ 29%] [ 13s] tests/test_api.py::APITests::test_for_top_level PASSED [ 30%] [ 13s] tests/test_api.py::APITests::test_get_key PASSED [ 30%] [ 13s] tests/test_api.py::APITests::test_get_missing_key PASSED [ 31%] [ 13s] tests/test_api.py::APITests::test_importlib_metadata_version PASSED [ 32%] [ 13s] tests/test_api.py::APITests::test_metadata_for_this_package PASSED [ 33%] [ 13s] tests/test_api.py::APITests::test_missing_key PASSED [ 34%] [ 13s] tests/test_api.py::APITests::test_more_complex_deps_requires_text PASSED [ 35%] [ 13s] tests/test_api.py::APITests::test_name_normalization PASSED [ 36%] [ 13s] tests/test_api.py::APITests::test_prefix_not_matched PASSED [ 37%] [ 13s] tests/test_api.py::APITests::test_read_text PASSED [ 38%] [ 13s] tests/test_api.py::APITests::test_requires_dist_info PASSED [ 39%] [ 13s] tests/test_api.py::APITests::test_requires_egg_info PASSED [ 40%] [ 13s] tests/test_api.py::APITests::test_requires_egg_info_empty PASSED [ 40%] [ 13s] tests/test_api.py::APITests::test_requires_egg_info_file PASSED [ 41%] [ 13s] tests/test_api.py::APITests::test_retrieves_version_of_distinfo_pkg PASSED [ 42%] [ 13s] tests/test_api.py::APITests::test_retrieves_version_of_self PASSED [ 43%] [ 13s] tests/test_api.py::APITests::test_version_egg_info_file PASSED [ 44%] [ 13s] tests/test_api.py::LegacyDots::test_name_normalization PASSED [ 45%] [ 13s] tests/test_api.py::LegacyDots::test_name_normalization_versionless_egg_info PASSED [ 46%] [ 13s] tests/test_api.py::OffSysPathTests::test_distribution_at_pathlib PASSED [ 47%] [ 13s] tests/test_api.py::OffSysPathTests::test_distribution_at_str PASSED [ 48%] [ 13s] tests/test_api.py::OffSysPathTests::test_find_distributions_specified_path PASSED [ 49%] [ 13s] tests/test_api.py::InvalidateCache::test_invalidate_cache PASSED [ 50%] [ 13s] tests/test_integration.py::IntegrationTests::test_package_spec_installed PASSED [ 50%] [ 13s] tests/test_integration.py::FinderTests::test_finder_without_module PASSED [ 51%] [ 13s] tests/test_main.py::BasicTests::test_abc_enforced PASSED [ 52%] [ 13s] tests/test_main.py::BasicTests::test_for_name_does_not_exist PASSED [ 53%] [ 13s] tests/test_main.py::BasicTests::test_invalid_inputs_to_from_name PASSED [ 54%] [ 13s] tests/test_main.py::BasicTests::test_package_not_found_mentions_metadata PASSED [ 55%] [ 13s] tests/test_main.py::BasicTests::test_retrieves_version_of_self PASSED [ 56%] [ 13s] tests/test_main.py::ImportTests::test_entrypoint_with_colon_in_name PASSED [ 57%] [ 13s] tests/test_main.py::ImportTests::test_import_nonexistent_module PASSED [ 58%] [ 13s] tests/test_main.py::ImportTests::test_resolve PASSED [ 59%] [ 13s] tests/test_main.py::ImportTests::test_resolve_without_attr PASSED [ 60%] [ 13s] tests/test_main.py::NameNormalizationTests::test_dashes_in_dist_name_found_as_underscores PASSED [ 60%] [ 13s] tests/test_main.py::NameNormalizationTests::test_dist_name_found_as_any_case PASSED [ 61%] [ 13s] tests/test_main.py::NameNormalizationTests::test_unique_distributions PASSED [ 62%] [ 13s] tests/test_main.py::InvalidMetadataTests::test_valid_dists_preferred PASSED [ 63%] [ 13s] tests/test_main.py::NonASCIITests::test_metadata_loads PASSED [ 64%] [ 13s] tests/test_main.py::NonASCIITests::test_metadata_loads_egg_info PASSED [ 65%] [ 13s] tests/test_main.py::DiscoveryTests::test_interleaved_discovery PASSED [ 66%] [ 13s] tests/test_main.py::DiscoveryTests::test_invalid_usage PASSED [ 67%] [ 13s] tests/test_main.py::DiscoveryTests::test_package_discovery PASSED [ 68%] [ 13s] tests/test_main.py::DirectoryTest::test_egg PASSED [ 69%] [ 13s] tests/test_main.py::DirectoryTest::test_egg_info PASSED [ 70%] [ 13s] tests/test_main.py::MissingSysPath::test_discovery PASSED [ 70%] [ 13s] tests/test_main.py::InaccessibleSysPath::test_discovery PASSED [ 71%] [ 13s] tests/test_main.py::TestEntryPoints::test_attr PASSED [ 72%] [ 13s] tests/test_main.py::TestEntryPoints::test_entry_point_pickleable PASSED [ 73%] [ 13s] tests/test_main.py::TestEntryPoints::test_hashable PASSED [ 74%] [ 13s] tests/test_main.py::TestEntryPoints::test_immutable PASSED [ 75%] [ 13s] tests/test_main.py::TestEntryPoints::test_module PASSED [ 76%] [ 13s] tests/test_main.py::TestEntryPoints::test_positional_args PASSED [ 77%] [ 13s] tests/test_main.py::TestEntryPoints::test_repr PASSED [ 78%] [ 13s] tests/test_main.py::TestEntryPoints::test_sortable PASSED [ 79%] [ 13s] tests/test_main.py::FileSystem::test_unicode_dir_on_sys_path PASSED [ 80%] [ 13s] tests/test_main.py::PackagesDistributionsPrebuiltTest::test_packages_distributions_example FAILED [ 80%] [ 13s] tests/test_main.py::PackagesDistributionsPrebuiltTest::test_packages_distributions_example2 FAILED [ 81%] [ 13s] tests/test_main.py::PackagesDistributionsTest::test_packages_distributions_all_module_types PASSED [ 82%] [ 13s] tests/test_main.py::PackagesDistributionsTest::test_packages_distributions_neither_toplevel_nor_files PASSED [ 83%] [ 13s] tests/test_main.py::PackagesDistributionsTest::test_packages_distributions_symlinked_top_level PASSED [ 84%] [ 13s] tests/test_main.py::PackagesDistributionsEggTest::test_packages_distributions_on_eggs PASSED [ 85%] [ 13s] tests/test_main.py::EditableDistributionTest::test_origin PASSED [ 86%] [ 13s] tests/test_zip.py::TestZip::test_case_insensitive FAILED [ 87%] [ 13s] tests/test_zip.py::TestZip::test_files FAILED [ 88%] [ 13s] tests/test_zip.py::TestZip::test_missing_metadata FAILED [ 89%] [ 13s] tests/test_zip.py::TestZip::test_one_distribution FAILED [ 90%] [ 13s] tests/test_zip.py::TestZip::test_zip_entry_points FAILED [ 90%] [ 13s] tests/test_zip.py::TestZip::test_zip_version FAILED [ 91%] [ 13s] tests/test_zip.py::TestZip::test_zip_version_does_not_match PASSED [ 92%] [ 13s] tests/test_zip.py::TestEgg::test_case_insensitive FAILED [ 93%] [ 13s] tests/test_zip.py::TestEgg::test_files FAILED [ 94%] [ 13s] tests/test_zip.py::TestEgg::test_missing_metadata FAILED [ 95%] [ 13s] tests/test_zip.py::TestEgg::test_normalized_name FAILED [ 96%] [ 13s] tests/test_zip.py::TestEgg::test_one_distribution FAILED [ 97%] [ 13s] tests/test_zip.py::TestEgg::test_zip_entry_points FAILED [ 98%] [ 13s] tests/test_zip.py::TestEgg::test_zip_version FAILED [ 99%] [ 13s] tests/test_zip.py::TestEgg::test_zip_version_does_not_match PASSED [100%] [ 13s] [ 13s] =================================== FAILURES =================================== [ 13s] ____ PackagesDistributionsPrebuiltTest.test_packages_distributions_example _____ [ 13s] [ 13s] self = [ 13s] [ 13s] def test_packages_distributions_example(self): [ 13s] self._fixture_on_path('example-21.12-py3-none-any.whl') [ 13s] > assert packages_distributions()['example'] == ['example'] [ 13s] E KeyError: 'example' [ 13s] [ 13s] tests/test_main.py:346: KeyError [ 13s] ____ PackagesDistributionsPrebuiltTest.test_packages_distributions_example2 ____ [ 13s] [ 13s] self = [ 13s] [ 13s] def test_packages_distributions_example2(self): [ 13s] """ [ 13s] Test packages_distributions on a wheel built [ 13s] by trampolim. [ 13s] """ [ 13s] self._fixture_on_path('example2-1.0.0-py3-none-any.whl') [ 13s] > assert packages_distributions()['example2'] == ['example2'] [ 13s] E KeyError: 'example2' [ 13s] [ 13s] tests/test_main.py:354: KeyError [ 13s] ________________________ TestZip.test_case_insensitive _________________________ [ 13s] [ 13s] cls = , name = 'Example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_case_insensitive(self): [ 13s] > self.assertEqual(version('Example'), '21.12') [ 13s] [ 13s] tests/test_zip.py:39: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1027: in version [ 13s] return distribution(distribution_name).version [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'Example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for Example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ______________________________ TestZip.test_files ______________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_files(self): [ 13s] > for file in files('example'): [ 13s] [ 13s] tests/test_zip.py:42: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1060: in files [ 13s] return distribution(distribution_name).files [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ________________________ TestZip.test_missing_metadata _________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_missing_metadata(self): [ 13s] > self.assertIsNone(distribution('example').read_text('does not exist')) [ 13s] [ 13s] tests/test_zip.py:36: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ________________________ TestZip.test_one_distribution _________________________ [ 13s] [ 13s] self = [ 13s] [ 13s] def test_one_distribution(self): [ 13s] dists = list(distributions(path=sys.path[:1])) [ 13s] > assert len(dists) == 1 [ 13s] E assert 0 == 1 [ 13s] E + where 0 = len([]) [ 13s] [ 13s] tests/test_zip.py:48: AssertionError [ 13s] ________________________ TestZip.test_zip_entry_points _________________________ [ 13s] [ 13s] self = EntryPoints((EntryPoint(name='pip', value='pip._internal.cli.main:main', group='console_scripts'), EntryPoint(name='pi...sole_main', group='console_scripts'), EntryPoint(name='pytest', value='pytest:console_main', group='console_scripts'))) [ 13s] name = 'example' [ 13s] [ 13s] def __getitem__(self, name: str) -> EntryPoint: # type: ignore[override] # Work with str instead of int [ 13s] """ [ 13s] Get the EntryPoint in self matching name. [ 13s] """ [ 13s] try: [ 13s] > return next(iter(self.select(name=name))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:289: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_zip_entry_points(self): [ 13s] scripts = entry_points(group='console_scripts') [ 13s] > entry_point = scripts['example'] [ 13s] [ 13s] tests/test_zip.py:30: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] self = EntryPoints((EntryPoint(name='pip', value='pip._internal.cli.main:main', group='console_scripts'), EntryPoint(name='pi...sole_main', group='console_scripts'), EntryPoint(name='pytest', value='pytest:console_main', group='console_scripts'))) [ 13s] name = 'example' [ 13s] [ 13s] def __getitem__(self, name: str) -> EntryPoint: # type: ignore[override] # Work with str instead of int [ 13s] """ [ 13s] Get the EntryPoint in self matching name. [ 13s] """ [ 13s] try: [ 13s] return next(iter(self.select(name=name))) [ 13s] except StopIteration: [ 13s] > raise KeyError(name) [ 13s] E KeyError: 'example' [ 13s] [ 13s] importlib_metadata/__init__.py:291: KeyError [ 13s] ___________________________ TestZip.test_zip_version ___________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_zip_version(self): [ 13s] > self.assertEqual(version('example'), '21.12') [ 13s] [ 13s] tests/test_zip.py:22: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1027: in version [ 13s] return distribution(distribution_name).version [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ________________________ TestEgg.test_case_insensitive _________________________ [ 13s] [ 13s] cls = , name = 'Example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_case_insensitive(self): [ 13s] > self.assertEqual(version('Example'), '21.12') [ 13s] [ 13s] tests/test_zip.py:39: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1027: in version [ 13s] return distribution(distribution_name).version [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'Example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for Example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ______________________________ TestEgg.test_files ______________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_files(self): [ 13s] > for file in files('example'): [ 13s] [ 13s] tests/test_zip.py:57: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1060: in files [ 13s] return distribution(distribution_name).files [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ________________________ TestEgg.test_missing_metadata _________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_missing_metadata(self): [ 13s] > self.assertIsNone(distribution('example').read_text('does not exist')) [ 13s] [ 13s] tests/test_zip.py:36: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] _________________________ TestEgg.test_normalized_name _________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_normalized_name(self): [ 13s] > dist = distribution('example') [ 13s] [ 13s] tests/test_zip.py:62: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] ________________________ TestEgg.test_one_distribution _________________________ [ 13s] [ 13s] self = [ 13s] [ 13s] def test_one_distribution(self): [ 13s] dists = list(distributions(path=sys.path[:1])) [ 13s] > assert len(dists) == 1 [ 13s] E assert 0 == 1 [ 13s] E + where 0 = len([]) [ 13s] [ 13s] tests/test_zip.py:48: AssertionError [ 13s] ________________________ TestEgg.test_zip_entry_points _________________________ [ 13s] [ 13s] self = EntryPoints((EntryPoint(name='pip', value='pip._internal.cli.main:main', group='console_scripts'), EntryPoint(name='pi...sole_main', group='console_scripts'), EntryPoint(name='pytest', value='pytest:console_main', group='console_scripts'))) [ 13s] name = 'example' [ 13s] [ 13s] def __getitem__(self, name: str) -> EntryPoint: # type: ignore[override] # Work with str instead of int [ 13s] """ [ 13s] Get the EntryPoint in self matching name. [ 13s] """ [ 13s] try: [ 13s] > return next(iter(self.select(name=name))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:289: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_zip_entry_points(self): [ 13s] scripts = entry_points(group='console_scripts') [ 13s] > entry_point = scripts['example'] [ 13s] [ 13s] tests/test_zip.py:30: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] self = EntryPoints((EntryPoint(name='pip', value='pip._internal.cli.main:main', group='console_scripts'), EntryPoint(name='pi...sole_main', group='console_scripts'), EntryPoint(name='pytest', value='pytest:console_main', group='console_scripts'))) [ 13s] name = 'example' [ 13s] [ 13s] def __getitem__(self, name: str) -> EntryPoint: # type: ignore[override] # Work with str instead of int [ 13s] """ [ 13s] Get the EntryPoint in self matching name. [ 13s] """ [ 13s] try: [ 13s] return next(iter(self.select(name=name))) [ 13s] except StopIteration: [ 13s] > raise KeyError(name) [ 13s] E KeyError: 'example' [ 13s] [ 13s] importlib_metadata/__init__.py:291: KeyError [ 13s] ___________________________ TestEgg.test_zip_version ___________________________ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] > return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] E StopIteration [ 13s] [ 13s] importlib_metadata/__init__.py:425: StopIteration [ 13s] [ 13s] During handling of the above exception, another exception occurred: [ 13s] [ 13s] self = [ 13s] [ 13s] def test_zip_version(self): [ 13s] > self.assertEqual(version('example'), '21.12') [ 13s] [ 13s] tests/test_zip.py:22: [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] importlib_metadata/__init__.py:1027: in version [ 13s] return distribution(distribution_name).version [ 13s] importlib_metadata/__init__.py:1000: in distribution [ 13s] return Distribution.from_name(distribution_name) [ 13s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 13s] [ 13s] cls = , name = 'example' [ 13s] [ 13s] @classmethod [ 13s] def from_name(cls, name: str) -> Distribution: [ 13s] """Return the Distribution for the given package name. [ 13s] [ 13s] :param name: The name of the distribution package to search for. [ 13s] :return: The Distribution instance (or subclass thereof) for the named [ 13s] package, if found. [ 13s] :raises PackageNotFoundError: When the named package's distribution [ 13s] metadata cannot be found. [ 13s] :raises ValueError: When an invalid value is supplied for name. [ 13s] """ [ 13s] if not name: [ 13s] raise ValueError("A distribution name is required.") [ 13s] try: [ 13s] return next(iter(cls._prefer_valid(cls.discover(name=name)))) [ 13s] except StopIteration: [ 13s] > raise PackageNotFoundError(name) [ 13s] E importlib_metadata.PackageNotFoundError: No package metadata was found for example [ 13s] [ 13s] importlib_metadata/__init__.py:427: PackageNotFoundError [ 13s] =========================== short test summary info ============================ [ 13s] FAILED tests/test_main.py::PackagesDistributionsPrebuiltTest::test_packages_distributions_example [ 13s] FAILED tests/test_main.py::PackagesDistributionsPrebuiltTest::test_packages_distributions_example2 [ 13s] FAILED tests/test_zip.py::TestZip::test_case_insensitive - importlib_metadata... [ 13s] FAILED tests/test_zip.py::TestZip::test_files - importlib_metadata.PackageNot... [ 13s] FAILED tests/test_zip.py::TestZip::test_missing_metadata - importlib_metadata... [ 13s] FAILED tests/test_zip.py::TestZip::test_one_distribution - assert 0 == 1 [ 13s] FAILED tests/test_zip.py::TestZip::test_zip_entry_points - KeyError: 'example' [ 13s] FAILED tests/test_zip.py::TestZip::test_zip_version - importlib_metadata.Pack... [ 13s] FAILED tests/test_zip.py::TestEgg::test_case_insensitive - importlib_metadata... [ 13s] FAILED tests/test_zip.py::TestEgg::test_files - importlib_metadata.PackageNot... [ 13s] FAILED tests/test_zip.py::TestEgg::test_missing_metadata - importlib_metadata... [ 13s] FAILED tests/test_zip.py::TestEgg::test_normalized_name - importlib_metadata.... [ 13s] FAILED tests/test_zip.py::TestEgg::test_one_distribution - assert 0 == 1 [ 13s] FAILED tests/test_zip.py::TestEgg::test_zip_entry_points - KeyError: 'example' [ 13s] FAILED tests/test_zip.py::TestEgg::test_zip_version - importlib_metadata.Pack... [ 13s] =================== 15 failed, 94 passed, 1 skipped in 0.77s =================== [ 13s] error: Bad exit status from /var/tmp/rpm-tmp.ML92g9 (%check) [ 13s] [ 13s] RPM build errors: [ 13s] Bad exit status from /var/tmp/rpm-tmp.ML92g9 (%check) [ 13s] ### VM INTERACTION START ### [ 13s] [ 8.050717][ T1] sysrq: Power Off [ 13s] [ 8.051355][ T87] reboot: Power down [ 13s] ### VM INTERACTION END ### [ 13s] [ 13s] i01-ch2c failed "build python-importlib-metadata.spec" at Thu Oct 31 19:12:33 UTC 2024. [ 13s]