Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-299074-29331/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/m2crypto-0.39.0-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-299074-29331/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rDhzK0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf M2Crypto-0.39.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/M2Crypto-0.39.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd M2Crypto-0.39.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/M2Crypto-0.39-outdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/M2Crypto-0.39-asyncore.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -f src/M2Crypto/m2crypto.py src/SWIG/_m2crypto_wrap.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RkCFSq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd M2Crypto-0.39.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' INFO:run_command:running build INFO:run_command:running build_py INFO:mkpath:creating build INFO:mkpath:creating build/lib.linux-x86_64-cpython-311 INFO:mkpath:creating build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/ASN1.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/DSA.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/BN.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/util.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/BIO.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/SMIME.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/Err.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/EC.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/callback.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/__init__.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/Rand.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/Engine.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/RC4.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/X509.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/threading.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/DH.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/ftpslib.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/six.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/EVP.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/RSA.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/httpslib.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:copy_file:copying src/M2Crypto/m2.py -> build/lib.linux-x86_64-cpython-311/M2Crypto INFO:mkpath:creating build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-cpython-311/M2Crypto/SSL INFO:run_command:running egg_info INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching 'src/SWIG/_m2crypto_wrap.c' WARNING:process_template_line:warning: no files found matching 'src/M2Crypto/m2crypto.py' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:run_command:running build_ext INFO:build_extension:building 'M2Crypto._m2crypto' extension INFO:swig_sources:swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c INFO:spawn:swig -python -py3 -I/usr/lib/gcc/x86_64-OpenCloudOS-linux/12/include -I/usr/local/include -I/usr/include -D__x86_64__ -I/usr/include/python3.11 -I/usr/include/openssl -includeall -modern -builtin -outdir build/lib.linux-x86_64-cpython-311/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -modern. Ignored, this option is now always on. INFO:mkpath:creating build/temp.linux-x86_64-cpython-311 INFO:mkpath:creating build/temp.linux-x86_64-cpython-311/src INFO:mkpath:creating build/temp.linux-x86_64-cpython-311/src/SWIG INFO:spawn:gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -I/builddir/build/BUILD/M2Crypto-0.39.0/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-cpython-311/src/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING INFO:spawn:gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/src/SWIG/_m2crypto_wrap.o -L/usr/lib64 -lssl -lcrypto -o build/lib.linux-x86_64-cpython-311/M2Crypto/_m2crypto.cpython-311-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jxjfmF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64 + cd M2Crypto-0.39.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64 INFO:run_command:running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() INFO:run_command:running install_lib INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64 INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11 INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/m2urllib2.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/ASN1.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/m2urllib.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/DSA.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/BN.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/util.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/BIO.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SMIME.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/Err.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/EC.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/callback.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/__init__.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/Rand.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:mkpath:creating /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/cb.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/SSLServer.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/Session.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/Checker.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/__init__.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/ssl_dispatcher.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/Cipher.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/Context.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/TwistedProtocolWrapper.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/Connection.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/SSL/timeout.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/Engine.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/_m2crypto.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/RC4.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/X509.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/m2crypto.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/threading.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/AuthCookie.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/DH.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/ftpslib.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/six.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/EVP.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/m2xmlrpclib.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/RSA.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/httpslib.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:copy_file:copying build/lib.linux-x86_64-cpython-311/M2Crypto/m2.py -> /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/m2urllib2.py to m2urllib2.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/ASN1.py to ASN1.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/m2urllib.py to m2urllib.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/DSA.py to DSA.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/BN.py to BN.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/util.py to util.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/BIO.py to BIO.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py to SMIME.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/Err.py to Err.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/EC.py to EC.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/callback.py to callback.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/__init__.py to __init__.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/Rand.py to Rand.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/cb.py to cb.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/SSLServer.py to SSLServer.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/Session.py to Session.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/Checker.py to Checker.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/__init__.py to __init__.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/ssl_dispatcher.py to ssl_dispatcher.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/Cipher.py to Cipher.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/Context.py to Context.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/TwistedProtocolWrapper.py to TwistedProtocolWrapper.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/Connection.py to Connection.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SSL/timeout.py to timeout.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/Engine.py to Engine.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/RC4.py to RC4.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/X509.py to X509.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/m2crypto.py to m2crypto.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/threading.py to threading.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/AuthCookie.py to AuthCookie.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/DH.py to DH.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/ftpslib.py to ftpslib.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/six.py to six.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/EVP.py to EVP.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/m2xmlrpclib.py to m2xmlrpclib.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/RSA.py to RSA.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/httpslib.py to httpslib.cpython-311.pyc INFO:byte_compile:byte-compiling /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/m2.py to m2.cpython-311.pyc INFO:byte_compile:writing byte-compilation script '/tmp/tmp7jag19fr.py' INFO:spawn:/usr/bin/python3 /tmp/tmp7jag19fr.py INFO:execute:removing /tmp/tmp7jag19fr.py INFO:run_command:running install_egg_info INFO:run_command:running egg_info INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching 'src/M2Crypto/m2crypto.py' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:execute:Copying src/M2Crypto.egg-info to /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto-0.39.0-py3.11.egg-info INFO:run_command:running install_scripts + rm -rfv /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.39.0-2.ocs23 --unique-debug-suffix -0.39.0-2.ocs23.x86_64 --unique-debug-src-base m2crypto-0.39.0-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/M2Crypto-0.39.0 extracting debug info from /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/_m2crypto.cpython-311-x86_64-linux-gnu.so 1983 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.53x6xg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd M2Crypto-0.39.0 + PYTHONPATH=/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -munittest discover -v tests/ test_crypt (test_aes.AESTestCase.test_crypt) ... ok test_existing_methods (test_aes.AESTestCase.test_existing_methods) ... ok test_set_key (test_aes.AESTestCase.test_set_key) ... ok test_type_check (test_aes.AESTestCase.test_type_check) ... ok test_BitSTring (test_asn1.ASN1TestCase.test_BitSTring) ... ok test_Integer (test_asn1.ASN1TestCase.test_Integer) ... ok test_Object (test_asn1.ASN1TestCase.test_Object) ... ok test_String (test_asn1.ASN1TestCase.test_String) ... ok test_TIME (test_asn1.ASN1TestCase.test_TIME) ... ok test_TIME_datetime (test_asn1.ASN1TestCase.test_TIME_datetime) ... ok test_UTCTIME (test_asn1.ASN1TestCase.test_UTCTIME) ... ok test_UTCTIME_datetime (test_asn1.ASN1TestCase.test_UTCTIME_datetime) ... ok test_cookie_str (test_authcookie.AuthCookieTestCase.test_cookie_str) ... ok test_cookie_str2 (test_authcookie.AuthCookieTestCase.test_cookie_str2) ... ok test_cookie_str_arbitrary_change (test_authcookie.AuthCookieTestCase.test_cookie_str_arbitrary_change) ... DEBUG:isGoodCookieString:undough is None ok test_cookie_str_changed_data (test_authcookie.AuthCookieTestCase.test_cookie_str_changed_data) ... DEBUG:isGoodCookieString:undough is None ok test_cookie_str_changed_exp (test_authcookie.AuthCookieTestCase.test_cookie_str_changed_exp) ... DEBUG:isGoodCookieString:undough is None ok test_cookie_str_changed_mac (test_authcookie.AuthCookieTestCase.test_cookie_str_changed_mac) ... ok test_cookie_str_expired (test_authcookie.AuthCookieTestCase.test_cookie_str_expired) ... ok test_encode_part_str (test_authcookie.AuthCookieTestCase.test_encode_part_str) ... ok test_expired (test_authcookie.AuthCookieTestCase.test_expired) ... ok test_is_invalid_changed_data (test_authcookie.AuthCookieTestCase.test_is_invalid_changed_data) ... ok test_is_invalid_changed_exp (test_authcookie.AuthCookieTestCase.test_is_invalid_changed_exp) ... ok test_is_invalid_changed_mac (test_authcookie.AuthCookieTestCase.test_is_invalid_changed_mac) ... ok test_is_invalid_expired (test_authcookie.AuthCookieTestCase.test_is_invalid_expired) ... ok test_is_valid (test_authcookie.AuthCookieTestCase.test_is_valid) ... ok test_make_cookie (test_authcookie.AuthCookieTestCase.test_make_cookie) ... ok test_make_cookie_invalid (test_authcookie.AuthCookieTestCase.test_make_cookie_invalid) ... ok test_mix_unmix (test_authcookie.AuthCookieTestCase.test_mix_unmix) ... ok test_mix_unmix3 (test_authcookie.AuthCookieTestCase.test_mix_unmix3) ... ok test_not_expired (test_authcookie.AuthCookieTestCase.test_not_expired) ... ok test_algo (test_bio.CipherStreamTestCase.test_algo) ... ok test_nosuchalgo (test_bio.CipherStreamTestCase.test_nosuchalgo) ... ok test_closed (test_bio_file.FileTestCase.test_closed) ... ok test_openfile_rb (test_bio_file.FileTestCase.test_openfile_rb) ... ok test_openfile_wb (test_bio_file.FileTestCase.test_openfile_wb) ... ok test_readline (test_bio_file.FileTestCase.test_readline) ... ok test_readline_bin (test_bio_file.FileTestCase.test_readline_bin) ... ok test_tell_seek (test_bio_file.FileTestCase.test_tell_seek) ... ok test_use_pyfile (test_bio_file.FileTestCase.test_use_pyfile) ... ok test_closed (test_bio_iobuf.IOBufferTestCase.test_closed) ... ok test_init_empty (test_bio_iobuf.IOBufferTestCase.test_init_empty) ... ok test_init_something (test_bio_iobuf.IOBufferTestCase.test_init_something) ... ok test_read_less_than (test_bio_iobuf.IOBufferTestCase.test_read_less_than) ... ok test_read_more_than (test_bio_iobuf.IOBufferTestCase.test_read_more_than) ... ok test_read_only (test_bio_iobuf.IOBufferTestCase.test_read_only) ... ok test_readline (test_bio_iobuf.IOBufferTestCase.test_readline) ... ok test_readlines (test_bio_iobuf.IOBufferTestCase.test_readlines) ... ok test_closed (test_bio_membuf.MemoryBufferTestCase.test_closed) ... ok test_init_empty (test_bio_membuf.MemoryBufferTestCase.test_init_empty) ... ok test_init_empty_cm (test_bio_membuf.MemoryBufferTestCase.test_init_empty_cm) ... ok test_init_something (test_bio_membuf.MemoryBufferTestCase.test_init_something) ... ok test_init_something_cm (test_bio_membuf.MemoryBufferTestCase.test_init_something_cm) ... ok test_init_something_result_bytes (test_bio_membuf.MemoryBufferTestCase.test_init_something_result_bytes) ... ok test_read_less_than (test_bio_membuf.MemoryBufferTestCase.test_read_less_than) ... ok test_read_more_than (test_bio_membuf.MemoryBufferTestCase.test_read_more_than) ... ok test_readline (test_bio_membuf.MemoryBufferTestCase.test_readline) ... ok test_write_close (test_bio_membuf.MemoryBufferTestCase.test_write_close) ... ok test_do_handshake_fail (test_bio_ssl.SSLTestCase.test_do_handshake_fail) ... ok test_do_handshake_succeed (test_bio_ssl.SSLTestCase.test_do_handshake_succeed) ... ok test_pass (test_bio_ssl.SSLTestCase.test_pass) ... ok test_set_ssl (test_bio_ssl.SSLTestCase.test_set_ssl) ... ok test_should_read_fail (test_bio_ssl.SSLTestCase.test_should_read_fail) ... ok test_should_retry_fail (test_bio_ssl.SSLTestCase.test_should_retry_fail) ... ok test_should_write_fail (test_bio_ssl.SSLTestCase.test_should_write_fail) ... ok test_rand (test_bn.BNTestCase.test_rand) ... ok test_rand_range (test_bn.BNTestCase.test_rand_range) ... ok test_randfname (test_bn.BNTestCase.test_randfname) ... ok test_compute_key (test_dh.DHTestCase.test_compute_key) ... ok test_gen_params (test_dh.DHTestCase.test_gen_params) ... ok test_gen_params_bad_cb (test_dh.DHTestCase.test_gen_params_bad_cb) ... ok test_init_junk (test_dh.DHTestCase.test_init_junk) ... ok test_load_params (test_dh.DHTestCase.test_load_params) ... ok test_print_params (test_dh.DHTestCase.test_print_params) ... ok test_genparam_setparam_genkey (test_dsa.DSATestCase.test_genparam_setparam_genkey) ... ok test_loadkey (test_dsa.DSATestCase.test_loadkey) ... ok test_loadkey_junk (test_dsa.DSATestCase.test_loadkey_junk) ... ok test_loadparam (test_dsa.DSATestCase.test_loadparam) ... ok test_pub_key_from_params (test_dsa.DSATestCase.test_pub_key_from_params) ... ok test_pub_verify (test_dsa.DSATestCase.test_pub_verify) ... ok test_sign (test_dsa.DSATestCase.test_sign) ... ok test_sign_asn1 (test_dsa.DSATestCase.test_sign_asn1) ... ok test_sign_with_params_only (test_dsa.DSATestCase.test_sign_with_params_only) ... ok test_verify_fail (test_dsa.DSATestCase.test_verify_fail) ... ok test_verify_fail2 (test_dsa.DSATestCase.test_verify_fail2) ... ok test_ec_curves_ECDSA (test_ec_curves.ECCurveTests.test_ec_curves_ECDSA) ... ok test_ec_get_builtin_curves (test_ec_curves.ECCurveTests.test_ec_get_builtin_curves) ... ok test_compute_key (test_ecdh.ECDHTestCase.test_compute_key) ... ok test_init_junk (test_ecdh.ECDHTestCase.test_init_junk) ... ok test_pubkey_from_der (test_ecdh.ECDHTestCase.test_pubkey_from_der) ... ok test_genparam (test_ecdsa.ECDSATestCase.test_genparam) ... ok test_loadkey (test_ecdsa.ECDSATestCase.test_loadkey) ... ok test_loadkey_junk (test_ecdsa.ECDSATestCase.test_loadkey_junk) ... ok test_loadpubkey (test_ecdsa.ECDSATestCase.test_loadpubkey) ... ok test_pub_key_from_params (test_ecdsa.ECDSATestCase.test_pub_key_from_params) ... ok test_sign_dsa_asn1 (test_ecdsa.ECDSATestCase.test_sign_dsa_asn1) ... ok test_verify_dsa (test_ecdsa.ECDSATestCase.test_verify_dsa) ... ok test_by_id_dynamic (test_engine.EngineTestCase.test_by_id_dynamic) ... ok test_by_id_junk (test_engine.EngineTestCase.test_by_id_junk) ... ok test_by_id_openssl (test_engine.EngineTestCase.test_by_id_openssl) ... ok test_engine_ctrl_cmd_string (test_engine.EngineTestCase.test_engine_ctrl_cmd_string) ... ok test_load_certificate (test_engine.EngineTestCase.test_load_certificate) ... ok test_load_private (test_engine.EngineTestCase.test_load_private) ... (TEST_ENG_OPENSSL_PKEY)Loading Private key tests/rsa.priv.pem ok test_no_error (test_err.ErrTestCase.test_no_error) ... ok test_AES (test_evp.CipherTestCase.test_AES) ... ok test_AES_ctr (test_evp.CipherTestCase.test_AES_ctr) ... ok test_cipher_init_reinit (test_evp.CipherTestCase.test_cipher_init_reinit) ... ok test_ciphers (test_evp.CipherTestCase.test_ciphers) ... ok test_ciphers_nosuch (test_evp.CipherTestCase.test_ciphers_nosuch) ... ok test_raises (test_evp.CipherTestCase.test_raises) ... ok test_MessageDigest (test_evp.EVPTestCase.test_MessageDigest) ... ok test_as_der (test_evp.EVPTestCase.test_as_der) Test DER encoding the PKey instance after assigning ... ok test_as_der_capture_key (test_evp.EVPTestCase.test_as_der_capture_key) Test DER encoding the PKey instance after assigning ... ok test_assign (test_evp.EVPTestCase.test_assign) ... ok test_digest_verify (test_evp.EVPTestCase.test_digest_verify) ... ok test_digest_verify_final (test_evp.EVPTestCase.test_digest_verify_final) ... ok test_get_digestbyname (test_evp.EVPTestCase.test_get_digestbyname) ... ok test_get_ec (test_evp.EVPTestCase.test_get_ec) Testing retrieving the EC key from the PKey instance. ... ok test_get_ec_fail (test_evp.EVPTestCase.test_get_ec_fail) Testing trying to retrieve the EC key from the PKey instance ... ok test_get_modulus (test_evp.EVPTestCase.test_get_modulus) ... ok test_get_rsa (test_evp.EVPTestCase.test_get_rsa) Testing retrieving the RSA key from the PKey instance. ... ok test_get_rsa_fail (test_evp.EVPTestCase.test_get_rsa_fail) Testing trying to retrieve the RSA key from the PKey instance ... ok test_hmac (test_evp.EVPTestCase.test_hmac) ... ok test_load_bad (test_evp.EVPTestCase.test_load_bad) ... ok test_load_key_string_pubkey_ec (test_evp.EVPTestCase.test_load_key_string_pubkey_ec) Testing creating a PKey instance from PEM string. ... ok test_load_key_string_pubkey_rsa (test_evp.EVPTestCase.test_load_key_string_pubkey_rsa) Testing creating a PKey instance from PEM string. ... ok test_pad (test_evp.EVPTestCase.test_pad) ... ok test_pem (test_evp.EVPTestCase.test_pem) ... ok test_pkey_verify_crash (test_evp.EVPTestCase.test_pkey_verify_crash) ... ERROR test_size (test_evp.EVPTestCase.test_size) ... ok test_verify_final (test_evp.EVPTestCase.test_verify_final) ... ERROR test_complicated (test_evp.HMACTestCase.test_complicated) ... ok test_simple (test_evp.HMACTestCase.test_simple) ... ok test_rfc3211_test_vectors (test_evp.PBKDF2TestCase.test_rfc3211_test_vectors) ... ok test_detailed_error_message (test_obj.ObjectsTestCase.test_detailed_error_message) ... skipped 'Failing on OpenSSL3' test_nid (test_obj.ObjectsTestCase.test_nid) ... ok test_obj2txt (test_obj.ObjectsTestCase.test_obj2txt) ... ok test_tuple2tuple (test_obj.ObjectsTestCase.test_tuple2tuple) ... ok test_unknown (test_obj.ObjectsTestCase.test_unknown) ... ok test_x509_name (test_obj.ObjectsTestCase.test_x509_name) ... ok test_bytes (test_rand.RandTestCase.test_bytes) ... ok test_file_name (test_rand.RandTestCase.test_file_name) ... ok test_load_save (test_rand.RandTestCase.test_load_save) ... ok test_pseudo_bytes (test_rand.RandTestCase.test_pseudo_bytes) ... ok test_rand_status (test_rand.RandTestCase.test_rand_status) ... ok test_seed_add (test_rand.RandTestCase.test_seed_add) ... ok test_bad (test_rc4.RC4TestCase.test_bad) ... ok test_vectors (test_rc4.RC4TestCase.test_vectors) Test with test vectors from Wikipedia: http://en.wikipedia.org/wiki/Rc4 ... ok test_keygen (test_rsa.RSATestCase.test_keygen) ... ok test_keygen_bad_cb (test_rsa.RSATestCase.test_keygen_bad_cb) ... ok test_loadkey (test_rsa.RSATestCase.test_loadkey) ... ok test_loadkey_bio (test_rsa.RSATestCase.test_loadkey_bio) ... ok test_loadkey_junk (test_rsa.RSATestCase.test_loadkey_junk) ... ok test_loadkey_pp (test_rsa.RSATestCase.test_loadkey_pp) ... ok test_loadkey_pp_bad_cb (test_rsa.RSATestCase.test_loadkey_pp_bad_cb) ... ok test_loadpub (test_rsa.RSATestCase.test_loadpub) ... ok test_loadpub_bad (test_rsa.RSATestCase.test_loadpub_bad) ... ok test_newpub (test_rsa.RSATestCase.test_newpub) ... ok test_private_encrypt (test_rsa.RSATestCase.test_private_encrypt) ... ok test_public_encrypt (test_rsa.RSATestCase.test_public_encrypt) ... skipped 'Relies on fix which happened only in OpenSSL 1.1.1c' test_rsa_exceptions (test_rsa.RSATestCase.test_rsa_exceptions) ... ok test_savepub (test_rsa.RSATestCase.test_savepub) ... ok test_set_bn (test_rsa.RSATestCase.test_set_bn) ... ok test_set_e (test_rsa.RSATestCase.test_set_e) ... ok test_set_n (test_rsa.RSATestCase.test_set_n) ... ok test_set_n_then_set_e (test_rsa.RSATestCase.test_set_n_then_set_e) ... ok test_sign_and_verify (test_rsa.RSATestCase.test_sign_and_verify) Testing signing and verifying digests ... ok test_sign_and_verify_rsassa_pss (test_rsa.RSATestCase.test_sign_and_verify_rsassa_pss) Testing signing and verifying using rsassa_pss ... ok test_sign_bad_method (test_rsa.RSATestCase.test_sign_bad_method) Testing calling sign with an unsupported message digest algorithm ... ok test_sign_fail (test_rsa.RSATestCase.test_sign_fail) Testing sign to make sure it fails when I give it ... ok test_verify_bad_method (test_rsa.RSATestCase.test_verify_bad_method) Testing calling verify with an unsupported message digest algorithm ... ok test_verify_bad_signature (test_rsa.RSATestCase.test_verify_bad_signature) Testing verify to make sure it fails when we use a bad signature ... ok test_verify_mismatched_algo (test_rsa.RSATestCase.test_verify_mismatched_algo) Testing verify to make sure it fails when we use a different ... ok test_x509_public_encrypt (test_rsa.RSATestCase.test_x509_public_encrypt) ... ok test_crlf (test_smime.SMIMETestCase.test_crlf) ... ERROR test_decrypt (test_smime.SMIMETestCase.test_decrypt) ... ERROR test_decryptBad (test_smime.SMIMETestCase.test_decryptBad) ... ERROR test_encrypt (test_smime.SMIMETestCase.test_encrypt) ... ERROR test_load_bad (test_smime.SMIMETestCase.test_load_bad) ... ERROR test_sign (test_smime.SMIMETestCase.test_sign) ... ERROR test_signEncryptDecryptVerify (test_smime.SMIMETestCase.test_signEncryptDecryptVerify) ... ERROR test_sign_nondefault_digest (test_smime.SMIMETestCase.test_sign_nondefault_digest) ... ERROR test_sign_unknown_digest (test_smime.SMIMETestCase.test_sign_unknown_digest) ... ERROR test_sign_with_stack (test_smime.SMIMETestCase.test_sign_with_stack) ... ERROR test_store_load_info (test_smime.SMIMETestCase.test_store_load_info) ... ERROR test_verify (test_smime.SMIMETestCase.test_verify) ... ERROR test_verifyBad (test_smime.SMIMETestCase.test_verifyBad) ... ERROR test_verify_with_method_callback (test_smime.SMIMETestCase.test_verify_with_method_callback) ... ERROR test_verify_with_static_callback (test_smime.SMIMETestCase.test_verify_with_static_callback) ... ERROR test_load_pkcs7 (test_smime.WriteLoadTestCase.test_load_pkcs7) ... ERROR test_load_pkcs7_bio (test_smime.WriteLoadTestCase.test_load_pkcs7_bio) ... ERROR test_load_pkcs7_bio_der (test_smime.WriteLoadTestCase.test_load_pkcs7_bio_der) ... ERROR test_load_pkcs7_der (test_smime.WriteLoadTestCase.test_load_pkcs7_der) ... ERROR test_load_smime (test_smime.WriteLoadTestCase.test_load_smime) ... ERROR test_load_smime_bio (test_smime.WriteLoadTestCase.test_load_smime_bio) ... ERROR test_lib (test_ssl.FtpsLibTestCase.test_lib) ... ok test_26_compat (test_ssl.FtpslibTestCase.test_26_compat) ... ok test_HTTPSConnection (test_ssl.HttpslibSSLClientTestCase.test_HTTPSConnection) ... ok test_HTTPSConnection_illegalkeywordarg (test_ssl.HttpslibSSLClientTestCase.test_HTTPSConnection_illegalkeywordarg) ... ok test_HTTPSConnection_resume_session (test_ssl.HttpslibSSLClientTestCase.test_HTTPSConnection_resume_session) ... skipped "Doesn't work with OpenSSL 1.1.1" test_HTTPSConnection_secure_context (test_ssl.HttpslibSSLClientTestCase.test_HTTPSConnection_secure_context) ... ok test_HTTPSConnection_secure_context_fail (test_ssl.HttpslibSSLClientTestCase.test_HTTPSConnection_secure_context_fail) ... ok test_IP_call (test_ssl.HttpslibSSLSNIClientTestCase.test_IP_call) ... ok test_SNI_support (test_ssl.HttpslibSSLSNIClientTestCase.test_SNI_support) ... ok test_blocking0 (test_ssl.MiscSSLClientTestCase.test_blocking0) ... ok test_blocking1 (test_ssl.MiscSSLClientTestCase.test_blocking1) ... ok test_cipher_mismatch (test_ssl.MiscSSLClientTestCase.test_cipher_mismatch) ... ok test_cipher_ok (test_ssl.MiscSSLClientTestCase.test_cipher_ok) ... ok test_info_callback (test_ssl.MiscSSLClientTestCase.test_info_callback) ... LOOP: SSL connect: before SSL initialization LOOP: SSL connect: SSLv3/TLS write client hello LOOP: SSL connect: SSLv3/TLS write client hello LOOP: SSL connect: SSLv3/TLS read server hello LOOP: SSL connect: TLSv1.3 read encrypted extensions LOOP: SSL connect: SSLv3/TLS read server certificate LOOP: SSL connect: TLSv1.3 read server certificate verify LOOP: SSL connect: SSLv3/TLS read finished LOOP: SSL connect: SSLv3/TLS write change cipher spec LOOP: SSL connect: SSLv3/TLS write finished INFO: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSLv3/TLS read server session ticket INFO: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSL negotiation finished successfully LOOP: SSL connect: SSLv3/TLS read server session ticket INFO: SSL connect: SSL negotiation finished successfully ALERT: read: warning: close notify ALERT: write: warning: close notify ok test_makefile (test_ssl.MiscSSLClientTestCase.test_makefile) ... ok test_makefile_err (test_ssl.MiscSSLClientTestCase.test_makefile_err) ... ok test_no_connection (test_ssl.MiscSSLClientTestCase.test_no_connection) ... ok test_no_such_cipher (test_ssl.MiscSSLClientTestCase.test_no_such_cipher) ... ok test_server_simple (test_ssl.MiscSSLClientTestCase.test_server_simple) ... ok test_server_simple_secure_context (test_ssl.MiscSSLClientTestCase.test_server_simple_secure_context) ... ok test_server_simple_secure_context_fail (test_ssl.MiscSSLClientTestCase.test_server_simple_secure_context_fail) ... ok test_server_simple_timeouts (test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts) ... ok test_ssl_connection_free (test_ssl.MiscSSLClientTestCase.test_ssl_connection_free) ... ok test_ssl_connection_no_free (test_ssl.MiscSSLClientTestCase.test_ssl_connection_no_free) ... ok test_tls1_nok (test_ssl.MiscSSLClientTestCase.test_tls1_nok) ... ok test_tls1_ok (test_ssl.MiscSSLClientTestCase.test_tls1_ok) ... skipped 'No TLS1 is allowed' test_verify_allow_unknown_new (test_ssl.MiscSSLClientTestCase.test_verify_allow_unknown_new) ... ok test_verify_allow_unknown_old (test_ssl.MiscSSLClientTestCase.test_verify_allow_unknown_old) ... ok test_verify_cb_exception (test_ssl.MiscSSLClientTestCase.test_verify_cb_exception) ... ok test_verify_cb_lambda (test_ssl.MiscSSLClientTestCase.test_verify_cb_lambda) ... ok test_verify_cb_new (test_ssl.MiscSSLClientTestCase.test_verify_cb_new) ... ok test_verify_cb_new_class (test_ssl.MiscSSLClientTestCase.test_verify_cb_new_class) ... ok test_verify_cb_new_function (test_ssl.MiscSSLClientTestCase.test_verify_cb_new_function) ... ok test_verify_cb_not_callable (test_ssl.MiscSSLClientTestCase.test_verify_cb_not_callable) ... ok test_verify_cb_old (test_ssl.MiscSSLClientTestCase.test_verify_cb_old) ... ok test_verify_cb_wrong_callable (test_ssl.MiscSSLClientTestCase.test_verify_cb_wrong_callable) ... ok test_verify_cert (test_ssl.MiscSSLClientTestCase.test_verify_cert) ... ok test_verify_cert_fail (test_ssl.MiscSSLClientTestCase.test_verify_cert_fail) ... ok test_verify_cert_mutual_auth (test_ssl.MiscSSLClientTestCase.test_verify_cert_mutual_auth) ... ok test_verify_cert_mutual_auth_fail (test_ssl.MiscSSLClientTestCase.test_verify_cert_mutual_auth_fail) ... ok test_verify_cert_mutual_auth_servernbio (test_ssl.MiscSSLClientTestCase.test_verify_cert_mutual_auth_servernbio) ... ok test_verify_nocert_fail (test_ssl.MiscSSLClientTestCase.test_verify_nocert_fail) ... ok test_pass (test_ssl.PassSSLClientTestCase.test_pass) ... ok test_session_load_bad (test_ssl.SessionTestCase.test_session_load_bad) ... ok test_makefile_timeout (test_ssl.TwistedSSLClientTestCase.test_makefile_timeout) ... skipped 'Twisted integration has been temporarily switched off.' test_makefile_timeout_fires (test_ssl.TwistedSSLClientTestCase.test_makefile_timeout_fires) ... skipped 'Twisted integration has been temporarily switched off.' test_timeout (test_ssl.TwistedSSLClientTestCase.test_timeout) ... skipped 'Twisted integration has been temporarily switched off.' test_twisted_wrapper (test_ssl.TwistedSSLClientTestCase.test_twisted_wrapper) ... skipped 'Twisted integration has been temporarily switched off.' test_urllib2 (test_ssl.Urllib2SSLClientTestCase.test_urllib2) ... ok test_urllib2_leak (test_ssl.Urllib2SSLClientTestCase.test_urllib2_leak) ... DEBUG:test_urllib2_leak:get_referrers = 2 ok test_urllib2_opener_handlers (test_ssl.Urllib2SSLClientTestCase.test_urllib2_opener_handlers) ... ok test_urllib2_secure_context (test_ssl.Urllib2SSLClientTestCase.test_urllib2_secure_context) ... ok test_urllib2_secure_context_fail (test_ssl.Urllib2SSLClientTestCase.test_urllib2_secure_context_fail) ... ok test_z_urllib2_opener (test_ssl.Urllib2SSLClientTestCase.test_z_urllib2_opener) ... ok test_transfer_encoding_chunked (test_ssl.Urllib2TEChunkedSSLClientTestCase.test_transfer_encoding_chunked) ... ok test_urllib (test_ssl.UrllibSSLClientTestCase.test_urllib) ... skipped 'urllib.URLOpener is deprecated in py3k' test_lib (test_ssl.XmlRpcLibTestCase.test_lib) ... ok test_checker (test_ssl_offline.CheckerTestCase.test_checker) ... ok test_certstore (test_ssl_offline.ContextTestCase.test_certstore) ... ok test_ctx_load_verify_locations (test_ssl_offline.ContextTestCase.test_ctx_load_verify_locations) ... ok test_ctx_set_default_verify_paths (test_ssl_offline.ContextTestCase.test_ctx_set_default_verify_paths) ... ok test_map (test_ssl_offline.ContextTestCase.test_map) ... ok test_multiInitCleanup (test_threading.ThreadingTestCase.test_multiInitCleanup) ... ok test_pass (test_threading.ThreadingTestCase.test_pass) ... ok test_timeout_0_0 (test_timeout.TimeoutTestCase.test_timeout_0_0) ... ok test_timeout_0_456 (test_timeout.TimeoutTestCase.test_timeout_0_456) ... ok test_timeout_0_456000 (test_timeout.TimeoutTestCase.test_timeout_0_456000) ... ok test_timeout_123_0 (test_timeout.TimeoutTestCase.test_timeout_123_0) ... ok test_timeout_123_456 (test_timeout.TimeoutTestCase.test_timeout_123_456) ... ok test_timeout_123_456000 (test_timeout.TimeoutTestCase.test_timeout_123_456000) ... ok test_timeout_1_499 (test_timeout.TimeoutTestCase.test_timeout_1_499) ... ok test_timeout_1_501 (test_timeout.TimeoutTestCase.test_timeout_1_501) ... ok test_timeout_2_2499000 (test_timeout.TimeoutTestCase.test_timeout_2_2499000) ... ok test_timeout_2_2999000 (test_timeout.TimeoutTestCase.test_timeout_2_2999000) ... ok test_timeout_2_3000000 (test_timeout.TimeoutTestCase.test_timeout_2_3000000) ... ok test_timeout_max_0 (test_timeout.TimeoutTestCase.test_timeout_max_0) ... ok test_timeout_max_456 (test_timeout.TimeoutTestCase.test_timeout_max_456) ... ok test_timeout_max_456000 (test_timeout.TimeoutTestCase.test_timeout_max_456000) ... ok test_timeout_size (test_timeout.TimeoutTestCase.test_timeout_size) ... ok test_py3bytes (test_util.UtilTestCase.test_py3bytes) ... ok test_py3bytes_None (test_util.UtilTestCase.test_py3bytes_None) ... ok test_py3bytes_bytes (test_util.UtilTestCase.test_py3bytes_bytes) ... ok test_py3bytes_str (test_util.UtilTestCase.test_py3bytes_str) ... ok test_py3str (test_util.UtilTestCase.test_py3str) ... ok test_py3str_None (test_util.UtilTestCase.test_py3str_None) ... ok test_py3str_bytes (test_util.UtilTestCase.test_py3str_bytes) ... ok test_py3str_str (test_util.UtilTestCase.test_py3str_str) ... ok test_new (test_x509.CRLTestCase.test_new) ... ok test_ext (test_x509.X509ExtTestCase.test_ext) ... ok test_as_der (test_x509.X509StackTestCase.test_as_der) ... ok test_make_stack (test_x509.X509StackTestCase.test_make_stack) ... ok test_make_stack_check_num (test_x509.X509StackTestCase.test_make_stack_check_num) ... ok test_make_stack_from_der (test_x509.X509StackTestCase.test_make_stack_from_der) ... ok test_date_after_2050_working (test_x509.X509TestCase.test_date_after_2050_working) ... ok test_easy_rsa_generated (test_x509.X509TestCase.test_easy_rsa_generated) Test loading a cert generated by easy RSA. ... ok test_ext (test_x509.X509TestCase.test_ext) ... ok test_ext_error (test_x509.X509TestCase.test_ext_error) ... ok test_extstack (test_x509.X509TestCase.test_extstack) ... ok test_fingerprint (test_x509.X509TestCase.test_fingerprint) ... ok test_load (test_x509.X509TestCase.test_load) ... ok test_load_bio (test_x509.X509TestCase.test_load_bio) ... ok test_load_der_string (test_x509.X509TestCase.test_load_der_string) ... ok test_load_request_bio (test_x509.X509TestCase.test_load_request_bio) ... ERROR test_load_string (test_x509.X509TestCase.test_load_string) ... ok test_long_serial (test_x509.X509TestCase.test_long_serial) ... ok test_malformed_data (test_x509.X509TestCase.test_malformed_data) ... ok test_mkcacert (test_x509.X509TestCase.test_mkcacert) ... FAIL test_mkcert (test_x509.X509TestCase.test_mkcert) ... ok test_mkproxycert (test_x509.X509TestCase.test_mkproxycert) ... FAIL test_mkreq (test_x509.X509TestCase.test_mkreq) ... ERROR test_save (test_x509.X509TestCase.test_save) ... ok test_save_der_string (test_x509.X509TestCase.test_save_der_string) ... ok test_set_long_serial (test_x509.X509TestCase.test_set_long_serial) ... ok test_x509_name (test_x509.X509TestCase.test_x509_name) ... ok ====================================================================== ERROR: test_pkey_verify_crash (test_evp.EVPTestCase.test_pkey_verify_crash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_evp.py", line 422, in test_pkey_verify_crash signature = sign(data) ^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_evp.py", line 405, in sign signed_data = SIGN_PRIVATE.sign_final() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/EVP.py", line 233, in sign_final return m2.sign_final(self.ctx, self.pkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.EVP.EVPError: could not load the shared library ====================================================================== ERROR: test_verify_final (test_evp.EVPTestCase.test_verify_final) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_evp.py", line 303, in test_verify_final sig = pkey.sign_final() ^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/EVP.py", line 233, in sign_final return m2.sign_final(self.ctx, self.pkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.EVP.EVPError: dso not found ====================================================================== ERROR: test_crlf (test_smime.SMIMETestCase.test_crlf) Trying: check = Checker() Expecting nothing ok Trying: check._match(host='my.example.com', certHost='my.example.com') Expecting: True ok Trying: check._match(host='my.example.com', certHost='*.example.com') Expecting: True ok Trying: check._match(host='my.example.com', certHost='m*.example.com') Expecting: True ok Trying: check._match(host='my.example.com', certHost='m*.EXAMPLE.com') Expecting: True ok Trying: check._match(host='my.example.com', certHost='m*ample.com') Expecting: False ok Trying: check._match(host='my.example.com', certHost='*.*.com') Expecting: False ok Trying: check._match(host='1.2.3.4', certHost='1.2.3.4') Expecting: True ok Trying: check._match(host='1.2.3.4', certHost='*.2.3.4') Expecting: False ok Trying: check._match(host='1234', certHost='1234') Expecting: True ok Trying: check = Checker() Expecting nothing ok Trying: check._matchIPAddress(host='my.example.com', certHost='my.example.com') Expecting: False ok Trying: check._matchIPAddress(host='1.2.3.4', certHost='1.2.3.4') Expecting: True ok Trying: check._matchIPAddress(host='1.2.3.4', certHost='*.2.3.4') Expecting: False ok Trying: check._matchIPAddress(host='1.2.3.4', certHost='1.2.3.40') Expecting: False ok Trying: check._matchIPAddress(host='::1', certHost='::1') Expecting: True ok Trying: check._matchIPAddress(host='::1', certHost='0:0:0:0:0:0:0:1') Expecting: True ok Trying: check._matchIPAddress(host='::1', certHost='::2') Expecting: False ok Trying: check = Checker() Expecting nothing ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:my.example.com') Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:*.example.com') Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:m*.example.com') Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:m*ample.com') Expecting: False ok Trying: check.useSubjectAltNameOnly Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:m*ample.com, othername:') Expecting: False ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:m*ample.com, DNS:my.example.org') Expecting: False ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:m*ample.com, DNS:my.example.com') Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='DNS:my.example.com, DNS:my.example.org') Expecting: True ok Trying: check.useSubjectAltNameOnly Expecting: True ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='') Expecting: False ok Trying: check._splitSubjectAltName(host='my.example.com', subjectAltName='othername:') Expecting: False ok Trying: check.useSubjectAltNameOnly Expecting: False ok 10 items had no tests: M2Crypto.SSL.Checker M2Crypto.SSL.Checker.Checker M2Crypto.SSL.Checker.Checker.__call__ M2Crypto.SSL.Checker.Checker.__init__ M2Crypto.SSL.Checker.NoCertificate M2Crypto.SSL.Checker.SSLVerificationError M2Crypto.SSL.Checker.WrongCertificate M2Crypto.SSL.Checker.WrongHost M2Crypto.SSL.Checker.WrongHost.__init__ M2Crypto.SSL.Checker.WrongHost.__str__ 3 items passed all tests: 10 tests in M2Crypto.SSL.Checker.Checker._match 8 tests in M2Crypto.SSL.Checker.Checker._matchIPAddress 14 tests in M2Crypto.SSL.Checker.Checker._splitSubjectAltName 32 tests in 13 items. 32 passed and 0 failed. Test passed. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: expecting an rsa key ====================================================================== ERROR: test_decrypt (test_smime.SMIMETestCase.test_decrypt) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: bad decrypt ====================================================================== ERROR: test_decryptBad (test_smime.SMIMETestCase.test_decryptBad) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: bad decrypt ====================================================================== ERROR: test_encrypt (test_smime.SMIMETestCase.test_encrypt) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: no start line ====================================================================== ERROR: test_load_bad (test_smime.SMIMETestCase.test_load_bad) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: unknown padding type ====================================================================== ERROR: test_sign (test_smime.SMIMETestCase.test_sign) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: digest too big for rsa key ====================================================================== ERROR: test_signEncryptDecryptVerify (test_smime.SMIMETestCase.test_signEncryptDecryptVerify) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: bad signature ====================================================================== ERROR: test_sign_nondefault_digest (test_smime.SMIMETestCase.test_sign_nondefault_digest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_sign_unknown_digest (test_smime.SMIMETestCase.test_sign_unknown_digest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_sign_with_stack (test_smime.SMIMETestCase.test_sign_with_stack) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_store_load_info (test_smime.SMIMETestCase.test_store_load_info) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_verify (test_smime.SMIMETestCase.test_verify) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_verifyBad (test_smime.SMIMETestCase.test_verifyBad) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_verify_with_method_callback (test_smime.SMIMETestCase.test_verify_with_method_callback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_verify_with_static_callback (test_smime.SMIMETestCase.test_verify_with_static_callback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 34, in setUp self.signed = self.test_sign() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 71, in test_sign p7 = s.sign(buf, SMIME.PKCS7_DETACHED) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_pkcs7 (test_smime.WriteLoadTestCase.test_load_pkcs7) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_pkcs7_bio (test_smime.WriteLoadTestCase.test_load_pkcs7_bio) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_pkcs7_bio_der (test_smime.WriteLoadTestCase.test_load_pkcs7_bio_der) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_pkcs7_der (test_smime.WriteLoadTestCase.test_load_pkcs7_der) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_smime (test_smime.WriteLoadTestCase.test_load_smime) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_smime_bio (test_smime.WriteLoadTestCase.test_load_smime_bio) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_smime.py", line 325, in setUp p7 = s.sign(BIO.MemoryBuffer(b'some text')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/SMIME.py", line 244, in sign pkcs7 = m2.pkcs7_sign0(self.x509._ptr(), self.pkey._ptr(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.SMIME.SMIME_Error: pkcs7 datasign ====================================================================== ERROR: test_load_request_bio (test_x509.X509TestCase.test_load_request_bio) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 509, in test_load_request_bio r1 = X509.load_request_der_string(req.as_der()) ^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/X509.py", line 1195, in as_der return buf.read_all() ^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/BIO.py", line 204, in read return m2.bio_read(self.bio, m2.bio_ctrl_pending(self.bio)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.BIO.BIOError: error in extension (name=nonsensicalName, value=blabla) ====================================================================== ERROR: test_mkreq (test_x509.X509TestCase.test_mkreq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 213, in test_mkreq req2 = X509.load_request('tests/tmp_request.pem') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/m2crypto-0.39.0-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/M2Crypto/X509.py", line 1329, in load_request cptr = m2.x509_req_read_pem(f.bio_ptr()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ M2Crypto.X509.X509Error: unknown signature algorithm ====================================================================== FAIL: test_mkcacert (test_x509.X509TestCase.test_mkcacert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 366, in test_mkcacert cacert, _, pkey = self.mkcacert(utc) ^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 347, in mkcacert self.assertTrue(cert.check_ca()) AssertionError: 0 is not true ====================================================================== FAIL: test_mkproxycert (test_x509.X509TestCase.test_mkproxycert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 371, in test_mkproxycert cacert, pk1, _ = self.mkcacert(utc) ^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/M2Crypto-0.39.0/tests/test_x509.py", line 347, in mkcacert self.assertTrue(cert.check_ca()) AssertionError: 0 is not true ---------------------------------------------------------------------- Ran 309 tests in 72.317s FAILED (failures=2, errors=25, skipped=9) error: Bad exit status from /var/tmp/rpm-tmp.53x6xg (%check) Bad exit status from /var/tmp/rpm-tmp.53x6xg (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/m2crypto.spec