Mock Version: 2.1 Mock Version: 2.1 Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/f33-python-20857894-1539828/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1590192000 Wrote: /builddir/build/SRPMS/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-openidc-client.spec'], chrootPath='/var/lib/mock/f33-python-20857894-1539828/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1590192000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yD9Q4k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + /usr/bin/gzip -dc /builddir/build/SOURCES/python-openidc-client-cd8d91c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + /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.c1VtOj + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/release.py -> build/lib/openidc_client copying openidc_client/requestsauth.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' writing manifest file 'openidc_client.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2z8x8j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch ++ dirname /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/release.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/requestsauth.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client copying build/lib/openidc_client/__init__.py -> /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client/release.py to release.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/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-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpw4i_fexz.py' /usr/bin/python3 /tmp/tmpw4i_fexz.py removing /tmp/tmpw4i_fexz.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' writing manifest file 'openidc_client.egg-info/SOURCES.txt' Copying openidc_client.egg-info to /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9/site-packages/openidc_client-0.6.0-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 0.6.0-9.20180605gitcd8d91c.fc33 --unique-debug-suffix -0.6.0-9.20180605gitcd8d91c.fc33.noarch --unique-debug-src-base python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Llriwl + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + /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' 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.197s 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-9.20180605gitcd8d91c.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.19dBRk + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + DOCDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/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-9.20180605gitcd8d91c.fc33.noarch/usr/share/doc/python3-openidc-client + cp -pr README.md /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/share/doc/python3-openidc-client + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6FzN4l + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + LICENSEDIR=/builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/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-9.20180605gitcd8d91c.fc33.noarch/usr/share/licenses/python3-openidc-client + cp -pr COPYING /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch/usr/share/licenses/python3-openidc-client + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-openidc-client = 0.6.0-9.20180605gitcd8d91c.fc33 python3-openidc-client = 0.6.0-9.20180605gitcd8d91c.fc33 python3.9-openidc-client = 0.6.0-9.20180605gitcd8d91c.fc33 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-9.20180605gitcd8d91c.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch Wrote: /builddir/build/RPMS/python3-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iQyxYh + umask 022 + cd /builddir/build/BUILD + cd python-openidc-client-cd8d91c0503124305727f38a0f9fe93bb472209c + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-openidc-client-0.6.0-9.20180605gitcd8d91c.fc33.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0