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-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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-sugar-1.0.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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.g2X6eA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-sugar-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-sugar-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-sugar-1.0.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.9HFaO9 + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.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 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-sugar-1.0.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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.1IfRff + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-sugar-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-sugar-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-sugar-1.0.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.byn0ze + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.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 Handling setuptools >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement not satisfied: wheel Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-sugar-1.0.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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.6MT2pM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-sugar-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-sugar-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-sugar-1.0.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.MAg2JO + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.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 Handling setuptools >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_sugar.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_sugar.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_sugar.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_sugar.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_sugar.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_sugar.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'pytest_sugar.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pytest >=6.2.0 from wheel metadata: Requires-Dist Requirement satisfied: pytest >=6.2.0 (installed: pytest 7.4.0) Handling termcolor >=2.1.0 from wheel metadata: Requires-Dist Requirement not satisfied: termcolor >=2.1.0 Handling packaging >=21.3 from wheel metadata: Requires-Dist Requirement satisfied: packaging >=21.3 (installed: packaging 23.1) Handling black ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ; extra == 'dev' Handling flake8 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: flake8 ; extra == 'dev' Handling pre-commit ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pre-commit ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-sugar-1.0.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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.6WcXld + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-sugar-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-sugar-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-sugar-1.0.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.oasnPl + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.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 Handling setuptools >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_sugar.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_sugar.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_sugar.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_sugar.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_sugar.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_sugar.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'pytest_sugar.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pytest >=6.2.0 from wheel metadata: Requires-Dist Requirement satisfied: pytest >=6.2.0 (installed: pytest 7.4.0) Handling termcolor >=2.1.0 from wheel metadata: Requires-Dist Requirement satisfied: termcolor >=2.1.0 (installed: termcolor 2.3.0) Handling packaging >=21.3 from wheel metadata: Requires-Dist Requirement satisfied: packaging >=21.3 (installed: packaging 23.1) Handling black ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ; extra == 'dev' Handling flake8 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: flake8 ; extra == 'dev' Handling pre-commit ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pre-commit ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-sugar-1.0.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-sugar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-227943-17255/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=982gid=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-pytest-sugar.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.m6N70T + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv pytest_sugar-1.0.0.dist-info/ removed 'pytest_sugar-1.0.0.dist-info/METADATA' removed 'pytest_sugar-1.0.0.dist-info/top_level.txt' removed 'pytest_sugar-1.0.0.dist-info/LICENSE' removed 'pytest_sugar-1.0.0.dist-info/entry_points.txt' removed directory 'pytest_sugar-1.0.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 Handling setuptools >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing pytest_sugar.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_sugar.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_sugar.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_sugar.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_sugar.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_sugar.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'pytest_sugar.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pytest >=6.2.0 from wheel metadata: Requires-Dist Requirement satisfied: pytest >=6.2.0 (installed: pytest 7.4.0) Handling termcolor >=2.1.0 from wheel metadata: Requires-Dist Requirement satisfied: termcolor >=2.1.0 (installed: termcolor 2.3.0) Handling packaging >=21.3 from wheel metadata: Requires-Dist Requirement satisfied: packaging >=21.3 (installed: packaging 23.1) Handling black ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ; extra == 'dev' Handling flake8 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: flake8 ; extra == 'dev' Handling pre-commit ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pre-commit ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iLmwJl + 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-sugar-1.0.0 + mkdir -p /builddir/build/BUILD/pytest-sugar-1.0.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-sugar-1.0.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pytest-sugar-1.0.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-sugar-1.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info writing /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-modern-metadata-xytxvcj6/pytest_sugar-1.0.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-sugar Building wheel for pytest-sugar (pyproject.toml): started Running command Building wheel for pytest-sugar (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib copying pytest_sugar.py -> build/lib running egg_info writing pytest_sugar.egg-info/PKG-INFO writing dependency_links to pytest_sugar.egg-info/dependency_links.txt writing entry points to pytest_sugar.egg-info/entry_points.txt writing requirements to pytest_sugar.egg-info/requires.txt writing top-level names to pytest_sugar.egg-info/top_level.txt reading manifest file 'pytest_sugar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_sugar.egg-info/SOURCES.txt' 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 copying build/lib/pytest_sugar.py -> build/bdist.linux-x86_64/wheel running install_egg_info Copying pytest_sugar.egg-info to build/bdist.linux-x86_64/wheel/pytest_sugar-1.0.0-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pytest_sugar-1.0.0.dist-info/WHEEL creating '/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir/pip-wheel-z31jy82f/.tmp-_ynwwoe2/pytest_sugar-1.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pytest_sugar.py' adding 'pytest_sugar-1.0.0.dist-info/LICENSE' adding 'pytest_sugar-1.0.0.dist-info/METADATA' adding 'pytest_sugar-1.0.0.dist-info/WHEEL' adding 'pytest_sugar-1.0.0.dist-info/entry_points.txt' adding 'pytest_sugar-1.0.0.dist-info/top_level.txt' adding 'pytest_sugar-1.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pytest-sugar (pyproject.toml): finished with status 'done' Created wheel for pytest-sugar: filename=pytest_sugar-1.0.0-py3-none-any.whl size=10169 sha256=f072e232b3e268048f54604e15953d8663668a14f4d09956c4343bde7efb23aa Stored in directory: /builddir/.cache/pip/wheels/02/ed/b0/09145af036038335e096b9f8bed51c9d710ece1a2886e4e256 Successfully built pytest-sugar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fc3a28 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch + cd pytest-sugar-1.0.0 ++ ls /builddir/build/BUILD/pytest-sugar-1.0.0/pyproject-wheeldir/pytest_sugar-1.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_sugar==1.0.0 + TMPDIR=/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/pytest-sugar-1.0.0/pyproject-wheeldir pytest_sugar==1.0.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/pytest-sugar-1.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_sugar-1.0.0-py3-none-any.whl Installing collected packages: pytest_sugar Successfully installed pytest_sugar-1.0.0 + '[' -d /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/pytest_sugar-1.0.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.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-sugar-1.0.0-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_sugar-1.0.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-sugar-1.0.0-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr pytest_sugar + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.0-1.ocs23 --unique-debug-suffix -1.0.0-1.ocs23.noarch --unique-debug-src-base python-pytest-sugar-1.0.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/pytest-sugar-1.0.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-sugar-1.0.0-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ak8fYh + 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-sugar-1.0.0 + PYTHONPATH=. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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-pytest-sugar-1.0.0-1.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=. + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pytest-sugar-1.0.0/.pyproject-builddir' + /usr/bin/pytest -v -s ============================= 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/pytest-sugar-1.0.0 plugins: sugar-1.0.0 collecting ... collected 28 items test_sugar.py::TestTerminalReporter::test_new_summary Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_new_summary0 plugins: sugar-1.0.0 collected 1 item ――――――――――――――――――――――――――――――――― test_sample ―――――――――――――――――――――――――――――――――― def test_sample(): > assert False E assert False test_new_summary.py:4: AssertionError test_new_summary.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_new_summary.py::test_sample - assert False Results (0.02s): 1 failed - test_new_summary.py:3 test_sample PASSED test_sugar.py::TestTerminalReporter::test_new_summary PASSED test_sugar.py::TestTerminalReporter::test_old_summary PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_old_summary0 plugins: sugar-1.0.0 collected 1 item ――――――――――――――――――――――――――――――――― test_sample ―――――――――――――――――――――――――――――――――― def test_sample(): > assert False E assert False test_old_summary.py:4: AssertionError test_old_summary.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_old_summary.py::test_sample - assert False Results (0.01s): 1 failed - /tmp/pytest-of-mockbuild/pytest-0/test_old_summary0/test_old_summary.py:4: assert False test_sugar.py::TestTerminalReporter::test_old_summary PASSED test_sugar.py::TestTerminalReporter::test_old_summary PASSED test_sugar.py::TestTerminalReporter::test_xfail_true PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_true0 collected 1 item test_xfail_true.py X [100%] ============================== 1 xpassed in 0.00s ============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_true0 plugins: sugar-1.0.0 collected 1 item test_xfail_true.py X 100% ██████████ Results (0.01s): 1 xpassed test_sugar.py::TestTerminalReporter::test_xfail_true PASSED test_sugar.py::TestTerminalReporter::test_xfail_true PASSED test_sugar.py::TestTerminalReporter::test_xfail_false PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_false0 collected 1 item test_xfail_false.py x [100%] ============================== 1 xfailed in 0.00s ============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_false0 plugins: sugar-1.0.0 collected 1 item test_xfail_false.py x 100% ██████████ Results (0.01s): 1 xfailed test_sugar.py::TestTerminalReporter::test_xfail_false PASSED test_sugar.py::TestTerminalReporter::test_xfail_false PASSED test_sugar.py::TestTerminalReporter::test_report_header PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_report_header0 plugins: sugar-1.0.0 collected 1 item test_report_header.py ✓ 100% ██████████ Results (0.01s): 1 passed test_sugar.py::TestTerminalReporter::test_report_header PASSED test_sugar.py::TestTerminalReporter::test_report_header PASSED test_sugar.py::TestTerminalReporter::test_xfail_strict_true PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_strict_true0 collected 1 item test_xfail_strict_true.py F [100%] =================================== FAILURES =================================== _________________________________ test_sample __________________________________ [XPASS(strict)] =========================== short test summary info ============================ FAILED test_xfail_strict_true.py::test_sample ============================== 1 failed in 0.00s =============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_strict_true0 plugins: sugar-1.0.0 collected 1 item ――――――――――――――――――――――――――――――――― test_sample ―――――――――――――――――――――――――――――――――― [XPASS(strict)] test_xfail_strict_true.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_xfail_strict_true.py::test_sample Results (0.01s): 1 failed - test_xfail_strict_true.py:3 test_sample test_sugar.py::TestTerminalReporter::test_xfail_strict_true PASSED test_sugar.py::TestTerminalReporter::test_xfail_strict_true PASSED test_sugar.py::TestTerminalReporter::test_xfail_strict_false PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_strict_false0 collected 1 item test_xfail_strict_false.py x [100%] ============================== 1 xfailed in 0.00s ============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xfail_strict_false0 plugins: sugar-1.0.0 collected 1 item test_xfail_strict_false.py x 100% ██████████ Results (0.01s): 1 xfailed test_sugar.py::TestTerminalReporter::test_xfail_strict_false PASSED test_sugar.py::TestTerminalReporter::test_xfail_strict_false PASSED test_sugar.py::TestTerminalReporter::test_xpass_true PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xpass_true0 collected 1 item test_xpass_true.py . [100%] =============================== warnings summary =============================== test_xpass_true.py:3 /tmp/pytest-of-mockbuild/pytest-0/test_xpass_true0/test_xpass_true.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========================= 1 passed, 1 warning in 0.00s ========================= Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xpass_true0 plugins: sugar-1.0.0 collected 1 item test_xpass_true.py ✓ 100% ██████████ =============================== warnings summary =============================== test_xpass_true.py:3 /tmp/pytest-of-mockbuild/pytest-0/test_xpass_true0/test_xpass_true.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html Results (0.01s): 1 passed test_sugar.py::TestTerminalReporter::test_xpass_true PASSED test_sugar.py::TestTerminalReporter::test_xpass_true PASSED test_sugar.py::TestTerminalReporter::test_xpass_false PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xpass_false0 collected 1 item test_xpass_false.py F [100%] =================================== FAILURES =================================== _________________________________ test_sample __________________________________ @pytest.mark.xpass def test_sample(): > assert False E assert False test_xpass_false.py:5: AssertionError =============================== warnings summary =============================== test_xpass_false.py:3 /tmp/pytest-of-mockbuild/pytest-0/test_xpass_false0/test_xpass_false.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_xpass_false.py::test_sample - assert False ========================= 1 failed, 1 warning in 0.00s ========================= Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xpass_false0 plugins: sugar-1.0.0 collected 1 item ――――――――――――――――――――――――――――――――― test_sample ―――――――――――――――――――――――――――――――――― @pytest.mark.xpass def test_sample(): > assert False E assert False test_xpass_false.py:5: AssertionError test_xpass_false.py ⨯ 100% ██████████ =============================== warnings summary =============================== test_xpass_false.py:3 /tmp/pytest-of-mockbuild/pytest-0/test_xpass_false0/test_xpass_false.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_xpass_false.py::test_sample - assert False Results (0.01s): 1 failed - test_xpass_false.py:3 test_sample test_sugar.py::TestTerminalReporter::test_xpass_false PASSED test_sugar.py::TestTerminalReporter::test_xpass_false PASSED test_sugar.py::TestTerminalReporter::test_flaky_test PASSED test_sugar.py::TestTerminalReporter::test_flaky_test SKIPPED (could ...) test_sugar.py::TestTerminalReporter::test_flaky_test PASSED test_sugar.py::TestTerminalReporter::test_xpass_strict PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_xpass_strict0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――――――――――――――――― test_xpass ―――――――――――――――――――――――――――――――――― [XPASS(strict)] test_xpass_strict.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_xpass_strict.py::test_xpass Results (0.01s): 1 failed - test_xpass_strict.py:3 test_xpass test_sugar.py::TestTerminalReporter::test_xpass_strict PASSED test_sugar.py::TestTerminalReporter::test_xpass_strict PASSED test_sugar.py::TestTerminalReporter::test_teardown_errors PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0 collected 1 item test_teardown_errors.py .E [100%] ==================================== ERRORS ==================================== ________________________ ERROR at teardown of test_foo _________________________ @pytest.yield_fixture def fixt(): yield > raise Exception E Exception test_teardown_errors.py:5: Exception =============================== warnings summary =============================== test_teardown_errors.py:2 /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0/test_teardown_errors.py:2: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR test_teardown_errors.py::test_foo - Exception ==================== 1 passed, 1 warning, 1 error in 0.01s ===================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――――――― ERROR at teardown of test_foo ――――――――――――――――――――――――― @pytest.yield_fixture def fixt(): yield > raise Exception E Exception test_teardown_errors.py:5: Exception 100% ██████████ =============================== warnings summary =============================== test_teardown_errors.py:2 /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0/test_teardown_errors.py:2: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_teardown_errors.py::test_foo - Exception Results (0.01s): 1 passed 1 error Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――――――― ERROR at teardown of test_foo ――――――――――――――――――――――――― @pytest.yield_fixture def fixt(): yield > raise Exception E Exception test_teardown_errors.py:5: Exception 100% ██████████ =============================== warnings summary =============================== test_teardown_errors.py:2 /tmp/pytest-of-mockbuild/pytest-0/test_teardown_errors0/test_teardown_errors.py:2: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_teardown_errors.py::test_foo - Exception Results (0.01s): 1 passed 1 error test_sugar.py::TestTerminalReporter::test_teardown_errors PASSED test_sugar.py::TestTerminalReporter::test_teardown_errors PASSED test_sugar.py::TestTerminalReporter::test_skipping_tests PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_skipping_tests0 collected 1 item test_skipping_tests.py s [100%] ============================== 1 skipped in 0.00s ============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_skipping_tests0 plugins: sugar-1.0.0 collected 1 item test_skipping_tests.py s 100% ██████████ Results (0.01s): 1 skipped test_sugar.py::TestTerminalReporter::test_skipping_tests PASSED test_sugar.py::TestTerminalReporter::test_skipping_tests PASSED test_sugar.py::TestTerminalReporter::test_deselecting_tests PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_deselecting_tests0 collected 2 items test_deselecting_tests.py .F [100%] =================================== FAILURES =================================== ________________________________ test_should_be ________________________________ def test_should_be(): > assert False E assert False test_deselecting_tests.py:7: AssertionError =============================== warnings summary =============================== test_deselecting_tests.py:2 /tmp/pytest-of-mockbuild/pytest-0/test_deselecting_tests0/test_deselecting_tests.py:2: PytestUnknownMarkWarning: Unknown pytest.mark.example - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.example -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_deselecting_tests.py::test_should_be - assert False ==================== 1 failed, 1 passed, 1 warning in 0.01s ==================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_deselecting_tests0 plugins: sugar-1.0.0 collected 2 items test_deselecting_tests.py ✓ 50% █████ ―――――――――――――――――――――――――――――――― test_should_be ―――――――――――――――――――――――――――――――― def test_should_be(): > assert False E assert False test_deselecting_tests.py:7: AssertionError test_deselecting_tests.py ⨯ 100% ██████████ =============================== warnings summary =============================== test_deselecting_tests.py:2 /tmp/pytest-of-mockbuild/pytest-0/test_deselecting_tests0/test_deselecting_tests.py:2: PytestUnknownMarkWarning: Unknown pytest.mark.example - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.example -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_deselecting_tests.py::test_should_be - assert False Results (0.01s): 1 passed 1 failed - test_deselecting_tests.py:6 test_should_be test_sugar.py::TestTerminalReporter::test_deselecting_tests PASSED test_sugar.py::TestTerminalReporter::test_deselecting_tests PASSED test_sugar.py::TestTerminalReporter::test_item_count_after_pytest_collection_modifyitems PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_item_count_after_pytest_collection_modifyitems0 plugins: sugar-1.0.0 collected 2 items test_one_passed test_item_count_after_pytest_collection_modifyitems.py ✓ 100% ██████████ Results (0.01s): 1 passed test_sugar.py::TestTerminalReporter::test_item_count_after_pytest_collection_modifyitems PASSED test_sugar.py::TestTerminalReporter::test_item_count_after_pytest_collection_modifyitems PASSED test_sugar.py::TestTerminalReporter::test_fail PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert 0 E assert 0 test_fail.py:3: AssertionError test_fail.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_fail.py::test_func - assert 0 Results (0.01s): 1 failed - test_fail.py:2 test_func test_sugar.py::TestTerminalReporter::test_fail PASSED test_sugar.py::TestTerminalReporter::test_fail PASSED test_sugar.py::TestTerminalReporter::test_fail_unicode_crashline PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_unicode_crashline0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert b'hello' == b'Bj\xc3\xb6rk Gu\xc3\xb0mundsd' E AssertionError: assert b'hello' == b'Bj\xc3\xb6r...xc3\xb0mundsd' E At index 0 diff: b'h' != b'B' E Use -v to get more diff test_fail_unicode_crashline.py:4: AssertionError test_fail_unicode_crashline.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_fail_unicode_crashline.py::test_func - AssertionError: assert b'h... Results (0.01s): 1 failed - test_fail_unicode_crashline.py:3 test_func test_sugar.py::TestTerminalReporter::test_fail_unicode_crashline PASSED test_sugar.py::TestTerminalReporter::test_fail_unicode_crashline PASSED test_sugar.py::TestTerminalReporter::test_fail_in_fixture_and_test PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_in_fixture_and_test0 collected 3 items test_fail_in_fixture_and_test.py FFE [100%] ==================================== ERRORS ==================================== __________________________ ERROR at setup of test_lol __________________________ @pytest.fixture def failure(): > return 3/0 E ZeroDivisionError: division by zero test_fail_in_fixture_and_test.py:10: ZeroDivisionError =================================== FAILURES =================================== __________________________________ test_func ___________________________________ def test_func(): > assert False E assert False test_fail_in_fixture_and_test.py:3: AssertionError __________________________________ test_func2 __________________________________ def test_func2(): > assert False E assert False test_fail_in_fixture_and_test.py:6: AssertionError =========================== short test summary info ============================ FAILED test_fail_in_fixture_and_test.py::test_func - assert False FAILED test_fail_in_fixture_and_test.py::test_func2 - assert False ERROR test_fail_in_fixture_and_test.py::test_lol - ZeroDivisionError: divisio... ========================== 2 failed, 1 error in 0.01s ========================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_in_fixture_and_test0 plugins: sugar-1.0.0 collected 3 items ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert False E assert False test_fail_in_fixture_and_test.py:3: AssertionError test_fail_in_fixture_and_test.py ⨯ 33% ███▍ ―――――――――――――――――――――――――――――――――― test_func2 ―――――――――――――――――――――――――――――――――― def test_func2(): > assert False E assert False test_fail_in_fixture_and_test.py:6: AssertionError test_fail_in_fixture_and_test.py ⨯ 67% ██████▋ ―――――――――――――――――――――――――― ERROR at setup of test_lol ―――――――――――――――――――――――――― @pytest.fixture def failure(): > return 3/0 E ZeroDivisionError: division by zero test_fail_in_fixture_and_test.py:10: ZeroDivisionError 100% ██████████ =========================== short test summary info ============================ FAILED test_fail_in_fixture_and_test.py::test_func - assert False FAILED test_fail_in_fixture_and_test.py::test_func2 - assert False FAILED test_fail_in_fixture_and_test.py::test_lol - ZeroDivisionError: divisi... Results (0.02s): 2 failed - test_fail_in_fixture_and_test.py:2 test_func - test_fail_in_fixture_and_test.py:5 test_func2 1 error Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_in_fixture_and_test0 plugins: sugar-1.0.0 collected 3 items ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert False E assert False test_fail_in_fixture_and_test.py:3: AssertionError test_fail_in_fixture_and_test.py ⨯ 33% ███▍ ―――――――――――――――――――――――――――――――――― test_func2 ―――――――――――――――――――――――――――――――――― def test_func2(): > assert False E assert False test_fail_in_fixture_and_test.py:6: AssertionError test_fail_in_fixture_and_test.py ⨯ 67% ██████▋ ―――――――――――――――――――――――――― ERROR at setup of test_lol ―――――――――――――――――――――――――― @pytest.fixture def failure(): > return 3/0 E ZeroDivisionError: division by zero test_fail_in_fixture_and_test.py:10: ZeroDivisionError 100% ██████████ =========================== short test summary info ============================ FAILED test_fail_in_fixture_and_test.py::test_func - assert False FAILED test_fail_in_fixture_and_test.py::test_func2 - assert False FAILED test_fail_in_fixture_and_test.py::test_lol - ZeroDivisionError: divisi... Results (0.02s): 2 failed - test_fail_in_fixture_and_test.py:2 test_func - test_fail_in_fixture_and_test.py:5 test_func2 1 error test_sugar.py::TestTerminalReporter::test_fail_in_fixture_and_test PASSED test_sugar.py::TestTerminalReporter::test_fail_in_fixture_and_test PASSED test_sugar.py::TestTerminalReporter::test_fail_fail PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_fail0 collected 2 items test_fail_fail.py FF [100%] =================================== FAILURES =================================== __________________________________ test_func ___________________________________ def test_func(): > assert 0 E assert 0 test_fail_fail.py:3: AssertionError __________________________________ test_func2 __________________________________ def test_func2(): > assert 0 E assert 0 test_fail_fail.py:5: AssertionError =========================== short test summary info ============================ FAILED test_fail_fail.py::test_func - assert 0 FAILED test_fail_fail.py::test_func2 - assert 0 ============================== 2 failed in 0.01s =============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_fail0 plugins: sugar-1.0.0 collected 2 items ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert 0 E assert 0 test_fail_fail.py:3: AssertionError test_fail_fail.py ⨯ 50% █████ ―――――――――――――――――――――――――――――――――― test_func2 ―――――――――――――――――――――――――――――――――― def test_func2(): > assert 0 E assert 0 test_fail_fail.py:5: AssertionError test_fail_fail.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_fail_fail.py::test_func - assert 0 FAILED test_fail_fail.py::test_func2 - assert 0 Results (0.01s): 2 failed - test_fail_fail.py:2 test_func - test_fail_fail.py:4 test_func2 Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_fail_fail0 plugins: sugar-1.0.0 collected 2 items ―――――――――――――――――――――――――――――――――― test_func ――――――――――――――――――――――――――――――――――― def test_func(): > assert 0 E assert 0 test_fail_fail.py:3: AssertionError test_fail_fail.py ⨯ 50% █████ ―――――――――――――――――――――――――――――――――― test_func2 ―――――――――――――――――――――――――――――――――― def test_func2(): > assert 0 E assert 0 test_fail_fail.py:5: AssertionError test_fail_fail.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_fail_fail.py::test_func - assert 0 FAILED test_fail_fail.py::test_func2 - assert 0 Results (0.01s): 2 failed - test_fail_fail.py:2 test_func - test_fail_fail.py:4 test_func2 test_sugar.py::TestTerminalReporter::test_fail_fail PASSED test_sugar.py::TestTerminalReporter::test_fail_fail PASSED test_sugar.py::TestTerminalReporter::test_error_in_setup_then_pass PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_setup_then_pass0 collected 2 items test_error_in_setup_then_pass.py E. [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_nada __________________________ function = def setup_function(function): print ("setup func") if function is test_nada: > assert 0 E assert 0 test_error_in_setup_then_pass.py:4: AssertionError ---------------------------- Captured stdout setup ----------------------------- setup func =========================== short test summary info ============================ ERROR test_error_in_setup_then_pass.py::test_nada - assert 0 ========================== 1 passed, 1 error in 0.01s ========================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_setup_then_pass0 plugins: sugar-1.0.0 collected 2 items ――――――――――――――――――――――――― ERROR at setup of test_nada ―――――――――――――――――――――――――― function = def setup_function(function): print ("setup func") if function is test_nada: > assert 0 E assert 0 test_error_in_setup_then_pass.py:4: AssertionError ---------------------------- Captured stdout setup ----------------------------- setup func 50% █████ test_error_in_setup_then_pass.py ✓ 100% ██████████ =========================== short test summary info ============================ FAILED test_error_in_setup_then_pass.py::test_nada - assert 0 Results (0.01s): 1 passed 1 error Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_setup_then_pass0 plugins: sugar-1.0.0 collected 2 items ――――――――――――――――――――――――― ERROR at setup of test_nada ―――――――――――――――――――――――――― function = def setup_function(function): print ("setup func") if function is test_nada: > assert 0 E assert 0 test_error_in_setup_then_pass.py:4: AssertionError ---------------------------- Captured stdout setup ----------------------------- setup func 50% █████ test_error_in_setup_then_pass.py ✓ 100% ██████████ =========================== short test summary info ============================ FAILED test_error_in_setup_then_pass.py::test_nada - assert 0 Results (0.01s): 1 passed 1 error test_sugar.py::TestTerminalReporter::test_error_in_setup_then_pass PASSED test_sugar.py::TestTerminalReporter::test_error_in_setup_then_pass PASSED test_sugar.py::TestTerminalReporter::test_error_in_teardown_then_pass PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_teardown_then_pass0 collected 2 items test_error_in_teardown_then_pass.py .E. [100%] ==================================== ERRORS ==================================== ________________________ ERROR at teardown of test_nada ________________________ function = def teardown_function(function): print ("teardown func") if function is test_nada: > assert 0 E assert 0 test_error_in_teardown_then_pass.py:4: AssertionError --------------------------- Captured stdout teardown --------------------------- teardown func =========================== short test summary info ============================ ERROR test_error_in_teardown_then_pass.py::test_nada - assert 0 ========================== 2 passed, 1 error in 0.01s ========================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_teardown_then_pass0 plugins: sugar-1.0.0 collected 2 items ―――――――――――――――――――――――― ERROR at teardown of test_nada ―――――――――――――――――――――――― function = def teardown_function(function): print ("teardown func") if function is test_nada: > assert 0 E assert 0 test_error_in_teardown_then_pass.py:4: AssertionError --------------------------- Captured stdout teardown --------------------------- teardown func 50% █████ test_error_in_teardown_then_pass.py ✓ 100% ██████████ =========================== short test summary info ============================ FAILED test_error_in_teardown_then_pass.py::test_nada - assert 0 Results (0.01s): 2 passed 1 error Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_error_in_teardown_then_pass0 plugins: sugar-1.0.0 collected 2 items ―――――――――――――――――――――――― ERROR at teardown of test_nada ―――――――――――――――――――――――― function = def teardown_function(function): print ("teardown func") if function is test_nada: > assert 0 E assert 0 test_error_in_teardown_then_pass.py:4: AssertionError --------------------------- Captured stdout teardown --------------------------- teardown func 50% █████ test_error_in_teardown_then_pass.py ✓ 100% ██████████ =========================== short test summary info ============================ FAILED test_error_in_teardown_then_pass.py::test_nada - assert 0 Results (0.01s): 2 passed 1 error test_sugar.py::TestTerminalReporter::test_error_in_teardown_then_pass PASSED test_sugar.py::TestTerminalReporter::test_error_in_teardown_then_pass PASSED test_sugar.py::TestTerminalReporter::test_collect_error PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_collect_error0 collected 0 items / 1 error ==================================== ERRORS ==================================== ____________________ ERROR collecting test_collect_error.py ____________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) test_collect_error.py:1: in raise ValueError(0) E ValueError: 0 =========================== short test summary info ============================ ERROR test_collect_error.py - ValueError: 0 !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.12s =============================== Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_collect_error0 plugins: sugar-1.0.0 ―――――――――――――――――――― ERROR collecting test_collect_error.py ―――――――――――――――――――― /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) test_collect_error.py:1: in raise ValueError(0) E ValueError: 0 collected 0 items / 1 error =========================== short test summary info ============================ FAILED test_collect_error.py - ValueError: 0 !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! Results (0.14s): Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_collect_error0 plugins: sugar-1.0.0 ―――――――――――――――――――― ERROR collecting test_collect_error.py ―――――――――――――――――――― /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) test_collect_error.py:1: in raise ValueError(0) E ValueError: 0 collected 0 items / 1 error =========================== short test summary info ============================ FAILED test_collect_error.py - ValueError: 0 !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! Results (0.13s): test_sugar.py::TestTerminalReporter::test_collect_error PASSED test_sugar.py::TestTerminalReporter::test_collect_error PASSED test_sugar.py::TestTerminalReporter::test_verbose PASSED============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_verbose0 collecting ... collected 6 items test_verbose.py::test_true PASSED [ 16%] test_verbose.py::test_true2 PASSED [ 33%] test_verbose.py::test_false FAILED [ 50%] test_verbose.py::test_skip SKIPPED (unconditional skip) [ 66%] test_verbose.py::test_xpass PASSED [ 83%] test_verbose.py::test_xfail XPASS [100%] =================================== FAILURES =================================== __________________________________ test_false __________________________________ def test_false(): > assert False E assert False test_verbose.py:10: AssertionError =============================== warnings summary =============================== test_verbose.py:16 /tmp/pytest-of-mockbuild/pytest-0/test_verbose0/test_verbose.py:16: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_verbose.py::test_false - assert False ========= 1 failed, 3 passed, 1 skipped, 1 xpassed, 1 warning in 0.01s ========= Test session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) cachedir: .pytest_cache rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_verbose0 plugins: sugar-1.0.0 collecting ... collected 6 items test_verbose.py::test_true ✓ 17% █▋ test_verbose.py::test_true2 ✓ 33% ███▍ ―――――――――――――――――――――――――――――――――― test_false ―――――――――――――――――――――――――――――――――― def test_false(): > assert False E assert False test_verbose.py:10: AssertionError test_verbose.py::test_false ⨯ 50% █████ test_verbose.py::test_skip s 67% ██████▋ test_verbose.py::test_xpass ✓ 83% ████████▍ test_verbose.py::test_xfail X 100% ██████████ =============================== warnings summary =============================== test_verbose.py:16 /tmp/pytest-of-mockbuild/pytest-0/test_verbose0/test_verbose.py:16: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_verbose.py::test_false - assert False Results (0.02s): 3 passed 1 xpassed 1 failed - test_verbose.py:9 test_false 1 skipped test_sugar.py::TestTerminalReporter::test_verbose PASSED test_sugar.py::TestTerminalReporter::test_verbose PASSED test_sugar.py::TestTerminalReporter::test_verbose_has_double_colon PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) cachedir: .pytest_cache rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_verbose_has_double_colon0 plugins: sugar-1.0.0 collecting ... collected 1 item test_verbose_has_double_colon.py::test_true ✓ 100% ██████████ Results (0.01s): 1 passed test_sugar.py::TestTerminalReporter::test_verbose_has_double_colon PASSED test_sugar.py::TestTerminalReporter::test_verbose_has_double_colon PASSED test_sugar.py::TestTerminalReporter::test_xdist PASSED test_sugar.py::TestTerminalReporter::test_xdist SKIPPED (could not i...) test_sugar.py::TestTerminalReporter::test_xdist PASSED test_sugar.py::TestTerminalReporter::test_xdist_verbose PASSED test_sugar.py::TestTerminalReporter::test_xdist_verbose SKIPPED (cou...) test_sugar.py::TestTerminalReporter::test_xdist_verbose PASSED test_sugar.py::TestTerminalReporter::test_doctest PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_doctest0 plugins: sugar-1.0.0 collected 1 item ―――――――――――――――――――― [doctest] test_doctest.ToTest.doctest ――――――――――――――――――――― 004 005 >>> Invalid doctest UNEXPECTED EXCEPTION: SyntaxError('invalid syntax', ('', 1, 9, 'Invalid doctest\n', 1, 16)) Traceback (most recent call last): File "/usr/lib64/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1 Invalid doctest ^^^^^^^ SyntaxError: invalid syntax /tmp/pytest-of-mockbuild/pytest-0/test_doctest0/test_doctest.py:5: UnexpectedException test_doctest.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_doctest.py::test_doctest.ToTest.doctest Results (0.02s): 1 failed - test_doctest.py:5 [doctest] test_doctest.ToTest.doctest test_sugar.py::TestTerminalReporter::test_doctest PASSED test_sugar.py::TestTerminalReporter::test_doctest PASSED test_sugar.py::TestTerminalReporter::test_doctest_lineno PASSEDTest session starts (platform: linux, Python 3.11.6, pytest 7.4.0, pytest-sugar 1.0.0) rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_doctest_lineno0 plugins: sugar-1.0.0 collected 1 item ――――――――――――――――――――― [doctest] test_doctest_lineno.foobar ――――――――――――――――――――― 002 003 >>> foobar() UNEXPECTED EXCEPTION: NotImplementedError() Traceback (most recent call last): File "/usr/lib64/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", File "", line 1, in File "/tmp/pytest-of-mockbuild/pytest-0/test_doctest_lineno0/test_doctest_lineno.py", line 5, in foobar raise NotImplementedError NotImplementedError /tmp/pytest-of-mockbuild/pytest-0/test_doctest_lineno0/test_doctest_lineno.py:3: UnexpectedException test_doctest_lineno.py ⨯ 100% ██████████ =========================== short test summary info ============================ FAILED test_doctest_lineno.py::test_doctest_lineno.foobar Results (0.01s): 1 failed - test_doctest_lineno.py:3 [doctest] test_doctest_lineno.foobar test_sugar.py::TestTerminalReporter::test_doctest_lineno PASSED test_sugar.py::TestTerminalReporter::test_doctest_lineno PASSED ======================== 80 passed, 3 skipped in 1.91s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-sugar-1.0.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8hIY0i + umask 022 + cd /builddir/build/BUILD + cd pytest-sugar-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/share/doc/python3-pytest-sugar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/share/doc/python3-pytest-sugar + cp -pr README.md /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch/usr/share/doc/python3-pytest-sugar + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-sugar = 1.0.0-1.ocs23 python3-pytest-sugar = 1.0.0-1.ocs23 python3.11-pytest-sugar = 1.0.0-1.ocs23 python3.11dist(pytest-sugar) = 1 python3dist(pytest-sugar) = 1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(packaging) >= 21.3 python3.11dist(pytest) >= 6.2 python3.11dist(termcolor) >= 2.1 Obsoletes: python3.11-pytest-sugar < 1.0.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pytest-sugar-1.0.0-1.ocs23.noarch Wrote: /builddir/build/SRPMS/python-pytest-sugar-1.0.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/python3-pytest-sugar-1.0.0-1.ocs23.noarch.rpm Child return code was: 0