D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-google-auth-2.6.0-3.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EdSXRe + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf google-auth-2.6.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/google-auth-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd google-auth-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf google_auth.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yxrEHm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd google-auth-2.6.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running build running build_py creating build creating build/lib creating build/lib/google copying google/__init__.py -> build/lib/google creating build/lib/google/oauth2 copying google/oauth2/challenges.py -> build/lib/google/oauth2 copying google/oauth2/_client_async.py -> build/lib/google/oauth2 copying google/oauth2/credentials.py -> build/lib/google/oauth2 copying google/oauth2/_credentials_async.py -> build/lib/google/oauth2 copying google/oauth2/_id_token_async.py -> build/lib/google/oauth2 copying google/oauth2/_client.py -> build/lib/google/oauth2 copying google/oauth2/service_account.py -> build/lib/google/oauth2 copying google/oauth2/id_token.py -> build/lib/google/oauth2 copying google/oauth2/_service_account_async.py -> build/lib/google/oauth2 copying google/oauth2/reauth.py -> build/lib/google/oauth2 copying google/oauth2/__init__.py -> build/lib/google/oauth2 copying google/oauth2/_reauth_async.py -> build/lib/google/oauth2 copying google/oauth2/utils.py -> build/lib/google/oauth2 copying google/oauth2/sts.py -> build/lib/google/oauth2 creating build/lib/google/auth copying google/auth/_cloud_sdk.py -> build/lib/google/auth copying google/auth/version.py -> build/lib/google/auth copying google/auth/exceptions.py -> build/lib/google/auth copying google/auth/credentials.py -> build/lib/google/auth copying google/auth/downscoped.py -> build/lib/google/auth copying google/auth/identity_pool.py -> build/lib/google/auth copying google/auth/_credentials_async.py -> build/lib/google/auth copying google/auth/_default_async.py -> build/lib/google/auth copying google/auth/_service_account_info.py -> build/lib/google/auth copying google/auth/external_account.py -> build/lib/google/auth copying google/auth/impersonated_credentials.py -> build/lib/google/auth copying google/auth/app_engine.py -> build/lib/google/auth copying google/auth/aws.py -> build/lib/google/auth copying google/auth/iam.py -> build/lib/google/auth copying google/auth/environment_vars.py -> build/lib/google/auth copying google/auth/jwt.py -> build/lib/google/auth copying google/auth/__init__.py -> build/lib/google/auth copying google/auth/_default.py -> build/lib/google/auth copying google/auth/_jwt_async.py -> build/lib/google/auth copying google/auth/_oauth2client.py -> build/lib/google/auth copying google/auth/_helpers.py -> build/lib/google/auth creating build/lib/google/auth/transport copying google/auth/transport/grpc.py -> build/lib/google/auth/transport copying google/auth/transport/requests.py -> build/lib/google/auth/transport copying google/auth/transport/mtls.py -> build/lib/google/auth/transport copying google/auth/transport/_http_client.py -> build/lib/google/auth/transport copying google/auth/transport/_mtls_helper.py -> build/lib/google/auth/transport copying google/auth/transport/__init__.py -> build/lib/google/auth/transport copying google/auth/transport/urllib3.py -> build/lib/google/auth/transport copying google/auth/transport/_aiohttp_requests.py -> build/lib/google/auth/transport creating build/lib/google/auth/crypt copying google/auth/crypt/_cryptography_rsa.py -> build/lib/google/auth/crypt copying google/auth/crypt/_python_rsa.py -> build/lib/google/auth/crypt copying google/auth/crypt/rsa.py -> build/lib/google/auth/crypt copying google/auth/crypt/es256.py -> build/lib/google/auth/crypt copying google/auth/crypt/__init__.py -> build/lib/google/auth/crypt copying google/auth/crypt/base.py -> build/lib/google/auth/crypt copying google/auth/crypt/_helpers.py -> build/lib/google/auth/crypt creating build/lib/google/auth/compute_engine copying google/auth/compute_engine/credentials.py -> build/lib/google/auth/compute_engine copying google/auth/compute_engine/__init__.py -> build/lib/google/auth/compute_engine copying google/auth/compute_engine/_metadata.py -> build/lib/google/auth/compute_engine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3j38JD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch + cd google-auth-2.6.0 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch /usr/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib Skipping installation of /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/__init__.py (namespace package) copying google/oauth2/challenges.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_client_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/credentials.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_credentials_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_id_token_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_client.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/service_account.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/id_token.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_service_account_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/reauth.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/_reauth_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/utils.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/oauth2/sts.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2 copying google/auth/_cloud_sdk.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/version.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/exceptions.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/credentials.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/downscoped.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/identity_pool.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_credentials_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_default_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_service_account_info.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/external_account.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/impersonated_credentials.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/app_engine.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/aws.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/iam.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/environment_vars.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/jwt.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_default.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_jwt_async.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_oauth2client.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/_helpers.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth copying google/auth/transport/grpc.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/requests.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/mtls.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/_http_client.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/_mtls_helper.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/urllib3.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/transport/_aiohttp_requests.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport copying google/auth/crypt/_cryptography_rsa.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/_python_rsa.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/rsa.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/es256.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/base.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/crypt/_helpers.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt copying google/auth/compute_engine/credentials.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine copying google/auth/compute_engine/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine copying google/auth/compute_engine/_metadata.py -> /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/challenges.py to challenges.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_client_async.py to _client_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/credentials.py to credentials.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_credentials_async.py to _credentials_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_id_token_async.py to _id_token_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_client.py to _client.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/service_account.py to service_account.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/id_token.py to id_token.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_service_account_async.py to _service_account_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/reauth.py to reauth.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/_reauth_async.py to _reauth_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/utils.py to utils.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/oauth2/sts.py to sts.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_cloud_sdk.py to _cloud_sdk.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/version.py to version.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/exceptions.py to exceptions.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/credentials.py to credentials.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/downscoped.py to downscoped.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/identity_pool.py to identity_pool.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_credentials_async.py to _credentials_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_default_async.py to _default_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_service_account_info.py to _service_account_info.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/external_account.py to external_account.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/impersonated_credentials.py to impersonated_credentials.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/app_engine.py to app_engine.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/aws.py to aws.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/iam.py to iam.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/environment_vars.py to environment_vars.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/jwt.py to jwt.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_default.py to _default.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_jwt_async.py to _jwt_async.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_oauth2client.py to _oauth2client.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/_helpers.py to _helpers.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/grpc.py to grpc.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/requests.py to requests.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/mtls.py to mtls.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/_http_client.py to _http_client.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/_mtls_helper.py to _mtls_helper.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/urllib3.py to urllib3.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/transport/_aiohttp_requests.py to _aiohttp_requests.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/_cryptography_rsa.py to _cryptography_rsa.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/_python_rsa.py to _python_rsa.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/rsa.py to rsa.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/es256.py to es256.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/base.py to base.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/crypt/_helpers.py to _helpers.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine/credentials.py to credentials.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google/auth/compute_engine/_metadata.py to _metadata.cpython-310.pyc writing byte-compilation script '/tmp/tmpu92uev7z.py' /usr/bin/python3 /tmp/tmpu92uev7z.py removing /tmp/tmpu92uev7z.py running install_egg_info running egg_info creating google_auth.egg-info writing google_auth.egg-info/PKG-INFO writing dependency_links to google_auth.egg-info/dependency_links.txt writing namespace_packages to google_auth.egg-info/namespace_packages.txt writing requirements to google_auth.egg-info/requires.txt writing top-level names to google_auth.egg-info/top_level.txt writing manifest file 'google_auth.egg-info/SOURCES.txt' reading manifest file 'google_auth.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.rst' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'google_auth.egg-info/SOURCES.txt' Copying google_auth.egg-info to /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google_auth-2.6.0-py3.10.egg-info Installing /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages/google_auth-2.6.0-py3.10-nspkg.pth running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.6.0-3.mga9 --unique-debug-suffix -2.6.0-3.mga9.noarch --unique-debug-src-base python-google-auth-2.6.0-3.mga9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/google-auth-2.6.0 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cX42V0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd google-auth-2.6.0 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + PATH=/home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib64/python3.10/site-packages:/home/pterjan/rpmbuild/BUILDROOT/python-google-auth-2.6.0-3.mga9.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-6.2.4, py-1.11.0, pluggy-1.0.0 rootdir: /home/pterjan/rpmbuild/BUILD/google-auth-2.6.0 plugins: localserver-0.6.0 collected 796 items tests/test__cloud_sdk.py .............. [ 1%] tests/test__default.py ................................................. [ 7%] ......................... [ 11%] tests/test__helpers.py ................... [ 13%] tests/test__oauth2client.py ......... [ 14%] tests/test__service_account_info.py .... [ 15%] tests/test_app_engine.py ................ [ 17%] tests/test_aws.py .............................................. [ 22%] tests/test_credentials.py ............ [ 24%] tests/test_downscoped.py ................................... [ 28%] tests/test_external_account.py ......................................... [ 33%] ......................................... [ 39%] tests/test_iam.py .... [ 39%] tests/test_identity_pool.py ............................................ [ 45%] . [ 45%] tests/test_impersonated_credentials.py ............................ [ 48%] tests/test_jwt.py ...................................................... [ 55%] .. [ 55%] tests/compute_engine/test__metadata.py ..................... [ 58%] tests/compute_engine/test_credentials.py .......................... [ 61%] tests/crypt/test__cryptography_rsa.py ................ [ 63%] tests/crypt/test__python_rsa.py .................. [ 65%] tests/crypt/test_crypt.py .. [ 66%] tests/crypt/test_es256.py .............. [ 67%] tests/oauth2/test__client.py ............... [ 69%] tests/oauth2/test_challenges.py .... [ 70%] tests/oauth2/test_credentials.py .............................. [ 74%] tests/oauth2/test_id_token.py .................. [ 76%] tests/oauth2/test_reauth.py .................. [ 78%] tests/oauth2/test_service_account.py ................................... [ 83%] ... [ 83%] tests/oauth2/test_sts.py ......... [ 84%] tests/oauth2/test_utils.py ............... [ 86%] tests/transport/test__http_client.py ....... [ 87%] tests/transport/test__mtls_helper.py ......................... [ 90%] tests/transport/test_grpc.py sssssssssssssss [ 92%] tests/transport/test_mtls.py ... [ 92%] tests/transport/test_requests.py ..............F.............FF..... [ 97%] tests/transport/test_urllib3.py .........FF............ [100%] =================================== FAILURES =================================== ______________________ TestMutualTlsAdapter.test_success _______________________ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: > self._ctx.load_verify_locations(cafile, capath) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = def load_verify_locations(self, cafile, capath=None): """ Let SSL know where we can find trusted certificates for the certificate chain. Note that the certificates have to be in PEM format. If capath is passed, it must be a directory prepared using the ``c_rehash`` tool included with OpenSSL. Either, but not both, of *pemfile* or *capath* may be :data:`None`. :param cafile: In which file we can find the certificates (``bytes`` or ``unicode``). :param capath: In which directory we can find the certificates (``bytes`` or ``unicode``). :return: None """ if cafile is None: cafile = _ffi.NULL else: cafile = _path_bytes(cafile) if capath is None: capath = _ffi.NULL else: capath = _path_bytes(capath) load_result = _lib.SSL_CTX_load_verify_locations( self._context, cafile, capath ) if not load_result: > _raise_current_error() /usr/lib/python3.10/site-packages/OpenSSL/SSL.py:795: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append( ( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)), ) ) > raise exception_type(errors) E OpenSSL.SSL.Error: [('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')] /usr/lib/python3.10/site-packages/OpenSSL/_util.py:55: Error During handling of the above exception, another exception occurred: self = mock_proxy_manager_for = mock_init_poolmanager = @mock.patch.object(requests.adapters.HTTPAdapter, "init_poolmanager") @mock.patch.object(requests.adapters.HTTPAdapter, "proxy_manager_for") def test_success(self, mock_proxy_manager_for, mock_init_poolmanager): > adapter = google.auth.transport.requests._MutualTlsAdapter( pytest.public_cert_bytes, pytest.private_key_bytes ) tests/transport/test_requests.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/transport/requests.py:216: in __init__ ctx_poolmanager.load_verify_locations(cafile=certifi.where()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: self._ctx.load_verify_locations(cafile, capath) if cadata is not None: self._ctx.load_verify_locations(BytesIO(cadata)) except OpenSSL.SSL.Error as e: > raise ssl.SSLError("unable to load trusted certificates: %r" % e) E ssl.SSLError: ("unable to load trusted certificates: Error([('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')])",) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:464: SSLError _______ TestAuthorizedSession.test_configure_mtls_channel_with_callback ________ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: > self._ctx.load_verify_locations(cafile, capath) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = def load_verify_locations(self, cafile, capath=None): """ Let SSL know where we can find trusted certificates for the certificate chain. Note that the certificates have to be in PEM format. If capath is passed, it must be a directory prepared using the ``c_rehash`` tool included with OpenSSL. Either, but not both, of *pemfile* or *capath* may be :data:`None`. :param cafile: In which file we can find the certificates (``bytes`` or ``unicode``). :param capath: In which directory we can find the certificates (``bytes`` or ``unicode``). :return: None """ if cafile is None: cafile = _ffi.NULL else: cafile = _path_bytes(cafile) if capath is None: capath = _ffi.NULL else: capath = _path_bytes(capath) load_result = _lib.SSL_CTX_load_verify_locations( self._context, cafile, capath ) if not load_result: > _raise_current_error() /usr/lib/python3.10/site-packages/OpenSSL/SSL.py:795: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append( ( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)), ) ) > raise exception_type(errors) E OpenSSL.SSL.Error: [('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')] /usr/lib/python3.10/site-packages/OpenSSL/_util.py:55: Error During handling of the above exception, another exception occurred: self = def test_configure_mtls_channel_with_callback(self): mock_callback = mock.Mock() mock_callback.return_value = ( pytest.public_cert_bytes, pytest.private_key_bytes, ) auth_session = google.auth.transport.requests.AuthorizedSession( credentials=mock.Mock() ) with mock.patch.dict( os.environ, {environment_vars.GOOGLE_API_USE_CLIENT_CERTIFICATE: "true"} ): > auth_session.configure_mtls_channel(mock_callback) tests/transport/test_requests.py:408: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/transport/requests.py:411: in configure_mtls_channel mtls_adapter = _MutualTlsAdapter(cert, key) google/auth/transport/requests.py:216: in __init__ ctx_poolmanager.load_verify_locations(cafile=certifi.where()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: self._ctx.load_verify_locations(cafile, capath) if cadata is not None: self._ctx.load_verify_locations(BytesIO(cadata)) except OpenSSL.SSL.Error as e: > raise ssl.SSLError("unable to load trusted certificates: %r" % e) E ssl.SSLError: ("unable to load trusted certificates: Error([('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')])",) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:464: SSLError _______ TestAuthorizedSession.test_configure_mtls_channel_with_metadata ________ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: > self._ctx.load_verify_locations(cafile, capath) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = def load_verify_locations(self, cafile, capath=None): """ Let SSL know where we can find trusted certificates for the certificate chain. Note that the certificates have to be in PEM format. If capath is passed, it must be a directory prepared using the ``c_rehash`` tool included with OpenSSL. Either, but not both, of *pemfile* or *capath* may be :data:`None`. :param cafile: In which file we can find the certificates (``bytes`` or ``unicode``). :param capath: In which directory we can find the certificates (``bytes`` or ``unicode``). :return: None """ if cafile is None: cafile = _ffi.NULL else: cafile = _path_bytes(cafile) if capath is None: capath = _ffi.NULL else: capath = _path_bytes(capath) load_result = _lib.SSL_CTX_load_verify_locations( self._context, cafile, capath ) if not load_result: > _raise_current_error() /usr/lib/python3.10/site-packages/OpenSSL/SSL.py:795: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append( ( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)), ) ) > raise exception_type(errors) E OpenSSL.SSL.Error: [('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')] /usr/lib/python3.10/site-packages/OpenSSL/_util.py:55: Error During handling of the above exception, another exception occurred: self = mock_get_client_cert_and_key = @mock.patch( "google.auth.transport._mtls_helper.get_client_cert_and_key", autospec=True ) def test_configure_mtls_channel_with_metadata(self, mock_get_client_cert_and_key): mock_get_client_cert_and_key.return_value = ( True, pytest.public_cert_bytes, pytest.private_key_bytes, ) auth_session = google.auth.transport.requests.AuthorizedSession( credentials=mock.Mock() ) with mock.patch.dict( os.environ, {environment_vars.GOOGLE_API_USE_CLIENT_CERTIFICATE: "true"} ): > auth_session.configure_mtls_channel() tests/transport/test_requests.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/transport/requests.py:411: in configure_mtls_channel mtls_adapter = _MutualTlsAdapter(cert, key) google/auth/transport/requests.py:216: in __init__ ctx_poolmanager.load_verify_locations(cafile=certifi.where()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: self._ctx.load_verify_locations(cafile, capath) if cadata is not None: self._ctx.load_verify_locations(BytesIO(cadata)) except OpenSSL.SSL.Error as e: > raise ssl.SSLError("unable to load trusted certificates: %r" % e) E ssl.SSLError: ("unable to load trusted certificates: Error([('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')])",) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:464: SSLError ______________________ TestMakeMutualTlsHttp.test_success ______________________ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: > self._ctx.load_verify_locations(cafile, capath) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = def load_verify_locations(self, cafile, capath=None): """ Let SSL know where we can find trusted certificates for the certificate chain. Note that the certificates have to be in PEM format. If capath is passed, it must be a directory prepared using the ``c_rehash`` tool included with OpenSSL. Either, but not both, of *pemfile* or *capath* may be :data:`None`. :param cafile: In which file we can find the certificates (``bytes`` or ``unicode``). :param capath: In which directory we can find the certificates (``bytes`` or ``unicode``). :return: None """ if cafile is None: cafile = _ffi.NULL else: cafile = _path_bytes(cafile) if capath is None: capath = _ffi.NULL else: capath = _path_bytes(capath) load_result = _lib.SSL_CTX_load_verify_locations( self._context, cafile, capath ) if not load_result: > _raise_current_error() /usr/lib/python3.10/site-packages/OpenSSL/SSL.py:795: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append( ( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)), ) ) > raise exception_type(errors) E OpenSSL.SSL.Error: [('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')] /usr/lib/python3.10/site-packages/OpenSSL/_util.py:55: Error During handling of the above exception, another exception occurred: self = def test_success(self): > http = google.auth.transport.urllib3._make_mutual_tls_http( pytest.public_cert_bytes, pytest.private_key_bytes ) tests/transport/test_urllib3.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/transport/urllib3.py:175: in _make_mutual_tls_http ctx.load_verify_locations(cafile=certifi.where()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: self._ctx.load_verify_locations(cafile, capath) if cadata is not None: self._ctx.load_verify_locations(BytesIO(cadata)) except OpenSSL.SSL.Error as e: > raise ssl.SSLError("unable to load trusted certificates: %r" % e) E ssl.SSLError: ("unable to load trusted certificates: Error([('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')])",) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:464: SSLError ___________________ TestMakeMutualTlsHttp.test_crypto_error ____________________ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: > self._ctx.load_verify_locations(cafile, capath) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = def load_verify_locations(self, cafile, capath=None): """ Let SSL know where we can find trusted certificates for the certificate chain. Note that the certificates have to be in PEM format. If capath is passed, it must be a directory prepared using the ``c_rehash`` tool included with OpenSSL. Either, but not both, of *pemfile* or *capath* may be :data:`None`. :param cafile: In which file we can find the certificates (``bytes`` or ``unicode``). :param capath: In which directory we can find the certificates (``bytes`` or ``unicode``). :return: None """ if cafile is None: cafile = _ffi.NULL else: cafile = _path_bytes(cafile) if capath is None: capath = _ffi.NULL else: capath = _path_bytes(capath) load_result = _lib.SSL_CTX_load_verify_locations( self._context, cafile, capath ) if not load_result: > _raise_current_error() /usr/lib/python3.10/site-packages/OpenSSL/SSL.py:795: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append( ( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)), ) ) > raise exception_type(errors) E OpenSSL.SSL.Error: [('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')] /usr/lib/python3.10/site-packages/OpenSSL/_util.py:55: Error During handling of the above exception, another exception occurred: self = def test_crypto_error(self): with pytest.raises(OpenSSL.crypto.Error): > google.auth.transport.urllib3._make_mutual_tls_http( b"invalid cert", b"invalid key" ) tests/transport/test_urllib3.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/transport/urllib3.py:175: in _make_mutual_tls_http ctx.load_verify_locations(cafile=certifi.where()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cafile = b'/etc/pki/tls/certs/ca-bundle.crt', capath = None, cadata = None def load_verify_locations(self, cafile=None, capath=None, cadata=None): if cafile is not None: cafile = cafile.encode("utf-8") if capath is not None: capath = capath.encode("utf-8") try: self._ctx.load_verify_locations(cafile, capath) if cadata is not None: self._ctx.load_verify_locations(BytesIO(cadata)) except OpenSSL.SSL.Error as e: > raise ssl.SSLError("unable to load trusted certificates: %r" % e) E ssl.SSLError: ("unable to load trusted certificates: Error([('system library', '', ''), ('BIO routines', '', 'no such file'), ('x509 certificate routines', '', 'system lib')])",) /usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py:464: SSLError =========================== short test summary info ============================ FAILED tests/transport/test_requests.py::TestMutualTlsAdapter::test_success FAILED tests/transport/test_requests.py::TestAuthorizedSession::test_configure_mtls_channel_with_callback FAILED tests/transport/test_requests.py::TestAuthorizedSession::test_configure_mtls_channel_with_metadata FAILED tests/transport/test_urllib3.py::TestMakeMutualTlsHttp::test_success FAILED tests/transport/test_urllib3.py::TestMakeMutualTlsHttp::test_crypto_error ================== 5 failed, 776 passed, 15 skipped in 26.97s ================== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cX42V0 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cX42V0 (%check) I: [iurt_root_command] ERROR: chroot