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 noarch --nodeps /builddir/build/SPECS/python-winrm.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156844-9986/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-winrm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-winrm-0.4.3-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-winrm.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156844-9986/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-winrm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jeXT4K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pywinrm-0.4.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/winrm-0.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pywinrm-0.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-winrm-mock.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0mjRjJ + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pywinrm-0.4.3 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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' running build running build_py creating build creating build/lib creating build/lib/winrm copying winrm/transport.py -> build/lib/winrm copying winrm/encryption.py -> build/lib/winrm copying winrm/exceptions.py -> build/lib/winrm copying winrm/protocol.py -> build/lib/winrm copying winrm/__init__.py -> build/lib/winrm creating build/lib/winrm/tests copying winrm/tests/test_nori_type_casting.py -> build/lib/winrm/tests copying winrm/tests/test_protocol.py -> build/lib/winrm/tests copying winrm/tests/test_transport.py -> build/lib/winrm/tests copying winrm/tests/test_session.py -> build/lib/winrm/tests copying winrm/tests/test_integration_session.py -> build/lib/winrm/tests copying winrm/tests/test_integration_protocol.py -> build/lib/winrm/tests copying winrm/tests/test_cmd.py -> build/lib/winrm/tests copying winrm/tests/test_encryption.py -> build/lib/winrm/tests copying winrm/tests/test_powershell.py -> build/lib/winrm/tests copying winrm/tests/test_wql.py -> build/lib/winrm/tests copying winrm/tests/conftest.py -> build/lib/winrm/tests copying winrm/tests/__init__.py -> build/lib/winrm/tests creating build/lib/winrm/vendor copying winrm/vendor/__init__.py -> build/lib/winrm/vendor creating build/lib/winrm/vendor/requests_kerberos copying winrm/vendor/requests_kerberos/compat.py -> build/lib/winrm/vendor/requests_kerberos copying winrm/vendor/requests_kerberos/kerberos_.py -> build/lib/winrm/vendor/requests_kerberos copying winrm/vendor/requests_kerberos/exceptions.py -> build/lib/winrm/vendor/requests_kerberos copying winrm/vendor/requests_kerberos/__init__.py -> build/lib/winrm/vendor/requests_kerberos copying winrm/tests/sample_script.ps1 -> build/lib/winrm/tests + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B0aJSr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch + cd pywinrm-0.4.3 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/python-winrm-0.4.3-1.ocs23.noarch 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() running install_lib creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm copying build/lib/winrm/transport.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm copying build/lib/winrm/encryption.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm copying build/lib/winrm/exceptions.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_nori_type_casting.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_protocol.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_transport.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_session.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/sample_script.ps1 -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_integration_session.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_integration_protocol.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_cmd.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_encryption.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_powershell.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/test_wql.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/conftest.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/tests/__init__.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests copying build/lib/winrm/protocol.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor creating /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos copying build/lib/winrm/vendor/requests_kerberos/compat.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos copying build/lib/winrm/vendor/requests_kerberos/kerberos_.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos copying build/lib/winrm/vendor/requests_kerberos/exceptions.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos copying build/lib/winrm/vendor/requests_kerberos/__init__.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos copying build/lib/winrm/vendor/__init__.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor copying build/lib/winrm/__init__.py -> /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/transport.py to transport.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/encryption.py to encryption.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/exceptions.py to exceptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_nori_type_casting.py to test_nori_type_casting.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_protocol.py to test_protocol.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_transport.py to test_transport.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_session.py to test_session.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_integration_session.py to test_integration_session.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_integration_protocol.py to test_integration_protocol.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_cmd.py to test_cmd.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_encryption.py to test_encryption.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_powershell.py to test_powershell.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/test_wql.py to test_wql.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/conftest.py to conftest.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/protocol.py to protocol.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos/compat.py to compat.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos/kerberos_.py to kerberos_.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos/exceptions.py to exceptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/requests_kerberos/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/vendor/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/winrm/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmpzmtpl8yx.py' /usr/bin/python3 /tmp/tmpzmtpl8yx.py removing /tmp/tmpzmtpl8yx.py running install_egg_info running egg_info creating pywinrm.egg-info writing pywinrm.egg-info/PKG-INFO writing dependency_links to pywinrm.egg-info/dependency_links.txt writing requirements to pywinrm.egg-info/requires.txt writing top-level names to pywinrm.egg-info/top_level.txt writing manifest file 'pywinrm.egg-info/SOURCES.txt' reading manifest file 'pywinrm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pywinrm.egg-info/SOURCES.txt' Copying pywinrm.egg-info to /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/pywinrm-0.4.3-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.4.3-1.ocs23 --unique-debug-suffix -0.4.3-1.ocs23.noarch --unique-debug-src-base python-winrm-0.4.3-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/pywinrm-0.4.3 find: 'debug': No such file or directory + /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/python-winrm-0.4.3-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k9CWx4 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pywinrm-0.4.3 + /usr/bin/python3 -m pytest -vv winrm/tests ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pywinrm-0.4.3 configfile: setup.cfg collecting ... collected 67 items winrm/tests/test_encryption.py::test_init_with_invalid_protocol PASSED [ 1%] winrm/tests/test_encryption.py::test_encrypt_message PASSED [ 2%] winrm/tests/test_encryption.py::test_encrypt_large_credssp_message PASSED [ 4%] winrm/tests/test_encryption.py::test_decrypt_message PASSED [ 5%] winrm/tests/test_encryption.py::test_decrypt_message_boundary_with_end_hyphens PASSED [ 7%] winrm/tests/test_encryption.py::test_decrypt_message_length_mismatch PASSED [ 8%] winrm/tests/test_encryption.py::test_decrypt_large_credssp_message PASSED [ 10%] winrm/tests/test_encryption.py::test_decrypt_message_decryption_not_needed PASSED [ 11%] winrm/tests/test_encryption.py::test_get_credssp_trailer_length_gcm PASSED [ 13%] winrm/tests/test_encryption.py::test_get_credssp_trailer_length_md5_rc4 PASSED [ 14%] winrm/tests/test_encryption.py::test_get_credssp_trailer_length_sha256_3des PASSED [ 16%] winrm/tests/test_encryption.py::test_get_credssp_trailer_length_sha384_aes PASSED [ 17%] winrm/tests/test_encryption.py::test_get_credssp_trailer_length_no_hash PASSED [ 19%] winrm/tests/test_integration_protocol.py::test_unicode_roundtrip SKIPPEDl be skipped) [ 20%] winrm/tests/test_integration_protocol.py::test_open_shell_and_close_shell SKIPPEDl be skipped) [ 22%] winrm/tests/test_integration_protocol.py::test_run_command_with_arguments_and_cleanup_command SKIPPEDl be skipped) [ 23%] winrm/tests/test_integration_protocol.py::test_run_command_without_arguments_and_cleanup_command SKIPPEDl be skipped) [ 25%] winrm/tests/test_integration_protocol.py::test_run_command_with_env SKIPPEDl be skipped) [ 26%] winrm/tests/test_integration_protocol.py::test_get_command_output SKIPPEDl be skipped) [ 28%] winrm/tests/test_integration_protocol.py::test_run_command_taking_more_than_operation_timeout_sec SKIPPEDl be skipped) [ 29%] winrm/tests/test_integration_protocol.py::test_set_timeout SKIPPEDs will be skipped) [ 31%] winrm/tests/test_integration_protocol.py::test_set_max_env_size SKIPPEDl be skipped) [ 32%] winrm/tests/test_integration_protocol.py::test_set_locale SKIPPEDts will be skipped) [ 34%] winrm/tests/test_integration_session.py::test_run_cmd XFAIL [ 35%] winrm/tests/test_protocol.py::test_open_shell_and_close_shell PASSED [ 37%] winrm/tests/test_protocol.py::test_run_command_with_arguments_and_cleanup_command PASSED [ 38%] winrm/tests/test_protocol.py::test_run_command_without_arguments_and_cleanup_command PASSED [ 40%] winrm/tests/test_protocol.py::test_get_command_output PASSED [ 41%] winrm/tests/test_protocol.py::test_send_command_input PASSED [ 43%] winrm/tests/test_protocol.py::test_set_timeout_as_sec PASSED [ 44%] winrm/tests/test_protocol.py::test_fail_set_read_timeout_as_sec PASSED [ 46%] winrm/tests/test_protocol.py::test_fail_set_operation_timeout_as_sec PASSED [ 47%] winrm/tests/test_session.py::test_run_cmd PASSED [ 49%] winrm/tests/test_session.py::test_run_ps_with_error PASSED [ 50%] winrm/tests/test_session.py::test_target_as_hostname PASSED [ 52%] winrm/tests/test_session.py::test_target_as_hostname_then_port PASSED [ 53%] winrm/tests/test_session.py::test_target_as_schema_then_hostname PASSED [ 55%] winrm/tests/test_session.py::test_target_as_schema_then_hostname_then_port PASSED [ 56%] winrm/tests/test_session.py::test_target_as_full_url PASSED [ 58%] winrm/tests/test_session.py::test_target_with_dots PASSED [ 59%] winrm/tests/test_session.py::test_decode_clixml_error PASSED [ 61%] winrm/tests/test_session.py::test_decode_clixml_no_clixml PASSED [ 62%] winrm/tests/test_session.py::test_decode_clixml_no_errors PASSED [ 64%] winrm/tests/test_session.py::test_decode_clixml_invalid_xml PASSED [ 65%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_ignore_1 PASSED [ 67%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_ignore_2 PASSED [ 68%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_1 PASSED [ 70%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_2 PASSED [ 71%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_3 PASSED [ 73%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_1 PASSED [ 74%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_2 PASSED [ 76%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default PASSED [ 77%] winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default_env PASSED [ 79%] winrm/tests/test_transport.py::TestTransport::test_build_session_invalid_auth PASSED [ 80%] winrm/tests/test_transport.py::TestTransport::test_build_session_invalid_encryption PASSED [ 82%] winrm/tests/test_transport.py::TestTransport::test_build_session_krb_delegation_as_invalid_str PASSED [ 83%] winrm/tests/test_transport.py::TestTransport::test_build_session_krb_delegation_as_str PASSED [ 85%] winrm/tests/test_transport.py::TestTransport::test_build_session_no_password PASSED [ 86%] winrm/tests/test_transport.py::TestTransport::test_build_session_no_username PASSED [ 88%] winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined PASSED [ 89%] winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined_and_env PASSED [ 91%] winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_none PASSED [ 92%] winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_http PASSED [ 94%] winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_https PASSED [ 95%] winrm/tests/test_transport.py::TestTransport::test_build_session_server_cert_validation_invalid PASSED [ 97%] winrm/tests/test_transport.py::TestTransport::test_close_session PASSED [ 98%] winrm/tests/test_transport.py::TestTransport::test_close_session_not_built PASSED [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373 /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: flake8-ignore self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") ../../../../usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373 /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: flake8-max-line-length self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_1 winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default_env /builddir/build/BUILD/pywinrm-0.4.3/winrm/transport.py:220: DeprecationWarning: 'pywinrm' will use an environment variable defined CA Trust. This feature will be disabled in the future, please specify it explicitly. REQUESTS_CA_BUNDLE contains path_to_REQUESTS_CA_CERT warnings.warn(message, DeprecationWarning) winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_2 /builddir/build/BUILD/pywinrm-0.4.3/winrm/transport.py:220: DeprecationWarning: 'pywinrm' will use an environment variable defined CA Trust. This feature will be disabled in the future, please specify it explicitly. CURL_CA_BUNDLE contains path_to_CURL_CA_CERT warnings.warn(message, DeprecationWarning) winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_http /builddir/build/BUILD/pywinrm-0.4.3/winrm/transport.py:194: DeprecationWarning: 'pywinrm' will use an environment defined proxy. This feature will be disabled in the future, please specify it explicitly. HTTP proxy random_proxy discovered. warnings.warn(message, DeprecationWarning) winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_https /builddir/build/BUILD/pywinrm-0.4.3/winrm/transport.py:194: DeprecationWarning: 'pywinrm' will use an environment defined proxy. This feature will be disabled in the future, please specify it explicitly. HTTPS proxy random_proxy discovered. warnings.warn(message, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============ 56 passed, 10 skipped, 1 xfailed, 7 warnings in 0.22s ============= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-winrm-0.4.3-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0BJrG7 + umask 022 + cd /builddir/build/BUILD + cd pywinrm-0.4.3 + DOCDIR=/builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/doc/python3-winrm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/doc/python3-winrm + cp -pr README.md /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/doc/python3-winrm + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/doc/python3-winrm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JjLxc0 + umask 022 + cd /builddir/build/BUILD + cd pywinrm-0.4.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/licenses/python3-winrm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/licenses/python3-winrm + cp -pr LICENSE /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch/usr/share/licenses/python3-winrm + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-winrm = 0.4.3-1.ocs23 python3-winrm = 0.4.3-1.ocs23 python3.11-winrm = 0.4.3-1.ocs23 python3.11dist(pywinrm) = 0.4.3 python3dist(pywinrm) = 0.4.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(requests) >= 2.9.1 python3.11dist(requests-ntlm) >= 1.1 python3.11dist(six) python3.11dist(xmltodict) Obsoletes: python3.11-winrm < 0.4.3-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-winrm-0.4.3-1.ocs23.noarch Wrote: /builddir/build/RPMS/python3-winrm-0.4.3-1.ocs23.noarch.rpm Child return code was: 0