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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.sExsfp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf specfile-0.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/specfile-0.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd specfile-0.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fffF7D + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + 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 testing Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.eqIY20 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf specfile-0.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/specfile-0.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd specfile-0.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0o45Ar + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + 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 testing Handling setuptools>=45 from build-system.requires Requirement not satisfied: setuptools>=45 Handling setuptools_scm[toml] from build-system.requires Requirement not satisfied: setuptools_scm[toml] Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.eZCyoA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf specfile-0.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/specfile-0.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd specfile-0.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.SLOLg2 + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + 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 testing Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] from build-system.requires Requirement satisfied: setuptools_scm[toml] (installed: setuptools_scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any HOOK STDOUT: running egg_info HOOK STDOUT: writing specfile.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to specfile.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to specfile.egg-info/requires.txt HOOK STDOUT: writing top-level names to specfile.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'specfile.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'specfile.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.KzdOYd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf specfile-0.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/specfile-0.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd specfile-0.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.m1s0SN + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + 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 testing Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] from build-system.requires Requirement satisfied: setuptools_scm[toml] (installed: setuptools_scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any HOOK STDOUT: running egg_info HOOK STDOUT: writing specfile.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to specfile.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to specfile.egg-info/requires.txt HOOK STDOUT: writing top-level names to specfile.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'specfile.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'specfile.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any Handling rpm from wheel metadata: Requires-Dist Requirement satisfied: rpm (installed: rpm 4.18.2) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 4.7.1) Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest ; extra == 'testing' from wheel metadata: Requires-Dist Requirement not satisfied: pytest ; extra == 'testing' Handling flexmock ; extra == 'testing' from wheel metadata: Requires-Dist Requirement not satisfied: flexmock ; extra == 'testing' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.VNQQC7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf specfile-0.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/specfile-0.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd specfile-0.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.na49Ma + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + 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 testing Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] from build-system.requires Requirement satisfied: setuptools_scm[toml] (installed: setuptools_scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any HOOK STDOUT: running egg_info HOOK STDOUT: writing specfile.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to specfile.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to specfile.egg-info/requires.txt HOOK STDOUT: writing top-level names to specfile.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'specfile.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'specfile.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any Handling rpm from wheel metadata: Requires-Dist Requirement satisfied: rpm (installed: rpm 4.18.2) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 4.7.1) Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'testing' (installed: pytest 7.4.0) Handling flexmock ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: flexmock ; extra == 'testing' (installed: flexmock 0.11.3) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.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-specfile.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78192-52965/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=991gid=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-specfile.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.h838Mq + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv specfile-0.27.0.dist-info/ removed 'specfile-0.27.0.dist-info/METADATA' removed 'specfile-0.27.0.dist-info/LICENSE' removed 'specfile-0.27.0.dist-info/top_level.txt' removed directory 'specfile-0.27.0.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 testing Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] from build-system.requires Requirement satisfied: setuptools_scm[toml] (installed: setuptools_scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any HOOK STDOUT: running egg_info HOOK STDOUT: writing specfile.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to specfile.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to specfile.egg-info/requires.txt HOOK STDOUT: writing top-level names to specfile.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'specfile.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'specfile.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any Handling rpm from wheel metadata: Requires-Dist Requirement satisfied: rpm (installed: rpm 4.18.2) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 4.7.1) Handling dataclasses ; python_version < "3.7" from wheel metadata: Requires-Dist Ignoring alien requirement: dataclasses ; python_version < "3.7" Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'testing' (installed: pytest 7.4.0) Handling flexmock ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: flexmock ; extra == 'testing' (installed: flexmock 0.11.3) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HzBKaK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd specfile-0.27.0 + mkdir -p /builddir/build/BUILD/specfile-0.27.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/specfile-0.27.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/specfile-0.27.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") running dist_info creating /builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info writing /builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file '/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-modern-metadata-3ymfgd9f/specfile-0.27.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: specfile Building wheel for specfile (pyproject.toml): started Running command Building wheel for specfile (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") /usr/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/specfile copying specfile/utils.py -> build/lib/specfile copying specfile/types.py -> build/lib/specfile copying specfile/macros.py -> build/lib/specfile copying specfile/spec_parser.py -> build/lib/specfile copying specfile/sourcelist.py -> build/lib/specfile copying specfile/tags.py -> build/lib/specfile copying specfile/__init__.py -> build/lib/specfile copying specfile/value_parser.py -> build/lib/specfile copying specfile/sources.py -> build/lib/specfile copying specfile/macro_definitions.py -> build/lib/specfile copying specfile/options.py -> build/lib/specfile copying specfile/constants.py -> build/lib/specfile copying specfile/prep.py -> build/lib/specfile copying specfile/context_management.py -> build/lib/specfile copying specfile/sections.py -> build/lib/specfile copying specfile/specfile.py -> build/lib/specfile copying specfile/changelog.py -> build/lib/specfile copying specfile/conditions.py -> build/lib/specfile copying specfile/formatter.py -> build/lib/specfile copying specfile/exceptions.py -> build/lib/specfile running egg_info writing specfile.egg-info/PKG-INFO writing dependency_links to specfile.egg-info/dependency_links.txt writing requirements to specfile.egg-info/requires.txt writing top-level names to specfile.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'specfile.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'specfile.egg-info/SOURCES.txt' copying specfile/py.typed -> build/lib/specfile installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/utils.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/types.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/macros.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/spec_parser.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/sourcelist.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/tags.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/__init__.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/value_parser.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/sources.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/macro_definitions.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/options.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/constants.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/prep.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/context_management.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/sections.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/specfile.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/py.typed -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/changelog.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/conditions.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/formatter.py -> build/bdist.linux-aarch64/wheel/specfile copying build/lib/specfile/exceptions.py -> build/bdist.linux-aarch64/wheel/specfile running install_egg_info Copying specfile.egg-info to build/bdist.linux-aarch64/wheel/specfile-0.27.0-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/specfile-0.27.0.dist-info/WHEEL creating '/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir/pip-wheel-lvxtorny/.tmp-rzouooi9/specfile-0.27.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'specfile/__init__.py' adding 'specfile/changelog.py' adding 'specfile/conditions.py' adding 'specfile/constants.py' adding 'specfile/context_management.py' adding 'specfile/exceptions.py' adding 'specfile/formatter.py' adding 'specfile/macro_definitions.py' adding 'specfile/macros.py' adding 'specfile/options.py' adding 'specfile/prep.py' adding 'specfile/py.typed' adding 'specfile/sections.py' adding 'specfile/sourcelist.py' adding 'specfile/sources.py' adding 'specfile/spec_parser.py' adding 'specfile/specfile.py' adding 'specfile/tags.py' adding 'specfile/types.py' adding 'specfile/utils.py' adding 'specfile/value_parser.py' adding 'specfile-0.27.0.dist-info/LICENSE' adding 'specfile-0.27.0.dist-info/METADATA' adding 'specfile-0.27.0.dist-info/WHEEL' adding 'specfile-0.27.0.dist-info/top_level.txt' adding 'specfile-0.27.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for specfile (pyproject.toml): finished with status 'done' Created wheel for specfile: filename=specfile-0.27.0-py3-none-any.whl size=62809 sha256=58d8aa1e996ab38a7028024079a2ad65063a517fa9edd0348f2552af33703e04 Stored in directory: /builddir/.cache/pip/wheels/c1/fb/bb/3da92cc0a9c5d138cd55c0553391e7726afbd5156e210b1980 Successfully built specfile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DIeBgb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch + cd specfile-0.27.0 ++ ls /builddir/build/BUILD/specfile-0.27.0/pyproject-wheeldir/specfile-0.27.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=specfile==0.27.0 + TMPDIR=/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.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/specfile-0.27.0/pyproject-wheeldir specfile==0.27.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/specfile-0.27.0/pyproject-wheeldir Processing ./pyproject-wheeldir/specfile-0.27.0-py3-none-any.whl Installing collected packages: specfile Successfully installed specfile-0.27.0 + '[' -d /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/specfile-0.27.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.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-specfile-0.27.0-1.oc9.noarch --record /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages/specfile-0.27.0.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-specfile-0.27.0-1.oc9.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 specfile + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.27.0-1.oc9 --unique-debug-suffix -0.27.0-1.oc9.noarch --unique-debug-src-base python-specfile-0.27.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/specfile-0.27.0 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-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DtArIb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd specfile-0.27.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/specfile-0.27.0/.pyproject-builddir' + /usr/bin/pytest --verbose tests/unit tests/integration ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/specfile-0.27.0 configfile: setup.cfg collecting ... collected 278 items tests/unit/test_changelog.py::test_entry_evr[* Thu Jan 04 2007 Michael Schwendt -None] PASSED [ 0%] tests/unit/test_changelog.py::test_entry_evr[* Mon Jul 13 2020 Tom Stellard 4.0-0.4.pre2-4.0-0.4.pre2] PASSED [ 0%] tests/unit/test_changelog.py::test_entry_evr[* Fri Jul 20 2018 Gwyn Ciesla - 0.52-6-0.52-6] PASSED [ 1%] tests/unit/test_changelog.py::test_entry_evr[* Mon Feb 23 2009 Fedora Release Engineering - 1.23-3.20081106gitbe42b4-1.23-3.20081106gitbe42b4] PASSED [ 1%] tests/unit/test_changelog.py::test_entry_evr[* Thu Feb 04 2016 Marcin Zajaczkowski - 1:0.9.10-6-1:0.9.10-6] PASSED [ 1%] tests/unit/test_changelog.py::test_entry_evr[* Mon Jan 03 2022 Fedora Kernel Team [5.16-0.rc8.55]-5.16-0.rc8.55] PASSED [ 2%] tests/unit/test_changelog.py::test_entry_evr[* Wed Jan 23 2002 Karsten Hopp (4.6-1)-4.6-1] PASSED [ 2%] tests/unit/test_changelog.py::test_entry_evr[* Thu Apr 9 2015 Jeffrey C. Ollie - 13.3.2-1:-13.3.2-1] PASSED [ 2%] tests/unit/test_changelog.py::test_entry_has_extended_timestamp[* Tue May 4 2021 Nikola Forr\xf3 - 0.1-1-False] PASSED [ 3%] tests/unit/test_changelog.py::test_entry_has_extended_timestamp[* Tue May 4 2021 Nikola Forr\xf3 - 0.1-1-False] PASSED [ 3%] tests/unit/test_changelog.py::test_entry_has_extended_timestamp[* Thu Jul 22 2021 Fedora Release Engineering - 0.1-2-False] PASSED [ 3%] tests/unit/test_changelog.py::test_entry_has_extended_timestamp[* Mon Oct 18 12:34:45 CEST 2021 Nikola Forr\xf3 - 0.2-1-True] PASSED [ 4%] tests/unit/test_changelog.py::test_entry_day_of_month_padding[* Tue May 4 2021 Nikola Forr\xf3 - 0.1-1-] PASSED [ 4%] tests/unit/test_changelog.py::test_entry_day_of_month_padding[* Tue May 04 2021 Nikola Forr\xf3 - 0.1-1-0] PASSED [ 5%] tests/unit/test_changelog.py::test_entry_day_of_month_padding[* Tue May 4 2021 Nikola Forr\xf3 - 0.1-1- ] PASSED [ 5%] tests/unit/test_changelog.py::test_entry_day_of_month_padding[* Thu Jul 22 2021 Fedora Release Engineering - 0.1-2-] PASSED [ 5%] tests/unit/test_changelog.py::test_entry_day_of_month_padding[* Mon Oct 18 12:34:45 CEST 2021 Nikola Forr\xf3 - 0.2-1- ] PASSED [ 6%] tests/unit/test_changelog.py::test_filter[None-None-evrs0] PASSED [ 6%] tests/unit/test_changelog.py::test_filter[0.1-1-None-evrs1] PASSED [ 6%] tests/unit/test_changelog.py::test_filter[0.1-2-None-evrs2] PASSED [ 7%] tests/unit/test_changelog.py::test_filter[0.2-1-None-evrs3] PASSED [ 7%] tests/unit/test_changelog.py::test_filter[None-0.2-2-evrs4] PASSED [ 7%] tests/unit/test_changelog.py::test_filter[None-0.2-1-evrs5] PASSED [ 8%] tests/unit/test_changelog.py::test_filter[None-0.1-2-evrs6] PASSED [ 8%] tests/unit/test_changelog.py::test_filter[0.1-1-0.2-2-evrs7] PASSED [ 8%] tests/unit/test_changelog.py::test_filter[0.1-2-0.2-1-evrs8] PASSED [ 9%] tests/unit/test_changelog.py::test_filter[0.2-1-0.2-1-evrs9] PASSED [ 9%] tests/unit/test_changelog.py::test_filter[0.2-2-0.1-1-evrs10] PASSED [ 10%] tests/unit/test_changelog.py::test_filter[0.0.1-1-None-evrs11] PASSED [ 10%] tests/unit/test_changelog.py::test_filter[0.3-1-None-evrs12] PASSED [ 10%] tests/unit/test_changelog.py::test_filter[None-0.0.1-1-evrs13] PASSED [ 11%] tests/unit/test_changelog.py::test_filter[None-0.3-1-evrs14] PASSED [ 11%] tests/unit/test_changelog.py::test_filter[0.0.1-1-0.3-1-evrs15] PASSED [ 11%] tests/unit/test_changelog.py::test_parse PASSED [ 12%] tests/unit/test_changelog.py::test_get_raw_section_data PASSED [ 12%] tests/unit/test_changelog.py::test_copy_changelog PASSED [ 12%] tests/unit/test_conditions.py::test_process_conditions[lines0-validity0-] PASSED [ 13%] tests/unit/test_conditions.py::test_process_conditions[lines1-validity1-] PASSED [ 13%] tests/unit/test_conditions.py::test_process_conditions[lines2-validity2-] PASSED [ 14%] tests/unit/test_conditions.py::test_process_conditions[lines3-validity3-] PASSED [ 14%] tests/unit/test_formatter.py::test_format_expression[func('arg')-func('arg')] PASSED [ 14%] tests/unit/test_formatter.py::test_format_expression[func('arg1', "arg2")-func('arg1', 'arg2')] PASSED [ 15%] tests/unit/test_formatter.py::test_format_expression[func('arg1', 'arg\\'2')-func('arg1', "arg'2")] PASSED [ 15%] tests/unit/test_formatter.py::test_format_expression[func('arg', kwarg='val')-func('arg', kwarg='val')] PASSED [ 15%] tests/unit/test_formatter.py::test_format_expression[(None)-None] PASSED [ 16%] tests/unit/test_formatter.py::test_format_expression[(None,)-(None,)] PASSED [ 16%] tests/unit/test_formatter.py::test_format_expression[('a',"b",3)-('a', 'b', 3)] PASSED [ 16%] tests/unit/test_formatter.py::test_format_expression[[1,2,3,4]-[1, 2, 3, 4]] PASSED [ 17%] tests/unit/test_formatter.py::test_format_expression[{'key':'val'}-{'key': 'val'}] PASSED [ 17%] tests/unit/test_formatter.py::test_format_expression[-] PASSED [ 17%] tests/unit/test_formatter.py::test_format_expression[func1('first argument', True, func2(kwarg={42: ['nested list item 1', 'nested list item 2', 'nested list item 3']}), 0, indent=' ', spec=)-func1(\n 'first argument',\n True,\n func2(\n kwarg={\n 42: [\n 'nested list item 1',\n 'nested list item 2',\n 'nested list item 3',\n ],\n },\n ),\n 0,\n indent=' ',\n spec=,\n)] PASSED [ 18%] tests/unit/test_guess_packager.py::test_guess_packager_env PASSED [ 18%] tests/unit/test_guess_packager.py::test_guess_packager_macro PASSED [ 19%] tests/unit/test_guess_packager.py::test_guess_packager_git PASSED [ 19%] tests/unit/test_guess_packager.py::test_guess_packager_passwd PASSED [ 19%] tests/unit/test_guess_packager.py::test_guess_packager_pref1 PASSED [ 20%] tests/unit/test_guess_packager.py::test_guess_packager_pref2 PASSED [ 20%] tests/unit/test_guess_packager.py::test_guess_packager_pref3 PASSED [ 20%] tests/unit/test_guess_packager.py::test_guess_packager_pref4 PASSED [ 21%] tests/unit/test_guess_packager.py::test_guess_packager_empty PASSED [ 21%] tests/unit/test_macro_definitions.py::test_find PASSED [ 21%] tests/unit/test_macro_definitions.py::test_get PASSED [ 22%] tests/unit/test_macro_definitions.py::test_parse PASSED [ 22%] tests/unit/test_macro_definitions.py::test_get_raw_data PASSED [ 23%] tests/unit/test_macro_definitions.py::test_copy_macro_definitions PASSED [ 23%] tests/unit/test_macros.py::test_macros_parse PASSED [ 23%] tests/unit/test_macros.py::test_macros_remove PASSED [ 24%] tests/unit/test_macros.py::test_macros_remove_failure PASSED [ 24%] tests/unit/test_macros.py::test_macros_define PASSED [ 24%] tests/unit/test_macros.py::test_macros_reinit PASSED [ 25%] tests/unit/test_options.py::test_positionals_get_items[vp:m:M:-tokens0-result0] PASSED [ 25%] tests/unit/test_options.py::test_positionals_get_items[vp:m:M:-tokens1-result1] PASSED [ 25%] tests/unit/test_options.py::test_positionals_get_items[vp:m:M:-tokens2-result2] PASSED [ 26%] tests/unit/test_options.py::test_positionals_insert[vp:m:M:-tokens0-0-test arg-2-TokenType.DOUBLE_QUOTED] PASSED [ 26%] tests/unit/test_options.py::test_positionals_insert[vp:m:M:-tokens1-1-123-4-TokenType.DEFAULT] PASSED [ 26%] tests/unit/test_options.py::test_positionals_insert[vp:m:M:-tokens2-0-test-0-TokenType.DEFAULT] PASSED [ 27%] tests/unit/test_options.py::test_options_valid_option[a:b:cDn:Tq-a-True] PASSED [ 27%] tests/unit/test_options.py::test_options_valid_option[a:b:cDn:Tq-q-True] PASSED [ 28%] tests/unit/test_options.py::test_options_valid_option[a:b:cDn:Tq-v-False] PASSED [ 28%] tests/unit/test_options.py::test_options_requires_argument[a:b:cDn:Tq-a-True] PASSED [ 28%] tests/unit/test_options.py::test_options_requires_argument[a:b:cDn:Tq-q-False] PASSED [ 29%] tests/unit/test_options.py::test_options_requires_argument[a:b:cDn:Tq-v-None] PASSED [ 29%] tests/unit/test_options.py::test_options_find_option[P:p:REb:z:F:d:o:Z-tokens0-p-result0] PASSED [ 29%] tests/unit/test_options.py::test_options_find_option[P:p:REb:z:F:d:o:Z-tokens1-b-result1] PASSED [ 30%] tests/unit/test_options.py::test_options_find_option[P:p:REb:z:F:d:o:Z-tokens2-E-result2] PASSED [ 30%] tests/unit/test_options.py::test_options_find_option[P:p:REb:z:F:d:o:Z-tokens3-F-result3] PASSED [ 30%] tests/unit/test_options.py::test_options_tokenize[-p1 -b .test -E-result0] PASSED [ 31%] tests/unit/test_options.py::test_options_tokenize[-p 28 -b .test\\ escape-result1] PASSED [ 31%] tests/unit/test_options.py::test_options_tokenize[-b ".test \\"double quotes\\""-result2] PASSED [ 32%] tests/unit/test_options.py::test_options_tokenize[-p1 -b .test_whitespace_at_the_end -M 2 -result3] PASSED [ 32%] tests/unit/test_options.py::test_options_tokenize[-q -n %{name}-%{version}%[%{rc}?"-rc":""]-result4] PASSED [ 32%] tests/unit/test_options.py::test_options_tokenize[-q -n '%{name}-%{version}'-result5] PASSED [ 33%] tests/unit/test_options.py::test_options_tokenize[-q -n "%{name}-%{version}"-result6] PASSED [ 33%] tests/unit/test_options.py::test_options_tokenize[-q -n '%{name}-%{version}%[%{rc}?"-rc":""]'-result7] PASSED [ 33%] tests/unit/test_prep.py::test_patch_macro_number[%patch2--p1-2] PASSED [ 34%] tests/unit/test_prep.py::test_patch_macro_number[%patch0028--p2-28] PASSED [ 34%] tests/unit/test_prep.py::test_patch_macro_number[%patch--p1-0] PASSED [ 34%] tests/unit/test_prep.py::test_patch_macro_number[%patch--P1-1] PASSED [ 35%] tests/unit/test_prep.py::test_patch_macro_number[%patch3--P5-5] PASSED [ 35%] tests/unit/test_prep.py::test_prep_macros_find PASSED [ 35%] tests/unit/test_prep.py::test_prep_add_patch_macro[lines_before0-0-options0-lines_after0] PASSED [ 36%] tests/unit/test_prep.py::test_prep_add_patch_macro[lines_before1-0-options1-lines_after1] PASSED [ 36%] tests/unit/test_prep.py::test_prep_add_patch_macro[lines_before2-28-options2-lines_after2] PASSED [ 37%] tests/unit/test_prep.py::test_prep_add_patch_macro[lines_before3-1001-options3-lines_after3] PASSED [ 37%] tests/unit/test_prep.py::test_prep_add_patch_macro[lines_before4-28-options4-lines_after4] PASSED [ 37%] tests/unit/test_prep.py::test_prep_remove_patch_macro[lines_before0-1-lines_after0] PASSED [ 38%] tests/unit/test_prep.py::test_prep_remove_patch_macro[lines_before1-0-lines_after1] PASSED [ 38%] tests/unit/test_prep.py::test_prep_parse PASSED [ 38%] tests/unit/test_prep.py::test_prep_get_raw_section_data PASSED [ 39%] tests/unit/test_prep.py::test_copy_prep PASSED [ 39%] tests/unit/test_sections.py::test_find PASSED [ 39%] tests/unit/test_sections.py::test_get PASSED [ 40%] tests/unit/test_sections.py::test_parse PASSED [ 40%] tests/unit/test_sections.py::test_parse_case_insensitive PASSED [ 41%] tests/unit/test_sections.py::test_parse_invalid_name PASSED [ 41%] tests/unit/test_sections.py::test_parse_macro_definitions PASSED [ 41%] tests/unit/test_sections.py::test_get_raw_data PASSED [ 42%] tests/unit/test_sections.py::test_copy_sections PASSED [ 42%] tests/unit/test_sections.py::test_is_script[package-False] PASSED [ 42%] tests/unit/test_sections.py::test_is_script[install-True] PASSED [ 43%] tests/unit/test_sections.py::test_is_script[PostUn-True] PASSED [ 43%] tests/unit/test_sections.py::test_is_script[SourceList-False] PASSED [ 43%] tests/unit/test_sourcelist.py::test_parse PASSED [ 44%] tests/unit/test_sourcelist.py::test_get_raw_section_data PASSED [ 44%] tests/unit/test_sourcelist.py::test_copy_sourcelist PASSED [ 44%] tests/unit/test_sources.py::test_tag_source_extract_number[Source-None] PASSED [ 45%] tests/unit/test_sources.py::test_tag_source_extract_number[Source0-0] PASSED [ 45%] tests/unit/test_sources.py::test_tag_source_extract_number[Patch0001-0001] PASSED [ 46%] tests/unit/test_sources.py::test_tag_source_extract_number[Patch28-28] PASSED [ 46%] tests/unit/test_sources.py::test_tag_source_extract_number[Patch99999-99999] PASSED [ 46%] tests/unit/test_sources.py::test_sources_detect_implicit_numbering[tags0-True-False] PASSED [ 47%] tests/unit/test_sources.py::test_sources_detect_implicit_numbering[tags1-False-True] PASSED [ 47%] tests/unit/test_sources.py::test_sources_detect_implicit_numbering[tags2-False-False] PASSED [ 47%] tests/unit/test_sources.py::test_sources_detect_implicit_numbering[tags3-True-True] PASSED [ 48%] tests/unit/test_sources.py::test_sources_get_tag_format[Source-: -28-Source-: ] PASSED [ 48%] tests/unit/test_sources.py::test_sources_get_tag_format[Source0-: -28-Source28-:] PASSED [ 48%] tests/unit/test_sources.py::test_sources_get_tag_format[Source0001-: -2-Source0002-: ] PASSED [ 49%] tests/unit/test_sources.py::test_sources_get_initial_tag_setup[tags0-0-2] PASSED [ 49%] tests/unit/test_sources.py::test_sources_get_initial_tag_setup[tags1-999-0] PASSED [ 50%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags0-deduplicated_tags0] PASSED [ 50%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags1-deduplicated_tags1] PASSED [ 50%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags2-deduplicated_tags2] PASSED [ 51%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags3-deduplicated_tags3] PASSED [ 51%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags4-deduplicated_tags4] PASSED [ 51%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags5-deduplicated_tags5] PASSED [ 52%] tests/unit/test_sources.py::test_sources_deduplicate_tag_names[tags6-deduplicated_tags6] PASSED [ 52%] tests/unit/test_sources.py::test_sources_insert[tags0-sourcelists0-0-test-0-TagSource] PASSED [ 52%] tests/unit/test_sources.py::test_sources_insert[tags1-sourcelists1-0-test-0-ListSource] PASSED [ 53%] tests/unit/test_sources.py::test_sources_insert[tags2-sourcelists2-10-test-2-TagSource] PASSED [ 53%] tests/unit/test_sources.py::test_sources_insert[tags3-sourcelists3-10-test-4-ListSource] PASSED [ 53%] tests/unit/test_sources.py::test_sources_insert[tags4-sourcelists4-1-test-1-TagSource] PASSED [ 54%] tests/unit/test_sources.py::test_sources_insert[tags5-sourcelists5-1-test-10-TagSource] PASSED [ 54%] tests/unit/test_sources.py::test_sources_insert[tags6-sourcelists6-2-test-2-ListSource] PASSED [ 55%] tests/unit/test_sources.py::test_sources_insert[tags7-sourcelists7-10-source0-None-None] PASSED [ 55%] tests/unit/test_sources.py::test_sources_insert_numbered[tags0-28-test-0] PASSED [ 55%] tests/unit/test_sources.py::test_sources_insert_numbered[tags1-0-test-0] PASSED [ 56%] tests/unit/test_sources.py::test_sources_insert_numbered[tags2-2-test-2] PASSED [ 56%] tests/unit/test_sources.py::test_sources_insert_numbered[tags3-42-test-3] PASSED [ 56%] tests/unit/test_sources.py::test_sources_insert_numbered[tags4-1000-test-4] PASSED [ 57%] tests/unit/test_sources.py::test_sources_insert_numbered[tags5-37-test-1] PASSED [ 57%] tests/unit/test_sources.py::test_sources_remove_numbered[tags0-sourcelists0-1-new_tags0-new_sourcelists0] PASSED [ 57%] tests/unit/test_sources.py::test_sources_remove_numbered[tags1-sourcelists1-2-new_tags1-new_sourcelists1] PASSED [ 58%] tests/unit/test_sources.py::test_sources_remove_numbered[tags2-sourcelists2-2-new_tags2-new_sourcelists2] PASSED [ 58%] tests/unit/test_sources.py::test_patches_get_tag_format[Patch99-: -100-Patch100-: ] PASSED [ 58%] tests/unit/test_sources.py::test_patches_get_tag_format[Patch9999-: -28-Patch28-: ] PASSED [ 59%] tests/unit/test_sources.py::test_patches_get_tag_format[Patch0999-: -28-Patch0028-: ] PASSED [ 59%] tests/unit/test_sources.py::test_patches_get_tag_format[Source2-: -0-Patch0-: ] PASSED [ 60%] tests/unit/test_sources.py::test_patches_get_initial_tag_setup[tags0-0-3] PASSED [ 60%] tests/unit/test_sources.py::test_patches_get_initial_tag_setup[tags1-1-3] PASSED [ 60%] tests/unit/test_sources.py::test_patches_get_initial_tag_setup[tags2-2-2] PASSED [ 61%] tests/unit/test_sources.py::test_patches_get_initial_tag_setup[tags3-999-0] PASSED [ 61%] tests/unit/test_sources.py::test_copy_sources PASSED [ 61%] tests/unit/test_spec_parser.py::test_spec_parser_do_parse PASSED [ 62%] tests/unit/test_spec_parser.py::test_copy_spec_parser PASSED [ 62%] tests/unit/test_spec_parser.py::test_spec_parser_macros PASSED [ 62%] tests/unit/test_spec_parser.py::test_spec_parser_make_dummy_sources PASSED [ 63%] tests/unit/test_specfile.py::test_split_raw_release[1%{?dist}-1-%{?dist}-None] PASSED [ 63%] tests/unit/test_specfile.py::test_split_raw_release[0.1%{prerelease}%{dist}-0.1%{prerelease}-%{dist}-None] PASSED [ 64%] tests/unit/test_specfile.py::test_split_raw_release[%{_short_release}%{?dist}.20-%{_short_release}-%{?dist}-20] PASSED [ 64%] tests/unit/test_specfile.py::test_split_raw_release[28%dist-28-%dist-None] PASSED [ 64%] tests/unit/test_specfile.py::test_split_raw_release[%{release_string}-%{release_string}-None-None] PASSED [ 65%] tests/unit/test_specfile.py::test_get_updated_release[1%{?dist}-28-28%{?dist}] PASSED [ 65%] tests/unit/test_specfile.py::test_get_updated_release[0.1%{prerelease}%{dist}-1-1%{dist}] PASSED [ 65%] tests/unit/test_specfile.py::test_get_updated_release[%{_short_release}%{?dist}.20-3-3%{?dist}] PASSED [ 66%] tests/unit/test_specfile.py::test_get_updated_release[28%dist-0.1-0.1%dist] PASSED [ 66%] tests/unit/test_specfile.py::test_get_updated_release[%{release_string}-1-1] PASSED [ 66%] tests/unit/test_tags.py::test_find PASSED [ 67%] tests/unit/test_tags.py::test_parse PASSED [ 67%] tests/unit/test_tags.py::test_get_raw_section_data PASSED [ 67%] tests/unit/test_tags.py::test_copy_tags PASSED [ 68%] tests/unit/test_utils.py::test_get_filename_from_location[-] PASSED [ 68%] tests/unit/test_utils.py::test_get_filename_from_location[tarball-0.1.tar.gz-tarball-0.1.tar.gz] PASSED [ 69%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com-example.com] PASSED [ 69%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com#fragment-example.com#fragment] PASSED [ 69%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com/archive/tarball-0.1.tar.gz-tarball-0.1.tar.gz] PASSED [ 70%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com/archive/tarball-0.1.tar.gz#fragment-tarball-0.1.tar.gz#fragment] PASSED [ 70%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com/download_tarball.cgi#/tarball-0.1.tar.gz-tarball-0.1.tar.gz] PASSED [ 70%] tests/unit/test_utils.py::test_get_filename_from_location[https://example.com/tarball-latest.tar.gz#/file=tarball-0.1.tar.gz-tarball-0.1.tar.gz] PASSED [ 71%] tests/unit/test_utils.py::test_EVR_from_string[0-result0] PASSED [ 71%] tests/unit/test_utils.py::test_EVR_from_string[12.0-1-result1] PASSED [ 71%] tests/unit/test_utils.py::test_EVR_from_string[2:56.8-5-result2] PASSED [ 72%] tests/unit/test_utils.py::test_EVR_from_string[0.8.0-1.fc37-result3] PASSED [ 72%] tests/unit/test_utils.py::test_EVR_from_string[0.5.0~rc2-1.el9-result4] PASSED [ 73%] tests/unit/test_utils.py::test_EVR_from_string[7.3-0.2.rc1.fc38-result5] PASSED [ 73%] tests/unit/test_utils.py::test_EVR_from_string[7.3~rc1^20200701gdeadf00f-12.fc38-result6] PASSED [ 73%] tests/unit/test_utils.py::test_NEVR_from_string[package-0-result0] PASSED [ 74%] tests/unit/test_utils.py::test_NEVR_from_string[package-12.0-1-result1] PASSED [ 74%] tests/unit/test_utils.py::test_NEVR_from_string[package-2:56.8-5-result2] PASSED [ 74%] tests/unit/test_utils.py::test_NEVR_from_string[package-0.8.0-1.fc37-result3] PASSED [ 75%] tests/unit/test_utils.py::test_NEVR_from_string[package-0.5.0~rc2-1.el9-result4] PASSED [ 75%] tests/unit/test_utils.py::test_NEVR_from_string[package-devel-7.3-0.2.rc1.fc38-result5] PASSED [ 75%] tests/unit/test_utils.py::test_NEVR_from_string[package-7.3~rc1^20200701gdeadf00f-12.fc38-result6] PASSED [ 76%] tests/unit/test_utils.py::test_NEVRA_from_string[package-12.0-1.x86_64-result0] PASSED [ 76%] tests/unit/test_utils.py::test_NEVRA_from_string[package-2:56.8-5.aarch64-result1] PASSED [ 76%] tests/unit/test_utils.py::test_NEVRA_from_string[package-0.8.0-1.fc37.armv6hl-result2] PASSED [ 77%] tests/unit/test_utils.py::test_NEVRA_from_string[package-0.5.0~rc2-1.el9.noarch-result3] PASSED [ 77%] tests/unit/test_utils.py::test_NEVRA_from_string[package-devel-7.3-0.2.rc1.fc38.i686-result4] PASSED [ 78%] tests/unit/test_utils.py::test_NEVRA_from_string[package-7.3~rc1^20200701gdeadf00f-12.fc38.riscv-result5] PASSED [ 78%] tests/unit/test_value_parser.py::test_parse[-nodes0] PASSED [ 78%] tests/unit/test_value_parser.py::test_parse[escaped %%macro-nodes1] PASSED [ 79%] tests/unit/test_value_parser.py::test_parse[%(echo %{version} | cut -d. -f3)-nodes2] PASSED [ 79%] tests/unit/test_value_parser.py::test_parse[%version-nodes3] PASSED [ 79%] tests/unit/test_value_parser.py::test_parse[1%{?dist}-nodes4] PASSED [ 80%] tests/unit/test_value_parser.py::test_parse[%{longdesc %{name}}-nodes5] PASSED [ 80%] tests/unit/test_value_parser.py::test_parse[%{fedorarel}%{?dist}.2-nodes6] PASSED [ 80%] tests/unit/test_value_parser.py::test_parse[%{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}-nodes7] PASSED [ 81%] tests/unit/test_value_parser.py::test_parse[%{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(string.lower(ver))}-nodes8] PASSED [ 81%] tests/unit/test_value_parser.py::test_construct_regex[%(echo %version | cut -d. -f1,2).0-macros0-modifiable_entities0-flippable_entities0-^1\\.1(?P.+?)$-%(echo %version | cut -d. -f1,2)${sub_0}-entities_to_flip0] PASSED [ 82%] tests/unit/test_value_parser.py::test_construct_regex[%version-macros1-modifiable_entities1-flippable_entities1-^(?P.+)$-%version-entities_to_flip1] PASSED [ 82%] tests/unit/test_value_parser.py::test_construct_regex[%?version-macros2-modifiable_entities2-flippable_entities2-^(?P.+)$-%?version-entities_to_flip2] PASSED [ 82%] tests/unit/test_value_parser.py::test_construct_regex[%!?version-macros3-modifiable_entities3-flippable_entities3-^$-%!?version-entities_to_flip3] PASSED [ 83%] tests/unit/test_value_parser.py::test_construct_regex[1%{?dist}-macros4-modifiable_entities4-flippable_entities4-^(?P.+?)\\.fc35$-${sub_0}%{?dist}-entities_to_flip4] PASSED [ 83%] tests/unit/test_value_parser.py::test_construct_regex[%{longdesc %name}-macros5-modifiable_entities5-flippable_entities5-^Lorem\\ ipsum\\ dolor\\ sit\\ amet$-%{longdesc %name}-entities_to_flip5] PASSED [ 83%] tests/unit/test_value_parser.py::test_construct_regex[%{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}-macros6-modifiable_entities6-flippable_entities6-^(?P.+?)\\.(?P.+)\\.(?P.+)$-%{?prever:${sub_0}.}%{mainrel}%{?prever:.%{prerpmver}}-entities_to_flip6] PASSED [ 84%] tests/unit/test_value_parser.py::test_construct_regex[%{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}-macros7-modifiable_entities7-flippable_entities7-^(?P.+?)\\.(?P.+)\\.(?P.+)$-%{?prever:${sub_0}.}%{mainrel}%{?prever:.%{prerpmver}}-entities_to_flip7] PASSED [ 84%] tests/unit/test_value_parser.py::test_construct_regex[%{mingw64_libdir}/lib%{pkgname}stub%{majorver1}%{majorver2}.a-macros8-modifiable_entities8-flippable_entities8-^$-%{mingw64_libdir}/lib%{pkgname}stub%{majorver1}%{majorver2}.a-entities_to_flip8] PASSED [ 84%] tests/unit/test_value_parser.py::test_construct_regex[%{?commit:%{commit}}%{?!commit:%{tag}}-macros9-modifiable_entities9-flippable_entities9-^(?P.+)$-%{?commit:%{commit}}%{?!commit:%{tag}}-entities_to_flip9] PASSED [ 85%] tests/unit/test_value_parser.py::test_construct_regex[%{?commit:%{commit}}%{?!commit:%{tag}}-macros10-modifiable_entities10-flippable_entities10-^(?P.+)$-%{?commit:%{commit}}%{?!commit:%{tag}}-entities_to_flip10] PASSED [ 85%] tests/integration/test_specfile.py::test_parse PASSED [ 85%] tests/integration/test_specfile.py::test_prep_traditional PASSED [ 86%] tests/integration/test_specfile.py::test_prep_autosetup PASSED [ 86%] tests/integration/test_specfile.py::test_prep_autopatch PASSED [ 87%] tests/integration/test_specfile.py::test_sources PASSED [ 87%] tests/integration/test_specfile.py::test_patches PASSED [ 87%] tests/integration/test_specfile.py::test_add_changelog_entry[test-None-None-timestamp0-None-result0] PASSED [ 88%] tests/integration/test_specfile.py::test_add_changelog_entry[test-None-None-timestamp1-%{version}-%{release}-result1] PASSED [ 88%] tests/integration/test_specfile.py::test_add_changelog_entry[test-None-None-timestamp2-0.1-1-result2] PASSED [ 88%] tests/integration/test_specfile.py::test_add_changelog_entry[test-None-None-timestamp3-0.2-1.1-result3] PASSED [ 89%] tests/integration/test_specfile.py::test_add_changelog_entry[test-Bill Packager-None-timestamp4-None-result4] PASSED [ 89%] tests/integration/test_specfile.py::test_add_changelog_entry[test-Bill Packager-bill@packager.net-timestamp5-None-result5] PASSED [ 89%] tests/integration/test_specfile.py::test_add_changelog_entry[test-Bill Packager-bill@packager.net-timestamp6-None-result6] PASSED [ 90%] tests/integration/test_specfile.py::test_add_changelog_entry[entry7-Bill Packager-bill@packager.net-timestamp7-None-result7] PASSED [ 90%] tests/integration/test_specfile.py::test_set_version_and_release[0.2-3] PASSED [ 91%] tests/integration/test_specfile.py::test_set_version_and_release[67-1] PASSED [ 91%] tests/integration/test_specfile.py::test_set_version_and_release[1.4.6-0.1rc5] PASSED [ 91%] tests/integration/test_specfile.py::test_add_patch[patchX.patch-None-None] PASSED [ 92%] tests/integration/test_specfile.py::test_add_patch[patchX.patch-0-None] PASSED [ 92%] tests/integration/test_specfile.py::test_add_patch[patch2.patch-None-None] PASSED [ 92%] tests/integration/test_specfile.py::test_add_patch[patch3.patch-3-patch3] PASSED [ 93%] tests/integration/test_specfile.py::test_remove_patches PASSED [ 93%] tests/integration/test_specfile.py::test_autorelease[1%{?dist}-False] PASSED [ 93%] tests/integration/test_specfile.py::test_autorelease[%{release_number}%{?dist}-False] PASSED [ 94%] tests/integration/test_specfile.py::test_autorelease[0.27.%{commitdate}git%{shortcommit}%{?dist}-False] PASSED [ 94%] tests/integration/test_specfile.py::test_autorelease[%autorelease-True] PASSED [ 94%] tests/integration/test_specfile.py::test_autorelease[%{autorelease}-True] PASSED [ 95%] tests/integration/test_specfile.py::test_autorelease[%autorelease -b 4 -s %{date}git%{shortcommit}-True] PASSED [ 95%] tests/integration/test_specfile.py::test_autorelease[%{?autorelease}%{!?autorelease:1%{?dist}}-True] PASSED [ 96%] tests/integration/test_specfile.py::test_autorelease[0.10.%{date}git%{shortcommit}.%autorelease-True] PASSED [ 96%] tests/integration/test_specfile.py::test_autorelease[%{obsrel}.%{autorelease}-True] PASSED [ 96%] tests/integration/test_specfile.py::test_autochangelog PASSED [ 97%] tests/integration/test_specfile.py::test_update_tag PASSED [ 97%] tests/integration/test_specfile.py::test_multiple_instances PASSED [ 97%] tests/integration/test_specfile.py::test_includes PASSED [ 98%] tests/integration/test_specfile.py::test_shell_expansions PASSED [ 98%] tests/integration/test_specfile.py::test_context_management PASSED [ 98%] tests/integration/test_specfile.py::test_copy PASSED [ 99%] tests/integration/test_specfile.py::test_parse_if_necessary PASSED [ 99%] tests/integration/test_specfile.py::test_update_version PASSED [100%] ============================= 278 passed in 2.89s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-specfile-0.27.0-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pp9Cgx + umask 022 + cd /builddir/build/BUILD + cd specfile-0.27.0 + DOCDIR=/builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/share/doc/python3-specfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/share/doc/python3-specfile + cp -pr README.md /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch/usr/share/doc/python3-specfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-specfile = 0.27.0-1.oc9 python3-specfile = 0.27.0-1.oc9 python3.11-specfile = 0.27.0-1.oc9 python3.11dist(specfile) = 0.27 python3dist(specfile) = 0.27 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(rpm) python3.11dist(typing-extensions) Obsoletes: python3.11-specfile < 0.27.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-specfile-0.27.0-1.oc9.noarch Wrote: /builddir/build/SRPMS/python-specfile-0.27.0-1.oc9.src.rpm Wrote: /builddir/build/RPMS/python3-specfile-0.27.0-1.oc9.noarch.rpm Child return code was: 0