Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-95489-59651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-httpbin-0.7.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-95489-59651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6cVSm6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpbin-0.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpbin-0.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpbin-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Use-Google-s-brotli-module-not-the-brotlipy-one.patch): + echo 'Patch #1 (0001-Use-Google-s-brotli-module-not-the-brotlipy-one.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file httpbin/filters.py patching file setup.py Hunk #1 succeeded at 34 (offset 1 line). Patch #2 (0002-Drop-content-length-0-asserts.patch): + echo 'Patch #2 (0002-Drop-content-length-0-asserts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file test_httpbin.py Hunk #1 succeeded at 144 (offset -4 lines). Hunk #2 succeeded at 157 (offset -4 lines). Patch #3 (0001-Fix-disabling-of-location-header-autocorrect-for-wer.patch): + echo 'Patch #3 (0001-Fix-disabling-of-location-header-autocorrect-for-wer.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file httpbin/core.py + chmod ugo-x httpbin/templates/forms-post.html + sed -i -e 's,werkzeug>=0.14.1,werkzeug,g' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6g6CI3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpbin-0.7.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/httpbin copying httpbin/utils.py -> build/lib/httpbin copying httpbin/core.py -> build/lib/httpbin copying httpbin/__init__.py -> build/lib/httpbin copying httpbin/helpers.py -> build/lib/httpbin copying httpbin/filters.py -> build/lib/httpbin copying httpbin/structures.py -> build/lib/httpbin running egg_info creating httpbin.egg-info writing httpbin.egg-info/PKG-INFO writing dependency_links to httpbin.egg-info/dependency_links.txt writing requirements to httpbin.egg-info/requires.txt writing top-level names to httpbin.egg-info/top_level.txt writing manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'httpbin.egg-info/SOURCES.txt' warning: no files found matching 'README.rst' warning: no files found matching 'requirements.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'httpbin.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'httpbin.templates' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'httpbin.templates' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'httpbin.templates' to be distributed and are already explicitly excluding 'httpbin.templates' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/httpbin/templates copying httpbin/templates/UTF-8-demo.txt -> build/lib/httpbin/templates copying httpbin/templates/forms-post.html -> build/lib/httpbin/templates copying httpbin/templates/httpbin.1.html -> build/lib/httpbin/templates copying httpbin/templates/index.html -> build/lib/httpbin/templates copying httpbin/templates/moby.html -> build/lib/httpbin/templates copying httpbin/templates/sample.xml -> build/lib/httpbin/templates copying httpbin/templates/trackingscripts.html -> build/lib/httpbin/templates creating build/lib/httpbin/templates/images copying httpbin/templates/images/jackal.jpg -> build/lib/httpbin/templates/images copying httpbin/templates/images/pig_icon.png -> build/lib/httpbin/templates/images copying httpbin/templates/images/svg_logo.svg -> build/lib/httpbin/templates/images /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'httpbin.templates.images' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'httpbin.templates.images' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'httpbin.templates.images' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'httpbin.templates.images' to be distributed and are already explicitly excluding 'httpbin.templates.images' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying httpbin/templates/images/wolf_1.webp -> build/lib/httpbin/templates/images + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ux7MSt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch + cd httpbin-0.7.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin copying build/lib/httpbin/utils.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin copying build/lib/httpbin/core.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin copying build/lib/httpbin/__init__.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin copying build/lib/httpbin/helpers.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin copying build/lib/httpbin/filters.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/httpbin.1.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/forms-post.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/pig_icon.png -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/jackal.jpg -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/svg_logo.svg -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/wolf_1.webp -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/sample.xml -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/index.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/moby.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/trackingscripts.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/templates/UTF-8-demo.txt -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/templates copying build/lib/httpbin/structures.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/core.py to core.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/filters.py to filters.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin/structures.py to structures.cpython-311.pyc writing byte-compilation script '/tmp/tmp_2r3nswq.py' /usr/bin/python3 /tmp/tmp_2r3nswq.py removing /tmp/tmp_2r3nswq.py running install_egg_info running egg_info writing httpbin.egg-info/PKG-INFO writing dependency_links to httpbin.egg-info/dependency_links.txt writing requirements to httpbin.egg-info/requires.txt writing top-level names to httpbin.egg-info/top_level.txt reading manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'httpbin.egg-info/SOURCES.txt' warning: no files found matching 'README.rst' warning: no files found matching 'requirements.txt' Copying httpbin.egg-info to /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11/site-packages/httpbin-0.7.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.7.0-1.oc9 --unique-debug-suffix -0.7.0-1.oc9.noarch --unique-debug-src-base python-httpbin-0.7.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/httpbin-0.7.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QK0HsH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpbin-0.7.0 + /usr/bin/python3 test_httpbin.py .../usr/lib/python3.11/site-packages/werkzeug/test.py:354: DeprecationWarning: Passing bytes is deprecated and will not be supported in Werkzeug 3.0. self.path = iri_to_uri(request_uri.path) E.../usr/lib/python3.11/site-packages/werkzeug/datastructures/auth.py:297: UserWarning: The 'set_digest' method is deprecated and will be removed in Werkzeug 3.0. Create and assign an instance instead. warnings.warn( /builddir/build/BUILD/httpbin-0.7.0/httpbin/core.py:517: DeprecationWarning: 'parse_authorization_header' is deprecated and will be removed in Werkzeug 2.4. Use 'Authorization.from_header' instead. credentials = parse_authorization_header(authorization) /builddir/build/BUILD/httpbin-0.7.0/httpbin/helpers.py:360: DeprecationWarning: 'parse_authorization_header' is deprecated and will be removed in Werkzeug 2.4. Use 'Authorization.from_header' instead. credentails = parse_authorization_header(request.headers.get('Authorization')) F..F.........................../usr/lib/python3.11/site-packages/werkzeug/datastructures/headers.py:330: DeprecationWarning: Passing bytes as a header value is deprecated and will not be supported in Werkzeug 3.0. _value = _str_header_value(_value) ......................... ====================================================================== ERROR: test_base64 (__main__.HttpbinTestCase.test_base64) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 167, in test_base64 response = self.app.get(b'/base64/' + b64_encoded) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 1243, in get return self.open(*args, **kw) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/testing.py", line 231, in open request = self._request_from_builder_args(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/testing.py", line 203, in _request_from_builder_args return builder.get_request() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 796, in get_request return cls(self.get_environ()) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 738, in get_environ raw_uri = _wsgi_encoding_dance(self.request_uri, self.charset) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/_internal.py", line 124, in _wsgi_encoding_dance return s.encode(charset).decode("latin1", errors) ^^^^^^^^ AttributeError: 'bytes' object has no attribute 'encode' ====================================================================== FAIL: test_digest_auth (__main__.HttpbinTestCase.test_digest_auth) Test different combinations of digest auth parameters ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 305, in test_digest_auth self._test_digest_auth(username, password, qop, algorithm, body, stale_after) File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 335, in _test_digest_auth self._digest_auth_stale_after_check(header, username, password, uri, body, qop, stale_after) File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 366, in _digest_auth_stale_after_check self.assertIn('stale=TRUE', header) AssertionError: 'stale=TRUE' not found in 'Digest realm="me@kennethreitz.com", nonce="262f10ec0c8f9ac962414ffe71983b13", qop="auth, auth-int", stale=True, opaque="4ff2b55f3bc1b26fd920b1fab7664959", algorithm=MD5' ====================================================================== FAIL: test_digest_auth_wrong_pass (__main__.HttpbinTestCase.test_digest_auth_wrong_pass) Test different combinations of digest auth parameters ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 407, in test_digest_auth_wrong_pass self._test_digest_auth_wrong_pass(username, password, qop, algorithm, body, 3) File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 424, in _test_digest_auth_wrong_pass self.assertIn('stale=TRUE', header) AssertionError: 'stale=TRUE' not found in 'Digest realm="me@kennethreitz.com", nonce="18b20b09ba1f89c8d91dd4453de69e94", qop="auth, auth-int", stale=True, opaque="420b4dda9e7225c0781ff97430e15cdc", algorithm=MD5' ---------------------------------------------------------------------- Ran 63 tests in 5.351s FAILED (failures=2, errors=1) error: Bad exit status from /var/tmp/rpm-tmp.QK0HsH (%check) Bad exit status from /var/tmp/rpm-tmp.QK0HsH (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec