Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 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/f40-build-2089802-50211/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.fc40.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/f40-build-2089802-50211/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.01f7cz + 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.LOA4pN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.aqOGG7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.fc40.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 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.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/promise_list.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/dataloader.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/async_.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/promise/pyutils copying build/lib/promise/promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/py.typed -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/__init__.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/iterate_promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/utils.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/compat.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib/python3.12/site-packages/promise byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/promise/compat.py to compat.cpython-312.pyc writing byte-compilation script '/tmp/tmpasvk98ob.py' /usr/bin/python3 /tmp/tmpasvk98ob.py removing /tmp/tmpasvk98ob.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.fc40.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.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.3.0-15.fc40 --unique-debug-suffix -2.3.0-15.fc40.noarch --unique-debug-src-base python-promise-2.3.0-15.fc40.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.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yYsNtw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.3.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 6.5998 (1.0) 1,835.8999 (4.44) 7.3335 (1.0) 15.5977 (1.26) 6.8997 (1.0) 0.1001 (1.0) 33;1248 136,361.2192 (1.0) 18976 1 test_benchmark_promise_creation 14.4998 (2.20) 637.9001 (1.54) 17.0279 (2.32) 12.3952 (1.0) 16.1002 (2.33) 0.5998 (5.99) 82;504 58,727.2434 (0.43) 6354 1 test_benchmark_promise_resolve 25.8004 (3.91) 467.8001 (1.13) 28.8997 (3.94) 15.6826 (1.27) 27.1001 (3.93) 0.6994 (6.99) 176;784 34,602.3929 (0.25) 9075 1 test_benchmark_is_thenable_custom_type 26.4999 (4.02) 513.7003 (1.24) 30.2922 (4.13) 14.0608 (1.13) 29.2002 (4.23) 1.5004 (14.99) 72;328 33,011.8309 (0.24) 4445 1 test_benchmark_promise_creation_with_resolve 38.0999 (5.77) 413.3997 (1.0) 41.5364 (5.66) 20.5330 (1.66) 38.8999 (5.64) 0.4997 (4.99) 55;633 24,075.2483 (0.18) 4350 1 test_benchmark_promisify_custom_type 45.7997 (6.94) 701.8000 (1.70) 59.4011 (8.10) 29.0176 (2.34) 54.8000 (7.94) 1.7001 (16.98) 128;1033 16,834.6919 (0.12) 3058 1 test_benchmark_promise_creation_with_reject 172.7999 (26.18) 2,028.7996 (4.91) 195.3595 (26.64) 71.0380 (5.73) 180.8000 (26.20) 16.6001 (165.81) 52;87 5,118.7679 (0.04) 1472 1 test_benchmark_promise_all 9,143.6999 (>1000.0) 16,392.9998 (39.65) 9,943.7221 (>1000.0) 933.7569 (75.33) 9,827.5999 (>1000.0) 680.6250 (>1000.0) 6;5 100.5660 (0.00) 95 1 test_benchmark_promise_all_promise 3,049,121.6071 (>1000.0) 3,320,584.8080 (>1000.0) 3,180,979.4874 (>1000.0) 112,345.1872 (>1000.0) 3,168,067.3067 (>1000.0) 190,781.4262 (>1000.0) 2;0 0.3144 (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 46.43s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-promise-2.3.0-15.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UgTMKP + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.fc40.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.fc40.noarch/usr/share/doc/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uu3MAM + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.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.fc40.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.fc40.noarch/usr/share/licenses/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-promise = 2.3.0-15.fc40 python3-promise = 2.3.0-15.fc40 python3.12-promise = 2.3.0-15.fc40 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.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-promise-2.3.0-15.fc40.noarch Wrote: /builddir/build/RPMS/python3-promise-2.3.0-15.fc40.noarch.rpm Child return code was: 0