<86>Oct 7 02:22:24 userdel[2218310]: delete user 'rooter' <86>Oct 7 02:22:24 userdel[2218310]: removed group 'rooter' owned by 'rooter' <86>Oct 7 02:22:24 userdel[2218310]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 7 02:22:24 groupadd[2218367]: group added to /etc/group: name=rooter, GID=1835 <86>Oct 7 02:22:24 groupadd[2218367]: group added to /etc/gshadow: name=rooter <86>Oct 7 02:22:24 groupadd[2218367]: new group: name=rooter, GID=1835 <86>Oct 7 02:22:24 useradd[2218425]: new user: name=rooter, UID=1835, GID=1835, home=/root, shell=/bin/bash, from=none <86>Oct 7 02:22:24 userdel[2218503]: delete user 'builder' <86>Oct 7 02:22:24 userdel[2218503]: removed group 'builder' owned by 'builder' <86>Oct 7 02:22:24 userdel[2218503]: removed shadow group 'builder' owned by 'builder' <86>Oct 7 02:22:24 groupadd[2218566]: group added to /etc/group: name=builder, GID=1836 <86>Oct 7 02:22:24 groupadd[2218566]: group added to /etc/gshadow: name=builder <86>Oct 7 02:22:24 groupadd[2218566]: new group: name=builder, GID=1836 <86>Oct 7 02:22:24 useradd[2218624]: new user: name=builder, UID=1836, GID=1836, home=/usr/src, shell=/bin/bash, from=none <13>Oct 7 02:22:28 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Oct 7 02:22:28 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Oct 7 02:22:28 rpmi: libexpat-2.7.1-alt1 sisyphus+379929.100.1.1 1743519381 installed <13>Oct 7 02:22:28 rpmi: openssl-config-3.2.0-alt1 sisyphus+366659.140.4.1 1736956949 installed <13>Oct 7 02:22:28 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Oct 7 02:22:28 rpmi: libp11-kit-1:0.25.7-alt1 sisyphus+394564.100.1.1 1757527708 installed <13>Oct 7 02:22:28 rpmi: libtasn1-4.20.0-alt2 sisyphus+375829.100.1.1 1740299335 installed <13>Oct 7 02:22:28 rpmi: rpm-macros-alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Oct 7 02:22:28 rpmi: alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Oct 7 02:22:28 rpmi: ca-certificates-2025.09.08-alt1 sisyphus+394384.200.2.1 1757367950 installed <13>Oct 7 02:22:28 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Oct 7 02:22:28 rpmi: p11-kit-trust-1:0.25.7-alt1 sisyphus+394564.100.1.1 1757527708 installed <13>Oct 7 02:22:28 rpmi: libcrypto3-3.3.3-alt1 sisyphus+374381.40.2.1 1739299401 installed <13>Oct 7 02:22:28 rpmi: libssl3-3.3.3-alt1 sisyphus+374381.40.2.1 1739299401 installed <13>Oct 7 02:22:29 rpmi: python3-3.12.11-alt1 sisyphus+389751.100.1.1 1752340459 installed <13>Oct 7 02:22:29 rpmi: python3-base-3.12.11-alt1 sisyphus+389751.100.1.1 1752340459 installed <13>Oct 7 02:22:29 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Oct 7 02:22:29 rpmi: python3-module-pyproject-installer-0.5.5-alt2 sisyphus+366395.100.1.1 1735032014 installed <13>Oct 7 02:22:29 rpmi: rpm-macros-pyproject-0.1.1-alt1 sisyphus+395066.100.1.1 1758029025 installed <13>Oct 7 02:22:29 rpmi: tests-for-installed-python3-pkgs-0.1.28-alt1 sisyphus+375953.100.2.1 1740855713 installed <13>Oct 7 02:22:29 rpmi: rpm-build-python3-0.1.28-alt1 sisyphus+375953.100.2.1 1740855713 installed <13>Oct 7 02:22:29 rpmi: rpm-build-pyproject-0.1.1-alt1 sisyphus+395066.100.1.1 1758029025 installed <13>Oct 7 02:22:35 rpmi: python3-module-packaging-25.0-alt1 sisyphus+382195.100.1.1 1745223121 installed <13>Oct 7 02:22:35 rpmi: python3-module-attrs-25.3.0-alt1 sisyphus+378700.100.1.1 1742472992 installed <13>Oct 7 02:22:35 rpmi: python3-module-typing_extensions-4.15.0-alt1 sisyphus+393912.100.1.2 1756904854 installed <13>Oct 7 02:22:35 rpmi: python3-module-zope.interface-7.2-alt2 sisyphus+391860.200.1.1 1754585547 installed <13>Oct 7 02:22:35 rpmi: python3-module-idna-3.10-alt1 sisyphus+358681.100.1.1 1727701241 installed <13>Oct 7 02:22:35 rpmi: python3-module-more-itertools-10.8.0-alt1 sisyphus+393870.100.3.1 1756986981 installed <13>Oct 7 02:22:35 rpmi: python3-module-jaraco.functools-4.3.0-alt1 sisyphus+392842.100.1.1 1755620367 installed <13>Oct 7 02:22:35 rpmi: python3-module-pluggy-1.6.0-alt1 sisyphus+384666.100.2.1 1747813604 installed <13>Oct 7 02:22:35 rpmi: python3-module-pathspec-0.12.1-alt1 sisyphus+341971.100.1.1 1709553025 installed <13>Oct 7 02:22:35 rpmi: python3-module-click-8.2.1-alt1 sisyphus+384735.300.4.1 1747996175 installed <13>Oct 7 02:22:35 rpmi: python3-module-propcache-0.2.1-alt1 sisyphus+369528.100.1.1 1736868993 installed <13>Oct 7 02:22:35 rpmi: python3-module-multidict-6.6.4-alt1 sisyphus+392837.100.1.1 1755616759 installed <13>Oct 7 02:22:35 rpmi: python3-module-frozenlist-1.5.0-alt1 sisyphus+362047.100.1.1 1731079173 installed <13>Oct 7 02:22:36 rpmi: python3-module-Pygments-2.19.2-alt1 sisyphus+387997.100.1.1 1750689871 installed <13>Oct 7 02:22:36 rpmi: python3-module-platformdirs-4.4.0-alt1 sisyphus+393870.200.3.1 1756987011 installed <13>Oct 7 02:22:36 rpmi: libcares-1.34.5-alt2 sisyphus+391022.100.2.1 1754129755 installed <13>Oct 7 02:22:36 rpmi: python3-module-aiosignal-1.4.0-alt1 sisyphus+389519.40.2.1 1752483607 installed <13>Oct 7 02:22:36 rpmi: python3-module-yarl-1.18.3-alt1 sisyphus+369529.100.2.1 1736876451 installed <13>Oct 7 02:22:36 rpmi: python3-module-incremental-22.10.0-alt1 sisyphus+312706.100.1.1 1672404273 installed <13>Oct 7 02:22:36 rpmi: python3-module-hyperlink-21.0.0-alt1.1 sisyphus+304836.100.1.1 1659710964 installed <13>Oct 7 02:22:36 rpmi: python3-module-outcome-1.3.0-alt1 sisyphus+332382.100.1.1 1697882349 installed <13>Oct 7 02:22:36 rpmi: python3-module-wheel-0.45.1-alt4 sisyphus+384227.100.3.1 1747487276 installed <13>Oct 7 02:22:36 rpmi: ruff-0.13.3-alt1 sisyphus+396326.100.1.1 1759477771 installed <13>Oct 7 02:22:36 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Oct 7 02:22:36 rpmi: python3-module-uc-micro-py-1.0.3-alt1 sisyphus+341790.100.1.1 1709309103 installed <13>Oct 7 02:22:36 rpmi: python3-module-linkify-it-py-2.0.3-alt1 sisyphus+343902.100.1.1 1711708185 installed <13>Oct 7 02:22:37 rpmi: python3-module-markdown-it-4.0.0-alt1 sisyphus+394327.100.1.1 1757330325 installed <13>Oct 7 02:22:37 rpmi: python3-module-rich-14.1.0-alt1 sisyphus+391019.100.1.1 1753691785 installed <13>Oct 7 02:22:37 rpmi: python3-module-iniconfig-2.1.0-alt1 sisyphus+378658.100.2.1 1742493599 installed <13>Oct 7 02:22:37 rpmi: python3-module-pytest-8.4.1-alt1 sisyphus+387486.100.3.1 1757603929 installed <13>Oct 7 02:22:37 rpmi: python3-module-trove-classifiers-2025.9.11.17-alt1 sisyphus+394699.100.1.1 1757678675 installed <13>Oct 7 02:22:37 rpmi: python3-module-mypy_extensions-1.1.0-alt1 sisyphus+386398.100.1.1 1749196276 installed <13>Oct 7 02:22:37 rpmi: python3-module-priority-2.0.0-alt3 sisyphus+338701.100.1.2 1705988383 installed <13>Oct 7 02:22:37 rpmi: python3-module-hpack-4.0.0-alt1 sisyphus+270376.200.1.1 1618956626 installed <13>Oct 7 02:22:37 rpmi: python3-module-hyperframe-6.0.1-alt1 sisyphus+270376.300.2.1 1618957001 installed <13>Oct 7 02:22:37 rpmi: python3-module-h2-4.1.0-alt2 sisyphus+391206.500.2.1 1754058486 installed <13>Oct 7 02:22:37 rpmi: python3-module-constantly-15.1.0-alt7 sisyphus+338906.100.1.1 1706107088 installed <13>Oct 7 02:22:37 rpmi: python3-module-appdirs-1.4.4-alt2 sisyphus+359005.100.1.1 1728036426 installed <13>Oct 7 02:22:37 rpmi: python3-module-certifi-2024.12.14-alt1 sisyphus+369729.200.2.2 1737050219 installed <13>Oct 7 02:22:37 rpmi: python3-module-zope-3.3.0-alt10 sisyphus+391860.100.1.1 1754585510 installed <13>Oct 7 02:22:37 rpmi: python3-module-zope.event-5.1.1-alt1 sisyphus+390493.100.1.1 1753170289 installed <13>Oct 7 02:22:37 rpmi: python3-module-psutil-7.0.0-alt1 sisyphus+378483.100.1.1 1742330008 installed <13>Oct 7 02:22:37 rpmi: python3-module-objgraph-3.6.2-alt1 sisyphus+359468.100.1.1 1728573508 installed <13>Oct 7 02:22:37 rpmi: python3-module-greenlet-3.2.4-alt1 sisyphus+392843.100.1.1 1755621587 installed <13>Oct 7 02:22:37 rpmi: python3-module-sortedcontainers-2.4.0-alt1 sisyphus+272042.100.1.1 1621262424 installed <13>Oct 7 02:22:37 rpmi: python3-module-sniffio-1.3.1-alt1 sisyphus+341424.100.1.1 1708941879 installed <13>Oct 7 02:22:37 rpmi: python3-module-astor-0.8.1-alt1.1 sisyphus+315877.100.1.1 1677481862 installed <13>Oct 7 02:22:37 rpmi: python3-module-pycparser-2.22-alt1 sisyphus+378485.100.1.1 1742331206 installed <13>Oct 7 02:22:37 rpmi: python3-module-cffi-2.0.0-alt1 sisyphus+394563.100.2.1 1757577168 installed <13>Oct 7 02:22:37 rpmi: python3-module-cryptography-45.0.3-alt1 sisyphus+385433.100.1.1 1748335036 installed <13>Oct 7 02:22:37 rpmi: python3-module-openssl-25.1.0-alt1.1 sisyphus+385463.100.1.1 1748349146 installed <13>Oct 7 02:22:37 rpmi: python3-module-trio-0.30.0-alt2 sisyphus+388149.100.1.1 1750852713 installed <13>Oct 7 02:22:37 rpmi: python3-module-dns-1:2.6.1-alt1 sisyphus+341811.20.3.1 1709382170 installed <13>Oct 7 02:22:37 rpmi: python3-module-pycares-4.10.0-alt1 sisyphus+392823.100.1.1 1755609648 installed <13>Oct 7 02:22:37 rpmi: python3-module-aiohappyeyeballs-2.6.1-alt2 sisyphus+394681.100.1.1 1757666087 installed <13>Oct 7 02:22:37 rpmi: python3-module-jaraco.context-6.0.1-alt1.1 sisyphus+376369.6200.10.1 1746628448 installed <13>Oct 7 02:22:37 rpmi: python3-module-autocommand-2.2.2-alt1.1 sisyphus+339714.100.1.1 1706968174 installed <13>Oct 7 02:22:37 rpmi: python3-module-jaraco.text-4.0.0-alt1.1 sisyphus+376369.7300.10.1 1746628739 installed <13>Oct 7 02:22:37 rpmi: python3-module-pkg_resources-1:80.9.0-alt1 sisyphus+385748.100.2.1 1748862263 installed <13>Oct 7 02:22:37 rpmi: python3-module-openid-3.2.0-alt1 sisyphus+278049.100.2.1 1625998936 installed <13>Oct 7 02:22:37 rpmi: python3-module-Cheetah-3.4.0-alt1.1.1 sisyphus+376369.27100.10.1 1746633546 installed <13>Oct 7 02:22:38 rpmi: python3-module-paste-3.10.1-alt2 sisyphus+385748.500.2.1 1748862688 installed <13>Oct 7 02:22:38 rpmi: python3-module-PasteDeploy-1:3.1.0-alt2 sisyphus+386338.100.1.1 1749113549 installed <13>Oct 7 02:22:38 rpmi: python3-module-PasteScript-1:3.7.0-alt1.1 sisyphus+376369.24300.10.1 1746632597 installed <13>Oct 7 02:22:38 rpmi: libuv-1.51.0-alt1 sisyphus+385298.100.1.1 1748165535 installed <13>Oct 7 02:22:38 rpmi: libllhttp-9.3.0-alt1 sisyphus+385427.140.3.1 1748689466 installed <13>Oct 7 02:22:38 rpmi: openldap-common-2.6.9-alt2 sisyphus+367501.300.4.1 1735841751 installed <13>Oct 7 02:22:38 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Oct 7 02:22:38 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Oct 7 02:22:38 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Oct 7 02:22:38 rpmi: libusb-1.0.29-alt1 sisyphus+390802.100.1.1 1753485380 installed <13>Oct 7 02:22:38 rpmi: libhidapi-0.15.0-alt1 sisyphus+384789.100.1.1 1747810467 installed <13>Oct 7 02:22:38 rpmi: python3-module-cython-hidapi-0.14.0-alt1.1 sisyphus+333513.54340.73.1 1704651867 installed <13>Oct 7 02:22:38 rpmi: python3-module-serial-3.5-alt3 sisyphus+360600.100.2.1 1729786231 installed <13>Oct 7 02:22:38 rpmi: python3-module-automat-25.4.16-alt1.1 sisyphus+376369.25200.10.1 1746633028 installed <13>Oct 7 02:22:38 rpmi: python3-module-twisted-logger-24.11.0-alt2 sisyphus+376609.40.2.1 1740866761 installed <13>Oct 7 02:22:38 rpmi: python3-module-twisted-web-24.11.0-alt2 sisyphus+376609.40.2.1 1740866761 installed <13>Oct 7 02:22:38 rpmi: python3-module-twisted-words-24.11.0-alt2 sisyphus+376609.40.2.1 1740866761 installed <13>Oct 7 02:22:38 rpmi: python3-module-twisted-core-24.11.0-alt2 sisyphus+376609.40.2.1 1740866761 installed <13>Oct 7 02:22:38 rpmi: python3-module-tornado-6.5.2-alt1 sisyphus+392831.100.1.3 1755614137 installed <13>Oct 7 02:22:38 rpmi: libev4-4.33-alt3 sisyphus+334335.340.4.1 1699912675 installed <13>Oct 7 02:22:38 rpmi: python3-module-gevent-24.11.1-alt1 sisyphus+378463.100.2.1 1742318286 installed <13>Oct 7 02:22:38 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <86>Oct 7 02:22:38 groupadd[2285111]: group added to /etc/group: name=_keytab, GID=999 <86>Oct 7 02:22:38 groupadd[2285111]: group added to /etc/gshadow: name=_keytab <86>Oct 7 02:22:38 groupadd[2285111]: new group: name=_keytab, GID=999 <13>Oct 7 02:22:38 rpmi: libkrb5-1.22.1-alt1 sisyphus+392168.20.8.1 1756821199 installed <86>Oct 7 02:22:38 groupadd[2285522]: group added to /etc/group: name=sasl, GID=998 <86>Oct 7 02:22:38 groupadd[2285522]: group added to /etc/gshadow: name=sasl <86>Oct 7 02:22:38 groupadd[2285522]: new group: name=sasl, GID=998 <13>Oct 7 02:22:38 rpmi: libsasl2-3-2.1.28-alt2.1 sisyphus+367419.100.1.1 1735482560 installed <13>Oct 7 02:22:38 rpmi: libldap2-2.6.9-alt2 sisyphus+367501.300.4.1 1735841751 installed <13>Oct 7 02:22:38 rpmi: libpq5-17-17.6-alt1 sisyphus+392346.100.1.1 1755081334 installed <13>Oct 7 02:22:38 rpmi: python3-module-psycopg2-2.9.10-alt1 sisyphus+361099.100.1.1 1730221764 installed <13>Oct 7 02:22:38 rpmi: python3-module-eventlet-0.40.3-alt1 sisyphus+393442.100.1.1 1756382268 installed <13>Oct 7 02:22:38 rpmi: python3-module-gunicorn-23.0.0-alt1 sisyphus+362920.200.1.1 1732021917 installed <13>Oct 7 02:22:38 rpmi: python3-module-aiohttp-3.12.15-alt1 sisyphus+391098.100.1.1 1753776787 installed <13>Oct 7 02:22:39 rpmi: python3-module-black-25.1.0-alt2 sisyphus+384735.400.4.2 1747996902 installed <13>Oct 7 02:22:39 rpmi: python3-module-hatchling-1.27.0-alt1 sisyphus+365115.100.2.1 1734340769 installed <13>Oct 7 02:22:39 rpmi: python3-module-pytest-pretty-1.2.0-alt1 sisyphus+325486.140.2.1 1690270459 installed <13>Oct 7 02:22:39 rpmi: python3-module-ruff-0.13.3-alt1 sisyphus+396326.100.1.1 1759477771 installed warning: File /usr/src/in/source/python3-module-pytest-examples-0.0.18-alt.patch is smaller than 8 bytes Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-pytest-examples-0.0.18-alt1.nosrc.rpm (w1.gzdio) warning: File /usr/src/RPM/SOURCES/python3-module-pytest-examples-0.0.18-alt.patch is smaller than 8 bytes Installing python3-module-pytest-examples-0.0.18-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.52392 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-pytest-examples-0.0.18 + echo 'Source #0 (python3-module-pytest-examples-0.0.18.tar):' Source #0 (python3-module-pytest-examples-0.0.18.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-pytest-examples-0.0.18.tar + cd python3-module-pytest-examples-0.0.18 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (python3-module-pytest-examples-0.0.18-alt.patch):' Patch #0 (python3-module-pytest-examples-0.0.18-alt.patch): + /usr/bin/patch -p1 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep518 --verify --verify-exclude 'wheel$' + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep517 --verify --verify-exclude 'wheel$' + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync metadata --verify INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18 INFO : Output dir: /usr/src/tmp/tmpnkvazaw_ + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync check --verify + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77077 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pytest-examples-0.0.18 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: hatchling.build INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : pyproject_installer.build_cmd._build : Built wheel: pytest_examples-0.0.18-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.77077 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pytest-examples-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pytest-examples-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-pytest-examples-0.0.18 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pytest-examples-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: pytest_examples-0.0.18-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pytest-examples-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_examples-0.0.18.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_examples-0.0.18.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_examples-0.0.18.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pytest-examples-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pytest-examples-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pytest-examples-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pytest-examples-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pytest-examples-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pytest-examples-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-pytest-examples-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-pytest-examples-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/__init__.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/config.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/eval_example.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/find_examples.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/lint.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/modify_files.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/run_code.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/traceback.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pytest-examples-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/__init__.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/config.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/eval_example.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/find_examples.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/lint.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/modify_files.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/run_code.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/traceback.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pytest-examples-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/__init__.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/config.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/eval_example.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/find_examples.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/lint.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/modify_files.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/run_code.py compile /usr/src/tmp/python3-module-pytest-examples-buildroot/usr/lib/python3/site-packages/pytest_examples/traceback.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pytest_examples/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/config.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/config.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/config.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/eval_example.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/eval_example.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/find_examples.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/find_examples.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/lint.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/lint.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/lint.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/lint.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/modify_files.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/modify_files.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_examples/__pycache__/traceback.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_examples/__pycache__/traceback.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.78482 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pytest-examples-0.0.18 + cat + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- sh test.sh INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/dist/pytest_examples-0.0.18-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/dist/pytest_examples-0.0.18-py3-none-any.whl'] INFO : Running command: ['sh', 'test.sh'] '/usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/.run_venv/bin/ruff' -> '/usr/bin/ruff' ============================= test session starts ============================== platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18 configfile: pyproject.toml testpaths: tests, example plugins: examples-0.0.18, pretty-1.2.0 collecting ... collected 82 items tests/test_find_examples.py::test_find_md_example PASSED [ 1%] tests/test_find_examples.py::test_find_py_example PASSED [ 2%] tests/test_find_examples.py::test_find_py_example_with_module_docstring PASSED [ 3%] tests/test_find_examples.py::test_find_file_example PASSED [ 4%] tests/test_find_examples.py::test_find_missing PASSED [ 6%] tests/test_find_examples.py::test_find_index_markdown PASSED [ 7%] tests/test_find_examples.py::test_find_index_python PASSED [ 8%] tests/test_find_examples.py::test_prefix_settings[py test="skip"-prefix_settings0] PASSED [ 9%] tests/test_find_examples.py::test_prefix_settings[py test="skip" foo="B ar"-prefix_settings1] PASSED [ 10%] tests/test_find_examples.py::test_prefix_settings[py test='require-3.8'-prefix_settings2] PASSED [ 12%] tests/test_find_examples.py::test_prefix_tags[{.py .foobar}-prefix_tags0] PASSED [ 13%] tests/test_find_examples.py::test_prefix_tags[{.py 'foo bar'-prefix_tags1] PASSED [ 14%] tests/test_find_examples.py::test_prefix_tags[py mytag-prefix_tags2] PASSED [ 15%] tests/test_find_examples.py::test_prefix_tags[py test="skip" foo="B ar"-prefix_tags3] PASSED [ 17%] tests/test_insert_print.py::test_find_end_of_print[simple case] PASSED [ 18%] tests/test_insert_print.py::test_find_end_of_print[content after print output] PASSED [ 19%] tests/test_insert_print.py::test_find_end_of_print[single-line-indent] PASSED [ 20%] tests/test_insert_print.py::test_find_end_of_print[print-over-lines] PASSED [ 21%] tests/test_insert_print.py::test_find_end_of_print[multiline-comprehension] PASSED [ 23%] tests/test_insert_print.py::test_find_end_of_print[ill-formed-print-1] PASSED [ 24%] tests/test_insert_print.py::test_find_end_of_print[ill-formed-print-2] PASSED [ 25%] tests/test_insert_print.py::test_find_end_of_print[try-except] PASSED [ 26%] tests/test_insert_print.py::test_find_end_of_print[call-attribute] PASSED [ 28%] tests/test_insert_print.py::test_find_end_of_print[class-method] PASSED [ 29%] tests/test_insert_print.py::test_find_end_of_print[async-function] PASSED [ 30%] tests/test_insert_print.py::test_insert_print_check_unchanged[simple case] PASSED [ 31%] tests/test_insert_print.py::test_insert_print_check_unchanged[content after print output] PASSED [ 32%] tests/test_insert_print.py::test_insert_print_check_unchanged[multiline] PASSED [ 34%] tests/test_insert_print.py::test_insert_print_check_unchanged[single-line-indent] PASSED [ 35%] tests/test_insert_print.py::test_insert_print_check_unchanged[multi-line-indent] PASSED [ 36%] tests/test_insert_print.py::test_insert_print_check_unchanged[print-over-lines] PASSED [ 37%] tests/test_insert_print.py::test_insert_print_check_unchanged[multiline-comprehension] PASSED [ 39%] tests/test_insert_print.py::test_insert_print_check_unchanged[ill-formed-print-1] PASSED [ 40%] tests/test_insert_print.py::test_insert_print_check_unchanged[ill-formed-print-2] PASSED [ 41%] tests/test_insert_print.py::test_insert_print_check_unchanged[big-indent] PASSED [ 42%] tests/test_insert_print.py::test_insert_print_check_unchanged[not-python-code] PASSED [ 43%] tests/test_insert_print.py::test_insert_print_check_unchanged[non-python-repr0] PASSED [ 45%] tests/test_insert_print.py::test_insert_print_check_unchanged[non-python-repr1] PASSED [ 46%] tests/test_insert_print.py::test_insert_print_check_unchanged[print-in-except] PASSED [ 47%] tests/test_insert_print.py::test_insert_print_check_unchanged[set-order] PASSED [ 48%] tests/test_insert_print.py::test_insert_print_check_unchanged[hex_id] PASSED [ 50%] tests/test_insert_print.py::test_insert_print_check_unchanged[look] PASSED [ 51%] tests/test_insert_print.py::test_insert_print_check_unchanged[trailing-spaces] PASSED [ 52%] tests/test_insert_print.py::test_insert_print_check_change PASSED [ 53%] tests/test_insert_print.py::test_run_main PASSED [ 54%] tests/test_insert_print.py::test_run_main_print PASSED [ 56%] tests/test_insert_print.py::test_run_main_print_async PASSED [ 57%] tests/test_insert_print.py::test_custom_include_print PASSED [ 58%] tests/test_insert_print.py::test_print_different_file PASSED [ 59%] tests/test_lint.py::test_ruff PASSED [ 60%] tests/test_lint.py::test_ruff_config PASSED [ 62%] tests/test_lint.py::test_ruff_offset FAILED [ 63%] [ 63%] tests/test_lint.py:23 test_ruff_offset - AssertionError: Regex patte… tests/test_lint.py::test_black_line_length PASSED [ 64%] tests/test_run_examples.py::test_run_example_ok_fail FAILED [ 65%] [ 65%] tests/test_run_examples.py:18 test_run_example_ok_fail - AssertionEr… tests/test_run_examples.py::test_ruff_ok PASSED [ 67%] tests/test_run_examples.py::test_ruff_error FAILED [ 68%] [ 68%] tests/test_run_examples.py:87 test_ruff_error - AssertionError: asse… tests/test_run_examples.py::test_black_ok PASSED [ 69%] tests/test_run_examples.py::test_black_error PASSED [ 70%] tests/test_run_examples.py::test_black_error_dot_space PASSED [ 71%] tests/test_run_examples.py::test_black_error_multiline PASSED [ 73%] tests/test_run_examples.py::test_run_directly PASSED [ 74%] tests/test_run_examples.py::test_print_sub PASSED [ 75%] tests/test_run_examples.py::test_print_check_spaces PASSED [ 76%] tests/test_update.py::test_update_files PASSED [ 78%] tests/test_update.py::test_update_repeat_example PASSED [ 79%] tests/test_update.py::test_update_repeat_file PASSED [ 80%] tests/test_update_examples_dir.py::test_cases_update[use_globals.md] PASSED [ 81%] tests/test_update_examples_dir.py::test_cases_update[simple.py] PASSED [ 82%] tests/test_update_examples_dir.py::test_cases_update[simple.md] PASSED [ 84%] tests/test_update_examples_dir.py::test_cases_update[python_class.py] PASSED [ 85%] tests/test_update_examples_dir.py::test_cases_update[long_python_lines.py] PASSED [ 86%] tests/test_update_examples_dir.py::test_cases_update[dataclass_indent.md] PASSED [ 87%] tests/test_update_examples_dir.py::test_cases_update[call_twice.md] PASSED [ 89%] example/test_example.py::test_will_error[example/error.md:3-20] XFAIL [ 90%] example/test_example.py::test_insert_print[example/README.md:3-33] PASSED [ 91%] example/test_example.py::test_insert_print[example/README.md:37-40] PASSED [ 92%] example/test_example.py::test_insert_print[example/README.md:44-47] PASSED [ 93%] example/test_example.py::test_insert_print[example/README.md:49-66] PASSED [ 95%] example/test_example.py::test_python_self[example/test_example.py:28-31] PASSED [ 96%] example/test_example.py::test_python_self[example/test_example.py:40-43] PASSED [ 97%] example/test_example.py::test_python_self_change_docstyle[example/test_example.py:28-31] PASSED [ 98%] example/test_example.py::test_python_self_change_docstyle[example/test_example.py:40-43] PASSED [100%] =================================== FAILURES =================================== _______________________________ test_ruff_offset _______________________________ def test_ruff_offset(): code = 'print(x)\n' example = CodeExample.create(code) with pytest.raises(FormatError, match='testing.md:1:7: F821 Undefined name'): > ruff_check(example, ExamplesConfig()) tests/test_lint.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ example = CodeExample(source='print(x)\n', path=PosixPath('testing.md'), start_line=0, end_line=1, start_index=0, end_index=9, prefix='', indent=0, group=None, test_id=None) config = ExamplesConfig(line_length=88, quotes='either', magic_trailing_comma=True, target_version='py37', upgrade=False, isort=False, ruff_line_length=None, ruff_select=None, ruff_ignore=None, white_space_dot=False) def ruff_check( example: CodeExample, config: ExamplesConfig, *, extra_ruff_args: tuple[str, ...] = (), ) -> str: ruff = find_ruff_bin() args = ruff, 'check', '-', *config.ruff_config(), *extra_ruff_args p = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, universal_newlines=True) stdout, stderr = p.communicate(example.source, timeout=10) if p.returncode == 1 and stdout: def replace_offset(m: re.Match[str]): line_number = int(m.group(1)) return f'{example.path}:{line_number + example.start_line}' output = re.sub(r'^-:(\d+)', replace_offset, stdout, flags=re.M) > raise FormatError(f'ruff failed:\n{indent(output, " ")}') E pytest_examples.lint.FormatError: ruff failed: E F821 Undefined name `x` E --> -:1:7 E | E 1 | print(x) E | ^ E | E E Found 1 error. .run_venv/lib64/python3/site-packages/pytest_examples/lint.py:63: FormatError During handling of the above exception, another exception occurred: def test_ruff_offset(): code = 'print(x)\n' example = CodeExample.create(code) > with pytest.raises(FormatError, match='testing.md:1:7: F821 Undefined name'): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Regex: 'testing.md:1:7: F821 Undefined name' E Input: 'ruff failed:\n F821 Undefined name `x`\n --> -:1:7\n |\n 1 | print(x)\n | ^\n |\n\n Found 1 error.\n' tests/test_lint.py:27: AssertionError ___________________________ test_run_example_ok_fail ___________________________ pytester = @pytest.mark.skipif(sys.version_info < (3, 8), reason='traceback different on 3.7') def test_run_example_ok_fail(pytester: pytest.Pytester): pytester.makefile( '.md', # language=Markdown my_file=""" # My file ```py a = 1 b = 2 assert a + b == 3 ``` ```py a = 1 b = 2 assert a + b == 4 ``` """, ) # language=Python pytester.makepyfile( """ from pytest_examples import find_examples, CodeExample, EvalExample import pytest @pytest.mark.parametrize('example', find_examples('.'), ids=str) def test_find_run_examples(example: CodeExample, eval_example: EvalExample): eval_example.run(example, rewrite_assertions=False) """ ) result = pytester.runpytest('-p', 'no:pretty', '-v') result.assert_outcomes(passed=1, failed=1) > assert result.outlines[-11].startswith('_ _ _ _ ') E AssertionError: assert False E + where False = ('_ _ _ _ ') E + where = ''.startswith /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/tests/test_run_examples.py:55: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_run_example_ok_fail0 plugins: examples-0.0.18 collecting ... collected 2 items test_run_example_ok_fail.py::test_find_run_examples[my_file.md:3-7] PASSED [ 50%] test_run_example_ok_fail.py::test_find_run_examples[my_file.md:9-13] FAILED [100%] =================================== FAILURES =================================== ___________________ test_find_run_examples[my_file.md:9-13] ____________________ example = CodeExample(source='a = 1\nb = 2\nassert a + b == 4\n', path=PosixPath('my_file.md'), start_line=9, end_line=13, start...aa6d6ccd-96bd-4ac5-b7a0-a8dd92ce1881'), test_id='test_run_example_ok_fail.py::test_find_run_examples[my_file.md:9-13]') eval_example = @pytest.mark.parametrize('example', find_examples('.'), ids=str) def test_find_run_examples(example: CodeExample, eval_example: EvalExample): > eval_example.run(example, rewrite_assertions=False) test_run_example_ok_fail.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1 b = 2 > assert a + b == 4 ^^^^^^^^^^ E AssertionError my_file.md:12: AssertionError =========================== short test summary info ============================ FAILED test_run_example_ok_fail.py::test_find_run_examples[my_file.md:9-13] ========================= 1 failed, 1 passed in 0.03s ========================== _______________________________ test_ruff_error ________________________________ pytester = def test_ruff_error(pytester: pytest.Pytester): pytester.makefile( '.md', my_file='```py\nimport sys\nprint(missing)\n```', ) # language=Python pytester.makepyfile( """ from pytest_examples import find_examples, CodeExample, EvalExample import pytest @pytest.mark.parametrize('example', find_examples('.'), ids=str) def test_find_run_examples(example: CodeExample, eval_example: EvalExample): eval_example.lint_ruff(example) """ ) result = pytester.runpytest('-p', 'no:pretty', '-v') result.assert_outcomes(failed=1) output = '\n'.join(result.outlines) output = re.sub(r'(=|_){3,}', r'\1\1\1', output) for phrase in [ '=== FAILURES ===\n', '___ test_find_run_examples[my_file.md:1-4] ___\n', 'ruff failed:\n', ' my_file.md:2:8: F401 [*] `sys` imported but unused\n', ' my_file.md:3:7: F821 Undefined name `missing`\n', ' Found 2 errors.\n', ' [*] 1 fixable with the `--fix` option.\n', '=== short test summary info ===\n', ]: > assert phrase in output E AssertionError: assert ' my_file.md:2:8: F401 [*] `sys` imported but unused\n' in '=== test session starts ===\nplatform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/src/RPM/BUILD/pytho... info ===\nFAILED test_ruff_error.py::test_find_run_examples[my_file.md:1-4] - Failed: r...\n=== 1 failed in 0.03s ===' /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/tests/test_run_examples.py:120: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-examples-0.0.18/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_ruff_error0 plugins: examples-0.0.18 collecting ... collected 1 item test_ruff_error.py::test_find_run_examples[my_file.md:1-4] FAILED [100%] =================================== FAILURES =================================== ____________________ test_find_run_examples[my_file.md:1-4] ____________________ ruff failed: F401 [*] `sys` imported but unused --> -:1:8 | 1 | import sys | ^^^ 2 | print(missing) | help: Remove unused import: `sys` F821 Undefined name `missing` --> -:2:7 | 1 | import sys 2 | print(missing) | ^^^^^^^ | Found 2 errors. [*] 1 fixable with the `--fix` option. =========================== short test summary info ============================ FAILED test_ruff_error.py::test_find_run_examples[my_file.md:1-4] - Failed: r... ============================== 1 failed in 0.03s =============================== Summary of Failures ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ Function ┃ ┃ ┃ ┃ File ┃ Function ┃ Line ┃ Error Line ┃ Error ┃ ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ tests/test… │ test_ruff_… │ 24 │ 27 │ AssertionE… │ │ tests/test… │ test_run_e… │ 19 │ 55 │ AssertionE… │ │ tests/test… │ test_ruff_… │ 88 │ 120 │ AssertionE… │ └───────────────┴───────────────┴───────────────┴──────────────┴───────────────┘ Results (2.98s): 3 failed 78 passed 1 xfailed INFO : Command's result: FAILURE INFO : Command's error: Command '['sh', 'test.sh']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpm-tmp.78482 (%check) RPM build errors: File /usr/src/RPM/SOURCES/python3-module-pytest-examples-0.0.18-alt.patch is smaller than 8 bytes Bad exit status from /usr/src/tmp/rpm-tmp.78482 (%check) Command exited with non-zero status 1 5.52user 1.54system 0:08.95elapsed 78%CPU (0avgtext+0avgdata 54620maxresident)k 0inputs+0outputs (0major+184078minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pytest-examples-0.0.18-alt1.src.rpm' failed. Command exited with non-zero status 1 6.50user 3.91system 0:30.73elapsed 33%CPU (0avgtext+0avgdata 145756maxresident)k 35544inputs+0outputs (0major+299701minor)pagefaults 0swaps