Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-coloredlogs.spec'], chrootPath='/var/lib/mock/f42-build-54950963-6531361/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e94a6065c40242bbb4c4c24198164f50', '-D', '/var/lib/mock/f42-build-54950963-6531361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-coloredlogs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/python-coloredlogs-15.0.1-10.fc42.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-coloredlogs.spec'], chrootPath='/var/lib/mock/f42-build-54950963-6531361/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8d25212be202425cb33b5a5b0a7a5584', '-D', '/var/lib/mock/f42-build-54950963-6531361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-coloredlogs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PYCogP + umask 022 + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + test -d /builddir/build/BUILD/python-coloredlogs-15.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-coloredlogs-15.0.1-build + /usr/bin/rm -rf /builddir/build/BUILD/python-coloredlogs-15.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-coloredlogs-15.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-coloredlogs-15.0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ayCIFv + umask 022 + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + rm -rf python-coloredlogs-15.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-coloredlogs-15.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-coloredlogs-15.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/120.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eIVU0p + umask 022 + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 python-coloredlogs-15.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/coloredlogs copying coloredlogs/__init__.py -> build/lib/coloredlogs copying coloredlogs/cli.py -> build/lib/coloredlogs copying coloredlogs/demo.py -> build/lib/coloredlogs copying coloredlogs/syslog.py -> build/lib/coloredlogs copying coloredlogs/tests.py -> build/lib/coloredlogs creating build/lib/coloredlogs/converter copying coloredlogs/converter/colors.py -> build/lib/coloredlogs/converter copying coloredlogs/converter/__init__.py -> build/lib/coloredlogs/converter + rm build/lib/coloredlogs/tests.py + sphinx-build-3.13 -nb html -d docs/build/doctrees docs docs/build/html Running Sphinx v7.3.7 making output directory... done loading intersphinx inventory from https://docs.python.org/2/objects.inv... loading intersphinx inventory from https://docs.python.org/3/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/2/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /2/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) loading intersphinx inventory from https://capturer.readthedocs.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://capturer.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='capturer.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError(": Failed to resolve 'capturer.readthedocs.io' ([Errno -3] Temporary failure in name resolution)")) loading intersphinx inventory from https://humanfriendly.readthedocs.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://humanfriendly.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='humanfriendly.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError(": Failed to resolve 'humanfriendly.readthedocs.io' ([Errno -3] Temporary failure in name resolution)")) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] api reading sources... [ 50%] changelog reading sources... [ 75%] index reading sources... [100%] readme looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 25%] api writing output... [ 50%] changelog writing output... [ 75%] index writing output... [100%] readme /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:1: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:9: WARNING: py:func reference target not found: logging.basicConfig /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:143: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:146: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:146: WARNING: py:data reference target not found: logging.WARNING /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:146: WARNING: py:data reference target not found: logging.INFO /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:150: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:159: WARNING: py:data reference target not found: logging.NOTSET /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:161: WARNING: py:data reference target not found: logging.NOTSET /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:161: WARNING: py:func reference target not found: logging.Logger.getEffectiveLevel /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:165: WARNING: py:data reference target not found: logging.WARNING /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:165: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:169: WARNING: py:data reference target not found: logging.WARNING /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:169: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:179: WARNING: py:func reference target not found: logging.Logger.getEffectiveLevel /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs:182: WARNING: py:data reference target not found: logging.INFO /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/docstring of coloredlogs.DEFAULT_LOG_LEVEL:1: WARNING: py:data reference target not found: logging.INFO /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/docstring of coloredlogs.FORMAT_STYLE_PATTERNS:1: WARNING: py:class reference target not found: python3:logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.auto_install:8: WARNING: py:func reference target not found: humanfriendly.coerce_boolean /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.auto_install:8: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:1: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:5: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:7: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:12: WARNING: py:class reference target not found: python3:logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:16: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:16: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:16: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:16: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:23: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:26: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:26: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:26: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:26: WARNING: py:func reference target not found: humanfriendly.terminal.terminal_supports_colors /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:30: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:36: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:36: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:42: WARNING: py:func reference target not found: logging.basicConfig /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:class reference target not found: logging.StreamHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:data reference target not found: sys.stdout /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:data reference target not found: sys.stderr /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:func reference target not found: logging.basicConfig /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:46: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:55: WARNING: py:class reference target not found: logging.StreamHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:55: WARNING: py:data reference target not found: sys.stderr /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.install:60: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.check_style:5: WARNING: py:exc reference target not found: exceptions.ValueError /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.adjust_level:3: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.adjust_level:11: WARNING: py:func reference target not found: logging.Logger.getEffectiveLevel /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_hostname:3: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_hostname:7: WARNING: py:func reference target not found: socket.gethostname /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_program_name:5: WARNING: py:data reference target not found: sys.argv /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_program_name:7: WARNING: py:data reference target not found: sys.executable /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_username:5: WARNING: py:mod reference target not found: pwd /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_username:5: WARNING: py:func reference target not found: getpass.getuser /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.replace_handler:5: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.replace_handler:5: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.replace_handler:9: WARNING: py:class reference target not found: logging.Handler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.replace_handler:9: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.replace_handler:11: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:3: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:4: WARNING: py:class reference target not found: logging.Handler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:4: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:4: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:10: WARNING: py:class reference target not found: logging.Handler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:10: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:12: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:12: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:15: WARNING: py:class reference target not found: logging.Logger.handlers /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.find_handler:24: WARNING: py:attr reference target not found: logging.Logger.propagate /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:3: WARNING: py:class reference target not found: logging.Handler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:4: WARNING: py:data reference target not found: sys.stdout /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:4: WARNING: py:data reference target not found: sys.stderr /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:6: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:6: WARNING: py:class reference target not found: logging.StreamHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.match_stream_handler:6: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.walk_propagation_tree:3: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.walk_propagation_tree:5: WARNING: py:class reference target not found: logging.Logger /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.walk_propagation_tree:7: WARNING: py:class reference target not found: logging.Logger.parent /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.BasicFormatter:1: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.BasicFormatter:3: WARNING: py:class reference target not found: logging.Formatter generating indices... /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.BasicFormatter.formatTime:3: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.BasicFormatter.formatTime:7: WARNING: py:func reference target not found: logging.Formatter.formatTime /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter:1: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter:6: WARNING: py:func reference target not found: humanfriendly.terminal.enable_ansi_support /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter.__init__:4: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter.colorize_format:8: WARNING: py:class reference target not found: logging.Formatter /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter.format:3: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter.format:4: WARNING: py:func reference target not found: logging.Formatter.format /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ColoredFormatter.format:6: WARNING: py:func reference target not found: logging.Formatter.format /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.Empty:1: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.HostNameFilter:3: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.HostNameFilter:3: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.HostNameFilter.filter:1: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ProgramNameFilter:3: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ProgramNameFilter:3: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.ProgramNameFilter.filter:1: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.UserNameFilter:3: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.UserNameFilter.filter:1: WARNING: py:class reference target not found: logging.LogRecord /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.StandardErrorHandler:1: WARNING: py:class reference target not found: logging.StreamHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.StandardErrorHandler:1: WARNING: py:data reference target not found: sys.stderr /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.StandardErrorHandler.stream:1: WARNING: py:data reference target not found: sys.stderr /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.FormatStringParser:3: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/__init__.py:docstring of coloredlogs.FormatStringToken:5: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.convert:4: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.convert:7: WARNING: py:func reference target not found: str.expandtabs /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.encode_whitespace:4: WARNING: py:func reference target not found: str.expandtabs /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.parse_hex_color:6: WARNING: py:exc reference target not found: exceptions.ValueError /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.ColoredCronMailer:8: WARNING: py:mod reference target not found: capturer /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/converter/__init__.py:docstring of coloredlogs.converter.ColoredCronMailer:8: WARNING: py:mod reference target not found: capturer /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog:1: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:1: WARNING: py:mod reference target not found: logging /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:7: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:9: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:12: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:16: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:16: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:16: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.enable_system_logging:16: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:1: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:6: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:8: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:11: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:11: WARNING: py:data reference target not found: None /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:18: WARNING: py:data reference target not found: socket.SOCK_RAW /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.connect_to_syslog:20: WARNING: py:data reference target not found: socket.SOCK_STREAM /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.find_syslog_address:3: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.find_syslog_address:6: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.is_syslog_supported:5: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.is_syslog_supported:5: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.is_syslog_supported:12: WARNING: py:func reference target not found: humanfriendly.coerce_boolean /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.match_syslog_handler:3: WARNING: py:class reference target not found: logging.Handler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.match_syslog_handler:4: WARNING: py:data reference target not found: True /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.match_syslog_handler:4: WARNING: py:class reference target not found: logging.handlers.SysLogHandler /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/coloredlogs/syslog.py:docstring of coloredlogs.syslog.match_syslog_handler:4: WARNING: py:data reference target not found: False /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/CHANGELOG.rst:180: WARNING: py:func reference target not found: subprocess.check_call /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/CHANGELOG.rst:183: WARNING: py:exc reference target not found: exceptions.TypeError genindex py-modindex done highlighting module code... [ 33%] coloredlogs highlighting module code... [ 67%] coloredlogs.converter highlighting module code... [100%] coloredlogs.syslog writing additional pages... search done copying images... [ 25%] images/defaults.png copying images... [ 50%] images/custom-log-format.png copying images... [ 75%] images/custom-datetime-format.png copying images... [100%] images/custom-colors.png dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 141 warnings. The HTML pages are in docs/build/html. + rm docs/build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j47tx7 + umask 022 + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + '[' /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-coloredlogs-15.0.1-build + mkdir /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 python-coloredlogs-15.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT --prefix /usr /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running install /usr/lib/python3.13/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/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr creating /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib creating /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13 creating /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages creating /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs copying build/lib/coloredlogs/__init__.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs copying build/lib/coloredlogs/cli.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs copying build/lib/coloredlogs/demo.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs copying build/lib/coloredlogs/syslog.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs creating /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter copying build/lib/coloredlogs/converter/colors.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter copying build/lib/coloredlogs/converter/__init__.py -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/cli.py to cli.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/demo.py to demo.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/syslog.py to syslog.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter/colors.py to colors.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter/__init__.py to __init__.cpython-313.pyc writing byte-compilation script '/tmp/tmplnsyv_5q.py' /usr/bin/python3 /tmp/tmplnsyv_5q.py removing /tmp/tmplnsyv_5q.py running install_data copying coloredlogs.pth -> /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages running install_egg_info running egg_info creating coloredlogs.egg-info writing coloredlogs.egg-info/PKG-INFO writing dependency_links to coloredlogs.egg-info/dependency_links.txt writing entry points to coloredlogs.egg-info/entry_points.txt writing requirements to coloredlogs.egg-info/requires.txt writing top-level names to coloredlogs.egg-info/top_level.txt writing manifest file 'coloredlogs.egg-info/SOURCES.txt' reading manifest file 'coloredlogs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'coloredlogs.egg-info/SOURCES.txt' Copying coloredlogs.egg-info to /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs-15.0.1-py3.13.egg-info running install_scripts Installing coloredlogs script to /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/bin + rm -rfv /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__pycache__/demo.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__pycache__/cli.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__pycache__/cli.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter/__pycache__/colors.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/converter/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__pycache__/syslog.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/lib/python3.13/site-packages/coloredlogs/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents Scanned 11 directories and 26 files, processed 7 inodes, 7 modified (2 replaced + 5 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vu2bye + umask 022 + cd /builddir/build/BUILD/python-coloredlogs-15.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 python-coloredlogs-15.0.1 + mkdir -p fakesite + echo 'import site; site.addsitedir(site.USER_SITE)' + PATH=/builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1/fakesite + PYTHONUSERBASE=/builddir/build/BUILD/python-coloredlogs-15.0.1-build/BUILDROOT/usr + PYTHONUNBUFFERED=1 + py.test-3.13 coloredlogs/tests.py ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-coloredlogs-15.0.1-build/python-coloredlogs-15.0.1 configfile: tox.ini collecting ... collected 35 items coloredlogs/tests.py::ColoredLogsTestCase::test_auto_disable PASSED [ 2%] coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install PASSED [ 5%] coloredlogs/tests.py::ColoredLogsTestCase::test_cli_conversion FAILED [ 8%] coloredlogs/tests.py::ColoredLogsTestCase::test_cli_demo PASSED [ 11%] coloredlogs/tests.py::ColoredLogsTestCase::test_custom_record_factory PASSED [ 14%] coloredlogs/tests.py::ColoredLogsTestCase::test_decrease_verbosity PASSED [ 17%] coloredlogs/tests.py::ColoredLogsTestCase::test_disable_colored_cron_mailer PASSED [ 20%] coloredlogs/tests.py::ColoredLogsTestCase::test_dynamic_stderr_lookup PASSED [ 22%] coloredlogs/tests.py::ColoredLogsTestCase::test_empty_conversion FAILED [ 25%] coloredlogs/tests.py::ColoredLogsTestCase::test_enable_colored_cron_mailer PASSED [ 28%] coloredlogs/tests.py::ColoredLogsTestCase::test_env_disable PASSED [ 31%] coloredlogs/tests.py::ColoredLogsTestCase::test_explicit_usage_message PASSED [ 34%] coloredlogs/tests.py::ColoredLogsTestCase::test_find_handler PASSED [ 37%] coloredlogs/tests.py::ColoredLogsTestCase::test_find_hostname PASSED [ 40%] coloredlogs/tests.py::ColoredLogsTestCase::test_force_enable PASSED [ 42%] coloredlogs/tests.py::ColoredLogsTestCase::test_host_name_filter PASSED [ 45%] coloredlogs/tests.py::ColoredLogsTestCase::test_html_conversion PASSED [ 48%] coloredlogs/tests.py::ColoredLogsTestCase::test_implicit_usage_message PASSED [ 51%] coloredlogs/tests.py::ColoredLogsTestCase::test_increase_verbosity PASSED [ 54%] coloredlogs/tests.py::ColoredLogsTestCase::test_is_verbose PASSED [ 57%] coloredlogs/tests.py::ColoredLogsTestCase::test_level_discovery PASSED [ 60%] coloredlogs/tests.py::ColoredLogsTestCase::test_level_to_number PASSED [ 62%] coloredlogs/tests.py::ColoredLogsTestCase::test_name_normalization PASSED [ 65%] coloredlogs/tests.py::ColoredLogsTestCase::test_output_interception FAILED [ 68%] coloredlogs/tests.py::ColoredLogsTestCase::test_plain_text_output_format PASSED [ 71%] coloredlogs/tests.py::ColoredLogsTestCase::test_program_name_filter PASSED [ 74%] coloredlogs/tests.py::ColoredLogsTestCase::test_style_parsing PASSED [ 77%] coloredlogs/tests.py::ColoredLogsTestCase::test_support_for_milliseconds PASSED [ 80%] coloredlogs/tests.py::ColoredLogsTestCase::test_support_for_milliseconds_directive PASSED [ 82%] coloredlogs/tests.py::ColoredLogsTestCase::test_syslog_shortcut_enhanced SKIPPED [ 85%] coloredlogs/tests.py::ColoredLogsTestCase::test_syslog_shortcut_simple SKIPPED [ 88%] coloredlogs/tests.py::ColoredLogsTestCase::test_system_logging SKIPPED [ 91%] coloredlogs/tests.py::ColoredLogsTestCase::test_system_logging_override PASSED [ 94%] coloredlogs/tests.py::ColoredLogsTestCase::test_username_filter PASSED [ 97%] coloredlogs/tests.py::ColoredLogsTestCase::test_walk_propagation_tree PASSED [100%] =================================== FAILURES =================================== ___________________ ColoredLogsTestCase.test_cli_conversion ____________________ self = def test_cli_conversion(self): """Test the command line HTML conversion.""" > output = main('coloredlogs', '--convert', 'coloredlogs', '--demo', capture=True) coloredlogs/tests.py:577: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ coloredlogs/tests.py:656: in main coloredlogs.cli.main() coloredlogs/cli.py:87: in main function() coloredlogs/cli.py:98: in convert_command_output captured_output = capture(command) coloredlogs/converter/__init__.py:83: in capture script = subprocess.Popen(command_line, stdout=subprocess.PIPE, stderr=dev_null) /usr/lib64/python3.13/subprocess.py:1036: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['script', '-qc', 'coloredlogs --demo', '/dev/null'] executable = b'script', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 26, c2pwrite = 27, errread = -1 errwrite = 23, restore_signals = True, gid = None, gids = None, uid = None umask = -1, start_new_session = False, process_group = -1 def _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session, process_group): """Execute program (POSIX version)""" if isinstance(args, (str, bytes)): args = [args] elif isinstance(args, os.PathLike): if shell: raise TypeError('path-like args is not allowed when ' 'shell is true') args = [args] else: args = list(args) if shell: # On Android the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell, "-c"] + args if executable: args[0] = executable if executable is None: executable = args[0] sys.audit("subprocess.Popen", executable, args, cwd, env) if (_USE_POSIX_SPAWN and os.path.dirname(executable) and preexec_fn is None and (not close_fds or _HAVE_POSIX_SPAWN_CLOSEFROM) and not pass_fds and cwd is None and (p2cread == -1 or p2cread > 2) and (c2pwrite == -1 or c2pwrite > 2) and (errwrite == -1 or errwrite > 2) and not start_new_session and process_group == -1 and gid is None and gids is None and uid is None and umask < 0): self._posix_spawn(args, executable, env, restore_signals, close_fds, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) return orig_executable = executable # For transferring possible exec failure from child to parent. # Data format: "exception name:hex errno:description" # Pickle is not used; it is complex and involves memory allocation. errpipe_read, errpipe_write = os.pipe() # errpipe_write must not be in the standard io 0, 1, or 2 fd range. low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) try: try: # We must avoid complex work that could involve # malloc or free in the child process to avoid # potential deadlocks, thus we do all this here. # and pass it to fork_exec() if env is not None: env_list = [] for k, v in env.items(): k = os.fsencode(k) if b'=' in k: raise ValueError("illegal environment variable name") env_list.append(k + b'=' + os.fsencode(v)) else: env_list = None # Use execv instead of execve. executable = os.fsencode(executable) if os.path.dirname(executable): executable_list = (executable,) else: # This matches the behavior of os._execvpe(). executable_list = tuple( os.path.join(os.fsencode(dir), executable) for dir in os.get_exec_path(env)) fds_to_keep = set(pass_fds) fds_to_keep.add(errpipe_write) self.pid = _fork_exec( args, executable_list, close_fds, tuple(sorted(map(int, fds_to_keep))), cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, start_new_session, process_group, gid, gids, uid, umask, preexec_fn, _USE_VFORK) self._child_created = True finally: # be sure the FD is closed no matter what os.close(errpipe_write) self._close_pipe_fds(p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break finally: # be sure the FD is closed no matter what os.close(errpipe_read) if errpipe_data: try: pid, sts = os.waitpid(self.pid, 0) if pid == self.pid: self._handle_exitstatus(sts) else: self.returncode = sys.maxsize except ChildProcessError: pass try: exception_name, hex_errno, err_msg = ( errpipe_data.split(b':', 2)) # The encoding here should match the encoding # written in by the subprocess implementations # like _posixsubprocess err_msg = err_msg.decode() except ValueError: exception_name = b'SubprocessError' hex_errno = b'0' err_msg = 'Bad exception data from child: {!r}'.format( bytes(errpipe_data)) child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) if err_msg == "noexec:chdir": err_msg = "" # The error must be from chdir(cwd). err_filename = cwd elif err_msg == "noexec": err_msg = "" err_filename = None else: err_filename = orig_executable if errno_num != 0: err_msg = os.strerror(errno_num) if err_filename is not None: > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: 'script' /usr/lib64/python3.13/subprocess.py:1966: FileNotFoundError ----------------------------- Captured stderr call ----------------------------- __________________ ColoredLogsTestCase.test_empty_conversion ___________________ self = def test_empty_conversion(self): """ Test that conversion of empty output produces no HTML. This test was added because I found that ``coloredlogs --convert`` when used in a cron job could cause cron to send out what appeared to be empty emails. On more careful inspection the body of those emails was ````. By not emitting the wrapper element when no other HTML is generated, cron will not send out an email. """ > output = main('coloredlogs', '--convert', 'true', capture=True) coloredlogs/tests.py:591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ coloredlogs/tests.py:656: in main coloredlogs.cli.main() coloredlogs/cli.py:87: in main function() coloredlogs/cli.py:98: in convert_command_output captured_output = capture(command) coloredlogs/converter/__init__.py:83: in capture script = subprocess.Popen(command_line, stdout=subprocess.PIPE, stderr=dev_null) /usr/lib64/python3.13/subprocess.py:1036: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['script', '-qc', 'true', '/dev/null'], executable = b'script' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None startupinfo = None, creationflags = 0, shell = False, p2cread = -1 p2cwrite = -1, c2pread = 31, c2pwrite = 33, errread = -1, errwrite = 30 restore_signals = True, gid = None, gids = None, uid = None, umask = -1 start_new_session = False, process_group = -1 def _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session, process_group): """Execute program (POSIX version)""" if isinstance(args, (str, bytes)): args = [args] elif isinstance(args, os.PathLike): if shell: raise TypeError('path-like args is not allowed when ' 'shell is true') args = [args] else: args = list(args) if shell: # On Android the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell, "-c"] + args if executable: args[0] = executable if executable is None: executable = args[0] sys.audit("subprocess.Popen", executable, args, cwd, env) if (_USE_POSIX_SPAWN and os.path.dirname(executable) and preexec_fn is None and (not close_fds or _HAVE_POSIX_SPAWN_CLOSEFROM) and not pass_fds and cwd is None and (p2cread == -1 or p2cread > 2) and (c2pwrite == -1 or c2pwrite > 2) and (errwrite == -1 or errwrite > 2) and not start_new_session and process_group == -1 and gid is None and gids is None and uid is None and umask < 0): self._posix_spawn(args, executable, env, restore_signals, close_fds, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) return orig_executable = executable # For transferring possible exec failure from child to parent. # Data format: "exception name:hex errno:description" # Pickle is not used; it is complex and involves memory allocation. errpipe_read, errpipe_write = os.pipe() # errpipe_write must not be in the standard io 0, 1, or 2 fd range. low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) try: try: # We must avoid complex work that could involve # malloc or free in the child process to avoid # potential deadlocks, thus we do all this here. # and pass it to fork_exec() if env is not None: env_list = [] for k, v in env.items(): k = os.fsencode(k) if b'=' in k: raise ValueError("illegal environment variable name") env_list.append(k + b'=' + os.fsencode(v)) else: env_list = None # Use execv instead of execve. executable = os.fsencode(executable) if os.path.dirname(executable): executable_list = (executable,) else: # This matches the behavior of os._execvpe(). executable_list = tuple( os.path.join(os.fsencode(dir), executable) for dir in os.get_exec_path(env)) fds_to_keep = set(pass_fds) fds_to_keep.add(errpipe_write) self.pid = _fork_exec( args, executable_list, close_fds, tuple(sorted(map(int, fds_to_keep))), cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, start_new_session, process_group, gid, gids, uid, umask, preexec_fn, _USE_VFORK) self._child_created = True finally: # be sure the FD is closed no matter what os.close(errpipe_write) self._close_pipe_fds(p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break finally: # be sure the FD is closed no matter what os.close(errpipe_read) if errpipe_data: try: pid, sts = os.waitpid(self.pid, 0) if pid == self.pid: self._handle_exitstatus(sts) else: self.returncode = sys.maxsize except ChildProcessError: pass try: exception_name, hex_errno, err_msg = ( errpipe_data.split(b':', 2)) # The encoding here should match the encoding # written in by the subprocess implementations # like _posixsubprocess err_msg = err_msg.decode() except ValueError: exception_name = b'SubprocessError' hex_errno = b'0' err_msg = 'Bad exception data from child: {!r}'.format( bytes(errpipe_data)) child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) if err_msg == "noexec:chdir": err_msg = "" # The error must be from chdir(cwd). err_filename = cwd elif err_msg == "noexec": err_msg = "" err_filename = None else: err_filename = orig_executable if errno_num != 0: err_msg = os.strerror(errno_num) if err_filename is not None: > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: 'script' /usr/lib64/python3.13/subprocess.py:1966: FileNotFoundError ----------------------------- Captured stderr call ----------------------------- _________________ ColoredLogsTestCase.test_output_interception _________________ self = def test_output_interception(self): """Test capturing of output from external commands.""" expected_output = 'testing, 1, 2, 3 ..' > actual_output = capture(['echo', expected_output]) coloredlogs/tests.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ coloredlogs/converter/__init__.py:83: in capture script = subprocess.Popen(command_line, stdout=subprocess.PIPE, stderr=dev_null) /usr/lib64/python3.13/subprocess.py:1036: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['script', '-qc', "echo 'testing, 1, 2, 3 ..'", '/dev/null'] executable = b'script', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 48, c2pwrite = 50, errread = -1 errwrite = 47, restore_signals = True, gid = None, gids = None, uid = None umask = -1, start_new_session = False, process_group = -1 def _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session, process_group): """Execute program (POSIX version)""" if isinstance(args, (str, bytes)): args = [args] elif isinstance(args, os.PathLike): if shell: raise TypeError('path-like args is not allowed when ' 'shell is true') args = [args] else: args = list(args) if shell: # On Android the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell, "-c"] + args if executable: args[0] = executable if executable is None: executable = args[0] sys.audit("subprocess.Popen", executable, args, cwd, env) if (_USE_POSIX_SPAWN and os.path.dirname(executable) and preexec_fn is None and (not close_fds or _HAVE_POSIX_SPAWN_CLOSEFROM) and not pass_fds and cwd is None and (p2cread == -1 or p2cread > 2) and (c2pwrite == -1 or c2pwrite > 2) and (errwrite == -1 or errwrite > 2) and not start_new_session and process_group == -1 and gid is None and gids is None and uid is None and umask < 0): self._posix_spawn(args, executable, env, restore_signals, close_fds, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) return orig_executable = executable # For transferring possible exec failure from child to parent. # Data format: "exception name:hex errno:description" # Pickle is not used; it is complex and involves memory allocation. errpipe_read, errpipe_write = os.pipe() # errpipe_write must not be in the standard io 0, 1, or 2 fd range. low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) try: try: # We must avoid complex work that could involve # malloc or free in the child process to avoid # potential deadlocks, thus we do all this here. # and pass it to fork_exec() if env is not None: env_list = [] for k, v in env.items(): k = os.fsencode(k) if b'=' in k: raise ValueError("illegal environment variable name") env_list.append(k + b'=' + os.fsencode(v)) else: env_list = None # Use execv instead of execve. executable = os.fsencode(executable) if os.path.dirname(executable): executable_list = (executable,) else: # This matches the behavior of os._execvpe(). executable_list = tuple( os.path.join(os.fsencode(dir), executable) for dir in os.get_exec_path(env)) fds_to_keep = set(pass_fds) fds_to_keep.add(errpipe_write) self.pid = _fork_exec( args, executable_list, close_fds, tuple(sorted(map(int, fds_to_keep))), cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, start_new_session, process_group, gid, gids, uid, umask, preexec_fn, _USE_VFORK) self._child_created = True finally: # be sure the FD is closed no matter what os.close(errpipe_write) self._close_pipe_fds(p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break finally: # be sure the FD is closed no matter what os.close(errpipe_read) if errpipe_data: try: pid, sts = os.waitpid(self.pid, 0) if pid == self.pid: self._handle_exitstatus(sts) else: self.returncode = sys.maxsize except ChildProcessError: pass try: exception_name, hex_errno, err_msg = ( errpipe_data.split(b':', 2)) # The encoding here should match the encoding # written in by the subprocess implementations # like _posixsubprocess err_msg = err_msg.decode() except ValueError: exception_name = b'SubprocessError' hex_errno = b'0' err_msg = 'Bad exception data from child: {!r}'.format( bytes(errpipe_data)) child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) if err_msg == "noexec:chdir": err_msg = "" # The error must be from chdir(cwd). err_filename = cwd elif err_msg == "noexec": err_msg = "" err_filename = None else: err_filename = orig_executable if errno_num != 0: err_msg = os.strerror(errno_num) if err_filename is not None: > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: 'script' /usr/lib64/python3.13/subprocess.py:1966: FileNotFoundError ----------------------------- Captured stderr call ----------------------------- =========================== short test summary info ============================ FAILED coloredlogs/tests.py::ColoredLogsTestCase::test_cli_conversion - FileN... FAILED coloredlogs/tests.py::ColoredLogsTestCase::test_empty_conversion - Fil... FAILED coloredlogs/tests.py::ColoredLogsTestCase::test_output_interception - ... =================== 3 failed, 29 passed, 3 skipped in 1.30s ==================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.vu2bye (%check) Bad exit status from /var/tmp/rpm-tmp.vu2bye (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8d25212be202425cb33b5a5b0a7a5584 -D /var/lib/mock/f42-build-54950963-6531361/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-coloredlogs.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 8d25212be202425cb33b5a5b0a7a5584 -D /var/lib/mock/f42-build-54950963-6531361/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5pal9k89:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-coloredlogs.spec'