Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-rsa.spec'], chrootPath='/var/lib/mock/1123710-centos-stream-x86_64-1575460433.003053/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cc589fc88012486c8c0f418a74743c7e', '-D', '/var/lib/mock/1123710-centos-stream-x86_64-1575460433.003053/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-rsa.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-rsa-3.4.2-12.el8.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-rsa.spec'], chrootPath='/var/lib/mock/1123710-centos-stream-x86_64-1575460433.003053/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f19f7627ffee4e0eb7bfd9b1cbbb2e39', '-D', '/var/lib/mock/1123710-centos-stream-x86_64-1575460433.003053/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxxkua8z:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-rsa.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UNEGld + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rsa-3.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/rsa-3.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rsa-3.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ysPfHD + umask 022 + cd /builddir/build/BUILD + cd rsa-3.4.2 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/rsa copying rsa/varblock.py -> build/lib/rsa copying rsa/asn1.py -> build/lib/rsa copying rsa/transform.py -> build/lib/rsa copying rsa/prime.py -> build/lib/rsa copying rsa/_version133.py -> build/lib/rsa copying rsa/parallel.py -> build/lib/rsa copying rsa/pem.py -> build/lib/rsa copying rsa/util.py -> build/lib/rsa copying rsa/cli.py -> build/lib/rsa copying rsa/_version200.py -> build/lib/rsa copying rsa/randnum.py -> build/lib/rsa copying rsa/pkcs1.py -> build/lib/rsa copying rsa/key.py -> build/lib/rsa copying rsa/__init__.py -> build/lib/rsa copying rsa/core.py -> build/lib/rsa copying rsa/bigfile.py -> build/lib/rsa copying rsa/common.py -> build/lib/rsa copying rsa/_compat.py -> build/lib/rsa + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MrwY48 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 + cd rsa-3.4.2 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/_compat.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/common.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/bigfile.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/core.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/__init__.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/key.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/pkcs1.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/randnum.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/_version200.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/cli.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/util.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/pem.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/parallel.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/_version133.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/prime.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/transform.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/asn1.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa copying build/lib/rsa/varblock.py -> /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/_compat.py to _compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/common.py to common.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/bigfile.py to bigfile.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/core.py to core.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/key.py to key.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/pkcs1.py to pkcs1.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/randnum.py to randnum.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/_version200.py to _version200.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/cli.py to cli.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/util.py to util.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/pem.py to pem.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/parallel.py to parallel.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/_version133.py to _version133.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/prime.py to prime.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/transform.py to transform.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/asn1.py to asn1.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa/varblock.py to varblock.cpython-36.pyc writing byte-compilation script '/tmp/tmpjdh8x2qc.py' /usr/libexec/platform-python /tmp/tmpjdh8x2qc.py removing /tmp/tmpjdh8x2qc.py running install_egg_info running egg_info writing rsa.egg-info/PKG-INFO writing dependency_links to rsa.egg-info/dependency_links.txt writing entry points to rsa.egg-info/entry_points.txt writing requirements to rsa.egg-info/requires.txt writing top-level names to rsa.egg-info/top_level.txt reading manifest file 'rsa.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'rsa.egg-info/SOURCES.txt' Copying rsa.egg-info to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6/site-packages/rsa-3.4.2-py3.6.egg-info running install_scripts Installing pyrsa-decrypt script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-decrypt-bigfile script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-encrypt script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-encrypt-bigfile script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-keygen script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-priv2pub script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-sign script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin Installing pyrsa-verify script to /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-priv2pub /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-priv2pub-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-keygen /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-keygen-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-encrypt /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-encrypt-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-decrypt /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-decrypt-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-sign /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-sign-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-verify /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-verify-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-encrypt-bigfile /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-encrypt-bigfile-3 + cp /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-decrypt-bigfile /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/bin/pyrsa-decrypt-bigfile-3 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.4.2-12.el8 --unique-debug-suffix -3.4.2-12.el8.x86_64 --unique-debug-src-base python-rsa-3.4.2-12.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rsa-3.4.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wffr0I + umask 022 + cd /builddir/build/BUILD + cd rsa-3.4.2 + /usr/libexec/platform-python 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 rsa.egg-info/PKG-INFO writing dependency_links to rsa.egg-info/dependency_links.txt writing entry points to rsa.egg-info/entry_points.txt writing requirements to rsa.egg-info/requires.txt writing top-level names to rsa.egg-info/top_level.txt reading manifest file 'rsa.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'rsa.egg-info/SOURCES.txt' running build_ext /builddir/build/BUILD/rsa-3.4.2/rsa/_version133.py:58: UserWarning: Insecure version of the RSA module is imported as rsa._version133, be careful % __name__) /builddir/build/BUILD/rsa-3.4.2/rsa/_version200.py:38: UserWarning: Insecure version of the RSA module is imported as rsa._version200 warnings.warn('Insecure version of the RSA module is imported as %s' % __name__) test_byte (tests.test_compat.TestByte) ... ok test_raises_StructError_on_overflow (tests.test_compat.TestByte) ... ok test_encrypt_decrypt_bigfile (tests.test_bigfile.BigfileTest) ... /builddir/build/BUILD/rsa-3.4.2/tests/test_bigfile.py:41: DeprecationWarning: The 'rsa.bigfile.encrypt_bigfile' function was deprecated in Python-RSA version 3.4 due to security issues in the VARBLOCK format. See https://stuvel.eu/python-rsa-doc/usage.html#working-with-big-files for more information. bigfile.encrypt_bigfile(infile, outfile, pub_key) /builddir/build/BUILD/rsa-3.4.2/tests/test_bigfile.py:49: DeprecationWarning: The 'rsa.bigfile.decrypt_bigfile' function was deprecated in Python-RSA version 3.4 due to security issues in the VARBLOCK format. See https://stuvel.eu/python-rsa-doc/usage.html#working-with-big-files for more information. bigfile.decrypt_bigfile(cryptfile, clearfile, priv_key) /builddir/build/BUILD/rsa-3.4.2/tests/test_bigfile.py:50: DeprecationWarning: Please use assertEqual instead. self.assertEquals(clearfile.getvalue(), message) ok test_sign_verify_bigfile (tests.test_bigfile.BigfileTest) ... ok test_is_prime (tests.test_prime.PrimeTest) Test some common primes. ... ok test_decoding_failure (tests.test_pkcs1.BinaryTest) ... ok test_enc_dec (tests.test_pkcs1.BinaryTest) ... Message: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01' Encrypted: b'/\x1b\xbd\xaaH\x9e\x03f\xfdh\xd5o\xaa\xa0\xa1S}\xc0\x0eS\xb1S\xab\x8e\x9d\x9e\xae\xa8_\xdbR<' Decrypted: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01' ok test_randomness (tests.test_pkcs1.BinaryTest) Encrypting the same message twice should result in different ... ok test_alter_message (tests.test_pkcs1.SignatureTest) Altering the message should let the verification fail. ... ok test_multiple_signings (tests.test_pkcs1.SignatureTest) Signing the same message twice should return the same signatures. ... ok test_sign_different_key (tests.test_pkcs1.SignatureTest) Signing with another key should let the verification fail. ... ok test_sign_verify (tests.test_pkcs1.SignatureTest) Test happy flow of sign and verify ... Message: b'je moeder' Signature: b"51q\x91\xdc{\x07UH%\xda'0\x04\xea\xc7\x94\x9c.6S\x0b\xbd\xb2\xfc\x8e:\xe6\xf7$M2\x04\x03\xe4\xcc\x1f\xdb2$\x10\x1e\x03\xc6)\xfd\x06\xba\xcdLg&C\xe9z\x11\xab&\xd7\x8d\xb7r\x0b$" ok test_bytes_private (tests.test_pem.TestBytesAndStrings) ... ok test_bytes_public (tests.test_pem.TestBytesAndStrings) ... ok test_unicode_private (tests.test_pem.TestBytesAndStrings) ... ok test_unicode_public (tests.test_pem.TestBytesAndStrings) ... ok test_values (tests.test_pem.TestMarkers) ... ok test_accuracy (tests.test_transform.Test_int2bytes) ... ok test_chunk_size (tests.test_transform.Test_int2bytes) ... ok test_codec_identity (tests.test_transform.Test_int2bytes) ... ok test_correctness_against_base_implementation (tests.test_transform.Test_int2bytes) ... ok test_raises_OverflowError_when_chunk_size_is_insufficient (tests.test_transform.Test_int2bytes) ... ok test_raises_TypeError_when_not_integer (tests.test_transform.Test_int2bytes) ... ok test_raises_ValueError_when_negative_integer (tests.test_transform.Test_int2bytes) ... ok test_zero (tests.test_transform.Test_int2bytes) ... ok test_yield_fixedblock (tests.test_varblock.FixedblockTest) ... ok test_yield_varblock (tests.test_varblock.VarblockTest) ... ok test_read_varint (tests.test_varblock.VarintTest) ... ok test_read_zero (tests.test_varblock.VarintTest) ... ok test_write_varint (tests.test_varblock.VarintTest) ... ok test_write_zero (tests.test_varblock.VarintTest) ... ok test_values (tests.test_common.TestBitSize) ... ok test_zero (tests.test_common.TestBitSize) ... ok test_struct_error_when_out_of_bounds (tests.test_common.TestByte) ... ok test_values (tests.test_common.TestByte) ... ok test_bad_type (tests.test_common.TestByteSize) ... ok test_values (tests.test_common.TestByteSize) ... ok test_zero (tests.test_common.TestByteSize) ... ok test_enc_dec (tests.test_integers.IntegerTest) ... Message: 42 Encrypted: 7493998918248544863 Decrypted: 42 ok test_sign_verify (tests.test_integers.IntegerTest) ... Signed: 2445935815835603587 Verified: 42 ok test_enc_dec (tests.test_strings.StringTest) ... Message: b'Euro=\xe2\x82\xac ABCDEFGHIJKLMNOPQRSTUVWXYZ' Encrypted: b"8&@\x9e\xe8\xe4\x84\xe3'\x95,Y\x165\xd1E\x14\xd8\x8f\xbc\xbd\xce\x8cc\xaf\xf7\xc0\x1b\xb5\xf6\xc5W6\xf7\x0e\x0f\xd3\x9ek\x9d\x8e\xca\x92\xc9A\xc8\x832" Decrypted: b'Euro=\xe2\x82\xac ABCDEFGHIJKLMNOPQRSTUVWXYZ' ok test_blinding (tests.test_key.BlindingTest) Test blinding and unblinding. ... ok test_custom_exponent (tests.test_key.KeyGenTest) ... ok test_default_exponent (tests.test_key.KeyGenTest) ... ok test_load_private_key (tests.test_load_save_keys.DerTest) Test loading private DER keys. ... ok test_load_public_key (tests.test_load_save_keys.DerTest) Test loading public DER keys. ... ok test_save_private_key (tests.test_load_save_keys.DerTest) Test saving private DER keys. ... ok test_save_public_key (tests.test_load_save_keys.DerTest) Test saving public DER keys. ... ok test_load_from_disk (tests.test_load_save_keys.PemTest) Test loading a PEM file from disk. ... ok test_load_private_key (tests.test_load_save_keys.PemTest) Test loading private PEM files. ... ok test_load_public_key (tests.test_load_save_keys.PemTest) Test loading public PEM files. ... ok test_save_private_key (tests.test_load_save_keys.PemTest) Test saving private PEM files. ... ok test_save_public_key (tests.test_load_save_keys.PemTest) Test saving public PEM files. ... ok test_private_key (tests.test_load_save_keys.PickleTest) ... ok test_public_key (tests.test_load_save_keys.PickleTest) ... ok test_parallel_primegen (tests.test_parallel.ParallelTest) ... ok ---------------------------------------------------------------------- Ran 56 tests in 0.915s OK + exit 0 Processing files: python3-rsa-3.4.2-12.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AshF0n + umask 022 + cd /builddir/build/BUILD + cd rsa-3.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/doc/python3-rsa + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/doc/python3-rsa + cp -pr README.md /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/doc/python3-rsa + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.231z22 + umask 022 + cd /builddir/build/BUILD + cd rsa-3.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/licenses/python3-rsa + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/licenses/python3-rsa + cp -pr LICENSE /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64/usr/share/licenses/python3-rsa + exit 0 Provides: python3-rsa = 3.4.2-12.el8 python3.6dist(rsa) = 3.4.2 python3dist(rsa) = 3.4.2 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: /usr/libexec/platform-python python(abi) = 3.6 python3.6dist(pyasn1) >= 0.1.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 Wrote: /builddir/build/RPMS/python3-rsa-3.4.2-12.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wKuA6h + umask 022 + cd /builddir/build/BUILD + cd rsa-3.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rsa-3.4.2-12.el8.x86_64 + exit 0 Child return code was: 0