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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.EbilGe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.er9TxZ + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.LtLRN3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.0sUHdz + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement not satisfied: setuptools-scm[toml]>=5.0.0 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.cTJBq6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.nFoIbE + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement satisfied: setuptools-scm[toml]>=5.0.0 (installed: setuptools-scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_django.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_django.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_django.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_django.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_django.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_django.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pytest_django.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-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.dHXCGZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.9WEXOr + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement satisfied: setuptools-scm[toml]>=5.0.0 (installed: setuptools-scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_django.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_django.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_django.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_django.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_django.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_django.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pytest_django.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.BclaKD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.dKZV2X + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement satisfied: setuptools-scm[toml]>=5.0.0 (installed: setuptools-scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_django.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_django.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_django.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_django.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_django.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_django.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pytest_django.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest >=7.0.0 from wheel metadata: Requires-Dist Requirement not satisfied: pytest >=7.0.0 Handling sphinx ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-rtd-theme ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'docs' Handling Django ; extra == 'testing' from wheel metadata: Requires-Dist Requirement not satisfied: Django ; extra == 'testing' Handling django-configurations >=2.0 ; extra == 'testing' from wheel metadata: Requires-Dist Requirement not satisfied: django-configurations >=2.0 ; extra == 'testing' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.pbOTZB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-django-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-django-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-django-4.8.0 + /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.Nh7w3P + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement satisfied: setuptools-scm[toml]>=5.0.0 (installed: setuptools-scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_django.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_django.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_django.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_django.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_django.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_django.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pytest_django.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest >=7.0.0 from wheel metadata: Requires-Dist Requirement satisfied: pytest >=7.0.0 (installed: pytest 7.4.0) Handling sphinx ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-rtd-theme ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'docs' Handling Django ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: Django ; extra == 'testing' (installed: Django 5.0.8) Handling django-configurations >=2.0 ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: django-configurations >=2.0 ; extra == 'testing' (installed: django-configurations 2.2) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-django-4.8.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-pytest-django.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234664-81994/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.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.WHzT7L + umask 022 + cd /builddir/build/BUILD + cd pytest-django-4.8.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv pytest_django-4.8.0.dist-info/ removed 'pytest_django-4.8.0.dist-info/METADATA' removed 'pytest_django-4.8.0.dist-info/entry_points.txt' removed 'pytest_django-4.8.0.dist-info/top_level.txt' removed 'pytest_django-4.8.0.dist-info/LICENSE' removed 'pytest_django-4.8.0.dist-info/AUTHORS' removed directory 'pytest_django-4.8.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 -t Handling setuptools>=61.0.0 from build-system.requires Requirement satisfied: setuptools>=61.0.0 (installed: setuptools 68.0.0) Handling setuptools-scm[toml]>=5.0.0 from build-system.requires Requirement satisfied: setuptools-scm[toml]>=5.0.0 (installed: setuptools-scm 8.0.4) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_django.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_django.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_django.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_django.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_django.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_django.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pytest_django.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest >=7.0.0 from wheel metadata: Requires-Dist Requirement satisfied: pytest >=7.0.0 (installed: pytest 7.4.0) Handling sphinx ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-rtd-theme ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'docs' Handling Django ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: Django ; extra == 'testing' (installed: Django 5.0.8) Handling django-configurations >=2.0 ; extra == 'testing' from wheel metadata: Requires-Dist Requirement satisfied: django-configurations >=2.0 ; extra == 'testing' (installed: django-configurations 2.2) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Oy3vk + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-django-4.8.0 + mkdir -p /builddir/build/BUILD/pytest-django-4.8.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pytest-django-4.8.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/pytest-django-4.8.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running dist_info creating /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info writing /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-modern-metadata-mejwwbni/pytest_django-4.8.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-django Building wheel for pytest-django (pyproject.toml): started Running command Building wheel for pytest-django (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pytest_django copying pytest_django/asserts.py -> build/lib/pytest_django copying pytest_django/__init__.py -> build/lib/pytest_django copying pytest_django/live_server_helper.py -> build/lib/pytest_django copying pytest_django/fixtures.py -> build/lib/pytest_django copying pytest_django/_version.py -> build/lib/pytest_django copying pytest_django/plugin.py -> build/lib/pytest_django copying pytest_django/lazy_django.py -> build/lib/pytest_django copying pytest_django/django_compat.py -> build/lib/pytest_django running egg_info writing pytest_django.egg-info/PKG-INFO writing dependency_links to pytest_django.egg-info/dependency_links.txt writing entry points to pytest_django.egg-info/entry_points.txt writing requirements to pytest_django.egg-info/requires.txt writing top-level names to pytest_django.egg-info/top_level.txt reading manifest file 'pytest_django.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'pytest_django.egg-info/SOURCES.txt' copying pytest_django/py.typed -> build/lib/pytest_django installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/asserts.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/__init__.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/live_server_helper.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/fixtures.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/_version.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/plugin.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/lazy_django.py -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/py.typed -> build/bdist.linux-x86_64/wheel/pytest_django copying build/lib/pytest_django/django_compat.py -> build/bdist.linux-x86_64/wheel/pytest_django running install_egg_info Copying pytest_django.egg-info to build/bdist.linux-x86_64/wheel/pytest_django-4.8.0-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pytest_django-4.8.0.dist-info/WHEEL creating '/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir/pip-wheel-47melq64/.tmp-u646sll5/pytest_django-4.8.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pytest_django/__init__.py' adding 'pytest_django/_version.py' adding 'pytest_django/asserts.py' adding 'pytest_django/django_compat.py' adding 'pytest_django/fixtures.py' adding 'pytest_django/lazy_django.py' adding 'pytest_django/live_server_helper.py' adding 'pytest_django/plugin.py' adding 'pytest_django/py.typed' adding 'pytest_django-4.8.0.dist-info/AUTHORS' adding 'pytest_django-4.8.0.dist-info/LICENSE' adding 'pytest_django-4.8.0.dist-info/METADATA' adding 'pytest_django-4.8.0.dist-info/WHEEL' adding 'pytest_django-4.8.0.dist-info/entry_points.txt' adding 'pytest_django-4.8.0.dist-info/top_level.txt' adding 'pytest_django-4.8.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pytest-django (pyproject.toml): finished with status 'done' Created wheel for pytest-django: filename=pytest_django-4.8.0-py3-none-any.whl size=23433 sha256=4c8bac422cc2bde31998b12adf15f0b2d4ff4eaa0f071bbe3e0a2c78107cbfc2 Stored in directory: /builddir/.cache/pip/wheels/72/ca/aa/099f3335e84739cf658ac1972b99dfe32c9bf7283a2dad5907 Successfully built pytest-django + PYTHONPATH=/builddir/build/BUILD/pytest-django-4.8.0 + sphinx-build-3 docs html Running Sphinx v7.0.1 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://docs.djangoproject.com/en/stable/_objects/... loading intersphinx inventory from https://docs.pytest.org/en/stable/objects.inv... intersphinx inventory has moved: https://docs.djangoproject.com/en/stable/_objects/ -> https://docs.djangoproject.com/en/6.0/objects.inv building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 10 source files that are out of date updating environment: [new config] 10 added, 0 changed, 0 removed reading sources... [ 10%] changelog reading sources... [ 20%] configuring_django reading sources... [ 30%] contributing reading sources... [ 40%] database reading sources... [ 50%] faq reading sources... [ 60%] helpers reading sources... [ 70%] index reading sources... [ 80%] managing_python_path reading sources... [ 90%] tutorial reading sources... [100%] usage looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 10%] changelog writing output... [ 20%] configuring_django writing output... [ 30%] contributing writing output... [ 40%] database writing output... [ 50%] faq writing output... [ 60%] helpers writing output... [ 70%] index writing output... [ 80%] managing_python_path writing output... [ 90%] tutorial writing output... [100%] usage generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.68Yf8b + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch + cd pytest-django-4.8.0 ++ ls /builddir/build/BUILD/pytest-django-4.8.0/pyproject-wheeldir/pytest_django-4.8.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_django==4.8.0 + TMPDIR=/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pytest-django-4.8.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/pytest-django-4.8.0/pyproject-wheeldir pytest_django==4.8.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/pytest-django-4.8.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_django-4.8.0-py3-none-any.whl Installing collected packages: pytest_django Successfully installed pytest_django-4.8.0 + '[' -d /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/pytest_django-4.8.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.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-pytest-django-4.8.0-1.oc9.noarch --record /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django-4.8.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-pytest-django-4.8.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 pytest_django + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.8.0-1.oc9 --unique-debug-suffix -4.8.0-1.oc9.noarch --unique-debug-src-base python-pytest-django-4.8.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/pytest-django-4.8.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-pytest-django-4.8.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.jFsDjF + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-django-4.8.0 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pytest-django-4.8.0/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py311 ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 cachedir: .tox/py311/.pytest_cache django: version: 5.0.8, settings: pytest_django_test.settings_sqlite_file (from ini) rootdir: /builddir/build/BUILD/pytest-django-4.8.0 configfile: pyproject.toml plugins: django-4.8.0 collected 218 items tests/test_asserts.py . [ 0%] tests/test_database.py ...................... [ 10%] tests/test_environment.py ......... [ 14%] tests/test_fixtures.py ............... [ 21%] tests/test_unittest.py ........ [ 25%] tests/test_database.py .......... [ 29%] tests/test_fixtures.py .... [ 31%] tests/test_asserts.py . [ 32%] tests/test_database.py ............................. [ 45%] tests/test_db_access_in_repr.py . [ 45%] tests/test_db_setup.py ....sss..ss.. [ 51%] tests/test_django_configurations.py FFFF [ 53%] tests/test_django_settings_module.py ................... [ 62%] tests/test_doctest.txt . [ 62%] tests/test_environment.py ............ [ 68%] tests/test_fixtures.py ................................. [ 83%] tests/test_initialization.py . [ 83%] tests/test_manage_py_scan.py ......... [ 88%] tests/test_unittest.py ............... [ 94%] tests/test_urls.py .... [ 96%] tests/test_without_django_loaded.py ....... [100%] =================================== FAILURES =================================== _________________________________ test_dc_env __________________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4cff73cc50> def test_dc_env(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "tpkg.settings_env") monkeypatch.setenv("DJANGO_CONFIGURATION", "MySettings") pkg = pytester.mkpydir("tpkg") settings = pkg.joinpath("settings_env.py") settings.write_text(BARE_SETTINGS) pytester.makepyfile( """ import os def test_settings(): assert os.environ['DJANGO_SETTINGS_MODULE'] == 'tpkg.settings_env' assert os.environ['DJANGO_CONFIGURATION'] == 'MySettings' """ ) result = pytester.runpytest_subprocess() > result.stdout.fnmatch_lines( [ "django: version: *, settings: tpkg.settings_env (from env), " "configuration: MySettings (from env)", "* 1 passed*", ] ) E Failed: remains unmatched: 'django: version: *, settings: tpkg.settings_env (from env), configuration: MySettings (from env)' /builddir/build/BUILD/pytest-django-4.8.0/tests/test_django_configurations.py:44: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_dc_env0/runpytest-0 in: /tmp/pytest-of-mockbuild/pytest-0/test_dc_env0 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/pytest/__main__.py", line 5, in raise SystemExit(pytest.console_main()) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 189, in console_main code = main() ^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 147, in main config = _prepareconfig(args, plugins) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 130, in _multicall teardown[0].send(outcome) File "/usr/lib/python3.11/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse config: Config = outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1425, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1327, in _preparse self.hook.pytest_load_initial_conftests( File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 152, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django/plugin.py", line 356, in pytest_load_initial_conftests dj_settings.DATABASES # noqa: B018 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in __getattr__ self._setup(name) File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 76, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 233, in __init__ raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive. __________________________ test_dc_env_overrides_ini ___________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4cff767c50> def test_dc_env_overrides_ini(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "tpkg.settings_env") monkeypatch.setenv("DJANGO_CONFIGURATION", "MySettings") pytester.makeini( """ [pytest] DJANGO_SETTINGS_MODULE = DO_NOT_USE_ini DJANGO_CONFIGURATION = DO_NOT_USE_ini """ ) pkg = pytester.mkpydir("tpkg") settings = pkg.joinpath("settings_env.py") settings.write_text(BARE_SETTINGS) pytester.makepyfile( """ import os def test_ds(): assert os.environ['DJANGO_SETTINGS_MODULE'] == 'tpkg.settings_env' assert os.environ['DJANGO_CONFIGURATION'] == 'MySettings' """ ) result = pytester.runpytest_subprocess() > result.stdout.fnmatch_lines( [ "django: version: *, settings: tpkg.settings_env (from env), " "configuration: MySettings (from env)", "* 1 passed*", ] ) E Failed: remains unmatched: 'django: version: *, settings: tpkg.settings_env (from env), configuration: MySettings (from env)' /builddir/build/BUILD/pytest-django-4.8.0/tests/test_django_configurations.py:78: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_dc_env_overrides_ini0/runpytest-0 in: /tmp/pytest-of-mockbuild/pytest-0/test_dc_env_overrides_ini0 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/pytest/__main__.py", line 5, in raise SystemExit(pytest.console_main()) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 189, in console_main code = main() ^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 147, in main config = _prepareconfig(args, plugins) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 130, in _multicall teardown[0].send(outcome) File "/usr/lib/python3.11/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse config: Config = outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1425, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1327, in _preparse self.hook.pytest_load_initial_conftests( File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 152, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django/plugin.py", line 356, in pytest_load_initial_conftests dj_settings.DATABASES # noqa: B018 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in __getattr__ self._setup(name) File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 76, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 233, in __init__ raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive. _________________________________ test_dc_ini __________________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4cff727b90> def test_dc_ini(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.delenv("DJANGO_SETTINGS_MODULE") pytester.makeini( """ [pytest] DJANGO_SETTINGS_MODULE = tpkg.settings_ini DJANGO_CONFIGURATION = MySettings """ ) pkg = pytester.mkpydir("tpkg") settings = pkg.joinpath("settings_ini.py") settings.write_text(BARE_SETTINGS) pytester.makepyfile( """ import os def test_ds(): assert os.environ['DJANGO_SETTINGS_MODULE'] == 'tpkg.settings_ini' assert os.environ['DJANGO_CONFIGURATION'] == 'MySettings' """ ) result = pytester.runpytest_subprocess() > result.stdout.fnmatch_lines( [ "django: version: *, settings: tpkg.settings_ini (from ini), " "configuration: MySettings (from ini)", "* 1 passed*", ] ) E Failed: remains unmatched: 'django: version: *, settings: tpkg.settings_ini (from ini), configuration: MySettings (from ini)' /builddir/build/BUILD/pytest-django-4.8.0/tests/test_django_configurations.py:111: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_dc_ini0/runpytest-0 in: /tmp/pytest-of-mockbuild/pytest-0/test_dc_ini0 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/pytest/__main__.py", line 5, in raise SystemExit(pytest.console_main()) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 189, in console_main code = main() ^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 147, in main config = _prepareconfig(args, plugins) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 130, in _multicall teardown[0].send(outcome) File "/usr/lib/python3.11/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse config: Config = outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1425, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1327, in _preparse self.hook.pytest_load_initial_conftests( File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 152, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django/plugin.py", line 356, in pytest_load_initial_conftests dj_settings.DATABASES # noqa: B018 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in __getattr__ self._setup(name) File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 76, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 233, in __init__ raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive. ________________________________ test_dc_option ________________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4cff77a9d0> def test_dc_option(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "DO_NOT_USE_env") monkeypatch.setenv("DJANGO_CONFIGURATION", "DO_NOT_USE_env") pytester.makeini( """ [pytest] DJANGO_SETTINGS_MODULE = DO_NOT_USE_ini DJANGO_CONFIGURATION = DO_NOT_USE_ini """ ) pkg = pytester.mkpydir("tpkg") settings = pkg.joinpath("settings_opt.py") settings.write_text(BARE_SETTINGS) pytester.makepyfile( """ import os def test_ds(): assert os.environ['DJANGO_SETTINGS_MODULE'] == 'tpkg.settings_opt' assert os.environ['DJANGO_CONFIGURATION'] == 'MySettings' """ ) result = pytester.runpytest_subprocess("--ds=tpkg.settings_opt", "--dc=MySettings") > result.stdout.fnmatch_lines( [ "django: version: *, settings: tpkg.settings_opt (from option)," " configuration: MySettings (from option)", "* 1 passed*", ] ) E Failed: remains unmatched: 'django: version: *, settings: tpkg.settings_opt (from option), configuration: MySettings (from option)' /builddir/build/BUILD/pytest-django-4.8.0/tests/test_django_configurations.py:145: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_dc_option0/runpytest-0 --ds=tpkg.settings_opt --dc=MySettings in: /tmp/pytest-of-mockbuild/pytest-0/test_dc_option0 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/pytest/__main__.py", line 5, in raise SystemExit(pytest.console_main()) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 189, in console_main code = main() ^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 147, in main config = _prepareconfig(args, plugins) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 130, in _multicall teardown[0].send(outcome) File "/usr/lib/python3.11/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse config: Config = outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1425, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1327, in _preparse self.hook.pytest_load_initial_conftests( File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 493, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 115, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 152, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pluggy/_result.py", line 114, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 77, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILDROOT/python-pytest-django-4.8.0-1.oc9.noarch/usr/lib/python3.11/site-packages/pytest_django/plugin.py", line 356, in pytest_load_initial_conftests dj_settings.DATABASES # noqa: B018 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in __getattr__ self._setup(name) File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 76, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/django/conf/__init__.py", line 233, in __init__ raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive. =========================== short test summary info ============================ SKIPPED [1] tests/test_db_setup.py:203: could not import 'xdist': No module named 'xdist' SKIPPED [1] tests/test_db_setup.py:284: could not import 'xdist': No module named 'xdist' SKIPPED [1] tests/test_db_setup.py:320: could not import 'xdist': No module named 'xdist' SKIPPED [1] tests/test_db_setup.py:436: could not import 'xdist': No module named 'xdist' SKIPPED [1] tests/test_db_setup.py:470: could not import 'xdist': No module named 'xdist' FAILED tests/test_django_configurations.py::test_dc_env - Failed: remains unm... FAILED tests/test_django_configurations.py::test_dc_env_overrides_ini - Faile... FAILED tests/test_django_configurations.py::test_dc_ini - Failed: remains unm... FAILED tests/test_django_configurations.py::test_dc_option - Failed: remains ... ================== 4 failed, 209 passed, 5 skipped in 50.12s =================== py311: exit 1 (50.52 seconds) /builddir/build/BUILD/pytest-django-4.8.0> pytest tests pid=2080701 py311: FAIL code 1 (50.52 seconds) evaluation failed :( (50.57 seconds) error: Bad exit status from /var/tmp/rpm-tmp.jFsDjF (%check) Bad exit status from /var/tmp/rpm-tmp.jFsDjF (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-django.spec