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-requests-unixsocket.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-81993-56970/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-requests-unixsocket.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-requests-unixsocket-0.4.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-requests-unixsocket.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-81993-56970/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 -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-requests-unixsocket.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.pH7Tk3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf requests_unixsocket2-0.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/requests_unixsocket2-0.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd requests_unixsocket2-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 1d requests_unixsocket/tests/test_requests_unixsocket.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DLx9bV + 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 requests_unixsocket2-0.4.0 + mkdir -p /builddir/build/BUILD/requests_unixsocket2-0.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/requests_unixsocket2-0.4.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/requests_unixsocket2-0.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/requests_unixsocket2-0.4.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: requests-unixsocket2 Building wheel for requests-unixsocket2 (pyproject.toml): started Running command Building wheel for requests-unixsocket2 (pyproject.toml) Building wheel for requests-unixsocket2 (pyproject.toml): finished with status 'done' Created wheel for requests-unixsocket2: filename=requests_unixsocket2-0.4.0-py3-none-any.whl size=7925 sha256=43707dcc02175ec418684e4e19bb5cb00a5786cd7e4bdba91a21261de12c71ab Stored in directory: /builddir/.cache/pip/wheels/98/cd/4a/2dd222bbb62c63210389480638af71cc28146c5ec98db37a8d Successfully built requests-unixsocket2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Goqwzu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch + cd requests_unixsocket2-0.4.0 ++ ls /builddir/build/BUILD/requests_unixsocket2-0.4.0/pyproject-wheeldir/requests_unixsocket2-0.4.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=requests_unixsocket2==0.4.0 + TMPDIR=/builddir/build/BUILD/requests_unixsocket2-0.4.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-requests-unixsocket-0.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/requests_unixsocket2-0.4.0/pyproject-wheeldir requests_unixsocket2==0.4.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/requests_unixsocket2-0.4.0/pyproject-wheeldir Processing ./pyproject-wheeldir/requests_unixsocket2-0.4.0-py3-none-any.whl Installing collected packages: requests_unixsocket2 Successfully installed requests_unixsocket2-0.4.0 + '[' -d /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.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-requests-unixsocket-0.4.0-2.oc9.noarch --record /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info/REQUESTED' + mv /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket2-0.4.0.dist-info /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket-0.4.0.dist-info + sed -i s/unixsocket2/unixsocket/g /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket-0.4.0.dist-info/METADATA + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.4.0-2.oc9 --unique-debug-suffix -0.4.0-2.oc9.noarch --unique-debug-src-base python-requests-unixsocket-0.4.0-2.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/requests_unixsocket2-0.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 *** WARNING: ./usr/lib/python3.11/site-packages/requests_unixsocket/tests/test_requests_unixsocket.py is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OKQMVT + 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 requests_unixsocket2-0.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-requests-unixsocket-0.4.0-2.oc9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/requests_unixsocket2-0.4.0/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/requests_unixsocket2-0.4.0 configfile: pyproject.toml collected 6 items requests_unixsocket/tests/test_requests_unixsocket.py .FFFFF [100%] =================================== FAILURES =================================== _________________________ test_unix_domain_adapter_ok __________________________ /usr/lib/python3.11/site-packages/requests/adapters.py:512: in send conn = self._get_connection(request, verify, proxies) /usr/lib/python3.11/site-packages/requests/adapters.py:383: in _get_connection conn = self.poolmanager.connection_from_host( /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:246: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:258: in connection_from_context raise URLSchemeUnknown(scheme) E urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix During handling of the above exception, another exception occurred: requests_unixsocket/tests/test_requests_unixsocket.py:37: in test_unix_domain_adapter_ok r = getattr(session, method)(url) /usr/lib/python3.11/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.11/site-packages/requests/adapters.py:514: in send raise InvalidURL(e, request=request) E requests.exceptions.InvalidURL: Not supported URL scheme http+unix ________________ test_unix_domain_adapter_url_with_query_params ________________ /usr/lib/python3.11/site-packages/requests/adapters.py:512: in send conn = self._get_connection(request, verify, proxies) /usr/lib/python3.11/site-packages/requests/adapters.py:383: in _get_connection conn = self.poolmanager.connection_from_host( /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:246: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:258: in connection_from_context raise URLSchemeUnknown(scheme) E urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix During handling of the above exception, another exception occurred: requests_unixsocket/tests/test_requests_unixsocket.py:67: in test_unix_domain_adapter_url_with_query_params r = getattr(session, method)(url) /usr/lib/python3.11/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.11/site-packages/requests/adapters.py:514: in send raise InvalidURL(e, request=request) E requests.exceptions.InvalidURL: Not supported URL scheme http+unix __________________ test_unix_domain_adapter_connection_error ___________________ /usr/lib/python3.11/site-packages/requests/adapters.py:512: in send conn = self._get_connection(request, verify, proxies) /usr/lib/python3.11/site-packages/requests/adapters.py:383: in _get_connection conn = self.poolmanager.connection_from_host( /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:246: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:258: in connection_from_context raise URLSchemeUnknown(scheme) E urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix During handling of the above exception, another exception occurred: requests_unixsocket/tests/test_requests_unixsocket.py:93: in test_unix_domain_adapter_connection_error getattr(session, method)("http+unix://socket_does_not_exist/path/to/page") /usr/lib/python3.11/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.11/site-packages/requests/adapters.py:514: in send raise InvalidURL(e, request=request) E requests.exceptions.InvalidURL: Not supported URL scheme http+unix ______________ test_unix_domain_adapter_connection_proxies_error _______________ /usr/lib/python3.11/site-packages/urllib3/connection.py:174: in _new_conn conn = connection.create_connection( /usr/lib/python3.11/site-packages/urllib3/util/connection.py:95: in create_connection raise err /usr/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection sock.connect(sa) E TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: /usr/lib/python3.11/site-packages/urllib3/connectionpool.py:715: in urlopen httplib_response = self._make_request( /usr/lib/python3.11/site-packages/urllib3/connectionpool.py:416: in _make_request conn.request(method, url, **httplib_request_kw) /usr/lib/python3.11/site-packages/urllib3/connection.py:244: in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) /usr/lib64/python3.11/http/client.py:1286: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib64/python3.11/http/client.py:1332: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib64/python3.11/http/client.py:1281: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib64/python3.11/http/client.py:1041: in _send_output self.send(msg) /usr/lib64/python3.11/http/client.py:979: in send self.connect() /usr/lib/python3.11/site-packages/urllib3/connection.py:205: in connect conn = self._new_conn() /usr/lib/python3.11/site-packages/urllib3/connection.py:179: in _new_conn raise ConnectTimeoutError( E urllib3.exceptions.ConnectTimeoutError: (, 'Connection to 10.10.1.10 timed out. (connect timeout=None)') During handling of the above exception, another exception occurred: /usr/lib/python3.11/site-packages/requests/adapters.py:545: in send resp = conn.urlopen( /usr/lib/python3.11/site-packages/urllib3/connectionpool.py:799: in urlopen retries = retries.increment( /usr/lib/python3.11/site-packages/urllib3/util/retry.py:592: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.10.1.10', port=1080): Max retries exceeded with url: /path/to/page (Caused by ConnectTimeoutError(, 'Connection to 10.10.1.10 timed out. (connect timeout=None)')) During handling of the above exception, another exception occurred: requests_unixsocket/tests/test_requests_unixsocket.py:101: in test_unix_domain_adapter_connection_proxies_error getattr(session, method)( /usr/lib/python3.11/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.11/site-packages/requests/adapters.py:609: in send raise ConnectTimeout(e, request=request) E requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='10.10.1.10', port=1080): Max retries exceeded with url: /path/to/page (Caused by ConnectTimeoutError(, 'Connection to 10.10.1.10 timed out. (connect timeout=None)')) _____________________ test_unix_domain_adapter_monkeypatch _____________________ /usr/lib/python3.11/site-packages/requests/adapters.py:512: in send conn = self._get_connection(request, verify, proxies) /usr/lib/python3.11/site-packages/requests/adapters.py:383: in _get_connection conn = self.poolmanager.connection_from_host( /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:246: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.11/site-packages/urllib3/poolmanager.py:258: in connection_from_context raise URLSchemeUnknown(scheme) E urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix During handling of the above exception, another exception occurred: requests_unixsocket/tests/test_requests_unixsocket.py:116: in test_unix_domain_adapter_monkeypatch r = getattr(requests, method)(url) ../../BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket/__init__.py:59: in get return request("get", url, **kwargs) ../../BUILDROOT/python-requests-unixsocket-0.4.0-2.oc9.noarch/usr/lib/python3.11/site-packages/requests_unixsocket/__init__.py:54: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.11/site-packages/requests/adapters.py:514: in send raise InvalidURL(e, request=request) E requests.exceptions.InvalidURL: Not supported URL scheme http+unix =========================== short test summary info ============================ FAILED requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_ok FAILED requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params FAILED requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_error FAILED requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_proxies_error FAILED requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_monkeypatch =================== 5 failed, 1 passed in 130.16s (0:02:10) ==================== error: Bad exit status from /var/tmp/rpm-tmp.OKQMVT (%check) Bad exit status from /var/tmp/rpm-tmp.OKQMVT (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-requests-unixsocket.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 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-requests-unixsocket.spec