Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-elastic-transport.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55786-14784/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=991gid=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-elastic-transport.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 Wrote: /builddir/build/SRPMS/python-elastic-transport-8.4.0-2.oc9.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-elastic-transport.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55786-14784/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=991gid=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-elastic-transport.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RYcUnL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elastic-transport-python-8.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/elastic-transport-8.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elastic-transport-python-8.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/^import mock/from unittest import mock/' -e 's/^from mock import /from unittest.mock import /' tests/node/__init__.py tests/node/test_base.py tests/node/test_http_aiohttp.py tests/node/test_http_requests.py tests/node/test_http_urllib3.py tests/node/test_tls_versions.py tests/node/test_urllib3_chain_certs.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.J0NIEB + umask 022 + cd /builddir/build/BUILD + cd elastic-transport-python-8.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x develop Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elastic-transport-8.4.0-2.oc9.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-elastic-transport.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55786-14784/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=991gid=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-elastic-transport.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I8qHpl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elastic-transport-python-8.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/elastic-transport-8.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elastic-transport-python-8.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/^import mock/from unittest import mock/' -e 's/^from mock import /from unittest.mock import /' tests/node/__init__.py tests/node/test_base.py tests/node/test_http_aiohttp.py tests/node/test_http_requests.py tests/node/test_http_urllib3.py tests/node/test_tls_versions.py tests/node/test_urllib3_chain_certs.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.tFijFK + umask 022 + cd /builddir/build/BUILD + cd elastic-transport-python-8.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x develop Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running egg_info HOOK STDOUT: creating elastic_transport.egg-info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running dist_info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/elastic-transport-python-8.4.0/elastic_transport-8.4.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling urllib3 (<2,>=1.26.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2,>=1.26.2) (installed: urllib3 1.26.12) Handling certifi from wheel metadata: Requires-Dist Requirement not satisfied: certifi Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling pytest ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'develop' (installed: pytest 7.1.3) Handling pytest-cov ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-cov ; extra == 'develop' Handling pytest-mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-mock ; extra == 'develop' Handling pytest-asyncio ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-asyncio ; extra == 'develop' Handling pytest-httpserver ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-httpserver ; extra == 'develop' Handling trustme ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: trustme ; extra == 'develop' (installed: trustme 0.9.0) Handling mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: mock ; extra == 'develop' Handling requests ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: requests ; extra == 'develop' (installed: requests 2.28.1) Handling aiohttp ; extra == 'develop' from wheel metadata: Requires-Dist Requirement not satisfied: aiohttp ; extra == 'develop' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elastic-transport-8.4.0-2.oc9.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-elastic-transport.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55786-14784/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=991gid=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-elastic-transport.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.etxurw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elastic-transport-python-8.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/elastic-transport-8.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elastic-transport-python-8.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/^import mock/from unittest import mock/' -e 's/^from mock import /from unittest.mock import /' tests/node/__init__.py tests/node/test_base.py tests/node/test_http_aiohttp.py tests/node/test_http_requests.py tests/node/test_http_urllib3.py tests/node/test_tls_versions.py tests/node/test_urllib3_chain_certs.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TF3e0h + umask 022 + cd /builddir/build/BUILD + cd elastic-transport-python-8.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x develop Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running egg_info HOOK STDOUT: creating elastic_transport.egg-info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running dist_info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/elastic-transport-python-8.4.0/elastic_transport-8.4.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling urllib3 (<2,>=1.26.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2,>=1.26.2) (installed: urllib3 1.26.12) Handling certifi from wheel metadata: Requires-Dist Requirement satisfied: certifi (installed: certifi 2021.10.8) Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling pytest ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'develop' (installed: pytest 7.1.3) Handling pytest-cov ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-cov ; extra == 'develop' (installed: pytest-cov 4.0.0) Handling pytest-mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-mock ; extra == 'develop' (installed: pytest-mock 3.10.0) Handling pytest-asyncio ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-asyncio ; extra == 'develop' (installed: pytest-asyncio 0.20.2) Handling pytest-httpserver ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-httpserver ; extra == 'develop' (installed: pytest-httpserver 1.0.4) Handling trustme ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: trustme ; extra == 'develop' (installed: trustme 0.9.0) Handling mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: mock ; extra == 'develop' (installed: mock 4.0.3) Handling requests ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: requests ; extra == 'develop' (installed: requests 2.28.1) Handling aiohttp ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: aiohttp ; extra == 'develop' (installed: aiohttp 3.8.4) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elastic-transport-8.4.0-2.oc9.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-elastic-transport.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55786-14784/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=991gid=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-elastic-transport.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5Yhwrt + umask 022 + cd /builddir/build/BUILD + cd elastic-transport-python-8.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv elastic_transport-8.4.0.dist-info/ removed 'elastic_transport-8.4.0.dist-info/METADATA' removed 'elastic_transport-8.4.0.dist-info/LICENSE' removed 'elastic_transport-8.4.0.dist-info/top_level.txt' removed directory 'elastic_transport-8.4.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r -x develop Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running egg_info HOOK STDOUT: creating elastic_transport.egg-info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' HOOK STDOUT: running dist_info HOOK STDOUT: writing elastic_transport.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to elastic_transport.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to elastic_transport.egg-info/requires.txt HOOK STDOUT: writing top-level names to elastic_transport.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'elastic_transport.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/elastic-transport-python-8.4.0/elastic_transport-8.4.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling urllib3 (<2,>=1.26.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2,>=1.26.2) (installed: urllib3 1.26.12) Handling certifi from wheel metadata: Requires-Dist Requirement satisfied: certifi (installed: certifi 2021.10.8) Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling pytest ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'develop' (installed: pytest 7.1.3) Handling pytest-cov ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-cov ; extra == 'develop' (installed: pytest-cov 4.0.0) Handling pytest-mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-mock ; extra == 'develop' (installed: pytest-mock 3.10.0) Handling pytest-asyncio ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-asyncio ; extra == 'develop' (installed: pytest-asyncio 0.20.2) Handling pytest-httpserver ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: pytest-httpserver ; extra == 'develop' (installed: pytest-httpserver 1.0.4) Handling trustme ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: trustme ; extra == 'develop' (installed: trustme 0.9.0) Handling mock ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: mock ; extra == 'develop' (installed: mock 4.0.3) Handling requests ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: requests ; extra == 'develop' (installed: requests 2.28.1) Handling aiohttp ; extra == 'develop' from wheel metadata: Requires-Dist Requirement satisfied: aiohttp ; extra == 'develop' (installed: aiohttp 3.8.4) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2VBEkj + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 elastic-transport-python-8.4.0 + mkdir -p /builddir/build/BUILD/elastic-transport-python-8.4.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/elastic-transport-python-8.4.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/elastic-transport-python-8.4.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info writing /builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-modern-metadata-94rtz8u7/elastic_transport-8.4.0.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: elastic-transport Building wheel for elastic-transport (pyproject.toml): started Running command Building wheel for elastic-transport (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/elastic_transport copying elastic_transport/_models.py -> build/lib/elastic_transport copying elastic_transport/_transport.py -> build/lib/elastic_transport copying elastic_transport/_compat.py -> build/lib/elastic_transport copying elastic_transport/client_utils.py -> build/lib/elastic_transport copying elastic_transport/__init__.py -> build/lib/elastic_transport copying elastic_transport/_version.py -> build/lib/elastic_transport copying elastic_transport/_utils.py -> build/lib/elastic_transport copying elastic_transport/_serializer.py -> build/lib/elastic_transport copying elastic_transport/_async_transport.py -> build/lib/elastic_transport copying elastic_transport/_response.py -> build/lib/elastic_transport copying elastic_transport/_exceptions.py -> build/lib/elastic_transport copying elastic_transport/_node_pool.py -> build/lib/elastic_transport creating build/lib/elastic_transport/_node copying elastic_transport/_node/_urllib3_chain_certs.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/_base.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/_http_urllib3.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/__init__.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/_base_async.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/_http_requests.py -> build/lib/elastic_transport/_node copying elastic_transport/_node/_http_aiohttp.py -> build/lib/elastic_transport/_node copying elastic_transport/py.typed -> build/lib/elastic_transport installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_models.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_transport.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_compat.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/client_utils.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/__init__.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_version.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_utils.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_serializer.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_async_transport.py -> build/bdist.linux-aarch64/wheel/elastic_transport creating build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_urllib3_chain_certs.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_base.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_http_urllib3.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/__init__.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_base_async.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_http_requests.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_node/_http_aiohttp.py -> build/bdist.linux-aarch64/wheel/elastic_transport/_node copying build/lib/elastic_transport/_response.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/py.typed -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_exceptions.py -> build/bdist.linux-aarch64/wheel/elastic_transport copying build/lib/elastic_transport/_node_pool.py -> build/bdist.linux-aarch64/wheel/elastic_transport running install_egg_info running egg_info creating elastic_transport.egg-info writing elastic_transport.egg-info/PKG-INFO writing dependency_links to elastic_transport.egg-info/dependency_links.txt writing requirements to elastic_transport.egg-info/requires.txt writing top-level names to elastic_transport.egg-info/top_level.txt writing manifest file 'elastic_transport.egg-info/SOURCES.txt' reading manifest file 'elastic_transport.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'elastic_transport.egg-info/SOURCES.txt' Copying elastic_transport.egg-info to build/bdist.linux-aarch64/wheel/elastic_transport-8.4.0-py3.10.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-aarch64/wheel/elastic_transport-8.4.0.dist-info/WHEEL creating '/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir/pip-wheel-mfd92d12/tmpcrdqipkf/elastic_transport-8.4.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'elastic_transport/__init__.py' adding 'elastic_transport/_async_transport.py' adding 'elastic_transport/_compat.py' adding 'elastic_transport/_exceptions.py' adding 'elastic_transport/_models.py' adding 'elastic_transport/_node_pool.py' adding 'elastic_transport/_response.py' adding 'elastic_transport/_serializer.py' adding 'elastic_transport/_transport.py' adding 'elastic_transport/_utils.py' adding 'elastic_transport/_version.py' adding 'elastic_transport/client_utils.py' adding 'elastic_transport/py.typed' adding 'elastic_transport/_node/__init__.py' adding 'elastic_transport/_node/_base.py' adding 'elastic_transport/_node/_base_async.py' adding 'elastic_transport/_node/_http_aiohttp.py' adding 'elastic_transport/_node/_http_requests.py' adding 'elastic_transport/_node/_http_urllib3.py' adding 'elastic_transport/_node/_urllib3_chain_certs.py' adding 'elastic_transport-8.4.0.dist-info/LICENSE' adding 'elastic_transport-8.4.0.dist-info/METADATA' adding 'elastic_transport-8.4.0.dist-info/WHEEL' adding 'elastic_transport-8.4.0.dist-info/top_level.txt' adding 'elastic_transport-8.4.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for elastic-transport (pyproject.toml): finished with status 'done' Created wheel for elastic-transport: filename=elastic_transport-8.4.0-py3-none-any.whl size=59484 sha256=b086c3676399a37e276bc59f60e888a5b847f4d1c385fe23e1401c9a30c48904 Stored in directory: /builddir/.cache/pip/wheels/3d/a3/d1/b409c8922ba96fc5ee6b8e2709074b4c981256c1f4d3870b6d Successfully built elastic-transport + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lh0K3j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch + cd elastic-transport-python-8.4.0 ++ ls /builddir/build/BUILD/elastic-transport-python-8.4.0/pyproject-wheeldir/elastic_transport-8.4.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=elastic_transport==8.4.0 + TMPDIR=/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.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/elastic-transport-python-8.4.0/pyproject-wheeldir elastic_transport==8.4.0 Using pip 22.1.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/elastic-transport-python-8.4.0/pyproject-wheeldir Processing ./pyproject-wheeldir/elastic_transport-8.4.0-py3-none-any.whl Installing collected packages: elastic_transport Successfully installed elastic_transport-8.4.0 + '[' -d /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch --record /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages/elastic_transport-8.4.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/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.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 elastic_transport + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 8.4.0-2.oc9 --unique-debug-suffix -8.4.0-2.oc9.noarch --unique-debug-src-base python-elastic-transport-8.4.0-2.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/elastic-transport-python-8.4.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7sSyrP + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 elastic-transport-python-8.4.0 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/elastic-transport-python-8.4.0/.pyproject-builddir' + /usr/bin/pytest -v -k 'not test_http_aiohttp and not test_urllib3_chain_certs and not test_tls_versions' ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/elastic-transport-python-8.4.0, configfile: setup.cfg plugins: cov-4.0.0, httpserver-1.0.4, asyncio-0.20.2, mock-3.10.0 asyncio: mode=strict collecting ... collected 408 items / 97 deselected / 311 selected tests/test_client_utils.py::test_create_user_agent PASSED [ 0%] tests/test_client_utils.py::test_client_meta_version[7.10.0-7.10.0] PASSED [ 0%] tests/test_client_utils.py::test_client_meta_version[7.10.0-alpha1-7.10.0p] PASSED [ 0%] tests/test_client_utils.py::test_client_meta_version[3.9.0b1-3.9.0p] PASSED [ 1%] tests/test_client_utils.py::test_client_meta_version[3.9.pre1-3.9p] PASSED [ 1%] tests/test_client_utils.py::test_client_meta_version[3.7.4.post1-3.7.4] PASSED [ 1%] tests/test_client_utils.py::test_client_meta_version[3.7.4.post-3.7.4] PASSED [ 2%] tests/test_client_utils.py::test_parse_cloud_id PASSED [ 2%] tests/test_client_utils.py::test_parse_cloud_id_ports[:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbzo5MjQzJDRmYTg4MjFlNzU2MzQwMzJiZWQxY2YyMjExMGUyZjk3JDRmYTg4MjFlNzU2MzQwMzJiZWQxY2YyMjExMGUyZjk2-9243] PASSED [ 2%] tests/test_client_utils.py::test_parse_cloud_id_ports[:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbzo0NDMkNGZhODgyMWU3NTYzNDAzMmJlZDFjZjIyMTEwZTJmOTckNGZhODgyMWU3NTYzNDAzMmJlZDFjZjIyMTEwZTJmOTY=-443] PASSED [ 3%] tests/test_client_utils.py::test_parse_cloud_id_no_kibana[cluster:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbyQ0ZmE4ODIxZTc1NjM0MDMyYmVkMWNmMjIxMTBlMmY5NyQ=] PASSED [ 3%] tests/test_client_utils.py::test_parse_cloud_id_no_kibana[cluster:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbyQ0ZmE4ODIxZTc1NjM0MDMyYmVkMWNmMjIxMTBlMmY5Nw==] PASSED [ 3%] tests/test_client_utils.py::test_parse_cloud_id_no_es[cluster:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbzo0NDMkJA==] PASSED [ 4%] tests/test_client_utils.py::test_parse_cloud_id_no_es[cluster:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbzo0NDM=] PASSED [ 4%] tests/test_client_utils.py::test_invalid_cloud_id[cluster:] PASSED [ 4%] tests/test_client_utils.py::test_invalid_cloud_id[dXMtZWFzdC0xLmF3cy5mb3VuZC5pbyQ0ZmE4ODIxZTc1NjM0MDMyYmVkMWNmMjIxMTBlMmY5NyQ=] PASSED [ 5%] tests/test_client_utils.py::test_invalid_cloud_id[cluster:\u0101] PASSED [ 5%] tests/test_client_utils.py::test_url_to_node_config[http://localhost:3002-http://localhost:3002-] PASSED [ 5%] tests/test_client_utils.py::test_url_to_node_config[http://127.0.0.1:3002-http://127.0.0.1:3002-] PASSED [ 6%] tests/test_client_utils.py::test_url_to_node_config[http://127.0.0.1:3002/-http://127.0.0.1:3002-] PASSED [ 6%] tests/test_client_utils.py::test_url_to_node_config[http://127.0.0.1:3002/path-prefix-http://127.0.0.1:3002/path-prefix-/path-prefix] PASSED [ 6%] tests/test_client_utils.py::test_url_to_node_config[http://localhost:3002/url-prefix/-http://localhost:3002/url-prefix-/url-prefix] PASSED [ 7%] tests/test_client_utils.py::test_url_to_node_config[http://[::1]:3002/url-prefix-http://[::1]:3002/url-prefix-/url-prefix] PASSED [ 7%] tests/test_client_utils.py::test_url_to_node_config[https://[::1]:0/-https://[::1]:0-] PASSED [ 7%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost:0] PASSED [ 8%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]:3002/url-prefix] PASSED [ 8%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost] PASSED [ 8%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost/] PASSED [ 9%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost:3] PASSED [ 9%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]/url-prefix/] PASSED [ 9%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]] PASSED [ 9%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]:3002] PASSED [ 10%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[http://localhost] PASSED [ 10%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost/url-prefix/] PASSED [ 10%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[localhost:3002/url-prefix] PASSED [ 11%] tests/test_client_utils.py::test_url_to_node_config_error_missing_component[http://localhost/url-prefix] PASSED [ 11%] tests/test_client_utils.py::test_url_to_node_config_use_default_ports_for_scheme[http://127.0.0.1-80] PASSED [ 11%] tests/test_client_utils.py::test_url_to_node_config_use_default_ports_for_scheme[http://[::1]-80] PASSED [ 12%] tests/test_client_utils.py::test_url_to_node_config_use_default_ports_for_scheme[HTTPS://localhost-443] PASSED [ 12%] tests/test_client_utils.py::test_url_to_node_config_use_default_ports_for_scheme[https://localhost/url-prefix-443] PASSED [ 12%] tests/test_client_utils.py::test_url_with_auth_into_authorization PASSED [ 13%] tests/test_client_utils.py::test_basic_auth_errors[0] PASSED [ 13%] tests/test_client_utils.py::test_basic_auth_errors[1] PASSED [ 13%] tests/test_client_utils.py::test_basic_auth_errors[basic_auth2] PASSED [ 14%] tests/test_client_utils.py::test_basic_auth_errors[basic_auth3] PASSED [ 14%] tests/test_client_utils.py::test_basic_auth_errors[basic_auth4] PASSED [ 14%] tests/test_client_utils.py::test_basic_auth_errors[basic_auth5] PASSED [ 15%] tests/test_client_utils.py::test_basic_auth_errors[False] PASSED [ 15%] tests/test_client_utils.py::test_basic_auth_errors[basic_auth7] PASSED [ 15%] tests/test_exceptions.py::test_exception_repr_and_str PASSED [ 16%] tests/test_exceptions.py::test_api_error_status_repr PASSED [ 16%] tests/test_exceptions.py::test_api_error_is_not_transport_error PASSED [ 16%] tests/test_exceptions.py::test_transport_error_is_not_api_error PASSED [ 17%] tests/test_httpbin.py::test_simple_request[urllib3] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 17%] tests/test_httpbin.py::test_simple_request[requests] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 17%] tests/test_httpbin.py::test_node[urllib3] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 18%] tests/test_httpbin.py::test_node[requests] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 18%] tests/test_httpserver.py::test_simple_request[urllib3] PASSED [ 18%] tests/test_httpserver.py::test_simple_request[requests] PASSED [ 18%] tests/test_logging.py::test_debug_logging[Urllib3HttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 19%] tests/test_logging.py::test_debug_logging[RequestsHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 19%] tests/test_logging.py::test_debug_logging[AiohttpHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 19%] tests/test_logging.py::test_debug_logging_uncompressed_body[Urllib3HttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 20%] tests/test_logging.py::test_debug_logging_uncompressed_body[RequestsHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 20%] tests/test_logging.py::test_debug_logging_uncompressed_body[AiohttpHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 20%] tests/test_logging.py::test_debug_logging_no_body[Urllib3HttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 21%] tests/test_logging.py::test_debug_logging_no_body[RequestsHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 21%] tests/test_logging.py::test_debug_logging_no_body[AiohttpHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 21%] tests/test_logging.py::test_debug_logging_error[Urllib3HttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 22%] tests/test_logging.py::test_debug_logging_error[RequestsHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 22%] tests/test_logging.py::test_debug_logging_error[AiohttpHttpNode] SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 22%] tests/test_models.py::test_empty_node_config PASSED [ 23%] tests/test_models.py::test_headers_frozen PASSED [ 23%] tests/test_models.py::test_headers_hide_auth[headers0-{'field': 'value'}] PASSED [ 23%] tests/test_models.py::test_headers_hide_auth[headers1-{'Authorization': ''}] PASSED [ 24%] tests/test_models.py::test_headers_hide_auth[headers2-{'authorization': ''}] PASSED [ 24%] tests/test_models.py::test_headers_hide_auth[headers3-{'authorization': 'Basic '}] PASSED [ 24%] tests/test_models.py::test_headers_hide_auth[headers4-{'authorization': 'ApiKey '}] PASSED [ 25%] tests/test_models.py::test_headers_hide_auth[headers5-{'authorization': 'Bearer '}] PASSED [ 25%] tests/test_node_pool.py::test_node_pool_repr PASSED [ 25%] tests/test_node_pool.py::test_node_pool_empty_error PASSED [ 26%] tests/test_node_pool.py::test_node_pool_duplicate_node_configs PASSED [ 26%] tests/test_node_pool.py::test_node_pool_get PASSED [ 26%] tests/test_node_pool.py::test_node_pool_remove_seed_node PASSED [ 27%] tests/test_node_pool.py::test_node_pool_add_and_remove_non_seed_node PASSED [ 27%] tests/test_node_pool.py::test_added_node_is_used_first PASSED [ 27%] tests/test_node_pool.py::test_round_robin_selector PASSED [ 27%] tests/test_node_pool.py::test_all_dead_nodes_still_gets_node[node_configs0] PASSED [ 28%] tests/test_node_pool.py::test_all_dead_nodes_still_gets_node[node_configs1] PASSED [ 28%] tests/test_node_pool.py::test_unknown_selector_class PASSED [ 28%] tests/test_node_pool.py::test_disable_randomize_nodes PASSED [ 29%] tests/test_node_pool.py::test_nodes_randomized_by_default PASSED [ 29%] tests/test_node_pool.py::test_dead_nodes_are_skipped PASSED [ 29%] tests/test_node_pool.py::test_dead_node_backoff_calculation PASSED [ 30%] tests/test_node_pool.py::test_add_node_after_sniffing PASSED [ 30%] tests/test_node_pool.py::test_threading_test[1] PASSED [ 30%] tests/test_node_pool.py::test_threading_test[8] PASSED [ 31%] tests/test_package.py::test__all__sorted[elastic_transport] PASSED [ 31%] tests/test_package.py::test__all__sorted[elastic_transport.client_utils] PASSED [ 31%] tests/test_package.py::test__all__is_importable[elastic_transport] PASSED [ 32%] tests/test_package.py::test__all__is_importable[elastic_transport.client_utils] PASSED [ 32%] tests/test_package.py::test_module_rewritten PASSED [ 32%] tests/test_response.py::test_response_meta[TextApiResponse] PASSED [ 33%] tests/test_response.py::test_response_meta[BinaryApiResponse] PASSED [ 33%] tests/test_response.py::test_response_meta[ObjectApiResponse] PASSED [ 33%] tests/test_response.py::test_response_meta[ListApiResponse] PASSED [ 34%] tests/test_response.py::test_head_response PASSED [ 34%] tests/test_response.py::test_text_response PASSED [ 34%] tests/test_response.py::test_binary_response PASSED [ 35%] tests/test_response.py::test_list_response PASSED [ 35%] tests/test_response.py::test_list_object_response PASSED [ 35%] tests/test_response.py::test_constructor_type_errors[args0-kwargs0-ObjectApiResponse] PASSED [ 36%] tests/test_response.py::test_constructor_type_errors[args0-kwargs0-ListApiResponse] PASSED [ 36%] tests/test_response.py::test_constructor_type_errors[args0-kwargs0-TextApiResponse] PASSED [ 36%] tests/test_response.py::test_constructor_type_errors[args0-kwargs0-BinaryApiResponse] PASSED [ 36%] tests/test_response.py::test_constructor_type_errors[args1-kwargs1-ObjectApiResponse] PASSED [ 37%] tests/test_response.py::test_constructor_type_errors[args1-kwargs1-ListApiResponse] PASSED [ 37%] tests/test_response.py::test_constructor_type_errors[args1-kwargs1-TextApiResponse] PASSED [ 37%] tests/test_response.py::test_constructor_type_errors[args1-kwargs1-BinaryApiResponse] PASSED [ 38%] tests/test_response.py::test_constructor_type_errors[args2-kwargs2-ObjectApiResponse] PASSED [ 38%] tests/test_response.py::test_constructor_type_errors[args2-kwargs2-ListApiResponse] PASSED [ 38%] tests/test_response.py::test_constructor_type_errors[args2-kwargs2-TextApiResponse] PASSED [ 39%] tests/test_response.py::test_constructor_type_errors[args2-kwargs2-BinaryApiResponse] PASSED [ 39%] tests/test_response.py::test_constructor_type_errors[args3-kwargs3-ObjectApiResponse] PASSED [ 39%] tests/test_response.py::test_constructor_type_errors[args3-kwargs3-ListApiResponse] PASSED [ 40%] tests/test_response.py::test_constructor_type_errors[args3-kwargs3-TextApiResponse] PASSED [ 40%] tests/test_response.py::test_constructor_type_errors[args3-kwargs3-BinaryApiResponse] PASSED [ 40%] tests/test_response.py::test_constructor_type_errors[args4-kwargs4-ObjectApiResponse] PASSED [ 41%] tests/test_response.py::test_constructor_type_errors[args4-kwargs4-ListApiResponse] PASSED [ 41%] tests/test_response.py::test_constructor_type_errors[args4-kwargs4-TextApiResponse] PASSED [ 41%] tests/test_response.py::test_constructor_type_errors[args4-kwargs4-BinaryApiResponse] PASSED [ 42%] tests/test_response.py::test_constructor_type_errors[args5-kwargs5-ObjectApiResponse] PASSED [ 42%] tests/test_response.py::test_constructor_type_errors[args5-kwargs5-ListApiResponse] PASSED [ 42%] tests/test_response.py::test_constructor_type_errors[args5-kwargs5-TextApiResponse] PASSED [ 43%] tests/test_response.py::test_constructor_type_errors[args5-kwargs5-BinaryApiResponse] PASSED [ 43%] tests/test_response.py::test_constructor_type_errors[args6-kwargs6-ObjectApiResponse] PASSED [ 43%] tests/test_response.py::test_constructor_type_errors[args6-kwargs6-ListApiResponse] PASSED [ 44%] tests/test_response.py::test_constructor_type_errors[args6-kwargs6-TextApiResponse] PASSED [ 44%] tests/test_response.py::test_constructor_type_errors[args6-kwargs6-BinaryApiResponse] PASSED [ 44%] tests/test_response.py::test_constructor_type_errors[args7-kwargs7-ObjectApiResponse] PASSED [ 45%] tests/test_response.py::test_constructor_type_errors[args7-kwargs7-ListApiResponse] PASSED [ 45%] tests/test_response.py::test_constructor_type_errors[args7-kwargs7-TextApiResponse] PASSED [ 45%] tests/test_response.py::test_constructor_type_errors[args7-kwargs7-BinaryApiResponse] PASSED [ 45%] tests/test_response.py::test_constructor_type_errors[args8-kwargs8-ObjectApiResponse] PASSED [ 46%] tests/test_response.py::test_constructor_type_errors[args8-kwargs8-ListApiResponse] PASSED [ 46%] tests/test_response.py::test_constructor_type_errors[args8-kwargs8-TextApiResponse] PASSED [ 46%] tests/test_response.py::test_constructor_type_errors[args8-kwargs8-BinaryApiResponse] PASSED [ 47%] tests/test_response.py::test_constructor_type_errors[args9-kwargs9-ObjectApiResponse] PASSED [ 47%] tests/test_response.py::test_constructor_type_errors[args9-kwargs9-ListApiResponse] PASSED [ 47%] tests/test_response.py::test_constructor_type_errors[args9-kwargs9-TextApiResponse] PASSED [ 48%] tests/test_response.py::test_constructor_type_errors[args9-kwargs9-BinaryApiResponse] PASSED [ 48%] tests/test_response.py::test_constructor_type_errors[args10-kwargs10-ObjectApiResponse] PASSED [ 48%] tests/test_response.py::test_constructor_type_errors[args10-kwargs10-ListApiResponse] PASSED [ 49%] tests/test_response.py::test_constructor_type_errors[args10-kwargs10-TextApiResponse] PASSED [ 49%] tests/test_response.py::test_constructor_type_errors[args10-kwargs10-BinaryApiResponse] PASSED [ 49%] tests/test_response.py::test_constructor_allowed PASSED [ 50%] tests/test_serializer.py::test_date_serialization PASSED [ 50%] tests/test_serializer.py::test_decimal_serialization PASSED [ 50%] tests/test_serializer.py::test_uuid_serialization PASSED [ 51%] tests/test_serializer.py::test_serializes_nan PASSED [ 51%] tests/test_serializer.py::test_raises_serialization_error_on_dump_error PASSED [ 51%] tests/test_serializer.py::test_raises_serialization_error_on_load_error PASSED [ 52%] tests/test_serializer.py::test_unicode_is_handled PASSED [ 52%] tests/test_serializer.py::test_unicode_surrogates_handled PASSED [ 52%] tests/test_serializer.py::test_deserializes_json_by_default PASSED [ 53%] tests/test_serializer.py::test_deserializes_text_with_correct_ct PASSED [ 53%] tests/test_serializer.py::test_raises_serialization_error_on_unknown_mimetype PASSED [ 53%] tests/test_serializer.py::test_raises_improperly_configured_when_default_mimetype_cannot_be_deserialized PASSED [ 54%] tests/test_serializer.py::test_text_asterisk_works_for_all_text_types PASSED [ 54%] tests/test_serializer.py::test_ndjson_loads[False] PASSED [ 54%] tests/test_serializer.py::test_ndjson_loads[\n] PASSED [ 54%] tests/test_serializer.py::test_ndjson_loads[\r\n] PASSED [ 55%] tests/test_serializer.py::test_ndjson_dumps PASSED [ 55%] tests/test_transport.py::test_transport_close_node_pool PASSED [ 55%] tests/test_transport.py::test_request_with_custom_user_agent_header PASSED [ 56%] tests/test_transport.py::test_body_gets_encoded_into_bytes PASSED [ 56%] tests/test_transport.py::test_body_bytes_get_passed_untouched PASSED [ 56%] tests/test_transport.py::test_empty_response_with_content_type PASSED [ 57%] tests/test_transport.py::test_kwargs_passed_on_to_node_pool PASSED [ 57%] tests/test_transport.py::test_request_will_fail_after_x_retries PASSED [ 57%] tests/test_transport.py::test_retry_on_timeout[True] PASSED [ 58%] tests/test_transport.py::test_retry_on_timeout[False] PASSED [ 58%] tests/test_transport.py::test_retry_on_status PASSED [ 58%] tests/test_transport.py::test_failed_connection_will_be_marked_as_dead PASSED [ 59%] tests/test_transport.py::test_resurrected_connection_will_be_marked_as_live_on_success PASSED [ 59%] tests/test_transport.py::test_sniff_on_node_failure_error_doesnt_raise PASSED [ 59%] tests/test_transport.py::test_node_class_as_string PASSED [ 60%] tests/test_transport.py::test_head_response_true[200-True] PASSED [ 60%] tests/test_transport.py::test_head_response_true[299-True] PASSED [ 60%] tests/test_transport.py::test_head_response_false PASSED [ 61%] tests/test_transport.py::test_transport_client_meta_node_class[urllib3] PASSED [ 61%] tests/test_transport.py::test_transport_client_meta_node_class[requests] PASSED [ 61%] tests/test_transport.py::test_transport_client_meta_node_class[Urllib3HttpNode] PASSED [ 62%] tests/test_transport.py::test_transport_client_meta_node_class[RequestsHttpNode] PASSED [ 62%] tests/test_transport.py::test_transport_and_node_are_sync[aiohttp] PASSED [ 62%] tests/test_transport.py::test_transport_and_node_are_sync[AiohttpHttpNode] PASSED [ 63%] tests/test_transport.py::test_client_meta_header PASSED [ 63%] tests/test_transport.py::test_client_meta_header_extras PASSED [ 63%] tests/test_transport.py::test_sniff_on_start PASSED [ 63%] tests/test_transport.py::test_sniff_before_requests PASSED [ 64%] tests/test_transport.py::test_sniff_on_node_failure PASSED [ 64%] tests/test_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs0] PASSED [ 64%] tests/test_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs1] PASSED [ 65%] tests/test_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs2] PASSED [ 65%] tests/test_transport.py::test_error_sniffing_callback_without_sniffing_enabled PASSED [ 65%] tests/test_transport.py::test_heterogeneous_node_config_warning_with_sniffing PASSED [ 66%] tests/test_transport.py::test_sniffed_nodes_added_to_pool PASSED [ 66%] tests/test_transport.py::test_sniff_error_resets_lock_and_last_sniffed_at PASSED [ 66%] tests/test_transport.py::test_sniff_on_start_no_results_errors PASSED [ 67%] tests/test_transport.py::test_threading_test[1] PASSED [ 67%] tests/test_transport.py::test_threading_test[8] PASSED [ 67%] tests/test_transport.py::test_httpbin SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 68%] tests/test_utils.py::test_is_ipaddress[::1] PASSED [ 68%] tests/test_utils.py::test_is_ipaddress[::] PASSED [ 68%] tests/test_utils.py::test_is_ipaddress[FE80::8939:7684:D84b:a5A4%2510] PASSED [ 69%] tests/test_utils.py::test_is_ipaddress[127.0.0.10] PASSED [ 69%] tests/test_utils.py::test_is_ipaddress[8.8.8.8] PASSED [ 69%] tests/test_utils.py::test_is_ipaddress[127.0.0.11] PASSED [ 70%] tests/test_utils.py::test_is_ipaddress[FE80::8939:7684:D84b:a5A4%2511] PASSED [ 70%] tests/test_utils.py::test_is_ipaddress[FE80::8939:7684:D84b:a5A4%2512] PASSED [ 70%] tests/test_utils.py::test_is_ipaddress[FE80::8939:7684:D84b:a5A4%190] PASSED [ 71%] tests/test_utils.py::test_is_ipaddress[FE80::8939:7684:D84b:a5A4%191] PASSED [ 71%] tests/test_utils.py::test_is_not_ipaddress[www.python.org0] PASSED [ 71%] tests/test_utils.py::test_is_not_ipaddress[www.python.org1] PASSED [ 72%] tests/test_utils.py::test_is_not_ipaddress[v2.sg.media-imdb.com0] PASSED [ 72%] tests/test_utils.py::test_is_not_ipaddress[v2.sg.media-imdb.com1] PASSED [ 72%] tests/async_/test_async_transport.py::test_async_transport_httpbin SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 72%] tests/async_/test_async_transport.py::test_transport_close_node_pool PASSED [ 73%] tests/async_/test_async_transport.py::test_request_with_custom_user_agent_header PASSED [ 73%] tests/async_/test_async_transport.py::test_body_gets_encoded_into_bytes PASSED [ 73%] tests/async_/test_async_transport.py::test_body_bytes_get_passed_untouched PASSED [ 74%] tests/async_/test_async_transport.py::test_kwargs_passed_on_to_node_pool PASSED [ 74%] tests/async_/test_async_transport.py::test_request_will_fail_after_x_retries PASSED [ 74%] tests/async_/test_async_transport.py::test_retry_on_timeout[True] PASSED [ 75%] tests/async_/test_async_transport.py::test_retry_on_timeout[False] PASSED [ 75%] tests/async_/test_async_transport.py::test_retry_on_status PASSED [ 75%] tests/async_/test_async_transport.py::test_failed_connection_will_be_marked_as_dead PASSED [ 76%] tests/async_/test_async_transport.py::test_resurrected_connection_will_be_marked_as_live_on_success PASSED [ 76%] tests/async_/test_async_transport.py::test_mark_dead_error_doesnt_raise PASSED [ 76%] tests/async_/test_async_transport.py::test_node_class_as_string PASSED [ 77%] tests/async_/test_async_transport.py::test_head_response_true[200-True] PASSED [ 77%] tests/async_/test_async_transport.py::test_head_response_true[299-True] PASSED [ 77%] tests/async_/test_async_transport.py::test_head_response_false PASSED [ 78%] tests/async_/test_async_transport.py::test_transport_client_meta_node_class[aiohttp] PASSED [ 78%] tests/async_/test_async_transport.py::test_transport_client_meta_node_class[AiohttpHttpNode] PASSED [ 78%] tests/async_/test_async_transport.py::test_transport_and_node_are_async[urllib3] PASSED [ 79%] tests/async_/test_async_transport.py::test_transport_and_node_are_async[requests] PASSED [ 79%] tests/async_/test_async_transport.py::test_transport_and_node_are_async[Urllib3HttpNode] PASSED [ 79%] tests/async_/test_async_transport.py::test_transport_and_node_are_async[RequestsHttpNode] PASSED [ 80%] tests/async_/test_async_transport.py::test_sniff_on_start PASSED [ 80%] tests/async_/test_async_transport.py::test_sniff_before_requests PASSED [ 80%] tests/async_/test_async_transport.py::test_sniff_on_node_failure PASSED [ 81%] tests/async_/test_async_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs0] PASSED [ 81%] tests/async_/test_async_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs1] PASSED [ 81%] tests/async_/test_async_transport.py::test_error_with_sniffing_enabled_without_callback[kwargs2] PASSED [ 81%] tests/async_/test_async_transport.py::test_error_sniffing_callback_without_sniffing_enabled PASSED [ 82%] tests/async_/test_async_transport.py::test_heterogeneous_node_config_warning_with_sniffing PASSED [ 82%] tests/async_/test_async_transport.py::test_sniffed_nodes_added_to_pool[True] PASSED [ 82%] tests/async_/test_async_transport.py::test_sniffed_nodes_added_to_pool[False] PASSED [ 83%] tests/async_/test_async_transport.py::test_sniff_error_resets_lock_and_last_sniffed_at PASSED [ 83%] tests/async_/test_async_transport.py::test_sniff_on_start_no_results_errors[] PASSED [ 83%] tests/async_/test_async_transport.py::test_sniff_on_start_no_results_errors[_empty_sniff] PASSED [ 84%] tests/async_/test_async_transport.py::test_multiple_tasks_test[1] PASSED [ 84%] tests/async_/test_async_transport.py::test_multiple_tasks_test[8] PASSED [ 84%] tests/async_/test_async_transport.py::test_httpbin SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 85%] tests/async_/test_httpbin.py::test_simple_request SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 85%] tests/async_/test_httpbin.py::test_node SKIPPED (Couldn't connect to httpbin.org, internet not connected? [Errno -3] Temporary failure in name resolution) [ 85%] tests/async_/test_httpserver.py::test_simple_request PASSED [ 86%] tests/node/test_base.py::test_unknown_parameter[Urllib3HttpNode] PASSED [ 86%] tests/node/test_base.py::test_unknown_parameter[RequestsHttpNode] PASSED [ 86%] tests/node/test_base.py::test_unknown_parameter[AiohttpHttpNode] PASSED [ 87%] tests/node/test_base.py::test_ssl_context_from_node_config[127.0.0.1-False] PASSED [ 87%] tests/node/test_base.py::test_ssl_context_from_node_config[::1-False] PASSED [ 87%] tests/node/test_base.py::test_ssl_context_from_node_config[localhost-True] PASSED [ 88%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_close_session PASSED [ 88%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_ssl_context PASSED [ 88%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_merge_headers PASSED [ 89%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_default_headers PASSED [ 89%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_no_http_compression PASSED [ 89%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_http_compression[None] PASSED [ 90%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_http_compression[] PASSED [ 90%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_timeout_override_default[None] PASSED [ 90%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_timeout_override_default[15] PASSED [ 90%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_uses_https_if_verify_certs_is_off PASSED [ 91%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_no_warn_when_uses_https_if_verify_certs_is_off PASSED [ 91%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_no_warning_when_using_ssl_context PASSED [ 91%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_ca_certs_with_verify_ssl_false_raises_error PASSED [ 92%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_client_cert_is_used_as_session_cert PASSED [ 92%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_ca_certs_is_used_as_session_verify PASSED [ 92%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_surrogatepass_into_bytes PASSED [ 93%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_requests_no_session_auth[None] PASSED [ 93%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_requests_no_session_auth[_extras1] PASSED [ 93%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_requests_no_session_auth[_extras2] PASSED [ 94%] tests/node/test_http_requests.py::TestRequestsHttpNode::test_requests_custom_auth PASSED [ 94%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_close_pool PASSED [ 94%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_ssl_context PASSED [ 95%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_no_http_compression PASSED [ 95%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_path_prefix_applied_to_target[/_search-/prefix/_search] PASSED [ 95%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_path_prefix_applied_to_target[/?key=val-/prefix/?key=val] PASSED [ 96%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_path_prefix_applied_to_target[/_search?key=val/-/prefix/_search?key=val/] PASSED [ 96%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_http_compression[None] PASSED [ 96%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_http_compression[] PASSED [ 97%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_default_headers PASSED [ 97%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_timeout_override_default[None] PASSED [ 97%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_timeout_override_default[15] PASSED [ 98%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_uses_https_if_verify_certs_is_off PASSED [ 98%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_no_warn_when_uses_https_if_verify_certs_is_off PASSED [ 98%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_no_warning_when_using_ssl_context PASSED [ 99%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_surrogatepass_into_bytes PASSED [ 99%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_uncompressed_body_logged XFAIL [ 99%] tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_failed_request_logs XFAIL [100%] =============================== warnings summary =============================== tests/async_/test_async_transport.py::test_kwargs_passed_on_to_node_pool tests/async_/test_async_transport.py:115: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. def test_kwargs_passed_on_to_node_pool(): tests/async_/test_async_transport.py::test_transport_and_node_are_async[urllib3] tests/async_/test_async_transport.py:350: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. @pytest.mark.parametrize( tests/async_/test_async_transport.py::test_transport_and_node_are_async[requests] tests/async_/test_async_transport.py:350: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. @pytest.mark.parametrize( tests/async_/test_async_transport.py::test_transport_and_node_are_async[Urllib3HttpNode] tests/async_/test_async_transport.py:350: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. @pytest.mark.parametrize( tests/async_/test_async_transport.py::test_transport_and_node_are_async[RequestsHttpNode] tests/async_/test_async_transport.py:350: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. @pytest.mark.parametrize( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.10.5-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------- elastic_transport/__init__.py 30 6 80% 111-122 elastic_transport/_async_transport.py 139 8 94% 234, 314-319, 327, 354-357 elastic_transport/_exceptions.py 51 5 90% 80-82, 90, 115 elastic_transport/_models.py 169 28 83% 40, 52, 55, 66-67, 100, 108-110, 128, 131-133, 136, 142, 164-165, 293-295, 302, 304, 306, 308, 326, 345, 351, 361 elastic_transport/_node/__init__.py 6 0 100% elastic_transport/_node/_base.py 147 47 68% 147-149, 152-154, 157, 214-250, 263-264, 308, 316, 322-324 elastic_transport/_node/_base_async.py 7 0 100% elastic_transport/_node/_http_aiohttp.py 119 38 68% 52-53, 79, 88-95, 104-107, 111, 113, 115, 117, 146-147, 165-169, 175, 188-189, 195-218, 241-243, 272 elastic_transport/_node/_http_requests.py 107 20 81% 49-50, 77-84, 121, 223-244 elastic_transport/_node/_http_urllib3.py 84 21 75% 43-44, 64, 76-79, 97, 176-199 elastic_transport/_node/_urllib3_chain_certs.py 37 15 59% 31, 57-58, 66, 77-122 elastic_transport/_node_pool.py 138 7 95% 42, 83, 157, 218, 273, 277, 298 elastic_transport/_response.py 115 13 89% 82, 95, 104, 107, 110, 120, 124, 134, 149, 153, 184, 199, 203 elastic_transport/_serializer.py 107 9 92% 43, 46-47, 55, 103, 128-129, 138, 183 elastic_transport/_transport.py 180 10 94% 203, 210, 304, 378-383, 391, 418-421 elastic_transport/_utils.py 29 0 100% elastic_transport/_version.py 1 0 100% elastic_transport/client_utils.py 101 6 94% 72, 149, 167-168, 196-197 ------------------------------------------------------------------------------- TOTAL 1567 233 85% ==== 288 passed, 21 skipped, 97 deselected, 2 xfailed, 5 warnings in 18.46s ==== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-elastic-transport-8.4.0-2.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P8hbWU + umask 022 + cd /builddir/build/BUILD + cd elastic-transport-python-8.4.0 + DOCDIR=/builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/share/doc/python3-elastic-transport + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/share/doc/python3-elastic-transport + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/share/doc/python3-elastic-transport + cp -pr README.md /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch/usr/share/doc/python3-elastic-transport + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-elastic-transport = 8.4.0-2.oc9 python3-elastic-transport = 8.4.0-2.oc9 python3.10-elastic-transport = 8.4.0-2.oc9 python3.10dist(elastic-transport) = 8.4 python3dist(elastic-transport) = 8.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (python3.10dist(urllib3) < 2~~ with python3.10dist(urllib3) >= 1.26.2) python(abi) = 3.10 python3.10dist(certifi) Obsoletes: python3.10-elastic-transport < 8.4.0-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-elastic-transport-8.4.0-2.oc9.noarch Wrote: /builddir/build/SRPMS/python-elastic-transport-8.4.0-2.oc9.src.rpm Wrote: /builddir/build/RPMS/python3-elastic-transport-8.4.0-2.oc9.noarch.rpm Child return code was: 0