Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-prometheus-client.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-348919-70434/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-prometheus-client.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=1705536000 Wrote: /builddir/build/SRPMS/python-prometheus-client-0.19.0-1.an23.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-prometheus-client.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-348919-70434/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-prometheus-client.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=1705536000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SrFxdC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prometheus_client-0.19.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prometheus_client-0.19.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus_client-0.19.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf prometheus-client.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vCiJdZ + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 prometheus_client-0.19.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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/prometheus_client copying prometheus_client/__init__.py -> build/lib/prometheus_client copying prometheus_client/asgi.py -> build/lib/prometheus_client copying prometheus_client/context_managers.py -> build/lib/prometheus_client copying prometheus_client/core.py -> build/lib/prometheus_client copying prometheus_client/decorator.py -> build/lib/prometheus_client copying prometheus_client/exposition.py -> build/lib/prometheus_client copying prometheus_client/gc_collector.py -> build/lib/prometheus_client copying prometheus_client/metrics.py -> build/lib/prometheus_client copying prometheus_client/metrics_core.py -> build/lib/prometheus_client copying prometheus_client/mmap_dict.py -> build/lib/prometheus_client copying prometheus_client/multiprocess.py -> build/lib/prometheus_client copying prometheus_client/parser.py -> build/lib/prometheus_client copying prometheus_client/platform_collector.py -> build/lib/prometheus_client copying prometheus_client/process_collector.py -> build/lib/prometheus_client copying prometheus_client/registry.py -> build/lib/prometheus_client copying prometheus_client/samples.py -> build/lib/prometheus_client copying prometheus_client/utils.py -> build/lib/prometheus_client copying prometheus_client/values.py -> build/lib/prometheus_client creating build/lib/prometheus_client/bridge copying prometheus_client/bridge/__init__.py -> build/lib/prometheus_client/bridge copying prometheus_client/bridge/graphite.py -> build/lib/prometheus_client/bridge creating build/lib/prometheus_client/openmetrics copying prometheus_client/openmetrics/__init__.py -> build/lib/prometheus_client/openmetrics copying prometheus_client/openmetrics/exposition.py -> build/lib/prometheus_client/openmetrics copying prometheus_client/openmetrics/parser.py -> build/lib/prometheus_client/openmetrics creating build/lib/prometheus_client/twisted copying prometheus_client/twisted/__init__.py -> build/lib/prometheus_client/twisted copying prometheus_client/twisted/_exposition.py -> build/lib/prometheus_client/twisted copying prometheus_client/py.typed -> build/lib/prometheus_client + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IMdjtI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 prometheus_client-0.19.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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/asgi.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/context_managers.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/core.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/decorator.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/exposition.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/gc_collector.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/metrics.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/metrics_core.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/mmap_dict.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/multiprocess.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/parser.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/platform_collector.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/process_collector.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/registry.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/samples.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/utils.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client copying build/lib/prometheus_client/values.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/bridge copying build/lib/prometheus_client/bridge/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/bridge copying build/lib/prometheus_client/bridge/graphite.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/bridge creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics copying build/lib/prometheus_client/openmetrics/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics copying build/lib/prometheus_client/openmetrics/exposition.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics copying build/lib/prometheus_client/openmetrics/parser.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics creating /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/twisted copying build/lib/prometheus_client/twisted/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/twisted copying build/lib/prometheus_client/twisted/_exposition.py -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/twisted copying build/lib/prometheus_client/py.typed -> /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/asgi.py to asgi.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/context_managers.py to context_managers.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/core.py to core.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/decorator.py to decorator.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/exposition.py to exposition.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/gc_collector.py to gc_collector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/metrics.py to metrics.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/metrics_core.py to metrics_core.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/mmap_dict.py to mmap_dict.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/multiprocess.py to multiprocess.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/parser.py to parser.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/platform_collector.py to platform_collector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/process_collector.py to process_collector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/registry.py to registry.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/samples.py to samples.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/values.py to values.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/bridge/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/bridge/graphite.py to graphite.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/exposition.py to exposition.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/parser.py to parser.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/twisted/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client/twisted/_exposition.py to _exposition.cpython-310.pyc writing byte-compilation script '/tmp/tmppjrsk7a9.py' /usr/bin/python3 /tmp/tmppjrsk7a9.py removing /tmp/tmppjrsk7a9.py running install_egg_info running egg_info writing prometheus_client.egg-info/PKG-INFO writing dependency_links to prometheus_client.egg-info/dependency_links.txt writing requirements to prometheus_client.egg-info/requires.txt writing top-level names to prometheus_client.egg-info/top_level.txt reading manifest file 'prometheus_client.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution no previously-included directories found matching '__pycache__' no previously-included directories found matching '*/__pycache__' adding license file 'LICENSE' adding license file 'NOTICE' writing manifest file 'prometheus_client.egg-info/SOURCES.txt' Copying prometheus_client.egg-info to /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10/site-packages/prometheus_client-0.19.0-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.19.0-1.an23 --unique-debug-suffix -0.19.0-1.an23.noarch --unique-debug-src-base python-prometheus-client-0.19.0-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prometheus_client-0.19.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-prometheus-client-0.19.0-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nKITON + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 prometheus_client-0.19.0 + /usr/bin/python3 setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing prometheus_client.egg-info/PKG-INFO writing dependency_links to prometheus_client.egg-info/dependency_links.txt writing requirements to prometheus_client.egg-info/requires.txt writing top-level names to prometheus_client.egg-info/top_level.txt reading manifest file 'prometheus_client.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution no previously-included directories found matching '__pycache__' no previously-included directories found matching '*/__pycache__' adding license file 'LICENSE' adding license file 'NOTICE' writing manifest file 'prometheus_client.egg-info/SOURCES.txt' running build_ext test_counter (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_counter_exemplar (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_counter_non_total_exemplar (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_counter_total (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_counter_unit (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_enum (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_escaping (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_gauge (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_gaugehistogram (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_gaugehistogram_negative_buckets (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_histogram (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_histogram_exemplar (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_histogram_negative_buckets (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_histogram_non_bucket_exemplar (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_info (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_nonnumber (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_summary (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_timestamp (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_unicode (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_untyped_exemplar (tests.openmetrics.test_exposition.TestGenerateText) ... ok test_counter_exemplars (tests.openmetrics.test_parser.TestParse) ... ok test_counter_exemplars_empty_brackets (tests.openmetrics.test_parser.TestParse) ... ok test_duplicate_timestamps (tests.openmetrics.test_parser.TestParse) ... ok test_empty_brackets (tests.openmetrics.test_parser.TestParse) ... ok test_empty_help (tests.openmetrics.test_parser.TestParse) ... ok test_empty_label (tests.openmetrics.test_parser.TestParse) ... ok test_empty_metadata (tests.openmetrics.test_parser.TestParse) ... ok test_escaping (tests.openmetrics.test_parser.TestParse) ... ok test_exemplars_with_hash_in_label_values (tests.openmetrics.test_parser.TestParse) ... ok test_fallback_to_state_machine_label_parsing (tests.openmetrics.test_parser.TestParse) ... ok test_float_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_gaugehistogram_exemplars (tests.openmetrics.test_parser.TestParse) ... ok test_hash_in_label_value (tests.openmetrics.test_parser.TestParse) ... ok test_help_escaping (tests.openmetrics.test_parser.TestParse) ... ok test_histogram_exemplars (tests.openmetrics.test_parser.TestParse) ... ok test_histogram_noncanonical (tests.openmetrics.test_parser.TestParse) ... ok test_info_timestamps (tests.openmetrics.test_parser.TestParse) ... ok test_invalid_input (tests.openmetrics.test_parser.TestParse) ... ok test_label_escaping (tests.openmetrics.test_parser.TestParse) ... ok test_labels_and_infinite (tests.openmetrics.test_parser.TestParse) ... ok test_labels_with_curly_braces (tests.openmetrics.test_parser.TestParse) ... ok test_leading_zeros_float_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_leading_zeros_simple_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_nan (tests.openmetrics.test_parser.TestParse) ... ok test_nan_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_negative_bucket_gaugehistogram (tests.openmetrics.test_parser.TestParse) ... ok test_negative_bucket_histogram (tests.openmetrics.test_parser.TestParse) ... ok test_no_metadata (tests.openmetrics.test_parser.TestParse) ... ok test_no_newline_after_eof (tests.openmetrics.test_parser.TestParse) ... ok test_null_byte (tests.openmetrics.test_parser.TestParse) ... ok test_roundtrip (tests.openmetrics.test_parser.TestParse) ... ok test_simple_counter (tests.openmetrics.test_parser.TestParse) ... ok test_simple_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_simple_gaugehistogram (tests.openmetrics.test_parser.TestParse) ... ok test_simple_histogram (tests.openmetrics.test_parser.TestParse) ... ok test_simple_histogram_float_values (tests.openmetrics.test_parser.TestParse) ... ok test_simple_info (tests.openmetrics.test_parser.TestParse) ... ok test_simple_stateset (tests.openmetrics.test_parser.TestParse) ... ok test_simple_summary (tests.openmetrics.test_parser.TestParse) ... ok test_summary_quantiles (tests.openmetrics.test_parser.TestParse) ... ok test_timestamps (tests.openmetrics.test_parser.TestParse) ... ok test_type_help_switched (tests.openmetrics.test_parser.TestParse) ... ok test_uint64_counter (tests.openmetrics.test_parser.TestParse) ... ok test_unit_gauge (tests.openmetrics.test_parser.TestParse) ... ok test_untyped (tests.openmetrics.test_parser.TestParse) ... ok test_gzip (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_gzip_disabled (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_openmetrics_encoding (tests.test_asgi.ASGITest) Response content type is application/openmetrics-text when appropriate Accept header is in request ... skipped "Don't have asyncio/asgi installed." test_plaintext_encoding (tests.test_asgi.ASGITest) Response content type is text/plain when Accept header is missing in request ... skipped "Don't have asyncio/asgi installed." test_report_metrics_1 (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_report_metrics_2 (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_report_metrics_3 (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_report_metrics_4 (tests.test_asgi.ASGITest) ... skipped "Don't have asyncio/asgi installed." test_core (unittest.loader._FailedTest) ... ERROR test_exposition (unittest.loader._FailedTest) ... ERROR test_empty (tests.test_gc_collector.TestGCCollector) ... ok test_working (tests.test_gc_collector.TestGCCollector) ... ok test_labels (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_labels_tags (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_nolabels (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_prefix (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_prefix_tags (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_sanitizing (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_sanitizing_tags (tests.test_graphite_bridge.TestGraphiteBridge) ... ok test_corruption_detected (tests.test_multiprocess.TestMmapedDict) ... ok /usr/lib64/python3.10/unittest/suite.py:107: ResourceWarning: unclosed file <_io.BufferedRandom name='/tmp/tmpwauwf5pc'> for index, test in enumerate(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback test_expansion (tests.test_multiprocess.TestMmapedDict) ... ok /usr/lib64/python3.10/unittest/suite.py:107: ResourceWarning: unclosed file <_io.BufferedRandom name='/tmp/tmp033w1rf7'> for index, test in enumerate(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback test_multi_expansion (tests.test_multiprocess.TestMmapedDict) ... ok /usr/lib64/python3.10/unittest/suite.py:107: ResourceWarning: unclosed file <_io.BufferedRandom name='/tmp/tmpbb5ta7_p'> for index, test in enumerate(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback test_process_restart (tests.test_multiprocess.TestMmapedDict) ... ok /usr/lib64/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file <_io.BufferedRandom name='/tmp/tmpzqbk6cyy'> return self.run(*args, **kwds) ResourceWarning: Enable tracemalloc to get the object allocation traceback test_collect (tests.test_multiprocess.TestMultiProcess) ... ok test_collect_preserves_help (tests.test_multiprocess.TestMultiProcess) ... ok test_counter_across_forks (tests.test_multiprocess.TestMultiProcess) ... ok test_counter_adds (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_all (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_liveall (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_livemax (tests.test_multiprocess.TestMultiProcess) ... /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp7cjb_5v1/counter_1.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp7cjb_5v1/gauge_all_1.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp7cjb_5v1/histogram_1.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmplwgyl8mi/counter_1.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpy0mjvn50/counter_123.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpy0mjvn50/counter_456.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpjcqzicvl/gauge_all_123.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpjcqzicvl/gauge_all_456.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmphh_m1mpi/gauge_liveall_123.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/values.py:55: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmphh_m1mpi/gauge_liveall_456.db' mode='ab+' closefd=True> class MmapedValue: ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_gauge_livemin (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_livemostrecent (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_livesum (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_max (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_min (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_mostrecent (tests.test_multiprocess.TestMultiProcess) ... ok test_gauge_sum (tests.test_multiprocess.TestMultiProcess) ... ok test_histogram_adds (tests.test_multiprocess.TestMultiProcess) ... /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpq8_9ro9w/gauge_livemin_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpq8_9ro9w/gauge_livemin_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp5qdrv5h0/gauge_livemostrecent_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp5qdrv5h0/gauge_livemostrecent_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp_j452fgq/gauge_livesum_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp_j452fgq/gauge_livesum_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp0wa9irjf/gauge_max_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp0wa9irjf/gauge_max_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpm3ha9j3i/gauge_min_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpm3ha9j3i/gauge_min_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpdxuk9i3d/gauge_mostrecent_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpdxuk9i3d/gauge_mostrecent_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpnp0z_lif/gauge_sum_123.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/prometheus_client-0.19.0/prometheus_client/multiprocess.py:153: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpnp0z_lif/gauge_sum_456.db' mode='ab+' closefd=True> metric.samples = [Sample(name_, dict(labels), value) for (name_, labels), value in samples.items()] ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_initialization_detects_pid_change (tests.test_multiprocess.TestMultiProcess) ... ok test_merge_no_accumulate (tests.test_multiprocess.TestMultiProcess) ... ok test_missing_gauge_file_during_merge (tests.test_multiprocess.TestMultiProcess) ... ok test_namespace_subsystem (tests.test_multiprocess.TestMultiProcess) ... ok test_summary_adds (tests.test_multiprocess.TestMultiProcess) ... ok test_deprecation_warning (tests.test_multiprocess.TestMultiProcessDeprecation) ... ok test_mark_process_dead_respects_lowercase (tests.test_multiprocess.TestMultiProcessDeprecation) ... ok test_file_syncpath (tests.test_multiprocess.TestUnsetEnv) ... ok test_unset_syncdir_env (tests.test_multiprocess.TestUnsetEnv) ... ok test_blank_lines_and_comments (tests.test_parser.TestParse) ... ok test_commas (tests.test_parser.TestParse) ... ok test_empty_brackets (tests.test_parser.TestParse) ... ok test_empty_help (tests.test_parser.TestParse) ... ok test_empty_label (tests.test_parser.TestParse) ... ok test_escaping (tests.test_parser.TestParse) ... ok test_help_escaping (tests.test_parser.TestParse) ... ok test_label_escaping (tests.test_parser.TestParse) ... ok test_labels_and_infinite (tests.test_parser.TestParse) ... ok test_labels_with_curly_braces (tests.test_parser.TestParse) ... ok test_multiple_trailing_commas (tests.test_parser.TestParse) ... ok test_nan (tests.test_parser.TestParse) ... ok test_no_metadata (tests.test_parser.TestParse) ... ok test_roundtrip (tests.test_parser.TestParse) ... ok test_simple_counter (tests.test_parser.TestParse) ... ok test_simple_gauge (tests.test_parser.TestParse) ... ok test_simple_histogram (tests.test_parser.TestParse) ... ok test_simple_summary (tests.test_parser.TestParse) ... ok test_spaces (tests.test_parser.TestParse) ... ok test_summary_quantiles (tests.test_parser.TestParse) ... ok test_tabs (tests.test_parser.TestParse) ... ok test_timestamps (tests.test_parser.TestParse) ... ok test_type_help_switched (tests.test_parser.TestParse) ... ok test_untyped (tests.test_parser.TestParse) ... ok test_python_info (tests.test_platform_collector.TestPlatformCollector) ... ok test_system_info_java (tests.test_platform_collector.TestPlatformCollector) ... ok test_namespace (tests.test_process_collector.TestProcessCollector) ... ok test_working (tests.test_process_collector.TestProcessCollector) ... ok test_working_584 (tests.test_process_collector.TestProcessCollector) ... ok test_working_fake_pid (tests.test_process_collector.TestProcessCollector) ... ok test_gt (tests.test_samples.TestSamples) ... ok test_lt (tests.test_samples.TestSamples) ... ok test_reports_metrics (tests.test_twisted.MetricsResourceTest) ``MetricsResource`` serves the metrics from the provided registry. ... ok /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpun2238b0/counter_1.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpdl8975fc/histogram_1.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpgqymsd6b/counter_123.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmph6uz2wy5/summary_123.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmph6uz2wy5/summary_456.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] /usr/lib64/python3.10/site-packages/zope/interface/ro.py:338: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmp7lgyprlr/counter_4170647.db' mode='ab+' closefd=True> [b for b in bases if b is not ignoring] runTest (twisted.trial._asynctest.TestCase) If no C{methodName} argument is passed to the constructor, L{run} will ... ok test_favicon_path (tests.test_wsgi.WSGITest) ... ok test_gzip (tests.test_wsgi.WSGITest) ... ok test_gzip_disabled (tests.test_wsgi.WSGITest) ... ok test_report_metrics_1 (tests.test_wsgi.WSGITest) ... ok test_report_metrics_2 (tests.test_wsgi.WSGITest) ... ok test_report_metrics_3 (tests.test_wsgi.WSGITest) ... ok test_report_metrics_4 (tests.test_wsgi.WSGITest) ... ok ====================================================================== ERROR: test_core (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_core Traceback (most recent call last): File "/usr/lib64/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/build/BUILD/prometheus_client-0.19.0/tests/test_core.py", line 6, in import pytest ModuleNotFoundError: No module named 'pytest' ====================================================================== ERROR: test_exposition (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_exposition Traceback (most recent call last): File "/usr/lib64/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/build/BUILD/prometheus_client-0.19.0/tests/test_exposition.py", line 7, in import pytest ModuleNotFoundError: No module named 'pytest' ---------------------------------------------------------------------- Ran 153 tests in 0.395s FAILED (errors=2, skipped=8) Test failed: b'# HELP hh A histogram\n# TYPE hh histogram\nhh_bucket{le="1.0"} 1.0 # {a="b"} 0.5 123.456\nhh_bucket{le="2.0"} 2.0 # {le="7"} 1.5 123.456\nhh_bucket{le="3.0"} 3.0 # {a="b"} 2.5 123.456\nhh_bucket{le="4.0"} 4.0 # {a="\\n\\"\\\\"} 3.5 123.456\nhh_bucket{le="+Inf"} 4.0\nhh_count 4.0\nhh_sum 8.0\nhh_created 123.456\n# EOF\n' error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.nKITON (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nKITON (%check) 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-prometheus-client.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 598, 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-prometheus-client.spec