<86>Apr 20 15:34:39 userdel[4069828]: delete user 'rooter' <86>Apr 20 15:34:39 userdel[4069828]: removed group 'rooter' owned by 'rooter' <86>Apr 20 15:34:39 groupadd[4069839]: group added to /etc/group: name=rooter, GID=696 <86>Apr 20 15:34:39 groupadd[4069839]: group added to /etc/gshadow: name=rooter <86>Apr 20 15:34:39 groupadd[4069839]: new group: name=rooter, GID=696 <86>Apr 20 15:34:39 useradd[4069843]: new user: name=rooter, UID=696, GID=696, home=/root, shell=/bin/bash <86>Apr 20 15:34:39 userdel[4069849]: delete user 'builder' <86>Apr 20 15:34:39 userdel[4069849]: removed group 'builder' owned by 'builder' <86>Apr 20 15:34:39 userdel[4069849]: removed shadow group 'builder' owned by 'builder' <86>Apr 20 15:34:39 groupadd[4069855]: group added to /etc/group: name=builder, GID=697 <86>Apr 20 15:34:39 groupadd[4069855]: group added to /etc/gshadow: name=builder <86>Apr 20 15:34:39 groupadd[4069855]: new group: name=builder, GID=697 <86>Apr 20 15:34:39 useradd[4069860]: new user: name=builder, UID=697, GID=697, home=/usr/src, shell=/bin/bash <13>Apr 20 15:34:41 rpmi: rpm-build-compat-2.2.7-alt1 sisyphus+269728.100.1.1 1618219298 installed <13>Apr 20 15:34:41 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 20 15:34:41 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 20 15:34:41 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 20 15:34:41 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 20 15:34:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 20 15:34:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 20 15:34:41 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 20 15:34:41 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 20 15:34:41 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 20 15:34:41 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 20 15:34:41 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 20 15:34:41 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 20 15:34:42 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 20 15:34:42 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 20 15:34:42 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 20 15:34:42 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 20 15:34:42 rpmi: rpm-build-intro-2.2.7-alt1 sisyphus+269728.100.1.1 1618219298 installed <13>Apr 20 15:34:45 rpmi: python3-module-pkg_resources-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed <13>Apr 20 15:34:45 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed <13>Apr 20 15:34:45 rpmi: python3-module-attrs-20.3.0-alt1 sisyphus+262357.100.1.1 1606152750 installed <13>Apr 20 15:34:45 rpmi: python3-module-typing_extensions-3.7.4.3-alt1 sisyphus+257514.200.1.1 1599349446 installed <13>Apr 20 15:34:45 rpmi: python3-module-idna-3.1-alt1 sisyphus+267356.100.1.1 1614879269 installed <13>Apr 20 15:34:45 rpmi: python3-module-mypy_extensions-0.4.3-alt1 sisyphus+258039.100.4.1 1601037687 installed <13>Apr 20 15:34:45 rpmi: python3-module-zope.interface-5.1.0-alt3 sisyphus+265234.25100.49.1 1613760789 installed <13>Apr 20 15:34:45 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Apr 20 15:34:45 rpmi: python3-module-pytz-1:2021.1-alt1 sisyphus+267903.400.1.1 1615896636 installed <13>Apr 20 15:34:45 rpmi: python3-module-toml-0.10.2-alt2 sisyphus+268468.100.2.1 1617010078 installed <13>Apr 20 15:34:45 rpmi: python3-module-multidict-4.5.2-alt1 sisyphus+265234.24400.49.1 1613759971 installed <13>Apr 20 15:34:45 rpmi: python3-module-click-7.1.2-alt2 sisyphus+260950.100.1.1 1604486258 installed <13>Apr 20 15:34:45 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed <13>Apr 20 15:34:45 rpmi: python3-module-chardet-1:3.0.4-alt2 sisyphus+263408.100.1.1 1607875228 installed <13>Apr 20 15:34:45 rpmi: libev4-4.33-alt1 sisyphus+265178.100.1.1 1611519286 installed <13>Apr 20 15:34:45 rpmi: libev-devel-4.33-alt1 sisyphus+265178.100.1.1 1611519286 installed <13>Apr 20 15:34:45 rpmi: python3-module-incremental-17.5.0-alt4 sisyphus+261326.100.1.1 1604867833 installed <13>Apr 20 15:34:45 rpmi: python3-module-yarl-1.6.3-alt1 sisyphus+265234.24440.49.1 1613760008 installed <13>Apr 20 15:34:45 rpmi: python3-module-typing-inspect-0.6.0-alt1 sisyphus+269977.500.4.1 1618692467 installed <13>Apr 20 15:34:45 rpmi: python3-module-idna_ssl-1.1.0-alt1 sisyphus+227494.500.1.3 1555838773 installed <13>Apr 20 15:34:45 rpmi: python3-module-hyperlink-19.0.0-alt1 sisyphus+231791.100.1.1 1560104463 installed <13>Apr 20 15:34:45 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Apr 20 15:34:45 rpmi: python3-module-sqlparse-0.2.2-alt1 sisyphus+228373.1300.2.3 1556721017 installed <13>Apr 20 15:34:45 rpmi: python3-module-sortedcontainers-2.3.0-alt1 sisyphus+261357.100.1.1 1604915455 installed <13>Apr 20 15:34:45 rpmi: python3-module-pluggy-0.13.1-alt2 sisyphus+250320.400.1.1 1588511673 installed <13>Apr 20 15:34:45 rpmi: python3-module-pyparsing-2.4.2-alt2 sisyphus+261315.100.1.1 1604861802 installed <13>Apr 20 15:34:45 rpmi: python3-module-packaging-19.0-alt3 sisyphus+261322.40.5.2 1604886824 installed <13>Apr 20 15:34:45 rpmi: python3-module-lark-parser-0.9.0-alt1 sisyphus+260929.40.2.1 1604450649 installed <13>Apr 20 15:34:45 rpmi: python3-module-regex-2020.7.14-alt1 sisyphus+265234.13000.49.1 1613751847 installed <13>Apr 20 15:34:45 rpmi: python3-module-pathspec-0.8.0-alt1 sisyphus+258018.100.1.1 1600090233 installed <13>Apr 20 15:34:45 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Apr 20 15:34:45 rpmi: python3-module-py-1.9.0-alt1 sisyphus+255737.100.16.1 1603346569 installed <13>Apr 20 15:34:45 rpmi: python3-module-pytest-6.2.3-alt1 sisyphus+269977.200.4.1 1618692337 installed <13>Apr 20 15:34:45 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 20 15:34:45 rpmi: python3-module-pygobject-2.28.6-alt11 sisyphus+265234.40640.49.1 1613774350 installed <13>Apr 20 15:34:45 rpmi: python3-module-pycares-2.3.0-alt1.1 sisyphus+265234.35200.49.1 1613769404 installed <13>Apr 20 15:34:45 rpmi: python3-module-certifi-2020.12.5-alt1 sisyphus+266616.300.2.2 1614137319 installed <13>Apr 20 15:34:45 rpmi: python3-module-openid-2.2.5-alt2.2 1526988190 installed <13>Apr 20 15:34:45 rpmi: python3-module-pycparser-2.20-alt1 sisyphus+260990.100.1.1 1604547209 installed <13>Apr 20 15:34:45 rpmi: python3-module-cffi-1.14.5-alt1 sisyphus+266847.100.1.1 1614157383 installed <13>Apr 20 15:34:45 rpmi: python3-module-cryptography-3.4.6-alt1 sisyphus+267354.100.1.1 1614879025 installed <13>Apr 20 15:34:45 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Apr 20 15:34:45 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 20 15:34:45 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>Apr 20 15:34:45 rpmi: python3-module-requests-2.25.1-alt2 sisyphus+267359.100.1.1 1614881487 installed <13>Apr 20 15:34:45 rpmi: python3-module-dns-1:1.16.0-alt2 sisyphus+261959.100.1.1 1605650239 installed <13>Apr 20 15:34:46 rpmi: python3-module-async-timeout-3.0.1-alt1 sisyphus+228351.2200.6.1 1556642315 installed <13>Apr 20 15:34:46 rpmi: python3-module-Cheetah-3.2.3-alt2 sisyphus+265234.34300.49.1 1613768584 installed <13>Apr 20 15:34:46 rpmi: python3-module-paste-2.0.3-alt2 sisyphus+238977.100.1.1 1570626890 installed <13>Apr 20 15:34:46 rpmi: python3-module-PasteDeploy-1:2.0.1-alt1 sisyphus+228350.100.4.1 1556553619 installed <13>Apr 20 15:34:46 rpmi: python3-module-PasteScript-1:2.0.2-alt1 sisyphus+228350.200.4.1 1556553707 installed <13>Apr 20 15:34:46 rpmi: libyaml2-0.2.5-alt1 sisyphus+253672.100.1.1 1592583137 installed <13>Apr 20 15:34:46 rpmi: python3-module-yaml-5.4.1-alt1 sisyphus+266616.200.3.3 1614165424 installed <13>Apr 20 15:34:46 rpmi: python3-module-libcst-0.3.18-alt1 sisyphus+269977.600.4.1 1618692616 installed <13>Apr 20 15:34:46 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 20 15:34:46 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 20 15:34:46 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 20 15:34:46 rpmi: python3-module-greenlet-0.4.17-alt1 sisyphus+265234.7000.49.1 1613749723 installed <13>Apr 20 15:34:46 rpmi: libmaxminddb-1.5.0-alt1 sisyphus+264977.100.1.1 1611211993 installed <13>Apr 20 15:34:46 rpmi: python3-module-MaxMindDB-2.0.3-alt1 sisyphus+265234.33300.49.1 1613767716 installed <13>Apr 20 15:34:46 rpmi: openldap-common-2.4.57-alt1 sisyphus+266287.100.1.1 1613244218 installed <13>Apr 20 15:34:46 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Apr 20 15:34:46 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Apr 20 15:34:46 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Apr 20 15:34:46 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Apr 20 15:34:46 rpmi: libhidapi-0.10.1-alt1_2 sisyphus+265273.100.1.1 1611604280 installed <13>Apr 20 15:34:46 rpmi: python3-module-cython-hidapi-0.9.0-alt0.1 sisyphus+265234.34400.49.1 1613768638 installed <13>Apr 20 15:34:46 rpmi: python3-module-serial-3.5-alt1 sisyphus+266224.1000.1.1 1613128454 installed <13>Apr 20 15:34:46 rpmi: python3-module-automat-20.2.0-alt2 sisyphus+261245.140.3.1 1604811044 installed <13>Apr 20 15:34:46 rpmi: python3-module-twisted-logger-20.3.0-alt2 sisyphus+265234.27700.49.1 1613763709 installed <13>Apr 20 15:34:46 rpmi: python3-module-twisted-words-20.3.0-alt2 sisyphus+265234.27700.49.1 1613763709 installed <13>Apr 20 15:34:46 rpmi: python3-module-twisted-core-20.3.0-alt2 sisyphus+265234.27700.49.1 1613763709 installed <13>Apr 20 15:34:46 rpmi: python3-module-twisted-names-20.3.0-alt2 sisyphus+265234.27700.49.1 1613763709 installed <13>Apr 20 15:34:46 rpmi: python3-module-tornado-5.1.1-alt2 sisyphus+265234.17600.49.1 1613755330 installed <13>Apr 20 15:34:46 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <86>Apr 20 15:34:46 groupadd[4080869]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 20 15:34:46 groupadd[4080869]: group added to /etc/gshadow: name=_keytab <86>Apr 20 15:34:46 groupadd[4080869]: new group: name=_keytab, GID=499 <13>Apr 20 15:34:46 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>Apr 20 15:34:46 groupadd[4080879]: group added to /etc/group: name=sasl, GID=498 <86>Apr 20 15:34:46 groupadd[4080879]: group added to /etc/gshadow: name=sasl <86>Apr 20 15:34:46 groupadd[4080879]: new group: name=sasl, GID=498 <13>Apr 20 15:34:46 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Apr 20 15:34:46 rpmi: libldap-2.4.57-alt1 sisyphus+266287.100.1.1 1613244306 installed <13>Apr 20 15:34:46 rpmi: libpq5-13.2-alt1 sisyphus+266168.100.1.1 1613037925 installed <13>Apr 20 15:34:46 rpmi: python3-module-psycopg2-2.8.6-alt1 sisyphus+265234.11100.49.1 1613750590 installed <13>Apr 20 15:34:46 rpmi: python3-module-eventlet-0.29.1-alt2 sisyphus+261959.200.1.1 1605650293 installed <13>Apr 20 15:34:46 rpmi: libcares-1.17.1-alt1 sisyphus+262311.100.1.1 1606112761 installed <13>Apr 20 15:34:47 rpmi: python3-module-gevent-1.4.0-alt2 sisyphus+265234.34600.49.1 1613768990 installed <13>Apr 20 15:34:47 rpmi: python3-module-gunicorn-20.0.4-alt2 sisyphus+261234.100.1.1 1604801607 installed <13>Apr 20 15:34:47 rpmi: python3-module-aiohttp-3.7.4-alt1 sisyphus+267903.200.1.1 1615896553 installed <13>Apr 20 15:34:47 rpmi: python3-module-GeoIP2-4.1.0-alt1 sisyphus+258750.100.1.1 1601205776 installed <13>Apr 20 15:34:47 rpmi: python3-module-django-2.2.19-alt1 sisyphus+266889.200.1.1 1614172722 installed <13>Apr 20 15:34:47 rpmi: python3-module-aiohttp-cors-0.7.0-alt1 sisyphus+227471.2000.1.1 1555688116 installed <13>Apr 20 15:34:47 rpmi: python3-module-black-20.8b1-alt1 sisyphus+259228.100.1.1 1601889305 installed <13>Apr 20 15:34:47 rpmi: python3-module-hypothesis-6.9.2-alt1 sisyphus+269977.700.4.1 1618692820 installed <13>Apr 20 15:34:47 rpmi: python3-module-setuptools-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed <13>Apr 20 15:34:47 rpmi: python3-module-hyperframe-5.2.0-alt1 sisyphus+231788.100.1.1 1560100609 installed <13>Apr 20 15:34:47 rpmi: python3-module-hpack-3.0.0-alt1.qa1 sisyphus+227493.500.1.3 1555835217 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-h2-3.2.0-alt1.nosrc.rpm (w1.gzdio) Installing python3-module-h2-3.2.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.83239 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-h2-3.2.0 + echo 'Source #0 (python3-module-h2-3.2.0.tar):' Source #0 (python3-module-h2-3.2.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-h2-3.2.0.tar + cd python3-module-h2-3.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17164 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-h2-3.2.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/h2 copying h2/windows.py -> build/lib/h2 copying h2/utilities.py -> build/lib/h2 copying h2/stream.py -> build/lib/h2 copying h2/settings.py -> build/lib/h2 copying h2/frame_buffer.py -> build/lib/h2 copying h2/exceptions.py -> build/lib/h2 copying h2/events.py -> build/lib/h2 copying h2/errors.py -> build/lib/h2 copying h2/connection.py -> build/lib/h2 copying h2/config.py -> build/lib/h2 copying h2/__init__.py -> build/lib/h2 running egg_info creating h2.egg-info writing h2.egg-info/PKG-INFO writing dependency_links to h2.egg-info/dependency_links.txt writing requirements to h2.egg-info/requires.txt writing top-level names to h2.egg-info/top_level.txt writing manifest file 'h2.egg-info/SOURCES.txt' adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*') reading manifest file 'h2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' writing manifest file 'h2.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50021 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-h2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-h2-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-h2-3.2.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-h2-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-h2-buildroot creating /usr/src/tmp/python3-module-h2-buildroot/usr creating /usr/src/tmp/python3-module-h2-buildroot/usr/lib creating /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/__init__.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/config.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/connection.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/errors.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/events.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/exceptions.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/frame_buffer.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/settings.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/stream.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/utilities.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 copying build/lib/h2/windows.py -> /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2 byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/config.py to config.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/connection.py to connection.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/errors.py to errors.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/events.py to events.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/exceptions.py to exceptions.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/frame_buffer.py to frame_buffer.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/settings.py to settings.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/stream.py to stream.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/utilities.py to utilities.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/windows.py to windows.cpython-39.pyc running install_egg_info running egg_info writing h2.egg-info/PKG-INFO writing dependency_links to h2.egg-info/dependency_links.txt writing requirements to h2.egg-info/requires.txt writing top-level names to h2.egg-info/top_level.txt adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*') reading manifest file 'h2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' writing manifest file 'h2.egg-info/SOURCES.txt' Copying h2.egg-info to /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2-3.2.0-py3.9.egg-info running install_scripts + for i in /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ + find /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ -name tests -type d -print0 + xargs -0 rm -rfv + find /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ -name test -type d -print0 + xargs -0 rm -rfv + for i in /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ + find /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ -name tests -type d -print0 + xargs -0 rm -rfv + find /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/ -name test -type d -print0 + xargs -0 rm -rfv + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-h2-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-h2-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-h2-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-h2-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-h2-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-h2-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-h2-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-h2-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-h2-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/config.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/connection.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/errors.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/events.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/exceptions.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/frame_buffer.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/settings.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/stream.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/utilities.cpython-39.pyc unlink /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__pycache__/windows.cpython-39.pyc compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__init__.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/config.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/connection.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/errors.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/events.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/exceptions.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/frame_buffer.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/settings.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/stream.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/utilities.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/windows.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-h2-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__init__.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/config.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/connection.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/errors.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/events.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/exceptions.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/frame_buffer.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/settings.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/stream.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/utilities.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/windows.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-h2-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/__init__.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/config.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/connection.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/errors.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/events.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/exceptions.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/frame_buffer.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/settings.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/stream.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/utilities.py compile /usr/src/tmp/python3-module-h2-buildroot/usr/lib/python3/site-packages/h2/windows.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/h2/__pycache__/utilities.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/utilities.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/settings.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/settings.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/frame_buffer.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/frame_buffer.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/exceptions.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/exceptions.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/events.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/events.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/errors.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/errors.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/config.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/config.cpython-39.pyc' './usr/lib/python3/site-packages/h2/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/h2/__pycache__/__init__.cpython-39.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.42422 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-h2-3.2.0 ++ pwd + PYTHONPATH=/usr/src/RPM/BUILD/python3-module-h2-3.2.0 + py.test3 ============================= test session starts ============================== platform linux -- Python 3.9.4, pytest-6.2.3, py-1.9.0, pluggy-0.13.1 rootdir: /usr/src/RPM/BUILD/python3-module-h2-3.2.0, configfile: setup.cfg, testpaths: test plugins: hypothesis-6.9.2 collected 1414 items test/test_basic_logic.py ..........................................F.... [ 3%] ........................................................................ [ 8%] ........................................................................ [ 13%] ........................................................................ [ 18%] ........................................................................ [ 23%] ................................................. [ 27%] test/test_closed_streams.py ..................... [ 28%] test/test_complex_logic.py ................. [ 29%] test/test_config.py .................................................... [ 33%] ............ [ 34%] test/test_events.py ............................................. [ 37%] test/test_exceptions.py . [ 37%] test/test_flow_control_window.py ...................................FF.. [ 40%] ...FFF [ 40%] test/test_h2_upgrade.py ............. [ 41%] test/test_head_request.py .. [ 41%] test/test_header_indexing.py ........................................... [ 44%] ........................................................................ [ 50%] ........................................................................ [ 55%] ........................................................................ [ 60%] ......................................... [ 63%] test/test_informational_responses.py .............................. [ 65%] test/test_interacting_stacks.py . [ 65%] test/test_invalid_content_lengths.py ... [ 65%] test/test_invalid_frame_sequences.py ...................... [ 67%] test/test_invalid_headers.py ........................................... [ 70%] ........................................................................ [ 75%] ........................................................................ [ 80%] ........................................................................ [ 85%] ........................................................................ [ 90%] ................ [ 91%] test/test_priority.py ....................... [ 93%] test/test_related_events.py ............. [ 94%] test/test_rfc7838.py ................... [ 95%] test/test_rfc8441.py . [ 95%] test/test_settings.py ................................ [ 97%] test/test_state_machines.py .................. [ 99%] test/test_stream_reset.py ..... [ 99%] test/test_utility_functions.py ........ [100%] =================================== FAILURES =================================== _________________ TestBasicClient.test_changing_max_frame_size _________________ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_basic_logic.py::TestBasicClient::test_changing_max_frame_size uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck __________ TestAutomaticFlowControl.test_must_acknowledge_for_stream ___________ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_flow_control_window.py::TestAutomaticFlowControl::test_must_acknowledge_for_stream uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck _______ TestAutomaticFlowControl.test_cannot_acknowledge_less_than_zero ________ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_flow_control_window.py::TestAutomaticFlowControl::test_cannot_acknowledge_less_than_zero uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck _ TestAutomaticFlowControl.test_acknowledging_1024_bytes_when_empty_increments _ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_flow_control_window.py::TestAutomaticFlowControl::test_acknowledging_1024_bytes_when_empty_increments uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck _____________ TestAutomaticFlowControl.test_connection_only_empty ______________ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_flow_control_window.py::TestAutomaticFlowControl::test_connection_only_empty uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck ______________ TestAutomaticFlowControl.test_mixing_update_forms _______________ item = @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): if not hasattr(item, "obj"): yield elif not is_hypothesis_test(item.obj): # If @given was not applied, check whether other hypothesis # decorators were applied, and raise an error if they were. if getattr(item.obj, "is_hypothesis_strategy_function", False): raise InvalidArgument( "%s is a function that returns a Hypothesis strategy, but pytest " "has collected it as a test function. This is useless as the " "function body will never be executed. To define a test " "function, use @given instead of @composite." % (item.nodeid,) ) message = "Using `@%s` on a test without `@given` is completely pointless." for name, attribute in [ ("example", "hypothesis_explicit_examples"), ("seed", "_hypothesis_internal_use_seed"), ("settings", "_hypothesis_internal_settings_applied"), ("reproduce_example", "_hypothesis_internal_use_reproduce_failure"), ]: if hasattr(item.obj, attribute): raise InvalidArgument(message % (name,)) yield else: # Retrieve the settings for this test from the test object, which # is normally a Hypothesis wrapped_test wrapper. If this doesn't # work, the test object is probably something weird # (e.g a stateful test wrapper), so we skip the function-scoped # fixture check. settings = getattr(item.obj, "_hypothesis_internal_use_settings", None) # Check for suspicious use of function-scoped fixtures, but only # if the corresponding health check is not suppressed. if ( settings is not None and HealthCheck.function_scoped_fixture not in settings.suppress_health_check ): # Warn about function-scoped fixtures, excluding autouse fixtures because # the advice is probably not actionable and the status quo seems OK... # See https://github.com/HypothesisWorks/hypothesis/issues/377 for detail. msg = ( "%s uses the %r fixture, which is reset between function calls but not " "between test cases generated by `@given(...)`. You can change it to " "a module- or session-scoped fixture if it is safe to reuse; if not " "we recommend using a context manager inside your test function. See " "https://docs.pytest.org/en/latest/fixture.html#sharing-test-data " "for details on fixture scope." ) argnames = None for fx_defs in item._request._fixturemanager.getfixtureinfo( node=item, func=item.function, cls=None ).name2fixturedefs.values(): if argnames is None: argnames = frozenset(signature(item.function).parameters) for fx in fx_defs: if fx.argname in argnames: active_fx = item._request._get_active_fixturedef(fx.argname) if active_fx.scope == "function": > fail_health_check( settings, msg % (item.nodeid, fx.argname), HealthCheck.function_scoped_fixture, ) E hypothesis.errors.FailedHealthCheck: test/test_flow_control_window.py::TestAutomaticFlowControl::test_mixing_update_forms uses the 'frame_factory' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.function_scoped_fixture to the suppress_health_check settings for this test. /usr/lib/python3/site-packages/hypothesis/extra/pytestplugin.py:198: FailedHealthCheck =========================== short test summary info ============================ FAILED test/test_basic_logic.py::TestBasicClient::test_changing_max_frame_size FAILED test/test_flow_control_window.py::TestAutomaticFlowControl::test_must_acknowledge_for_stream FAILED test/test_flow_control_window.py::TestAutomaticFlowControl::test_cannot_acknowledge_less_than_zero FAILED test/test_flow_control_window.py::TestAutomaticFlowControl::test_acknowledging_1024_bytes_when_empty_increments FAILED test/test_flow_control_window.py::TestAutomaticFlowControl::test_connection_only_empty FAILED test/test_flow_control_window.py::TestAutomaticFlowControl::test_mixing_update_forms ================== 6 failed, 1408 passed in 64.88s (0:01:04) =================== error: Bad exit status from /usr/src/tmp/rpm-tmp.42422 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.42422 (%check) Command exited with non-zero status 1 68.75user 0.46system 1:09.37elapsed 99%CPU (0avgtext+0avgdata 42768maxresident)k 0inputs+0outputs (0major+101469minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-h2-3.2.0-alt1.src.rpm' failed. Command exited with non-zero status 1 77.33user 3.67system 1:21.26elapsed 99%CPU (0avgtext+0avgdata 107136maxresident)k 0inputs+0outputs (0major+497328minor)pagefaults 0swaps