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-productmd.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-53082-2193/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f06715eeec0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bc0f1993f6764622b3edbc1498f7f082', '-D', '/var/lib/mock/dist-ocs23-python311-build-53082-2193/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-productmd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: bogus date in %changelog: Wed Sep 20 2022 Cheng Xin <denisecheng@tencent.com> - 1.33-1
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/python-productmd-1.33-3.ocs23.src.rpm
RPM build warnings:
    bogus date in %changelog: Wed Sep 20 2022 Cheng Xin <denisecheng@tencent.com> - 1.33-1
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-productmd.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-53082-2193/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f06715eeec0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '49bc714178e94846bc1dfb46bd414e95', '-D', '/var/lib/mock/dist-ocs23-python311-build-53082-2193/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7l6r0q6d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-productmd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: bogus date in %changelog: Wed Sep 20 2022 Cheng Xin <denisecheng@tencent.com> - 1.33-1
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8Ghkm3
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf productmd-1.33
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/productmd-1.33.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd productmd-1.33
+ /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.HHHLm3
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ 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/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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 productmd-1.33
+ 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'
running build
running build_py
creating build
creating build/lib
creating build/lib/productmd
copying productmd/composeinfo.py -> build/lib/productmd
copying productmd/treeinfo.py -> build/lib/productmd
copying productmd/rpms.py -> build/lib/productmd
copying productmd/common.py -> build/lib/productmd
copying productmd/extra_files.py -> build/lib/productmd
copying productmd/__init__.py -> build/lib/productmd
copying productmd/discinfo.py -> build/lib/productmd
copying productmd/modules.py -> build/lib/productmd
copying productmd/images.py -> build/lib/productmd
copying productmd/compose.py -> build/lib/productmd
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qoHVo1
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ '[' /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch
++ dirname /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch
+ cd productmd-1.33
+ 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/python-productmd-1.33-3.ocs23.noarch
running install
/usr/lib/python3.11/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_lib
creating /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr
creating /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib
creating /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11
creating /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages
creating /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/composeinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/treeinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/rpms.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/common.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/extra_files.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/__init__.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/discinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/modules.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/images.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
copying build/lib/productmd/compose.py -> /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/composeinfo.py to composeinfo.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/treeinfo.py to treeinfo.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/rpms.py to rpms.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/common.py to common.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/extra_files.py to extra_files.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/discinfo.py to discinfo.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/modules.py to modules.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/images.py to images.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd/compose.py to compose.cpython-311.pyc
writing byte-compilation script '/tmp/tmpfop_qf_8.py'
/usr/bin/python3 /tmp/tmpfop_qf_8.py
removing /tmp/tmpfop_qf_8.py
running install_egg_info
running egg_info
writing productmd.egg-info/PKG-INFO
writing dependency_links to productmd.egg-info/dependency_links.txt
writing requirements to productmd.egg-info/requires.txt
writing top-level names to productmd.egg-info/top_level.txt
reading manifest file 'productmd.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'productmd.egg-info/SOURCES.txt'
Copying productmd.egg-info to /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/lib/python3.11/site-packages/productmd-1.33-py3.11.egg-info
running install_scripts
+ rm -rfv /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/bin/__pycache__
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.33-3.ocs23 --unique-debug-suffix -1.33-3.ocs23.noarch --unique-debug-src-base python-productmd-1.33-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/productmd-1.33
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-productmd-1.33-3.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.qqIxs8
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ 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/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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 productmd-1.33
+ /usr/bin/python3 ./setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing productmd.egg-info/PKG-INFO
writing dependency_links to productmd.egg-info/dependency_links.txt
writing requirements to productmd.egg-info/requires.txt
writing top-level names to productmd.egg-info/top_level.txt
reading manifest file 'productmd.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'productmd.egg-info/SOURCES.txt'
running build_ext
test_no_dots (tests.test_common.TestGetMajorVersion.test_no_dots) ... ok
test_three_parts (tests.test_common.TestGetMajorVersion.test_three_parts) ... ok
test_two_parts (tests.test_common.TestGetMajorVersion.test_two_parts) ... ok
test_no_dots (tests.test_common.TestGetMinorVersion.test_no_dots) ... ok
test_three_parts (tests.test_common.TestGetMinorVersion.test_three_parts) ... ok
test_two_parts (tests.test_common.TestGetMinorVersion.test_two_parts) ... ok
test_create_release_id (tests.test_common.TestRelease.test_create_release_id) ... ok
test_parse_release_id (tests.test_common.TestRelease.test_parse_release_id) ... ok
test_split_version (tests.test_common.TestRelease.test_split_version) ... ok
test_valid_release_type (tests.test_common.TestRelease.test_valid_release_type) ... ok
test_valid_short (tests.test_common.TestRelease.test_valid_short) ... ok
test_valid_version (tests.test_common.TestRelease.test_valid_version) ... ok
test_compare (tests.test_modules.TestModules.test_compare)
two ways creating metadata and its results comparison ... ok
test_fedora_20 (tests.test_modules.TestModules.test_fedora_20) ... ok
test_fedora_20 (tests.test_rpms.TestRpms.test_fedora_20) ... ok
test_forbidden_src_arch (tests.test_rpms.TestRpms.test_forbidden_src_arch)
Test: ValueError("Source arch is not allowed. Map source files under binary arches.") ... ok
test_all (tests.test_discinfo.TestDiscInfo.test_all) ... ok
test_disc_numbers (tests.test_discinfo.TestDiscInfo.test_disc_numbers) ... ok
test_empty (tests.test_discinfo.TestDiscInfo.test_empty) ... ok
test_invalid_values (tests.test_discinfo.TestDiscInfo.test_invalid_values) ... ok
test_parse (tests.test_discinfo.TestDiscInfo.test_parse) ... ok
test_parse_disc_numbers (tests.test_discinfo.TestDiscInfo.test_parse_disc_numbers) ... ok
test_parse_no_disc_numbers (tests.test_discinfo.TestDiscInfo.test_parse_no_disc_numbers) ... ok
test_read_discinfo (tests.test_discinfo.TestDiscInfo.test_read_discinfo) ... ok
test_create (tests.test_treeinfo.TestTreeInfo.test_create) ... ok
test_create_with_two_variants (tests.test_treeinfo.TestTreeInfo.test_create_with_two_variants) ... ok
test_f20 (tests.test_treeinfo.TestTreeInfo.test_f20) ... ok
test_f21_server (tests.test_treeinfo.TestTreeInfo.test_f21_server) ... ok
test_parse_opensuse_treeinfo (tests.test_treeinfo.TestTreeInfo.test_parse_opensuse_treeinfo) ... ok
test_read_RHEL_Server_optional_treeinfo (tests.test_treeinfo.TestTreeInfo.test_read_RHEL_Server_optional_treeinfo) ... ok
test_read_RHEL_treeinfo (tests.test_treeinfo.TestTreeInfo.test_read_RHEL_treeinfo) ... ok
test_read_treeinfo (tests.test_treeinfo.TestTreeInfo.test_read_treeinfo) ... ok
test_treeinfo_compute_checksum (tests.test_treeinfo.TestTreeInfo.test_treeinfo_compute_checksum) ... ok
test_absolute_path (tests.test_extra_files.TestExtraFiles.test_absolute_path) ... ok
test_bad_arch (tests.test_extra_files.TestExtraFiles.test_bad_arch) ... ok
test_bad_checksums (tests.test_extra_files.TestExtraFiles.test_bad_checksums) ... ok
test_bad_path (tests.test_extra_files.TestExtraFiles.test_bad_path) ... ok
test_bad_variant (tests.test_extra_files.TestExtraFiles.test_bad_variant) ... ok
test_fedora_20 (tests.test_extra_files.TestExtraFiles.test_fedora_20) ... ok
test_partial_dump (tests.test_extra_files.TestExtraFiles.test_partial_dump) ... ok
test_partial_dump_in_deleted_directory (tests.test_extra_files.TestExtraFiles.test_partial_dump_in_deleted_directory) ... ok
test_create (tests.test_composeinfo.TestComposeInfo.test_create) ... /usr/lib64/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestComposeInfo.test_create of <tests.test_composeinfo.TestComposeInfo testMethod=test_create>>)
  return self.run(*args, **kwds)
