Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688887757.621201/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-openidc-client-0.6.0-1.src.rpm RPM build warnings: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688887757.621201/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-openidc-client-0.6.0-1.src.rpm RPM build warnings: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688887757.621201/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-openidc-client.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 warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0lOL4V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-openidc-client + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-openidc-client.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-openidc-client + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GE9irj + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/openidc_client copying openidc_client/requestsauth.py -> build/lib/openidc_client copying openidc_client/release.py -> build/lib/openidc_client copying openidc_client/__init__.py -> build/lib/openidc_client running egg_info creating openidc_client.egg-info writing openidc_client.egg-info/PKG-INFO writing dependency_links to openidc_client.egg-info/dependency_links.txt writing requirements to openidc_client.egg-info/requires.txt writing top-level names to openidc_client.egg-info/top_level.txt writing manifest file 'openidc_client.egg-info/SOURCES.txt' reading manifest file 'openidc_client.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'openidc_client.egg-info/SOURCES.txt' + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0gWD7S + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 + cd python-openidc-client + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 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 creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client copying build/lib/openidc_client/requestsauth.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client copying build/lib/openidc_client/release.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client copying build/lib/openidc_client/__init__.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client/requestsauth.py to requestsauth.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client/release.py to release.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client/__init__.py to __init__.cpython-310.pyc writing byte-compilation script '/tmp/tmpxnj8swag.py' /usr/bin/python3 /tmp/tmpxnj8swag.py removing /tmp/tmpxnj8swag.py running install_egg_info running egg_info writing openidc_client.egg-info/PKG-INFO writing dependency_links to openidc_client.egg-info/dependency_links.txt writing requirements to openidc_client.egg-info/requires.txt writing top-level names to openidc_client.egg-info/top_level.txt reading manifest file 'openidc_client.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'openidc_client.egg-info/SOURCES.txt' Copying openidc_client.egg-info to /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10/site-packages/openidc_client-0.6.0-py3.10.egg-info running install_scripts + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.6.0-1 --unique-debug-suffix -0.6.0-1.aarch64 --unique-debug-src-base python-openidc-client-0.6.0-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/python-openidc-client find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/lib/python3.10 using /usr/bin/python3.10 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xxVnn7 + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing openidc_client.egg-info/PKG-INFO writing dependency_links to openidc_client.egg-info/dependency_links.txt writing requirements to openidc_client.egg-info/requires.txt writing top-level names to openidc_client.egg-info/top_level.txt reading manifest file 'openidc_client.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'openidc_client.egg-info/SOURCES.txt' running build_ext test_cachefile (tests.test_openidcclient.OpenIdBaseClientTest) Test that the cachefile name is set by app id. ... ok test_get_new_token_cancel (tests.test_openidcclient.OpenIdBaseClientTest) Test that we handle it correctly if the user cancels. ... ok test_get_new_token_error (tests.test_openidcclient.OpenIdBaseClientTest) Test that we handle errors correctly. ... ok test_get_new_token_working (tests.test_openidcclient.OpenIdBaseClientTest) Test for a completely succesful case. ... ok test_get_token_from_cache (tests.test_openidcclient.OpenIdBaseClientTest) Test that if we have a cached token, that gets returned. ... ok test_get_token_new (tests.test_openidcclient.OpenIdBaseClientTest) Test that get_token can get a new token. ... ok test_get_token_no_new (tests.test_openidcclient.OpenIdBaseClientTest) Test that if we don't have a token we can skip getting a new oen. ... ok test_report_token_issue_refreshable (tests.test_openidcclient.OpenIdBaseClientTest) Test that we refresh a token if problems are reported. ... ok test_report_token_issue_revoked (tests.test_openidcclient.OpenIdBaseClientTest) Test that we only try to refresh once. ... ok test_send_request_not_valid_token_401_not_refreshable (tests.test_openidcclient.OpenIdBaseClientTest) Test that we only try to refresh once and then throw away. ... ok test_send_request_not_valid_token_401_refreshable (tests.test_openidcclient.OpenIdBaseClientTest) Test that we do refresh with a 401. ... ok test_send_request_not_valid_token_403 (tests.test_openidcclient.OpenIdBaseClientTest) Test that we don't refresh if the app returns a 403 (forbidden) ... ok test_send_request_not_valid_token_500 (tests.test_openidcclient.OpenIdBaseClientTest) Test that we don't refresh if we get a server error. ... ok test_send_request_valid_token (tests.test_openidcclient.OpenIdBaseClientTest) Test that we send the token. ... ok test_send_request_valid_token_PATH (tests.test_openidcclient.OpenIdBaseClientTest) Test that we send the token with a PATCH request. ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.144s OK Please visit https://idp/Authorization?scope=test_get_new_token_cancel&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_get_new_token_error&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_get_new_token_working&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_get_token_from_cache&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_get_token_new&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_report_token_issue_refreshable&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_report_token_issue_revoked&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_not_valid_token_401_not_refreshable&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_not_valid_token_401_refreshable&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_not_valid_token_403&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_not_valid_token_500&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_valid_token&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization Please visit https://idp/Authorization?scope=test_send_request_valid_token&response_type=code&client_id=testclient&redirect_uri=http%3A%2F%2Flocalhost%3A1%2F&response_mode=query to grant authorization + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-openidc-client-0.6.0-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XfjOSd + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + DOCDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/doc/python3-openidc-client + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/doc/python3-openidc-client + cp -pr README.md /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/doc/python3-openidc-client + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zxsB1Y + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + LICENSEDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/licenses/python3-openidc-client + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/licenses/python3-openidc-client + cp -pr COPYING /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64/usr/share/licenses/python3-openidc-client + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-openidc-client = 0.6.0-1 python3-openidc-client = 0.6.0-1 python3.10dist(openidc-client) = 0.6 python3dist(openidc-client) = 0.6 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: python(abi) = 3.10 python3.10dist(requests) Obsoletes: python-openidc-client < 0.6.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 Wrote: /builddir/build/RPMS/python3-openidc-client-0.6.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AYkfIq + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.V219As + umask 022 + cd /builddir/build/BUILD + rm -rf python-openidc-client python-openidc-client.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Child return code was: 0