Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-howdoi.spec'], chrootPath='/var/lib/mock/f35-build-28153187-3789176/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-howdoi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1625011200 Wrote: /builddir/build/SRPMS/python-howdoi-2.0.16-2.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-howdoi.spec'], chrootPath='/var/lib/mock/f35-build-28153187-3789176/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-howdoi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1625011200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nb8p8b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf howdoi-2.0.16 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/howdoi-2.0.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd howdoi-2.0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i.shebang 1d howdoi/howdoi.py + touch -r howdoi/howdoi.py.shebang howdoi/howdoi.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8arteG + umask 022 + cd /builddir/build/BUILD + cd howdoi-2.0.16 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/howdoi-2.0.16/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.cmd import Command running build running build_py creating build creating build/lib creating build/lib/howdoi copying howdoi/__init__.py -> build/lib/howdoi copying howdoi/__main__.py -> build/lib/howdoi copying howdoi/errors.py -> build/lib/howdoi copying howdoi/howdoi.py -> build/lib/howdoi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GRP3OF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch ++ dirname /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch + cd howdoi-2.0.16 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch /builddir/build/BUILD/howdoi-2.0.16/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.cmd import Command running install running install_lib creating /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr creating /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib creating /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi copying build/lib/howdoi/__init__.py -> /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi copying build/lib/howdoi/__main__.py -> /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi copying build/lib/howdoi/errors.py -> /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi copying build/lib/howdoi/howdoi.py -> /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi byte-compiling /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi/__main__.py to __main__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi/errors.py to errors.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi/howdoi.py to howdoi.cpython-310.pyc writing byte-compilation script '/tmp/tmp1_fy0qto.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmp1_fy0qto.py removing /tmp/tmp1_fy0qto.py running install_egg_info running egg_info creating howdoi.egg-info writing howdoi.egg-info/PKG-INFO writing dependency_links to howdoi.egg-info/dependency_links.txt writing entry points to howdoi.egg-info/entry_points.txt writing requirements to howdoi.egg-info/requires.txt writing top-level names to howdoi.egg-info/top_level.txt writing manifest file 'howdoi.egg-info/SOURCES.txt' reading manifest file 'howdoi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'howdoi.rb' warning: no previously-included files found matching '.*rc' no previously-included directories found matching 'page_cache' no previously-included directories found matching 'notebooks' adding license file 'LICENSE.txt' writing manifest file 'howdoi.egg-info/SOURCES.txt' Copying howdoi.egg-info to /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages/howdoi-2.0.16-py3.10.egg-info running install_scripts Installing howdoi script to /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.0.16-2.fc35 --unique-debug-suffix -2.0.16-2.fc35.noarch --unique-debug-src-base python-howdoi-2.0.16-2.fc35.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/howdoi-2.0.16 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1G5oNM + umask 022 + cd /builddir/build/BUILD + cd howdoi-2.0.16 + TEST_CLASS=test_howdoi.py::HowdoiTestCase + skipped_tests=(multiple_answers position unicode_answer) + DESELECT= + for testcase in "${skipped_tests[@]}" + DESELECT+=' --deselect test_howdoi.py::HowdoiTestCase::test_multiple_answers' + for testcase in "${skipped_tests[@]}" + DESELECT+=' --deselect test_howdoi.py::HowdoiTestCase::test_position' + for testcase in "${skipped_tests[@]}" + DESELECT+=' --deselect test_howdoi.py::HowdoiTestCase::test_unicode_answer' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + PATH=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -v --deselect test_howdoi.py::HowdoiTestCase::test_multiple_answers --deselect test_howdoi.py::HowdoiTestCase::test_position --deselect test_howdoi.py::HowdoiTestCase::test_unicode_answer ============================= test session starts ============================== platform linux -- Python 3.10.0b3, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/howdoi-2.0.16 collecting ... collected 25 items / 3 deselected / 22 selected test_howdoi.py::HowdoiTestCase::test_all_text PASSED [ 4%] test_howdoi.py::HowdoiTestCase::test_answer_links_using_all_option PASSED [ 9%] test_howdoi.py::HowdoiTestCase::test_answer_links_using_l_option PASSED [ 13%] test_howdoi.py::HowdoiTestCase::test_answers PASSED [ 18%] test_howdoi.py::HowdoiTestCase::test_answers_bing PASSED [ 22%] test_howdoi.py::HowdoiTestCase::test_answers_duckduckgo PASSED [ 27%] test_howdoi.py::HowdoiTestCase::test_colorize PASSED [ 31%] test_howdoi.py::HowdoiTestCase::test_format_url_to_filename PASSED [ 36%] test_howdoi.py::HowdoiTestCase::test_get_link_at_pos PASSED [ 40%] test_howdoi.py::HowdoiTestCase::test_get_questions PASSED [ 45%] test_howdoi.py::HowdoiTestCase::test_get_text_with_a_link_but_copy_is_within_nested_div PASSED [ 50%] test_howdoi.py::HowdoiTestCase::test_get_text_with_link_but_with_copy_duplicating_the_href PASSED [ 54%] test_howdoi.py::HowdoiTestCase::test_get_text_with_multiple_links_test_one PASSED [ 59%] test_howdoi.py::HowdoiTestCase::test_get_text_with_multiple_links_test_two PASSED [ 63%] test_howdoi.py::HowdoiTestCase::test_get_text_with_one_link PASSED [ 68%] test_howdoi.py::HowdoiTestCase::test_get_text_without_links PASSED [ 72%] test_howdoi.py::HowdoiTestCase::test_help_queries PASSED [ 77%] test_howdoi.py::HowdoiTestCase::test_help_queries_are_properly_validated PASSED [ 81%] test_howdoi.py::HowdoiTestCase::test_json_output PASSED [ 86%] test_howdoi.py::HowdoiTestCase::test_missing_pre_or_code_query PASSED [ 90%] test_howdoi.py::HowdoiTestCase::test_negative_and_high_positive_int_values_rejected PASSED [ 95%] test_howdoi.py::HowdoiTestCaseEnvProxies::test_get_proxies1 PASSED [100%] ======================= 22 passed, 3 deselected in 2.13s ======================= + for testcase in "${skipped_tests[@]}" + SELECT+=' test_howdoi.py::HowdoiTestCase::test_multiple_answers' + for testcase in "${skipped_tests[@]}" + SELECT+=' test_howdoi.py::HowdoiTestCase::test_position' + for testcase in "${skipped_tests[@]}" + SELECT+=' test_howdoi.py::HowdoiTestCase::test_unicode_answer' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + PATH=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -v test_howdoi.py::HowdoiTestCase::test_multiple_answers test_howdoi.py::HowdoiTestCase::test_position test_howdoi.py::HowdoiTestCase::test_unicode_answer ============================= test session starts ============================== platform linux -- Python 3.10.0b3, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/howdoi-2.0.16 collecting ... collected 3 items test_howdoi.py::HowdoiTestCase::test_multiple_answers PASSED [ 33%] test_howdoi.py::HowdoiTestCase::test_position PASSED [ 66%] test_howdoi.py::HowdoiTestCase::test_unicode_answer PASSED [100%] ============================== 3 passed in 0.62s =============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-howdoi-2.0.16-2.fc35.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tNywTP + umask 022 + cd /builddir/build/BUILD + cd howdoi-2.0.16 + DOCDIR=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/doc/python3-howdoi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/doc/python3-howdoi + cp -pr CHANGES.txt /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/doc/python3-howdoi + cp -pr README.rst /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/doc/python3-howdoi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rR10oI + umask 022 + cd /builddir/build/BUILD + cd howdoi-2.0.16 + LICENSEDIR=/builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/licenses/python3-howdoi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/licenses/python3-howdoi + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch/usr/share/licenses/python3-howdoi + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-howdoi = 2.0.16-2.fc35 python3-howdoi = 2.0.16-2.fc35 python3.10-howdoi = 2.0.16-2.fc35 python3.10dist(howdoi) = 2.0.16 python3dist(howdoi) = 2.0.16 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.10 python3.10dist(appdirs) python3.10dist(cachelib) python3.10dist(cssselect) python3.10dist(keep) python3.10dist(lxml) python3.10dist(pygments) python3.10dist(pyquery) python3.10dist(requests) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch Wrote: /builddir/build/RPMS/python3-howdoi-2.0.16-2.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.03pjYi + umask 022 + cd /builddir/build/BUILD + cd howdoi-2.0.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-howdoi-2.0.16-2.fc35.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0