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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2321003-58485/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-httpcore.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=1706486400 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2321003-58485/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.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=1706400000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.31IU0t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.1 + rm -rf /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VBjuFO + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.1 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + echo -n + 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 ' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement not satisfied: hatchling Handling hatch-fancy-pypi-readme from build-system.requires Requirement not satisfied: hatch-fancy-pypi-readme Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.1-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2321003-58485/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.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=1706400000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yhNVZI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.1 + rm -rf /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.I9vCW0 + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.1 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + echo -n + 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 ' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: certifi Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: h11<0.15,>=0.13 Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: h2<5,>=3; extra == 'http2' Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: socksio==1.*; extra == 'socks' Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.1.dist-info/ removed 'httpcore-1.0.1.dist-info/METADATA' removed directory 'httpcore-1.0.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.1-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2321003-58485/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.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=1706400000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sueg5Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.1 + rm -rf /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.V9aLif + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.1 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + echo -n + 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 ' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: certifi (installed: certifi 2023.5.7) Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h11<0.15,>=0.13 (installed: h11 0.14.0) Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h2<5,>=3; extra == 'http2' (installed: h2 4.1.0) Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: socksio==1.*; extra == 'socks' (installed: socksio 1.0.0) Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.1.dist-info/ removed 'httpcore-1.0.1.dist-info/METADATA' removed directory 'httpcore-1.0.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.1-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2321003-58485/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.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=1706486400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ttpayG + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.1 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + echo -n + 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 ' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: certifi (installed: certifi 2023.5.7) Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h11<0.15,>=0.13 (installed: h11 0.14.0) Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h2<5,>=3; extra == 'http2' (installed: h2 4.1.0) Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: socksio==1.*; extra == 'socks' (installed: socksio 1.0.0) Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.1.dist-info/ removed 'httpcore-1.0.1.dist-info/METADATA' removed directory 'httpcore-1.0.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6zcNJk + 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 httpcore-1.0.1 + mkdir -p /builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + 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 ' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir Processing /builddir/build/BUILD/httpcore-1.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: httpcore Building wheel for httpcore (pyproject.toml): started Running command Building wheel for httpcore (pyproject.toml) Building wheel for httpcore (pyproject.toml): finished with status 'done' Created wheel for httpcore: filename=httpcore-1.0.1-py3-none-any.whl size=76526 sha256=8511b1c3012239f0e6614a49499dd09ea11d00abc9553d9c4a2c9b36eb720438 Stored in directory: /builddir/.cache/pip/wheels/0e/88/ed/77de0eaf40f6a7584a3a7bb9c1048e4483f7bf976beb58f6f7 Successfully built httpcore + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4H8NNa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.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 httpcore-1.0.1 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir/httpcore-1.0.1-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=httpcore==1.0.1 + '[' -z httpcore==1.0.1 ']' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir httpcore==1.0.1 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/httpcore-1.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/httpcore-1.0.1-py3-none-any.whl Installing collected packages: httpcore Successfully installed httpcore-1.0.1 + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch --record /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/RECORD --output /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-httpcore-1.0.1-1.fc40.noarch-pyproject-record --prefix /usr httpcore + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.1-1.fc40 --unique-debug-suffix -1.0.1-1.fc40.noarch --unique-debug-src-base python-httpcore-1.0.1-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httpcore-1.0.1 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-httpcore-1.0.1-1.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.SDauQG + 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 httpcore-1.0.1 + 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-httpcore-1.0.1-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-httpcore-1.0.1-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/httpcore-1.0.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -Wdefault ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/httpcore-1.0.1 configfile: pyproject.toml plugins: asyncio-0.21.0, anyio-3.7.0, trio-0.8.0, httpbin-2.0.0 asyncio: mode=Mode.STRICT collected 213 items tests/test_api.py ... [ 1%] tests/test_cancellations.py ...F....XXxxxx [ 7%] tests/test_models.py ............. [ 14%] tests/_async/test_connection.py .................. [ 22%] tests/_async/test_connection_pool.py ................................. [ 38%] tests/_async/test_http11.py ........................ [ 49%] tests/_async/test_http2.py .................... [ 58%] tests/_async/test_http_proxy.py .......... [ 63%] tests/_async/test_integration.py ..F.FF [ 66%] tests/_async/test_socks_proxy.py .......... [ 70%] tests/_sync/test_connection.py ......... [ 75%] tests/_sync/test_connection_pool.py .................. [ 83%] tests/_sync/test_http11.py ............ [ 89%] tests/_sync/test_http2.py .......... [ 93%] tests/_sync/test_http_proxy.py ..... [ 96%] tests/_sync/test_integration.py .F. [ 97%] tests/_sync/test_socks_proxy.py ..... [100%] =================================== FAILURES =================================== ______________ test_connection_pool_timeout_during_response[trio] ______________ @pytest.mark.anyio async def test_connection_pool_timeout_during_response(): """ An async timeout when reading an HTTP/1.1 response on the connection pool should leave the pool in a consistent state. In this case, that means the connection will become closed, and no longer remain in the pool. """ network_backend = SlowReadBackend( [ b"HTTP/1.1 200 OK\r\n", b"Content-Type: plain/text\r\n", b"Content-Length: 1000\r\n", b"\r\n", b"Hello, world!...", ] ) async with httpcore.AsyncConnectionPool(network_backend=network_backend) as pool: with anyio.move_on_after(0.01): await pool.request("GET", "http://example.com") > assert not pool.connections E AssertionError: assert not [] E + where [] = .connections tests/test_cancellations.py:135: AssertionError __________________________ test_ssl_request[asyncio] ___________________________ self = <_SelectorSocketTransport closed fd=16> data = b'\x17\x03\x03\x00:\xb2\xcdh\xf7I\xac\xac\xb3\x87\xf5\x1b\xfe(\x14\xec&\xcd\xf730\xf1\xb1\xee\xc1\xedI\xf5<\xfa\xfcA\x80\xa2\x86L\xd3\x0f\xea;%\x14N1l\xc8_\xfd\xbc\xdcq\xf6jf)NP\xb6\x0f' def write(self, data): if not isinstance(data, (bytes, bytearray, memoryview)): raise TypeError(f'data argument must be a bytes-like object, ' f'not {type(data).__name__!r}') if self._eof: raise RuntimeError('Cannot call write() after write_eof()') if self._empty_waiter is not None: raise RuntimeError('unable to write; sendfile is in progress') if not data: return if self._conn_lost: if self._conn_lost >= constants.LOG_THRESHOLD_FOR_CONNLOST_WRITES: logger.warning('socket.send() raised exception.') self._conn_lost += 1 return if not self._buffer: # Optimization: try to send now. try: > n = self._sock.send(data) E BrokenPipeError: [Errno 32] Broken pipe /usr/lib64/python3.12/asyncio/selector_events.py:1071: BrokenPipeError The above exception was the direct cause of the following exception: map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: > yield httpcore/_exceptions.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536, timeout = None async def read( self, max_bytes: int, timeout: typing.Optional[float] = None ) -> bytes: exc_map = { TimeoutError: ReadTimeout, anyio.BrokenResourceError: ReadError, anyio.ClosedResourceError: ReadError, } with map_exceptions(exc_map): with anyio.fail_after(timeout): try: > return await self._stream.receive(max_bytes=max_bytes) httpcore/_backends/anyio.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLSStream(transport_stream=, standard_compatible=Fal...644500>, _read_bio=<_ssl.MemoryBIO object at 0xffffff8c644e20>, _write_bio=<_ssl.MemoryBIO object at 0xffffff8c644280>) max_bytes = 65536 async def receive(self, max_bytes: int = 65536) -> bytes: > data = await self._call_sslobject_method(self._ssl_object.read, max_bytes) /usr/lib/python3.12/site-packages/anyio/streams/tls.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLSStream(transport_stream=, standard_compatible=Fal...644500>, _read_bio=<_ssl.MemoryBIO object at 0xffffff8c644e20>, _write_bio=<_ssl.MemoryBIO object at 0xffffff8c644280>) func = > args = (65536,) async def _call_sslobject_method( self, func: Callable[..., T_Retval], *args: object ) -> T_Retval: while True: try: result = func(*args) except ssl.SSLWantReadError: try: # Flush any pending writes first if self._write_bio.pending: await self.transport_stream.send(self._write_bio.read()) > data = await self.transport_stream.receive() /usr/lib/python3.12/site-packages/anyio/streams/tls.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536 async def receive(self, max_bytes: int = 65536) -> bytes: with self._receive_guard: await checkpoint() if ( not self._protocol.read_event.is_set() and not self._transport.is_closing() ): self._transport.resume_reading() await self._protocol.read_event.wait() self._transport.pause_reading() try: chunk = self._protocol.read_queue.popleft() except IndexError: if self._closed: raise ClosedResourceError from None elif self._protocol.exception: > raise self._protocol.exception E anyio.BrokenResourceError /usr/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:1212: BrokenResourceError The above exception was the direct cause of the following exception: httpbin_secure = @pytest.mark.anyio async def test_ssl_request(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE async with httpcore.AsyncConnectionPool(ssl_context=ssl_context) as pool: > response = await pool.request("GET", httpbin_secure.url) tests/_async/test_integration.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ httpcore/_async/interfaces.py:43: in request response = await self.handle_async_request(request) httpcore/_async/connection_pool.py:268: in handle_async_request raise exc httpcore/_async/connection_pool.py:251: in handle_async_request response = await connection.handle_async_request(request) httpcore/_async/connection.py:103: in handle_async_request return await self._connection.handle_async_request(request) httpcore/_async/http11.py:133: in handle_async_request raise exc httpcore/_async/http11.py:111: in handle_async_request ) = await self._receive_response_headers(**kwargs) httpcore/_async/http11.py:176: in _receive_response_headers event = await self._receive_event(timeout=timeout) httpcore/_async/http11.py:212: in _receive_event data = await self._network_stream.read( httpcore/_backends/anyio.py:31: in read with map_exceptions(exc_map): /usr/lib64/python3.12/contextlib.py:155: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ReadError httpcore/_exceptions.py:14: ReadError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run ___________________________ test_extra_info[asyncio] ___________________________ httpbin_secure = @pytest.mark.anyio async def test_extra_info(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE async with httpcore.AsyncConnectionPool(ssl_context=ssl_context) as pool: > async with pool.stream("GET", httpbin_secure.url) as response: tests/_async/test_integration.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) httpcore/_async/interfaces.py:75: in stream response = await self.handle_async_request(request) httpcore/_async/connection_pool.py:268: in handle_async_request raise exc httpcore/_async/connection_pool.py:251: in handle_async_request response = await connection.handle_async_request(request) httpcore/_async/connection.py:103: in handle_async_request return await self._connection.handle_async_request(request) httpcore/_async/http11.py:133: in handle_async_request raise exc httpcore/_async/http11.py:111: in handle_async_request ) = await self._receive_response_headers(**kwargs) httpcore/_async/http11.py:176: in _receive_response_headers event = await self._receive_event(timeout=timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = None async def _receive_event( self, timeout: Optional[float] = None ) -> Union[h11.Event, Type[h11.PAUSED]]: while True: with map_exceptions({h11.RemoteProtocolError: RemoteProtocolError}): event = self._h11_state.next_event() if event is h11.NEED_DATA: data = await self._network_stream.read( self.READ_NUM_BYTES, timeout=timeout ) # If we feed this case through h11 we'll raise an exception like: # # httpcore.RemoteProtocolError: can't handle event type # ConnectionClosed when role=SERVER and state=SEND_RESPONSE # # Which is accurate, but not very informative from an end-user # perspective. Instead we handle this case distinctly and treat # it as a ConnectError. if data == b"" and self._h11_state.their_state == h11.SEND_RESPONSE: msg = "Server disconnected without sending a response." > raise RemoteProtocolError(msg) E httpcore.RemoteProtocolError: Server disconnected without sending a response. httpcore/_async/http11.py:226: RemoteProtocolError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run ____________________________ test_extra_info[trio] _____________________________ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: > yield httpcore/_exceptions.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536, timeout = None async def read( self, max_bytes: int, timeout: typing.Optional[float] = None ) -> bytes: timeout_or_inf = float("inf") if timeout is None else timeout exc_map: ExceptionMapping = { trio.TooSlowError: ReadTimeout, trio.BrokenResourceError: ReadError, trio.ClosedResourceError: ReadError, } with map_exceptions(exc_map): with trio.fail_after(timeout_or_inf): > data: bytes = await self._stream.receive_some(max_bytes=max_bytes) httpcore/_backends/trio.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , max_bytes = 65536 async def receive_some(self, max_bytes: int | None = None) -> bytes | bytearray: """Read some data from the underlying transport, decrypt it, and return it. See :meth:`trio.abc.ReceiveStream.receive_some` for details. .. warning:: If this method is cancelled while the initial handshake or a renegotiation are in progress, then it may leave the :class:`SSLStream` in an unusable state. If this happens then any future attempt to use the object will raise :exc:`trio.BrokenResourceError`. """ with self._outer_recv_conflict_detector: > self._check_status() /usr/lib/python3.12/site-packages/trio/_ssl.py:680: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _check_status(self) -> None: if self._state is _State.OK: return elif self._state is _State.BROKEN: > raise trio.BrokenResourceError E trio.BrokenResourceError /usr/lib/python3.12/site-packages/trio/_ssl.py:436: BrokenResourceError The above exception was the direct cause of the following exception: httpbin_secure = @pytest.mark.anyio async def test_extra_info(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE async with httpcore.AsyncConnectionPool(ssl_context=ssl_context) as pool: > async with pool.stream("GET", httpbin_secure.url) as response: tests/_async/test_integration.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) httpcore/_async/interfaces.py:75: in stream response = await self.handle_async_request(request) httpcore/_async/connection_pool.py:268: in handle_async_request raise exc httpcore/_async/connection_pool.py:251: in handle_async_request response = await connection.handle_async_request(request) httpcore/_async/connection.py:103: in handle_async_request return await self._connection.handle_async_request(request) httpcore/_async/http11.py:133: in handle_async_request raise exc httpcore/_async/http11.py:111: in handle_async_request ) = await self._receive_response_headers(**kwargs) httpcore/_async/http11.py:176: in _receive_response_headers event = await self._receive_event(timeout=timeout) httpcore/_async/http11.py:212: in _receive_event data = await self._network_stream.read( httpcore/_backends/trio.py:32: in read with map_exceptions(exc_map): /usr/lib64/python3.12/contextlib.py:155: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ReadError httpcore/_exceptions.py:14: ReadError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run _______________________________ test_ssl_request _______________________________ httpbin_secure = def test_ssl_request(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE with httpcore.ConnectionPool(ssl_context=ssl_context) as pool: > response = pool.request("GET", httpbin_secure.url) tests/_sync/test_integration.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ httpcore/_sync/interfaces.py:43: in request response = self.handle_request(request) httpcore/_sync/connection_pool.py:268: in handle_request raise exc httpcore/_sync/connection_pool.py:251: in handle_request response = connection.handle_request(request) httpcore/_sync/connection.py:103: in handle_request return self._connection.handle_request(request) httpcore/_sync/http11.py:133: in handle_request raise exc httpcore/_sync/http11.py:111: in handle_request ) = self._receive_response_headers(**kwargs) httpcore/_sync/http11.py:176: in _receive_response_headers event = self._receive_event(timeout=timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = None def _receive_event( self, timeout: Optional[float] = None ) -> Union[h11.Event, Type[h11.PAUSED]]: while True: with map_exceptions({h11.RemoteProtocolError: RemoteProtocolError}): event = self._h11_state.next_event() if event is h11.NEED_DATA: data = self._network_stream.read( self.READ_NUM_BYTES, timeout=timeout ) # If we feed this case through h11 we'll raise an exception like: # # httpcore.RemoteProtocolError: can't handle event type # ConnectionClosed when role=SERVER and state=SEND_RESPONSE # # Which is accurate, but not very informative from an end-user # perspective. Instead we handle this case distinctly and treat # it as a ConnectError. if data == b"" and self._h11_state.their_state == h11.SEND_RESPONSE: msg = "Server disconnected without sending a response." > raise RemoteProtocolError(msg) E httpcore.RemoteProtocolError: Server disconnected without sending a response. httpcore/_sync/http11.py:226: RemoteProtocolError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run =============================== warnings summary =============================== tests/test_cancellations.py::test_connection_pool_timeout_during_request[trio] /usr/lib/python3.12/site-packages/anyio/_backends/_trio.py:162: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): tests/_async/test_connection.py::test_write_error_with_response_sent[trio] tests/_async/test_connection.py::test_write_error_without_response_sent[trio] /builddir/build/BUILD/httpcore-1.0.1/httpcore/_async/http11.py:156: ResourceWarning: Async generator 'httpcore._models.ByteStream.__aiter__' was garbage collected before it had been exhausted. Surround its use in 'async with aclosing(...):' to ensure that it gets cleaned up as soon as you're done using it. await self._send_event(event, timeout=timeout) 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/_sync/test_connection_pool.py::test_connection_pool_concurrency_same_domain_closing /usr/lib/python3.12/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-10 (fetch) Traceback (most recent call last): File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/usr/lib64/python3.12/threading.py", line 989, in run self._target(*self._args, **self._kwargs) File "/builddir/build/BUILD/httpcore-1.0.1/tests/_sync/test_connection_pool.py", line 555, in fetch with pool.stream("GET", f"https://{domain}/") as response: File "/usr/lib64/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/interfaces.py", line 75, in stream response = self.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 248, in handle_request raise exc File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 239, in handle_request connection = status.wait_for_connection(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 36, in wait_for_connection self._connection_acquired.wait(timeout=timeout) File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_synchronization.py", line 229, in wait if not self._event.wait(timeout=timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OverflowError: timestamp out of range for platform time_t warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/_sync/test_connection_pool.py::test_connection_pool_concurrency_same_domain_keepalive /usr/lib/python3.12/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-15 (fetch) Traceback (most recent call last): File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/usr/lib64/python3.12/threading.py", line 989, in run self._target(*self._args, **self._kwargs) File "/builddir/build/BUILD/httpcore-1.0.1/tests/_sync/test_connection_pool.py", line 597, in fetch with pool.stream("GET", f"https://{domain}/") as response: File "/usr/lib64/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/interfaces.py", line 75, in stream response = self.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 248, in handle_request raise exc File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 239, in handle_request connection = status.wait_for_connection(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_sync/connection_pool.py", line 36, in wait_for_connection self._connection_acquired.wait(timeout=timeout) File "/builddir/build/BUILD/httpcore-1.0.1/httpcore/_synchronization.py", line 229, in wait if not self._event.wait(timeout=timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OverflowError: timestamp out of range for platform time_t warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ XFAIL tests/test_cancellations.py::test_h2_timeout_during_request[asyncio] XFAIL tests/test_cancellations.py::test_h2_timeout_during_request[trio] XFAIL tests/test_cancellations.py::test_h2_timeout_during_response[asyncio] XFAIL tests/test_cancellations.py::test_h2_timeout_during_response[trio] XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[asyncio] XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[trio] = 5 failed, 202 passed, 4 xfailed, 2 xpassed, 5 warnings in 1649.27s (0:27:29) = error: Bad exit status from /var/tmp/rpm-tmp.SDauQG (%check) Bad exit status from /var/tmp/rpm-tmp.SDauQG (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpcore.spec