Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1690442896.028908/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-serialization-4.3.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1690442896.028908/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-serialization-4.3.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1690442896.028908/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oslo.serialization.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Mt2u6Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.serialization-4.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.serialization-4.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.serialization-4.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k12Vz2 + umask 022 + cd /builddir/build/BUILD + cd oslo.serialization-4.3.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/oslo_serialization creating build/lib/oslo_serialization/serializer copying oslo_serialization/serializer/json_serializer.py -> build/lib/oslo_serialization/serializer copying oslo_serialization/serializer/__init__.py -> build/lib/oslo_serialization/serializer copying oslo_serialization/serializer/base_serializer.py -> build/lib/oslo_serialization/serializer copying oslo_serialization/serializer/msgpack_serializer.py -> build/lib/oslo_serialization/serializer creating build/lib/oslo_serialization/tests copying oslo_serialization/tests/test_jsonutils.py -> build/lib/oslo_serialization/tests copying oslo_serialization/tests/test_msgpackutils.py -> build/lib/oslo_serialization/tests copying oslo_serialization/tests/__init__.py -> build/lib/oslo_serialization/tests copying oslo_serialization/tests/test_base64.py -> build/lib/oslo_serialization/tests copying oslo_serialization/base64.py -> build/lib/oslo_serialization copying oslo_serialization/__init__.py -> build/lib/oslo_serialization copying oslo_serialization/msgpackutils.py -> build/lib/oslo_serialization copying oslo_serialization/jsonutils.py -> build/lib/oslo_serialization running egg_info writing oslo.serialization.egg-info/PKG-INFO writing dependency_links to oslo.serialization.egg-info/dependency_links.txt writing requirements to oslo.serialization.egg-info/requires.txt writing top-level names to oslo.serialization.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.q4ytrc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 + cd oslo.serialization-4.3.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization copying build/lib/oslo_serialization/base64.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests copying build/lib/oslo_serialization/tests/test_jsonutils.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests copying build/lib/oslo_serialization/tests/test_msgpackutils.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests copying build/lib/oslo_serialization/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests copying build/lib/oslo_serialization/tests/test_base64.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests copying build/lib/oslo_serialization/__init__.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization creating /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer copying build/lib/oslo_serialization/serializer/json_serializer.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer copying build/lib/oslo_serialization/serializer/__init__.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer copying build/lib/oslo_serialization/serializer/base_serializer.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer copying build/lib/oslo_serialization/serializer/msgpack_serializer.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer copying build/lib/oslo_serialization/msgpackutils.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization copying build/lib/oslo_serialization/jsonutils.py -> /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/base64.py to base64.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests/test_jsonutils.py to test_jsonutils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests/test_msgpackutils.py to test_msgpackutils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/tests/test_base64.py to test_base64.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer/json_serializer.py to json_serializer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer/base_serializer.py to base_serializer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/serializer/msgpack_serializer.py to msgpack_serializer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/msgpackutils.py to msgpackutils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo_serialization/jsonutils.py to jsonutils.cpython-39.pyc writing byte-compilation script '/tmp/tmpec7jexb1.py' /usr/bin/python3 /tmp/tmpec7jexb1.py removing /tmp/tmpec7jexb1.py running install_egg_info running egg_info writing oslo.serialization.egg-info/PKG-INFO writing dependency_links to oslo.serialization.egg-info/dependency_links.txt writing requirements to oslo.serialization.egg-info/requires.txt writing top-level names to oslo.serialization.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt Copying oslo.serialization.egg-info to /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9/site-packages/oslo.serialization-4.3.0-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64//usr/share/doc/python-oslo-serialization + '[' -d doc ']' + cp -arf doc /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64//usr/share/doc/python-oslo-serialization + '[' -d docs ']' ~/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 ~/build/BUILD/oslo.serialization-4.3.0 + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/oslo.serialization-4.3.0 + mv /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 4.3.0-1 --unique-debug-suffix -4.3.0-1.x86_64 --unique-debug-src-base python-oslo-serialization-4.3.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/oslo.serialization-4.3.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PUofHv + umask 022 + cd /builddir/build/BUILD + cd oslo.serialization-4.3.0 + /usr/bin/python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.9.9, pytest-6.2.2, py-1.11.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/oslo.serialization-4.3.0 collected 70 items oslo_serialization/tests/test_base64.py ..... [ 7%] oslo_serialization/tests/test_jsonutils.py ............................. [ 48%] .............. [ 68%] oslo_serialization/tests/test_msgpackutils.py ...................... [100%] =============================== warnings summary =============================== oslo_serialization/tests/test_jsonutils.py::ToPrimitiveTestCase::test_fallback oslo_serialization/tests/test_jsonutils.py::ToPrimitiveTestCase::test_fallback_list /builddir/build/BUILD/oslo.serialization-4.3.0/oslo_serialization/jsonutils.py:180: UserWarning: Cannot convert repr to primitive, will raise ValueError instead of warning in version 3.0 warnings.warn("Cannot convert %r to primitive, will raise ValueError " -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 70 passed, 2 warnings in 0.27s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-oslo-serialization-4.3.0-1.noarch Provides: python-oslo-serialization python3-oslo-serialization = 4.3.0-1 python3.9dist(oslo.serialization) = 4.3 python3dist(oslo.serialization) = 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: (python3.9dist(pbr) < 2.1 or python3.9dist(pbr) >= 2.1.0) python(abi) = 3.9 python3.9dist(msgpack) >= 0.5.2 python3.9dist(oslo.utils) >= 3.33 python3.9dist(pbr) >= 2 python3.9dist(pytz) >= 2013.6 Processing files: python-oslo-serialization-help-4.3.0-1.noarch warning: Empty %files file /builddir/build/BUILD/oslo.serialization-4.3.0/doclist.lst Provides: python-oslo-serialization-help = 4.3.0-1 python3-oslo-serialization-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 Wrote: /builddir/build/RPMS/python-oslo-serialization-help-4.3.0-1.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-serialization-4.3.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eldXM9 + umask 022 + cd /builddir/build/BUILD + cd oslo.serialization-4.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-serialization-4.3.0-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0