Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679640055.912419/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-openidc-client-0.6.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679640055.912419/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-openidc-client-0.6.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679640055.912419/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: bogus date in %changelog: Thu Jun 30 2021 jinzig - 0.6-1 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NL80bU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-openidc-client + /usr/bin/gzip -dc /builddir/build/SOURCES/python-openidc-client.tar.gz + /usr/bin/tar -xof - + 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.RmOSVL + 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 -m64 -mtune=generic -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/__init__.py -> build/lib/openidc_client copying openidc_client/requestsauth.py -> build/lib/openidc_client copying openidc_client/release.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.kW4xaD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64 + 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 -m64 -mtune=generic -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.x86_64 running install /usr/lib/python3.9/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.x86_64/usr creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/__init__.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/requestsauth.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/release.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client/requestsauth.py to requestsauth.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/lib/python3.9/site-packages/openidc_client/release.py to release.cpython-39.pyc writing byte-compilation script '/tmp/tmpuc9tnw8l.py' /usr/bin/python3 /tmp/tmpuc9tnw8l.py removing /tmp/tmpuc9tnw8l.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.x86_64/usr/lib/python3.9/site-packages/openidc_client-0.6.0-py3.9.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.x86_64 --unique-debug-src-base python-openidc-client-0.6.0-1.x86_64 -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.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cHsJ3D + 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.090s 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.jYrxXF + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + DOCDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/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.x86_64/usr/share/doc/python3-openidc-client + cp -pr README.md /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/usr/share/doc/python3-openidc-client + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PThmcV + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + LICENSEDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/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.x86_64/usr/share/licenses/python3-openidc-client + cp -pr COPYING /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64/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.9dist(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.9 python3.9dist(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.x86_64 Wrote: /builddir/build/RPMS/python3-openidc-client-0.6.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NXfDg6 + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0