Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Wrote: /builddir/build/SRPMS/python-dns-2.3.0-1.an23.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-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vUjaeZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnspython-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dnspython-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dnspython-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(trio = {version=">=0.14,<0.\)20\(", optional=true}\)/\121\2/' pyproject.toml + sed -i 's/\(cryptography = {version=">=2.6,<\)37.0\(", optional=true}\)/\138.0\2/' pyproject.toml + find examples -type f + xargs chmod a-x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OflHYv + umask 022 + cd /builddir/build/BUILD + cd dnspython-2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x dnssec -x idna Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dns-2.3.0-1.an23.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-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bd0Lqy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnspython-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dnspython-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dnspython-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(trio = {version=">=0.14,<0.\)20\(", optional=true}\)/\121\2/' pyproject.toml + sed -i 's/\(cryptography = {version=">=2.6,<\)37.0\(", optional=true}\)/\138.0\2/' pyproject.toml + find examples -type f + xargs chmod a-x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AnD17O + umask 022 + cd /builddir/build/BUILD + cd dnspython-2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x dnssec -x idna Handling poetry-core from build-system.requires Requirement not satisfied: poetry-core Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dns-2.3.0-1.an23.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-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sG1ZMC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnspython-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dnspython-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dnspython-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(trio = {version=">=0.14,<0.\)20\(", optional=true}\)/\121\2/' pyproject.toml + sed -i 's/\(cryptography = {version=">=2.6,<\)37.0\(", optional=true}\)/\138.0\2/' pyproject.toml + find examples -type f + xargs chmod a-x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VnTRQH + umask 022 + cd /builddir/build/BUILD + cd dnspython-2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x dnssec -x idna Handling poetry-core from build-system.requires Requirement satisfied: poetry-core (installed: poetry-core 1.0.7) Handling aioquic (>=0.9.20); extra == "doq" from wheel metadata: Requires-Dist Ignoring alien requirement: aioquic (>=0.9.20); extra == "doq" Handling cryptography (>=2.6,<40.0); extra == "dnssec" from wheel metadata: Requires-Dist Requirement not satisfied: cryptography (>=2.6,<40.0); extra == "dnssec" Handling curio (>=1.2,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: curio (>=1.2,<2.0); extra == "curio" Handling h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") Handling httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") Handling idna (>=2.1,<4.0); extra == "idna" from wheel metadata: Requires-Dist Requirement not satisfied: idna (>=2.1,<4.0); extra == "idna" Handling requests (>=2.23.0,<3.0.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests (>=2.23.0,<3.0.0); extra == "doh" Handling requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" Handling sniffio (>=1.1,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: sniffio (>=1.1,<2.0); extra == "curio" Handling trio (>=0.14,<0.23); extra == "trio" from wheel metadata: Requires-Dist Ignoring alien requirement: trio (>=0.14,<0.23); extra == "trio" Handling wmi (>=1.5.1,<2.0.0); extra == "wmi" from wheel metadata: Requires-Dist Ignoring alien requirement: wmi (>=1.5.1,<2.0.0); extra == "wmi" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dns-2.3.0-1.an23.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-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JHoqvu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnspython-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dnspython-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dnspython-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(trio = {version=">=0.14,<0.\)20\(", optional=true}\)/\121\2/' pyproject.toml + sed -i 's/\(cryptography = {version=">=2.6,<\)37.0\(", optional=true}\)/\138.0\2/' pyproject.toml + find examples -type f + xargs chmod a-x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.C12FC1 + umask 022 + cd /builddir/build/BUILD + cd dnspython-2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x dnssec -x idna Handling poetry-core from build-system.requires Requirement satisfied: poetry-core (installed: poetry-core 1.0.7) Handling aioquic (>=0.9.20); extra == "doq" from wheel metadata: Requires-Dist Ignoring alien requirement: aioquic (>=0.9.20); extra == "doq" Handling cryptography (>=2.6,<40.0); extra == "dnssec" from wheel metadata: Requires-Dist Requirement satisfied: cryptography (>=2.6,<40.0); extra == "dnssec" (installed: cryptography 39.0.0) Handling curio (>=1.2,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: curio (>=1.2,<2.0); extra == "curio" Handling h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") Handling httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") Handling idna (>=2.1,<4.0); extra == "idna" from wheel metadata: Requires-Dist Requirement satisfied: idna (>=2.1,<4.0); extra == "idna" (installed: idna 3.4) Handling requests (>=2.23.0,<3.0.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests (>=2.23.0,<3.0.0); extra == "doh" Handling requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" Handling sniffio (>=1.1,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: sniffio (>=1.1,<2.0); extra == "curio" Handling trio (>=0.14,<0.23); extra == "trio" from wheel metadata: Requires-Dist Ignoring alien requirement: trio (>=0.14,<0.23); extra == "trio" Handling wmi (>=1.5.1,<2.0.0); extra == "wmi" from wheel metadata: Requires-Dist Ignoring alien requirement: wmi (>=1.5.1,<2.0.0); extra == "wmi" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dns-2.3.0-1.an23.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-dns.spec'], chrootPath='/var/lib/mock/dist-an23-build-222999-62203/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=86400uid=990gid=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-dns.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=1677024000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VEpcGo + umask 022 + cd /builddir/build/BUILD + cd dnspython-2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv dnspython-2.3.0.dist-info/ removed 'dnspython-2.3.0.dist-info/WHEEL' removed 'dnspython-2.3.0.dist-info/METADATA' removed directory 'dnspython-2.3.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x dnssec -x idna Handling poetry-core from build-system.requires Requirement satisfied: poetry-core (installed: poetry-core 1.0.7) Handling aioquic (>=0.9.20); extra == "doq" from wheel metadata: Requires-Dist Ignoring alien requirement: aioquic (>=0.9.20); extra == "doq" Handling cryptography (>=2.6,<40.0); extra == "dnssec" from wheel metadata: Requires-Dist Requirement satisfied: cryptography (>=2.6,<40.0); extra == "dnssec" (installed: cryptography 39.0.0) Handling curio (>=1.2,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: curio (>=1.2,<2.0); extra == "curio" Handling h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: h2 (>=4.1.0); (python_full_version >= "3.6.2") and (extra == "doh") Handling httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") from wheel metadata: Requires-Dist Ignoring alien requirement: httpx (>=0.21.1); (python_full_version >= "3.6.2") and (extra == "doh") Handling idna (>=2.1,<4.0); extra == "idna" from wheel metadata: Requires-Dist Requirement satisfied: idna (>=2.1,<4.0); extra == "idna" (installed: idna 3.4) Handling requests (>=2.23.0,<3.0.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests (>=2.23.0,<3.0.0); extra == "doh" Handling requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" from wheel metadata: Requires-Dist Ignoring alien requirement: requests-toolbelt (>=0.9.1,<0.11.0); extra == "doh" Handling sniffio (>=1.1,<2.0); extra == "curio" from wheel metadata: Requires-Dist Ignoring alien requirement: sniffio (>=1.1,<2.0); extra == "curio" Handling trio (>=0.14,<0.23); extra == "trio" from wheel metadata: Requires-Dist Ignoring alien requirement: trio (>=0.14,<0.23); extra == "trio" Handling wmi (>=1.5.1,<2.0.0); extra == "wmi" from wheel metadata: Requires-Dist Ignoring alien requirement: wmi (>=1.5.1,<2.0.0); extra == "wmi" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zmqopO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 dnspython-2.3.0 + mkdir -p /builddir/build/BUILD/dnspython-2.3.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/dnspython-2.3.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/dnspython-2.3.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/dnspython-2.3.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: dnspython Building wheel for dnspython (pyproject.toml): started Running command Building wheel for dnspython (pyproject.toml) Building wheel for dnspython (pyproject.toml): finished with status 'done' Created wheel for dnspython: filename=dnspython-2.3.0-py3-none-any.whl size=283672 sha256=7fb0f8d23774e658d903abb62b5cdeca96220f9e9a216ca9848ae20e8c30b3c2 Stored in directory: /builddir/.cache/pip/wheels/5f/b8/f2/520df58ba4855d62951d26ef844852fd7a64d6f74361235fce Successfully built dnspython + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J1b4mO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 dnspython-2.3.0 ++ ls /builddir/build/BUILD/dnspython-2.3.0/pyproject-wheeldir/dnspython-2.3.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=dnspython==2.3.0 + TMPDIR=/builddir/build/BUILD/dnspython-2.3.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch --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/dnspython-2.3.0/pyproject-wheeldir dnspython==2.3.0 Using pip 22.3.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/dnspython-2.3.0/pyproject-wheeldir Processing ./pyproject-wheeldir/dnspython-2.3.0-py3-none-any.whl Installing collected packages: dnspython Successfully installed dnspython-2.3.0 + '[' -d /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch --record /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages/dnspython-2.3.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr dns + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 2.3.0-1.an23 --unique-debug-suffix -2.3.0-1.an23.noarch --unique-debug-src-base python-dns-2.3.0-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dnspython-2.3.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/relink_symlinks + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8WX4SD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 dnspython-2.3.0 + export OPENSSL_ENABLE_SHA1_SIGNATURES=yes + OPENSSL_ENABLE_SHA1_SIGNATURES=yes + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-dns-2.3.0-1.an23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/dnspython-2.3.0/.pyproject-builddir' + /usr/bin/pytest --ignore tests/test_async.py --ignore tests/test_resolver.py --ignore tests/test_resolver_override.py ============================= test session starts ============================== platform linux -- Python 3.10.10, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/dnspython-2.3.0 collected 1129 items tests/test_address.py .... [ 0%] tests/test_bugs.py ....... [ 0%] tests/test_constants.py ..... [ 1%] tests/test_dnssec.py ................................................... [ 5%] ......... [ 6%] tests/test_doh.py ssssssssssssss [ 7%] tests/test_doq.py ss [ 8%] tests/test_edns.py .............. [ 9%] tests/test_entropy.py ..... [ 9%] tests/test_exceptions.py ..... [ 10%] tests/test_flags.py ............ [ 11%] tests/test_generate.py ................. [ 12%] tests/test_grange.py .......... [ 13%] tests/test_immutable.py ...... [ 14%] tests/test_message.py .................................................. [ 18%] ............... [ 20%] tests/test_name.py ..................................................... [ 24%] ........................................................................ [ 31%] ............................................... [ 35%] tests/test_namedict.py ...................... [ 37%] tests/test_nsec3.py .. [ 37%] tests/test_nsec3_hash.py ... [ 37%] tests/test_ntoaaton.py ............................................. [ 41%] tests/test_processing_order.py .......... [ 42%] tests/test_query.py ..FFF.................ssssssssssss.. [ 45%] tests/test_rdata.py .................................................... [ 50%] ...................................... [ 53%] tests/test_rdataset.py .................. [ 55%] tests/test_rdtypeandclass.py .......................... [ 57%] tests/test_rdtypeanydnskey.py .. [ 57%] tests/test_rdtypeanyeui.py ........................ [ 59%] tests/test_rdtypeanyloc.py .... [ 60%] tests/test_rdtypeanytkey.py .... [ 60%] tests/test_renderer.py ..... [ 61%] tests/test_resolution.py .............................. [ 63%] tests/test_rrset.py ...................... [ 65%] tests/test_rrset_reader.py ............ [ 66%] tests/test_serial.py ........... [ 67%] tests/test_set.py ................................................... [ 72%] tests/test_svcb.py ................ [ 73%] tests/test_tokenizer.py ................................................ [ 77%] [ 77%] tests/test_transaction.py ............................................. [ 81%] tests/test_tsig.py .................... [ 83%] tests/test_tsigkeyring.py ....... [ 84%] tests/test_ttl.py ....... [ 84%] tests/test_update.py ....................... [ 86%] tests/test_wire.py ....... [ 87%] tests/test_xfr.py ...........................ssss [ 90%] tests/test_zone.py ..................................................... [ 94%] .............................................. [ 99%] tests/test_zonedigest.py ........... [100%] =================================== FAILURES =================================== ___________________________ QueryTests.testQueryTLS ____________________________ self = @unittest.skipUnless(have_ssl, "No SSL support") def testQueryTLS(self): for address in query_addresses: qname = dns.name.from_text("dns.google.") q = dns.message.make_query(qname, dns.rdatatype.A) > response = dns.query.tls(q, address, timeout=2) tests/test_query.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dns/query.py:1047: in tls _connect(s, destination, expiration) dns/query.py:873: in _connect _wait_for_writable(s, expiration) dns/query.py:182: in _wait_for_writable _wait_for(s, False, True, True, expiration) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fd = readable = False, writable = True, _ = True, expiration = 1677222150.14304 def _wait_for(fd, readable, writable, _, expiration): # Use the selected selector class to wait for any of the specified # events. An "expiration" absolute time is converted into a relative # timeout. # # The unused parameter is 'error', which is always set when # selecting for read or write, and we have no error-only selects. if readable and isinstance(fd, ssl.SSLSocket) and fd.pending() > 0: return True sel = _selector_class() events = 0 if readable: events |= selectors.EVENT_READ if writable: events |= selectors.EVENT_WRITE if events: sel.register(fd, events) if expiration is None: timeout = None else: timeout = expiration - time.time() if timeout <= 0.0: raise dns.exception.Timeout if not sel.select(timeout): > raise dns.exception.Timeout E dns.exception.Timeout: The DNS operation timed out. dns/query.py:154: Timeout ______________________ QueryTests.testQueryTLSWithSocket _______________________ self = @unittest.skipUnless(have_ssl, "No SSL support") def testQueryTLSWithSocket(self): for address in query_addresses: with socket.socket( dns.inet.af_for_address(address), socket.SOCK_STREAM ) as base_s: ll = dns.inet.low_level_address_tuple((address, 853)) base_s.settimeout(2) > base_s.connect(ll) E TimeoutError: timed out tests/test_query.py:151: TimeoutError ______________________ QueryTests.testQueryTLSwithPadding ______________________ self = @unittest.skipUnless(have_ssl, "No SSL support") def testQueryTLSwithPadding(self): for address in query_addresses: qname = dns.name.from_text("dns.google.") q = dns.message.make_query(qname, dns.rdatatype.A, use_edns=0, pad=128) > response = dns.query.tls(q, address, timeout=2) tests/test_query.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dns/query.py:1047: in tls _connect(s, destination, expiration) dns/query.py:873: in _connect _wait_for_writable(s, expiration) dns/query.py:182: in _wait_for_writable _wait_for(s, False, True, True, expiration) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fd = readable = False, writable = True, _ = True, expiration = 1677222154.2110949 def _wait_for(fd, readable, writable, _, expiration): # Use the selected selector class to wait for any of the specified # events. An "expiration" absolute time is converted into a relative # timeout. # # The unused parameter is 'error', which is always set when # selecting for read or write, and we have no error-only selects. if readable and isinstance(fd, ssl.SSLSocket) and fd.pending() > 0: return True sel = _selector_class() events = 0 if readable: events |= selectors.EVENT_READ if writable: events |= selectors.EVENT_WRITE if events: sel.register(fd, events) if expiration is None: timeout = None else: timeout = expiration - time.time() if timeout <= 0.0: raise dns.exception.Timeout if not sel.select(timeout): > raise dns.exception.Timeout E dns.exception.Timeout: The DNS operation timed out. dns/query.py:154: Timeout =========================== short test summary info ============================ FAILED tests/test_query.py::QueryTests::testQueryTLS - dns.exception.Timeout:... FAILED tests/test_query.py::QueryTests::testQueryTLSWithSocket - TimeoutError... FAILED tests/test_query.py::QueryTests::testQueryTLSwithPadding - dns.excepti... ================= 3 failed, 1094 passed, 32 skipped in 10.54s ================== error: Bad exit status from /var/tmp/rpm-tmp.8WX4SD (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8WX4SD (%check) 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-dns.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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-dns.spec