ok
test_create_variants_with_dash (tests.test_composeinfo.TestComposeInfo.test_create_variants_with_dash) ... /usr/lib64/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestComposeInfo.test_create_variants_with_dash of <tests.test_composeinfo.TestComposeInfo testMethod=test_create_variants_with_dash>>)
  return self.run(*args, **kwds)
ok
test_create_with_prefixed_uid (tests.test_composeinfo.TestComposeInfo.test_create_with_prefixed_uid) ... /usr/lib64/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestComposeInfo.test_create_with_prefixed_uid of <tests.test_composeinfo.TestComposeInfo testMethod=test_create_with_prefixed_uid>>)
  return self.run(*args, **kwds)
ok
test_get_variants (tests.test_composeinfo.TestComposeInfo.test_get_variants) ... ok
test_is_ga (tests.test_composeinfo.TestComposeInfo.test_is_ga) ... ok
test_multiple_variants (tests.test_composeinfo.TestComposeInfo.test_multiple_variants) ... ok
test_release_empty_version (tests.test_composeinfo.TestComposeInfo.test_release_empty_version) ... ok
test_release_non_numeric_version (tests.test_composeinfo.TestComposeInfo.test_release_non_numeric_version) ... ok
test_compose_ci_release_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_ci_release_ga) ... ok
test_compose_development_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_development_release_updates_base_updates) ... ok
test_compose_nightly_release_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_ga) ... ok
test_compose_nightly_release_ga_base_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_ga_base_ga) ... ok
test_compose_nightly_release_ga_base_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_ga_base_updates) ... ok
test_compose_nightly_release_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_updates) ... ok
test_compose_nightly_release_updates_base_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_updates_base_ga) ... ok
test_compose_nightly_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_nightly_release_updates_base_updates) ... ok
test_compose_production_release_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_ga) ... ok
test_compose_production_release_ga_base_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_ga_base_ga) ... ok
test_compose_production_release_ga_base_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_ga_base_updates) ... ok
test_compose_production_release_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_updates) ... ok
test_compose_production_release_updates_base_ga (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_updates_base_ga) ... ok
test_compose_production_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID.test_compose_production_release_updates_base_updates) ... ok
test_bad_format (tests.test_composeinfo.TestGetDateTypeRespin.test_bad_format) ... ok
test_ci (tests.test_composeinfo.TestGetDateTypeRespin.test_ci) ... ok
test_development (tests.test_composeinfo.TestGetDateTypeRespin.test_development) ... ok
test_explicit_production (tests.test_composeinfo.TestGetDateTypeRespin.test_explicit_production) ... ok
test_nightly (tests.test_composeinfo.TestGetDateTypeRespin.test_nightly) ... ok
test_no_respin (tests.test_composeinfo.TestGetDateTypeRespin.test_no_respin) ... ok
test_production (tests.test_composeinfo.TestGetDateTypeRespin.test_production) ... ok
test_unknown_type (tests.test_composeinfo.TestGetDateTypeRespin.test_unknown_type) ... ok
test_unknown_type_matching_prefix (tests.test_composeinfo.TestGetDateTypeRespin.test_unknown_type_matching_prefix) ... ok
test_f20_format_10 (tests.test_images.TestImages.test_f20_format_10) ... ok
test_f23_format_11 (tests.test_images.TestImages.test_f23_format_11) ... ok
test_fedora_20 (tests.test_images.TestImages.test_fedora_20) ... ok
test_fedora_23 (tests.test_images.TestImages.test_fedora_23) ... ok
test_forbidden_src_arch (tests.test_images.TestImages.test_forbidden_src_arch)
Test: ValueError("Source arch is not allowed. Map source files under binary arches.") ... ok
test_image_repr (tests.test_images.TestImages.test_image_repr) ... ok
test_image_repr_incomplete (tests.test_images.TestImages.test_image_repr_incomplete) ... ok
test_move_src_images_under_binary_arches (tests.test_images.TestImages.test_move_src_images_under_binary_arches)
Test if src images were moved under binary arches correctly. ... ok
test_unified_iso_deserialize (tests.test_images.TestImages.test_unified_iso_deserialize) ... ok
test_unified_iso_serialized_only_with_true (tests.test_images.TestImages.test_unified_iso_serialized_only_with_true) ... ok
test_unique_id_enforcement (tests.test_images.TestImages.test_unique_id_enforcement)
Test that adding two images with different checksums but ... ok
test_opening_http_succeeds (tests.test_compose.TestCompose.test_opening_http_succeeds) ... ok
test_opening_wrong_dir_gives_descriptive_error (tests.test_compose.TestCompose.test_opening_wrong_dir_gives_descriptive_error) ... ok
test_read_composeinfo (tests.test_compose.TestCompose.test_read_composeinfo) ... ok
test_read_composeinfo (tests.test_compose.TestLegacyCompose.test_read_composeinfo) ... ok
test_deserialize (tests.test_header.TestHeader.test_deserialize) ... ok
test_serialize (tests.test_header.TestHeader.test_serialize) ... ok
test_version (tests.test_header.TestHeader.test_version) ... ok
----------------------------------------------------------------------
Ran 90 tests in 0.144s
OK
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: python3-productmd-1.33-3.ocs23.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gWfXB2
+ umask 022
+ cd /builddir/build/BUILD
+ cd productmd-1.33
+ DOCDIR=/builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/doc/python3-productmd
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/doc/python3-productmd
+ cp -pr AUTHORS /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/doc/python3-productmd
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7FIQbW
+ umask 022
+ cd /builddir/build/BUILD
+ cd productmd-1.33
+ LICENSEDIR=/builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/licenses/python3-productmd
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/licenses/python3-productmd
+ cp -pr LICENSE /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch/usr/share/licenses/python3-productmd
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-productmd = 1.33-3.ocs23 python3-productmd = 1.33-3.ocs23 python3.10dist(productmd) = 1.33 python3.11-productmd = 1.33-3.ocs23 python3.11dist(productmd) = 1.33 python3dist(productmd) = 1.33
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.10dist(six) python3.11dist(six)
Obsoletes: python3.11-productmd < 1.33-3.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-productmd-1.33-3.ocs23.noarch
Wrote: /builddir/build/RPMS/python3-productmd-1.33-3.ocs23.noarch.rpm
RPM build warnings:
    bogus date in %changelog: Wed Sep 20 2022 Cheng Xin <denisecheng@tencent.com> - 1.33-1
Child return code was: 0