Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=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-testresources.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-testresources-2.0.1-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.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.YNm9t9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testresources-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testresources-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testresources-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.znFIPa + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testresources-2.0.1-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.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.eX3lSe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testresources-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testresources-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testresources-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kRv7Ib + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=1.3 from get_requires_for_build_wheel Requirement not satisfied: pbr>=1.3 Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testresources-2.0.1-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.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.Jzoikv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testresources-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testresources-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testresources-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.XRK45J + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=1.3 from get_requires_for_build_wheel Requirement satisfied: pbr>=1.3 (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /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() /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) The [wheel] section is deprecated. Use [bdist_wheel] instead. Handling pbr >=1.8 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=1.8 (installed: pbr 5.11.1) Handling docutils ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: docutils ; extra == 'test' Handling fixtures ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: fixtures ; extra == 'test' Handling testtools ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: testtools ; extra == 'test' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testresources-2.0.1-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.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.JwrGeW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testresources-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testresources-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testresources-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TWKivx + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=1.3 from get_requires_for_build_wheel Requirement satisfied: pbr>=1.3 (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /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() /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) The [wheel] section is deprecated. Use [bdist_wheel] instead. Handling pbr >=1.8 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=1.8 (installed: pbr 5.11.1) Handling docutils ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: docutils ; extra == 'test' (installed: docutils 0.20.1) Handling fixtures ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: fixtures ; extra == 'test' (installed: fixtures 4.0.1) Handling testtools ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: testtools ; extra == 'test' (installed: testtools 2.6.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testresources-2.0.1-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191745-12928/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-testresources.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(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.oVER0G + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv testresources-2.0.1.dist-info/ removed 'testresources-2.0.1.dist-info/top_level.txt' removed 'testresources-2.0.1.dist-info/pbr.json' removed 'testresources-2.0.1.dist-info/METADATA' removed 'testresources-2.0.1.dist-info/COPYING' removed 'testresources-2.0.1.dist-info/AUTHORS' removed directory 'testresources-2.0.1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=1.3 from get_requires_for_build_wheel Requirement satisfied: pbr>=1.3 (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /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() /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) The [wheel] section is deprecated. Use [bdist_wheel] instead. Handling pbr >=1.8 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=1.8 (installed: pbr 5.11.1) Handling docutils ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: docutils ; extra == 'test' (installed: docutils 0.20.1) Handling fixtures ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: fixtures ; extra == 'test' (installed: fixtures 4.0.1) Handling testtools ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: testtools ; extra == 'test' (installed: testtools 2.6.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1YDO2S + 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 -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 -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 -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 -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 testresources-2.0.1 + mkdir -p /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir + 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 -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' + TMPDIR=/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/testresources-2.0.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/testresources-2.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /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() /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running dist_info creating /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info writing /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-2gclvpoz/testresources-2.0.1.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: testresources Building wheel for testresources (pyproject.toml): started Running command Building wheel for testresources (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. running build running build_py creating build creating build/lib creating build/lib/testresources creating build/lib/testresources/tests copying testresources/tests/test_test_resource.py -> build/lib/testresources/tests copying testresources/tests/test_optimising_test_suite.py -> build/lib/testresources/tests copying testresources/tests/__init__.py -> build/lib/testresources/tests copying testresources/tests/test_test_loader.py -> build/lib/testresources/tests copying testresources/tests/test_resource_graph.py -> build/lib/testresources/tests copying testresources/tests/TestUtil.py -> build/lib/testresources/tests copying testresources/tests/test_resourced_test_case.py -> build/lib/testresources/tests copying testresources/__init__.py -> build/lib/testresources running egg_info writing testresources.egg-info/PKG-INFO writing dependency_links to testresources.egg-info/dependency_links.txt writing requirements to testresources.egg-info/requires.txt writing top-level names to testresources.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt installing to build/bdist.linux-loongarch64/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-loongarch64 creating build/bdist.linux-loongarch64/wheel creating build/bdist.linux-loongarch64/wheel/testresources creating build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/test_test_resource.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/test_optimising_test_suite.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/__init__.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/test_test_loader.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/test_resource_graph.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/TestUtil.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/tests/test_resourced_test_case.py -> build/bdist.linux-loongarch64/wheel/testresources/tests copying build/lib/testresources/__init__.py -> build/bdist.linux-loongarch64/wheel/testresources running install_egg_info Copying testresources.egg-info to build/bdist.linux-loongarch64/wheel/testresources-2.0.1-py3.11.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/testresources-2.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir/pip-wheel-1364ptqe/.tmp-7y80s6cz/testresources-2.0.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding 'testresources/__init__.py' adding 'testresources/tests/TestUtil.py' adding 'testresources/tests/__init__.py' adding 'testresources/tests/test_optimising_test_suite.py' adding 'testresources/tests/test_resource_graph.py' adding 'testresources/tests/test_resourced_test_case.py' adding 'testresources/tests/test_test_loader.py' adding 'testresources/tests/test_test_resource.py' adding 'testresources-2.0.1.dist-info/AUTHORS' adding 'testresources-2.0.1.dist-info/COPYING' adding 'testresources-2.0.1.dist-info/METADATA' adding 'testresources-2.0.1.dist-info/WHEEL' adding 'testresources-2.0.1.dist-info/pbr.json' adding 'testresources-2.0.1.dist-info/top_level.txt' adding 'testresources-2.0.1.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for testresources (pyproject.toml): finished with status 'done' Created wheel for testresources: filename=testresources-2.0.1-py2.py3-none-any.whl size=32900 sha256=a011d87409912c21a8f4f518eff6a5eb9d7cecc9f0dbf0f53e75288f48c42682 Stored in directory: /builddir/.cache/pip/wheels/b0/95/b4/c6bf7083b2e25741b3d96ce3cd192ce8e0d20a06886cf24522 Successfully built testresources + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UEkgYb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch + cd testresources-2.0.1 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/testresources-2.0.1/pyproject-wheeldir/testresources-2.0.1-py2.py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=testresources==2.0.1 + TMPDIR=/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/testresources-2.0.1/pyproject-wheeldir testresources==2.0.1 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/testresources-2.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/testresources-2.0.1-py2.py3-none-any.whl Installing collected packages: testresources Successfully installed testresources-2.0.1 + '[' -d /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch --record /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages/testresources-2.0.1.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr testresources + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.0.1-4.ocs23 --unique-debug-suffix -2.0.1-4.ocs23.noarch --unique-debug-src-base python-testresources-2.0.1-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/testresources-2.0.1 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-testresources-2.0.1-4.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.g8jiNP + 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 -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 -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 -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 -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 testresources-2.0.1 + 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 -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' + PATH=/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/testresources-2.0.1/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/testresources-2.0.1 collected 106 items testresources/tests/test_optimising_test_suite.py .......s.............. [ 20%] ............... [ 34%] testresources/tests/test_resource_graph.py ...... [ 40%] testresources/tests/test_resourced_test_case.py ............. [ 52%] testresources/tests/test_test_loader.py .. [ 54%] testresources/tests/test_test_resource.py .............................. [ 83%] .................. [100%] =============================== warnings summary =============================== testresources/__init__.py:427 /builddir/build/BUILD/testresources-2.0.1/testresources/__init__.py:427: PytestCollectionWarning: cannot collect test class 'TestLoader' because it has a __init__ constructor (from: testresources/tests/test_test_loader.py) class TestLoader(unittest.TestLoader): testresources/tests/test_optimising_test_suite.py::test_suite /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but testresources/tests/test_optimising_test_suite.py::test_suite returned , , ]>, , , , , ]>, , , , , , ]>, , , , , , , , , , , , , , , ]>, , , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( testresources/tests/test_resource_graph.py::test_suite /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but testresources/tests/test_resource_graph.py::test_suite returned ]>, ]>, , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( testresources/tests/test_resourced_test_case.py::test_suite /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but testresources/tests/test_resourced_test_case.py::test_suite returned , , , , , , , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( testresources/tests/test_resourced_test_case.py::TestResourcedTestCase::testSingleWithSetup /builddir/build/BUILD/testresources-2.0.1/testresources/tests/test_resourced_test_case.py:161: DeprecationWarning: Please use assertFalse instead. self.failIf(hasattr(self.resourced_case, "foo")) testresources/tests/test_resourced_test_case.py::TestResourcedTestCase::testTearDownResourcesDeletesResourceAttributes /builddir/build/BUILD/testresources-2.0.1/testresources/tests/test_resourced_test_case.py:132: DeprecationWarning: Please use assertFalse instead. self.failIf(hasattr(self.resourced_case, "foo")) testresources/tests/test_test_loader.py::test_suite /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but testresources/tests/test_test_loader.py::test_suite returned ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( testresources/tests/test_test_resource.py::test_suite /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but testresources/tests/test_test_resource.py::test_suite returned , , ]>, , , , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 105 passed, 1 skipped, 8 warnings in 0.47s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-testresources-2.0.1-4.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M7yKCO + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/doc/python3-testresources + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/doc/python3-testresources + cp -pr README.rst /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/doc/python3-testresources + cp -pr NEWS /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/doc/python3-testresources + cp -pr doc /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/doc/python3-testresources + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8S4pKG + umask 022 + cd /builddir/build/BUILD + cd testresources-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/licenses/python3-testresources + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/licenses/python3-testresources + cp -pr Apache-2.0 /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/licenses/python3-testresources + cp -pr BSD /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch/usr/share/licenses/python3-testresources + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-testresources = 2.0.1-4.ocs23 python3-testresources = 2.0.1-4.ocs23 python3.11-testresources = 2.0.1-4.ocs23 python3.11dist(testresources) = 2.0.1 python3dist(testresources) = 2.0.1 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(pbr) >= 1.8 Obsoletes: python3.11-testresources < 2.0.1-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-testresources-2.0.1-4.ocs23.noarch Wrote: /builddir/build/SRPMS/python-testresources-2.0.1-4.ocs23.src.rpm Wrote: /builddir/build/RPMS/python3-testresources-2.0.1-4.ocs23.noarch.rpm Child return code was: 0