Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 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-2636229-66111/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=997gid=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=1706227200 Wrote: /builddir/build/SRPMS/python-promise-2.3.0-17.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-2636229-66111/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=997gid=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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OPt5oV + 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.B5FE5J + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 -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/dataloader.py -> build/lib/promise copying promise/__init__.py -> build/lib/promise copying promise/compat.py -> build/lib/promise copying promise/promise.py -> build/lib/promise copying promise/utils.py -> build/lib/promise copying promise/promise_list.py -> build/lib/promise copying promise/async_.py -> build/lib/promise copying promise/iterate_promise.py -> build/lib/promise creating build/lib/promise/pyutils copying promise/pyutils/__init__.py -> build/lib/promise/pyutils copying promise/pyutils/version.py -> build/lib/promise/pyutils creating build/lib/promise/schedulers copying promise/schedulers/immediate.py -> build/lib/promise/schedulers copying promise/schedulers/__init__.py -> build/lib/promise/schedulers copying promise/schedulers/thread.py -> build/lib/promise/schedulers copying promise/schedulers/asyncio.py -> build/lib/promise/schedulers copying promise/schedulers/gevent.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.1yeSMW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch + CFLAGS='-O2 -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 -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 -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 -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 -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-17.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-17.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/py.typed -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/dataloader.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/__init__.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.fc40.noarch/usr/lib/python3.12/site-packages/promise/pyutils copying build/lib/promise/compat.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise creating /builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.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-17.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-17.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-17.fc40.noarch/usr/lib/python3.12/site-packages/promise/schedulers copying build/lib/promise/utils.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/promise_list.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/async_.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise copying build/lib/promise/iterate_promise.py -> /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages/promise byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.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-17.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-17.fc40.noarch/usr/lib/python3.12/site-packages/promise/compat.py to compat.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.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-17.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-17.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-17.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-17.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-17.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-17.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-17.fc40.noarch/usr/lib/python3.12/site-packages/promise/iterate_promise.py to iterate_promise.cpython-312.pyc writing byte-compilation script '/tmp/tmp6wsbdc_4.py' /usr/bin/python3 /tmp/tmp6wsbdc_4.py removing /tmp/tmp6wsbdc_4.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-17.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-17.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.3.0-17.fc40 --unique-debug-suffix -2.3.0-17.fc40.noarch --unique-debug-src-base python-promise-2.3.0-17.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 -j64 Bytecompiling .py files below /builddir/build/BUILDROOT/python-promise-2.3.0-17.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.h8dmYI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 -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-17.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=64 + /usr/bin/pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.4.3, 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, cov-4.0.0, benchmark-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 1.5400 (1.0) 260.4999 (8.16) 1.8862 (1.0) 1.5372 (1.07) 1.7400 (1.0) 0.0800 (1.0) 2525;8031 530,153.7390 (1.0) 135870 1 test_benchmark_promise_creation 3.0000 (1.95) 63.1801 (1.98) 3.5554 (1.88) 1.4425 (1.0) 3.3000 (1.90) 0.2200 (2.75) 279;652 281,264.6332 (0.53) 7309 1 test_benchmark_promise_resolve 5.4000 (3.51) 145.7200 (4.56) 6.0932 (3.23) 1.9719 (1.37) 5.8000 (3.33) 0.1800 (2.25) 1330;2728 164,116.9157 (0.31) 34966 1 test_benchmark_is_thenable_custom_type 5.6600 (3.68) 76.3800 (2.39) 6.4108 (3.40) 2.4185 (1.68) 5.9600 (3.43) 0.1600 (2.00) 100;202 155,985.6032 (0.29) 1865 1 test_benchmark_promise_creation_with_resolve 9.7800 (6.35) 168.9600 (5.29) 11.0636 (5.87) 3.0963 (2.15) 10.3200 (5.93) 0.3400 (4.25) 759;990 90,386.5331 (0.17) 8040 1 test_benchmark_promisify_custom_type 10.2000 (6.62) 31.9400 (1.0) 11.9896 (6.36) 2.7191 (1.89) 10.9200 (6.28) 0.7200 (9.00) 144;165 83,405.5662 (0.16) 1081 1 test_benchmark_promise_creation_with_reject 37.8800 (24.60) 891.6590 (27.92) 50.4349 (26.74) 78.4792 (54.41) 40.2400 (23.13) 7.8200 (97.78) 1;5 19,827.5506 (0.04) 118 1 test_benchmark_promise_all 1,695.7980 (>1000.0) 2,139.4980 (66.98) 1,826.7778 (968.47) 112.9197 (78.28) 1,775.3790 (>1000.0) 193.3800 (>1000.0) 47;0 547.4120 (0.00) 202 1 test_benchmark_promise_all_promise 644,604.7720 (>1000.0) 925,542.1250 (>1000.0) 746,923.4984 (>1000.0) 110,526.0338 (>1000.0) 742,005.5470 (>1000.0) 136,628.6447 (>1000.0) 1;0 1.3388 (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 14.49s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-promise-2.3.0-17.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JvFC2I + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.fc40.noarch/usr/share/doc/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aGW2yC + umask 022 + cd /builddir/build/BUILD + cd promise-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-promise-2.3.0-17.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-17.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-17.fc40.noarch/usr/share/licenses/python3-promise + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-promise = 2.3.0-17.fc40 python3-promise = 2.3.0-17.fc40 python3.12-promise = 2.3.0-17.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-17.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-promise-2.3.0-17.fc40.noarch Wrote: /builddir/build/RPMS/python3-promise-2.3.0-17.fc40.noarch.rpm Child return code was: 0