Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-promise.spec'], chrootPath='/var/lib/mock/f39-build-1631515-39717/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-promise.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/python-promise-2.3.0-15.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-promise.spec'], chrootPath='/var/lib/mock/f39-build-1631515-39717/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-promise.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.szLCvd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf promise-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/promise-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd promise-2.3.0 + rm -rf /builddir/build/BUILD/promise-2.3.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/promise-2.3.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/381687df55fda715a87395f7ffba1c91428650e2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf promise.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H2umn8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd promise-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/promise copying promise/promise_list.py -> build/lib/promise copying promise/dataloader.py -> build/lib/promise copying promise/async_.py -> build/lib/promise copying promise/promise.py -> build/lib/promise copying promise/__init__.py -> build/lib/promise copying promise/iterate_promise.py -> build/lib/promise copying promise/utils.py -> build/lib/promise copying promise/compat.py -> build/lib/promise creating build/lib/promise/pyutils copying promise/pyutils/version.py -> build/lib/promise/pyutils copying promise/pyutils/__init__.py -> build/lib/promise/pyutils creating build/lib/promise/schedulers copying promise/schedulers/immediate.py -> build/lib/promise/schedulers copying promise/schedulers/asyncio.py -> build/lib/promise/schedulers copying promise/schedulers/thread.py -> build/lib/promise/schedulers copying promise/schedulers/gevent.py -> build/lib/promise/schedulers copying promise/schedulers/__init__.py -> build/lib/promise/schedulers copying promise/py.typed -> build/lib/promise + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NfAjnu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch ++ dirname /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd promise-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/promise_list.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/dataloader.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/async_.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/pyutils copying build/lib/promise/pyutils/version.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/pyutils copying build/lib/promise/pyutils/__init__.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/pyutils copying build/lib/promise/promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/py.typed -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/__init__.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/iterate_promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/schedulers/immediate.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/schedulers/asyncio.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/schedulers/thread.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/schedulers/gevent.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/schedulers/__init__.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/utils.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/compat.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/promise_list.py to promise_list.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/dataloader.py to dataloader.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/async_.py to async_.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/pyutils/version.py to version.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/pyutils/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/promise.py to promise.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/iterate_promise.py to iterate_promise.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers/immediate.py to immediate.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers/asyncio.py to asyncio.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers/thread.py to thread.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers/gevent.py to gevent.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/schedulers/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/utils.py to utils.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise/compat.py to compat.cpython-312.pyc writing byte-compilation script '/tmp/tmp08ebtxua.py' /usr/bin/python3 /tmp/tmp08ebtxua.py removing /tmp/tmp08ebtxua.py running install_egg_info running egg_info creating promise.egg-info writing promise.egg-info/PKG-INFO writing dependency_links to promise.egg-info/dependency_links.txt writing requirements to promise.egg-info/requires.txt writing top-level names to promise.egg-info/top_level.txt writing manifest file 'promise.egg-info/SOURCES.txt' reading manifest file 'promise.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'tests' adding license file 'LICENSE' writing manifest file 'promise.egg-info/SOURCES.txt' Copying promise.egg-info to /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages/promise-2.3-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.3.0-15.fc39 --unique-debug-suffix -2.3.0-15.fc39.noarch --unique-debug-src-base python-promise-2.3.0-15.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/promise-2.3.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Zy6FxK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd promise-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.2.0 -- /usr/bin/python3 cachedir: .pytest_cache benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) rootdir: /builddir/build/BUILD/promise-2.3.0 plugins: asyncio-0.21.0, benchmark-4.0.0, cov-4.0.0 asyncio: mode=Mode.STRICT collecting ... collected 127 items tests/test_awaitable.py::test_await PASSED [ 0%] tests/test_awaitable.py::test_await_time PASSED [ 1%] tests/test_awaitable.py::test_promise_coroutine PASSED [ 2%] tests/test_awaitable_35.py::test_await PASSED [ 3%] tests/test_awaitable_35.py::test_promisify_coroutine PASSED [ 3%] tests/test_awaitable_35.py::test_coroutine_is_thenable PASSED [ 4%] tests/test_awaitable_35.py::test_promisify_future PASSED [ 5%] tests/test_awaitable_35.py::test_await_in_safe_promise PASSED [ 6%] tests/test_benchmark.py::test_benchmark_promise_creation PASSED [ 7%] tests/test_benchmark.py::test_benchmark_promise_resolve PASSED [ 7%] tests/test_benchmark.py::test_benchmark_is_thenable_basic_type PASSED [ 8%] tests/test_benchmark.py::test_benchmark_is_thenable_custom_type PASSED [ 9%] tests/test_benchmark.py::test_benchmark_promise_creation_with_resolve PASSED [ 10%] tests/test_benchmark.py::test_benchmark_promise_creation_with_reject PASSED [ 11%] tests/test_benchmark.py::test_benchmark_promisify_custom_type PASSED [ 11%] tests/test_benchmark.py::test_benchmark_promise_all PASSED [ 12%] tests/test_benchmark.py::test_benchmark_promise_all_promise PASSED [ 13%] tests/test_complex_threads.py::test_factorial PASSED [ 14%] tests/test_dataloader.py::test_build_a_simple_data_loader PASSED [ 14%] tests/test_dataloader.py::test_supports_loading_multiple_keys_in_one_call PASSED [ 15%] tests/test_dataloader.py::test_batches_multiple_requests PASSED [ 16%] tests/test_dataloader.py::test_batches_multiple_requests_with_max_batch_sizes PASSED [ 17%] tests/test_dataloader.py::test_coalesces_identical_requests PASSED [ 18%] tests/test_dataloader.py::test_caches_repeated_requests PASSED [ 18%] tests/test_dataloader.py::test_clears_single_value_in_loader PASSED [ 19%] tests/test_dataloader.py::test_clears_all_values_in_loader PASSED [ 20%] tests/test_dataloader.py::test_does_not_replace_cache_map PASSED [ 21%] tests/test_dataloader.py::test_allows_priming_the_cache PASSED [ 22%] tests/test_dataloader.py::test_does_not_prime_keys_that_already_exist PASSED [ 22%] tests/test_dataloader.py::test_resolves_to_error_to_indicate_failure PASSED [ 23%] tests/test_dataloader.py::test_can_represent_failures_and_successes_simultaneously PASSED [ 24%] tests/test_dataloader.py::test_caches_failed_fetches PASSED [ 25%] tests/test_dataloader.py::test_catches_error_if_loader_resolver_fails PASSED [ 25%] tests/test_dataloader.py::test_can_call_a_loader_from_a_loader PASSED [ 26%] tests/test_dataloader.py::test_dataloader_clear_with_missing_key_works PASSED [ 27%] tests/test_dataloader.py::test_wrong_loader_return_type_does_not_block_async_instance PASSED [ 28%] tests/test_dataloader_awaitable_35.py::test_await_dataloader PASSED [ 29%] tests/test_dataloader_awaitable_35.py::test_await_dataloader_safe_promise PASSED [ 29%] tests/test_dataloader_awaitable_35.py::test_await_dataloader_individual PASSED [ 30%] tests/test_dataloader_awaitable_35.py::test_await_dataloader_individual_safe_promise PASSED [ 31%] tests/test_dataloader_awaitable_35.py::test_await_dataloader_two PASSED [ 32%] tests/test_dataloader_awaitable_35.py::test_await_dataloader_two_safe_promise PASSED [ 33%] tests/test_extra.py::test_fulfilled PASSED [ 33%] tests/test_extra.py::test_rejected PASSED [ 34%] tests/test_extra.py::test_fulfill_self PASSED [ 35%] tests/test_extra.py::test_exceptions PASSED [ 36%] tests/test_extra.py::test_thrown_exceptions_have_stacktrace PASSED [ 37%] tests/test_extra.py::test_thrown_exceptions_preserve_stacktrace PASSED [ 37%] tests/test_extra.py::test_wait_if PASSED [ 38%] tests/test_extra.py::test_get_if PASSED [ 39%] tests/test_extra.py::test_promise_all_when PASSED [ 40%] tests/test_extra.py::test_promise_all_when_mixed_promises PASSED [ 40%] tests/test_extra.py::test_promise_all_when_if_no_promises PASSED [ 41%] tests/test_extra.py::test_promise_all_if PASSED [ 42%] tests/test_extra.py::test_dict_promise_when[for_dict0] PASSED [ 43%] tests/test_extra.py::test_dict_promise_when[for_dict1] PASSED [ 44%] tests/test_extra.py::test_dict_promise_if[for_dict0] PASSED [ 44%] tests/test_extra.py::test_dict_promise_if[for_dict1] PASSED [ 45%] tests/test_extra.py::test_done PASSED [ 46%] tests/test_extra.py::test_done_all PASSED [ 47%] tests/test_extra.py::test_then_all PASSED [ 48%] tests/test_extra.py::test_do_resolve PASSED [ 48%] tests/test_extra.py::test_do_resolve_fail_on_call PASSED [ 49%] tests/test_extra.py::test_catch PASSED [ 50%] tests/test_extra.py::test_is_thenable_promise PASSED [ 51%] tests/test_extra.py::test_is_thenable_then_object PASSED [ 51%] tests/test_extra.py::test_is_thenable_future PASSED [ 52%] tests/test_extra.py::test_is_thenable_simple_object PASSED [ 53%] tests/test_extra.py::test_resolve_promise[resolve] PASSED [ 54%] tests/test_extra.py::test_resolve_then_object[resolve] PASSED [ 55%] tests/test_extra.py::test_resolve_future[resolve] PASSED [ 55%] tests/test_extra.py::test_resolve_future_rejected[resolve] PASSED [ 56%] tests/test_extra.py::test_resolve_object[resolve] PASSED [ 57%] tests/test_extra.py::test_resolve_promise_subclass PASSED [ 58%] tests/test_extra.py::test_promise_repr_pending PASSED [ 59%] tests/test_extra.py::test_promise_repr_fulfilled PASSED [ 59%] tests/test_extra.py::test_promise_repr_rejected PASSED [ 60%] tests/test_extra.py::test_promise_loop PASSED [ 61%] tests/test_extra.py::test_resolve_future_like[resolve] PASSED [ 62%] tests/test_extra.py::test_promisify_function_resolved[resolve] PASSED [ 62%] tests/test_extra.py::test_promisify_function_rejected[resolve] PASSED [ 63%] tests/test_extra.py::test_promises_with_only_then PASSED [ 64%] tests/test_extra.py::test_promises_promisify_still_works_but_deprecated_for_non_callables PASSED [ 65%] tests/test_issues.py::test_issue_11 PASSED [ 66%] tests/test_issues.py::test_issue_9 PASSED [ 66%] tests/test_issues.py::test_issue_9_safe SKIPPED (async def function ...) [ 67%] tests/test_issues.py::test_issue_26 PASSED [ 68%] tests/test_issues.py::test_issue_33 PASSED [ 69%] tests/test_issues.py::test_issue_75 PASSED [ 70%] tests/test_promise_list.py::test_empty_promises PASSED [ 70%] tests/test_promise_list.py::test_bad_promises PASSED [ 71%] tests/test_promise_list.py::test_promise_basic PASSED [ 72%] tests/test_promise_list.py::test_promise_mixed PASSED [ 73%] tests/test_promise_list.py::test_promise_rejected PASSED [ 74%] tests/test_promise_list.py::test_promise_reject_skip_all_other_values PASSED [ 74%] tests/test_promise_list.py::test_promise_lazy_promise PASSED [ 75%] tests/test_promise_list.py::test_promise_contained_promise PASSED [ 76%] tests/test_spec.py::test_3_2_1 PASSED [ 77%] tests/test_spec.py::test_3_2_1_1 PASSED [ 77%] tests/test_spec.py::test_3_2_1_2 PASSED [ 78%] tests/test_spec.py::test_3_2_2_1 PASSED [ 79%] tests/test_spec.py::test_3_2_2_2 PASSED [ 80%] tests/test_spec.py::test_3_2_2_3 PASSED [ 81%] tests/test_spec.py::test_3_2_3_1 PASSED [ 81%] tests/test_spec.py::test_3_2_3_2 PASSED [ 82%] tests/test_spec.py::test_3_2_3_3 PASSED [ 83%] tests/test_spec.py::test_3_2_5_1_when PASSED [ 84%] tests/test_spec.py::test_3_2_5_1_if PASSED [ 85%] tests/test_spec.py::test_3_2_5_2_when PASSED [ 85%] tests/test_spec.py::test_3_2_5_2_if PASSED [ 86%] tests/test_spec.py::test_3_2_6_1 PASSED [ 87%] tests/test_spec.py::test_3_2_6_2_when PASSED [ 88%] tests/test_spec.py::test_3_2_6_2_if PASSED [ 88%] tests/test_spec.py::test_3_2_6_3_when_fulfilled PASSED [ 89%] tests/test_spec.py::test_3_2_6_3_if_fulfilled PASSED [ 90%] tests/test_spec.py::test_3_2_6_3_when_rejected PASSED [ 91%] tests/test_spec.py::test_3_2_6_3_if_rejected PASSED [ 92%] tests/test_spec.py::test_3_2_6_4_pending PASSED [ 92%] tests/test_spec.py::test_3_2_6_4_fulfilled PASSED [ 93%] tests/test_spec.py::test_3_2_6_5_pending PASSED [ 94%] tests/test_spec.py::test_3_2_6_5_rejected PASSED [ 95%] tests/test_spec.py::test_chained_promises PASSED [ 96%] tests/test_spec.py::test_promise_resolved_after PASSED [ 96%] tests/test_spec.py::test_promise_follows_indifentely PASSED [ 97%] tests/test_spec.py::test_promise_all_follows_indifentely PASSED [ 98%] tests/test_thread_safety.py::test_promise_thread_safety PASSED [ 99%] tests/test_thread_safety.py::test_dataloader_thread_safety PASSED [100%] =============================== warnings summary =============================== tests/test_awaitable_35.py::test_coroutine_is_thenable /builddir/build/BUILD/promise-2.3.0/tests/test_awaitable_35.py:26: RuntimeWarning: coroutine 'test_coroutine_is_thenable..my_coroutine' was never awaited assert is_thenable(my_coroutine()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_extra.py::test_promises_promisify_still_works_but_deprecated_for_non_callables /builddir/build/BUILD/promise-2.3.0/promise/promise.py:746: DeprecationWarning: Promise.promisify is now a function decorator, please use Promise.resolve instead. warn( tests/test_issues.py::test_issue_9_safe /usr/lib/python3.12/site-packages/_pytest/python.py:183: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. You need to install a suitable plugin for your async framework, for example: - anyio - pytest-asyncio - pytest-tornasync - pytest-trio - pytest-twisted warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) tests/test_thread_safety.py::test_promise_thread_safety /builddir/build/BUILD/promise-2.3.0/tests/test_thread_safety.py:21: DeprecationWarning: getName() is deprecated, get the name attribute instead thread_name = threading.current_thread().getName() tests/test_thread_safety.py::test_promise_thread_safety /builddir/build/BUILD/promise-2.3.0/tests/test_thread_safety.py:33: DeprecationWarning: getName() is deprecated, get the name attribute instead assert_object['is_same_thread'] = (thread_name == threading.current_thread().getName()) tests/test_thread_safety.py::test_dataloader_thread_safety tests/test_thread_safety.py::test_dataloader_thread_safety /builddir/build/BUILD/promise-2.3.0/tests/test_thread_safety.py:64: DeprecationWarning: getName() is deprecated, get the name attribute instead thead_name = threading.current_thread().getName() tests/test_thread_safety.py::test_dataloader_thread_safety /builddir/build/BUILD/promise-2.3.0/tests/test_thread_safety.py:85: DeprecationWarning: getName() is deprecated, get the name attribute instead promise.get() == threading.current_thread().getName() tests/test_thread_safety.py::test_dataloader_thread_safety /builddir/build/BUILD/promise-2.3.0/tests/test_thread_safety.py:98: DeprecationWarning: getName() is deprecated, get the name attribute instead promise.get() == threading.current_thread().getName() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -------------------------------------------------------------------------------------------------------------------- benchmark: 9 tests ------------------------------------------------------------------------------------------------------------------- Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- test_benchmark_is_thenable_basic_type 7.3998 (1.0) 736.2999 (1.88) 8.1255 (1.0) 10.2123 (1.0) 7.6001 (1.0) 0.1006 (1.0) 109;1815 123,069.7490 (1.0) 16864 1 test_benchmark_promise_creation 16.8998 (2.28) 485.3997 (1.24) 18.7950 (2.31) 12.5569 (1.23) 17.6998 (2.33) 0.4000 (3.98) 92;726 53,205.6531 (0.43) 6753 1 test_benchmark_is_thenable_custom_type 26.7001 (3.61) 809.4003 (2.06) 29.8965 (3.68) 21.1077 (2.07) 27.6999 (3.64) 0.6999 (6.96) 59;522 33,448.6849 (0.27) 5286 1 test_benchmark_promise_resolve 27.8000 (3.76) 3,260.9999 (8.32) 31.0083 (3.82) 37.7187 (3.69) 29.9001 (3.93) 1.8002 (17.90) 27;458 32,249.4261 (0.26) 8117 1 test_benchmark_promise_creation_with_resolve 47.7000 (6.45) 958.7002 (2.45) 54.7636 (6.74) 24.6472 (2.41) 52.3999 (6.89) 3.7998 (37.78) 132;497 18,260.3049 (0.15) 5066 1 test_benchmark_promisify_custom_type 49.2004 (6.65) 392.0998 (1.0) 53.6305 (6.60) 19.7687 (1.94) 50.3999 (6.63) 3.0999 (30.82) 50;331 18,646.1153 (0.15) 4000 1 test_benchmark_promise_creation_with_reject 227.3996 (30.73) 1,099.2000 (2.80) 251.3444 (30.93) 58.7417 (5.75) 235.0998 (30.93) 17.1254 (170.26) 84;122 3,978.6046 (0.03) 1509 1 test_benchmark_promise_all 10,901.5997 (>1000.0) 12,133.2011 (30.94) 11,237.5953 (>1000.0) 267.8305 (26.23) 11,154.8505 (>1000.0) 359.9003 (>1000.0) 18;3 88.9870 (0.00) 82 1 test_benchmark_promise_all_promise 4,730,342.1940 (>1000.0) 4,853,714.7958 (>1000.0) 4,804,076.1752 (>1000.0) 54,044.0662 (>1000.0) 4,816,915.9950 (>1000.0) 94,076.1763 (>1000.0) 1;0 0.2082 (0.00) 5 1 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Legend: Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. OPS: Operations Per Second, computed as 1 / Mean ================= 126 passed, 1 skipped, 9 warnings in 57.88s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-promise-2.3.0-15.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tZ4OKQ + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/doc/python3-promise + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/doc/python3-promise + cp -pr /builddir/build/BUILD/promise-2.3.0/README.rst /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/doc/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e2Geh6 + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/licenses/python3-promise + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/licenses/python3-promise + cp -pr /builddir/build/BUILD/promise-2.3.0/LICENSE /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch/usr/share/licenses/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-promise = 2.3.0-15.fc39 python3-promise = 2.3.0-15.fc39 python3.12-promise = 2.3.0-15.fc39 python3.12dist(promise) = 2.3 python3dist(promise) = 2.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.12 python3.12dist(six) Obsoletes: python-promise < 2.3.0-15.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc39.noarch Wrote: /builddir/build/RPMS/python3-promise-2.3.0-15.fc39.noarch.rpm Child return code was: 0