Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', 'c6b610265cea4e7c86adf164f50f406e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', 'ab1ec07082d14f7b9c3f498279fee3df', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NLCgj4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf repo-2.35 + /usr/bin/mkdir -p repo-2.35 + cd repo-2.35 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/repo-2.35.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.oGmh5Z + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/repo-2.35/.pyproject-builddir + echo -n + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + TMPDIR=/builddir/build/BUILD/repo-2.35/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/repo-2.35/pyproject-wheeldir --output /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' repo + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', '4509dbea80764890b5461d8a3edf61e7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4UTlGl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf repo-2.35 + /usr/bin/mkdir -p repo-2.35 + cd repo-2.35 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/repo-2.35.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5vBSQk + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/repo-2.35/.pyproject-builddir + echo -n + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + TMPDIR=/builddir/build/BUILD/repo-2.35/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/repo-2.35/pyproject-wheeldir --output /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.1) running egg_info creating repo.egg-info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt writing manifest file 'repo.egg-info/SOURCES.txt' reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.1) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' repo + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', '9a2dbcef80e945978c522eda1c8ce5d8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EFkYST + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf repo-2.35 + /usr/bin/mkdir -p repo-2.35 + cd repo-2.35 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/repo-2.35.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Btf4Nx + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/repo-2.35/.pyproject-builddir + echo -n + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + TMPDIR=/builddir/build/BUILD/repo-2.35/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/repo-2.35/pyproject-wheeldir --output /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.1) running egg_info creating repo.egg-info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt writing manifest file 'repo.egg-info/SOURCES.txt' reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.1) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py312: OK (0.01 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py312 Requirement satisfied: tox (installed: tox 4.4.12) Handling black from tox --print-deps-only: py312 Requirement not satisfied: black Handling flake8 from tox --print-deps-only: py312 Requirement not satisfied: flake8 Handling pytest from tox --print-deps-only: py312 Requirement satisfied: pytest (installed: pytest 7.3.2) Handling pytest-timeout from tox --print-deps-only: py312 Requirement not satisfied: pytest-timeout running dist_info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/repo-2.35/repo-2.dist-info' + cat /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires + rm -rfv repo-2.dist-info/ removed 'repo-2.dist-info/LICENSE' removed 'repo-2.dist-info/METADATA' removed 'repo-2.dist-info/top_level.txt' removed directory 'repo-2.dist-info/' + sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' repo + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', '2739d6f607a343a788575f12e332e13a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XemVQR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf repo-2.35 + /usr/bin/mkdir -p repo-2.35 + cd repo-2.35 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/repo-2.35.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/repo-2.35-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.809dD0 + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/repo-2.35/.pyproject-builddir + echo -n + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + TMPDIR=/builddir/build/BUILD/repo-2.35/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/repo-2.35/pyproject-wheeldir --output /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.1) running egg_info creating repo.egg-info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt writing manifest file 'repo.egg-info/SOURCES.txt' reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.1) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py312: OK (0.01 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py312 Requirement satisfied: tox (installed: tox 4.4.12) Handling black from tox --print-deps-only: py312 Requirement satisfied: black (installed: black 23.7.0) Handling flake8 from tox --print-deps-only: py312 Requirement satisfied: flake8 (installed: flake8 6.0.0) Handling pytest from tox --print-deps-only: py312 Requirement satisfied: pytest (installed: pytest 7.3.2) Handling pytest-timeout from tox --print-deps-only: py312 Requirement satisfied: pytest-timeout (installed: pytest-timeout 2.1.0) running dist_info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/repo-2.35/repo-2.dist-info' + cat /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires + rm -rfv repo-2.dist-info/ removed 'repo-2.dist-info/LICENSE' removed 'repo-2.dist-info/METADATA' removed 'repo-2.dist-info/top_level.txt' removed directory 'repo-2.dist-info/' + sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' repo + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/repo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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', 'aff020a7954245f7bf287cb3975dc5a0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1692102061.323368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fhfeu_0s:/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 -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/repo.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ykIXAy + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/repo-2.35/.pyproject-builddir + echo -n + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + TMPDIR=/builddir/build/BUILD/repo-2.35/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/repo-2.35/pyproject-wheeldir --output /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.1) running egg_info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.1) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py312: OK (0.01 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py312 Requirement satisfied: tox (installed: tox 4.4.12) Handling black from tox --print-deps-only: py312 Requirement satisfied: black (installed: black 23.7.0) Handling flake8 from tox --print-deps-only: py312 Requirement satisfied: flake8 (installed: flake8 6.0.0) Handling pytest from tox --print-deps-only: py312 Requirement satisfied: pytest (installed: pytest 7.3.2) Handling pytest-timeout from tox --print-deps-only: py312 Requirement satisfied: pytest-timeout (installed: pytest-timeout 2.1.0) running dist_info writing repo.egg-info/PKG-INFO writing dependency_links to repo.egg-info/dependency_links.txt writing top-level names to repo.egg-info/top_level.txt reading manifest file 'repo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 1: 'graft' expects a single adding license file 'LICENSE' writing manifest file 'repo.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/repo-2.35/repo-2.dist-info' + cat /builddir/build/BUILD/repo-2.35-1.fc40.x86_64-pyproject-buildrequires + rm -rfv repo-2.dist-info/ removed 'repo-2.dist-info/LICENSE' removed 'repo-2.dist-info/METADATA' removed 'repo-2.dist-info/top_level.txt' removed directory 'repo-2.dist-info/' + sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' repo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RvoxP2 + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd repo-2.35 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ckd1YN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd repo-2.35 + install -Dpm0755 -t /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/bin repo + install -Dpm0644 -t /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/man/man1 man/repo-abandon.1 man/repo-branch.1 man/repo-branches.1 man/repo-checkout.1 man/repo-cherry-pick.1 man/repo-diff.1 man/repo-diffmanifests.1 man/repo-download.1 man/repo-forall.1 man/repo-gitc-delete.1 man/repo-gitc-init.1 man/repo-grep.1 man/repo-help.1 man/repo-info.1 man/repo-init.1 man/repo-list.1 man/repo-manifest.1 man/repo-overview.1 man/repo-prune.1 man/repo-rebase.1 man/repo-selfupdate.1 man/repo-smartsync.1 man/repo-stage.1 man/repo-start.1 man/repo-status.1 man/repo-sync.1 man/repo-upload.1 man/repo-version.1 man/repo.1 + install -Dpm0644 completion.bash /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/bash-completion/completions/repo + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.35-1.fc40 --unique-debug-suffix -2.35-1.fc40.x86_64 --unique-debug-src-base repo-2.35-1.fc40.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/repo-2.35 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/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 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Sik7bg + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd repo-2.35 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/repo-2.35/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/python3 -c 'import pytest; pytest.main()' ============================= test session starts ============================== platform linux -- Python 3.12.0rc1, pytest-7.3.2, pluggy-1.2.0 rootdir: /builddir/build/BUILD/repo-2.35 configfile: tox.ini plugins: timeout-2.1.0 timeout: 300.0s timeout method: signal timeout func_only: False collected 227 items tests/test_editor.py ... [ 1%] tests/test_error.py .. [ 2%] tests/test_git_command.py ........... [ 7%] tests/test_git_config.py ............. [ 12%] tests/test_git_superproject.py ............ [ 18%] tests/test_git_trace2_event_log.py ................ [ 25%] tests/test_hooks.py ... [ 26%] tests/test_manifest_xml.py ............................................. [ 46%] ... [ 47%] tests/test_platform_utils.py . [ 48%] tests/test_project.py F................... [ 56%] tests/test_repo_trace.py . [ 57%] tests/test_ssh.py ..... [ 59%] tests/test_subcmds.py .... [ 61%] tests/test_subcmds_init.py .. [ 62%] tests/test_subcmds_sync.py ............................. [ 74%] tests/test_update_manpages.py . [ 75%] tests/test_wrapper.py ...........................................EEEEEEE [ 97%] ...EEE [100%] ==================================== ERRORS ==================================== ______________ ERROR at setup of ResolveRepoRev.test_branch_name _______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ---------------------------- Captured stderr setup ----------------------------- repo: error: "git" failed with exit status 128 cwd: /tmp/repo-rev-testsedo785_3/remote cmd: ['git', 'commit', '--allow-empty', '-minit'] stderr: >> Author identity unknown >> >> *** Please tell me who you are. >> >> Run >> >> git config --global user.email "you@example.com" >> git config --global user.name "Your Name" >> >> to set your account's default identity. >> Omit --global to set the identity only in this repository. >> >> fatal: unable to auto-detect email address (got 'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)') ____________ ERROR at setup of ResolveRepoRev.test_explicit_branch _____________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ______________ ERROR at setup of ResolveRepoRev.test_explicit_tag ______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ______________ ERROR at setup of ResolveRepoRev.test_full_commit _______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure _____________ ERROR at setup of ResolveRepoRev.test_partial_commit _____________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ________________ ERROR at setup of ResolveRepoRev.test_tag_name ________________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ________________ ERROR at setup of ResolveRepoRev.test_unknown _________________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-testsedo785_3/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2fe4360> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-testsedo785_3/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure _______________ ERROR at setup of CheckRepoRev.test_verify_fails _______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-tests9dkw0too/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2b40f40> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure ---------------------------- Captured stderr setup ----------------------------- repo: error: "git" failed with exit status 128 cwd: /tmp/repo-rev-tests9dkw0too/remote cmd: ['git', 'commit', '--allow-empty', '-minit'] stderr: >> Author identity unknown >> >> *** Please tell me who you are. >> >> Run >> >> git config --global user.email "you@example.com" >> git config --global user.name "Your Name" >> >> to set your account's default identity. >> Omit --global to set the identity only in this repository. >> >> fatal: unable to auto-detect email address (got 'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)') ______________ ERROR at setup of CheckRepoRev.test_verify_ignore _______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-tests9dkw0too/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2b40f40> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure _______________ ERROR at setup of CheckRepoRev.test_verify_works _______________ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: > return run_command([GIT] + list(args), **kwargs) repo:647: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['git', 'commit', '--allow-empty', '-minit'] kwargs = {'cwd': '/tmp/repo-rev-tests9dkw0too/remote', 'stderr': -1, 'stdout': -1} check = True, cmd_input = None decode = .decode at 0x7fc8a2b40f40> proc = stdout = b'' stderr = b'Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.c...epository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n' dbg = ': git commit --allow-empty -minit' def run_command(cmd, **kwargs): """Run |cmd| and return its output.""" check = kwargs.pop('check', False) if kwargs.pop('capture_output', False): kwargs.setdefault('stdout', subprocess.PIPE) kwargs.setdefault('stderr', subprocess.PIPE) cmd_input = kwargs.pop('input', None) def decode(output): """Decode |output| to text.""" if output is None: return output try: return output.decode('utf-8') except UnicodeError: print('repo: warning: Invalid UTF-8 output:\ncmd: %r\n%r' % (cmd, output), file=sys.stderr) return output.decode('utf-8', 'backslashreplace') # Run & package the results. proc = subprocess.Popen(cmd, **kwargs) (stdout, stderr) = proc.communicate(input=cmd_input) dbg = ': ' + ' '.join(cmd) if cmd_input is not None: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' elif stderr == subprocess.STDOUT: dbg += ' 2>&1' trace.print(dbg) ret = RunResult(proc.returncode, decode(stdout), decode(stderr)) # If things failed, print useful debugging output. if check and ret.returncode: print('repo: error: "%s" failed with exit status %s' % (cmd[0], ret.returncode), file=sys.stderr) print(' cwd: %s\n cmd: %r' % (kwargs.get('cwd', os.getcwd()), cmd), file=sys.stderr) def _print_output(name, output): if output: print(' %s:\n >> %s' % (name, '\n >> '.join(output.splitlines())), file=sys.stderr) _print_output('stdout', ret.stdout) _print_output('stderr', ret.stderr) > raise RunError(ret) E wrapper.RunError: RunResult(returncode=128, stdout='', stderr='Author identity unknown\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email "you@example.com"\n git config --global user.name "Your Name"\n\nto set your account\'s default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got \'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)\')\n') repo:482: RunError During handling of the above exception, another exception occurred: cls = @classmethod def setUpClass(cls): # Create a repo to operate on, but do it once per-class. cls.tempdirobj = tempfile.TemporaryDirectory(prefix="repo-rev-tests") cls.GIT_DIR = cls.tempdirobj.name run_git = wrapper.Wrapper().run_git remote = os.path.join(cls.GIT_DIR, "remote") os.mkdir(remote) # Tests need to assume, that main is default branch at init, # which is not supported in config until 2.28. if git_command.git_require((2, 28, 0)): initstr = "--initial-branch=main" else: # Use template dir for init. templatedir = tempfile.mkdtemp(prefix=".test-template") with open(os.path.join(templatedir, "HEAD"), "w") as fp: fp.write("ref: refs/heads/main\n") initstr = "--template=" + templatedir run_git("init", initstr, cwd=remote) > run_git("commit", "--allow-empty", "-minit", cwd=remote) tests/test_wrapper.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('commit', '--allow-empty', '-minit') kwargs = {'capture_output': True, 'check': True, 'cwd': '/tmp/repo-rev-tests9dkw0too/remote'} def run_git(*args, **kwargs): """Run git and return execution details.""" kwargs.setdefault('capture_output', True) kwargs.setdefault('check', True) try: return run_command([GIT] + list(args), **kwargs) except OSError as e: print(file=sys.stderr) print('repo: error: "%s" is not available' % GIT, file=sys.stderr) print('repo: error: %s' % e, file=sys.stderr) print(file=sys.stderr) print('Please make sure %s is installed and in your path.' % GIT, file=sys.stderr) sys.exit(1) except RunError: > raise CloneFailure() E wrapper.CloneFailure repo:657: CloneFailure =================================== FAILURES =================================== _______________________ ReviewableBranchTests.test_smoke _______________________ self = def test_smoke(self): """A quick run through everything.""" with TempGitTree() as tempdir: fakeproj = FakeProject(tempdir) # Generate some commits. with open(os.path.join(tempdir, "readme"), "w") as fp: fp.write("txt") fakeproj.work_git.add("readme") > fakeproj.work_git.commit("-mAdd file") tests/test_project.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('-mAdd file',), kwargs = {}, cmdv = ['commit', '-mAdd file'] config = None, p = def runner(*args, **kwargs): cmdv = [] config = kwargs.pop("config", None) for k in kwargs: raise TypeError( "%s() got an unexpected keyword argument %r" % (name, k) ) if config is not None: for k, v in config.items(): cmdv.append("-c") cmdv.append("%s=%s" % (k, v)) cmdv.append(name) cmdv.extend(args) p = GitCommand( self._project, cmdv, bare=self._bare, gitdir=self._gitdir, capture_stdout=True, capture_stderr=True, ) if p.Wait() != 0: > raise GitError( "%s %s: %s" % (self._project.name, name, p.stderr) ) E error.GitError: fakeproject commit: Author identity unknown E E *** Please tell me who you are. E E Run E E git config --global user.email "you@example.com" E git config --global user.name "Your Name" E E to set your account's default identity. E Omit --global to set the identity only in this repository. E E fatal: unable to auto-detect email address (got 'mockbuild@aff020a7954245f7bf287cb3975dc5a0.(none)') project.py:3593: GitError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /tmp/repo-tests0362ya4y/.git/ =============================== warnings summary =============================== tests/test_git_config.py::GitConfigReadWriteTests::test_GetSyncAnalysisStateData /builddir/build/BUILD/repo-2.35/git_config.py:794: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). now = datetime.datetime.utcnow() tests/test_git_superproject.py: 12 warnings tests/test_git_trace2_event_log.py: 17 warnings /builddir/build/BUILD/repo-2.35/git_trace2_event_log.py:68: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). self.start = datetime.datetime.utcnow() tests/test_git_superproject.py: 14 warnings tests/test_git_trace2_event_log.py: 29 warnings /builddir/build/BUILD/repo-2.35/git_trace2_event_log.py:118: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). "time": datetime.datetime.utcnow().isoformat() + "Z", tests/test_git_trace2_event_log.py::EventLogTestCase::test_exit_event_result_integer tests/test_git_trace2_event_log.py::EventLogTestCase::test_exit_event_result_none /builddir/build/BUILD/repo-2.35/git_trace2_event_log.py:139: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). time_delta = datetime.datetime.utcnow() - self.start tests/test_wrapper.py::SetGitTrace2ParentSid::test_append tests/test_wrapper.py::SetGitTrace2ParentSid::test_first_set tests/test_wrapper.py::SetGitTrace2ParentSid::test_global_context /builddir/build/BUILD/repo-2.35/repo:711: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). now = datetime.datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_project.py::ReviewableBranchTests::test_smoke - error.GitEr... ERROR tests/test_wrapper.py::ResolveRepoRev::test_branch_name - wrapper.Clone... ERROR tests/test_wrapper.py::ResolveRepoRev::test_explicit_branch - wrapper.C... ERROR tests/test_wrapper.py::ResolveRepoRev::test_explicit_tag - wrapper.Clon... ERROR tests/test_wrapper.py::ResolveRepoRev::test_full_commit - wrapper.Clone... ERROR tests/test_wrapper.py::ResolveRepoRev::test_partial_commit - wrapper.Cl... ERROR tests/test_wrapper.py::ResolveRepoRev::test_tag_name - wrapper.CloneFai... ERROR tests/test_wrapper.py::ResolveRepoRev::test_unknown - wrapper.CloneFailure ERROR tests/test_wrapper.py::CheckRepoRev::test_verify_fails - wrapper.CloneF... ERROR tests/test_wrapper.py::CheckRepoRev::test_verify_ignore - wrapper.Clone... ERROR tests/test_wrapper.py::CheckRepoRev::test_verify_works - wrapper.CloneF... ============ 1 failed, 216 passed, 78 warnings, 10 errors in 2.09s ============= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: repo-2.35-1.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2d1UIl + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + DOCDIR=/builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/README.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/internal-fs-layout.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/manifest-format.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/python-support.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/release-process.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/repo-hooks.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + cp -pr /builddir/build/BUILD/repo-2.35/docs/windows.md /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/doc/repo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zcNN0p + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + LICENSEDIR=/builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/licenses/repo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/licenses/repo + cp -pr /builddir/build/BUILD/repo-2.35/LICENSE /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64/usr/share/licenses/repo + RPM_EC=0 ++ jobs -p + exit 0 Provides: repo = 2.35-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 Wrote: /builddir/build/SRPMS/repo-2.35-1.fc40.src.rpm Wrote: /builddir/build/RPMS/repo-2.35-1.fc40.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PVKbDi + umask 022 + cd /builddir/build/BUILD + cd repo-2.35 + /usr/bin/rm -rf /builddir/build/BUILDROOT/repo-2.35-1.fc40.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ojbZlg + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/repo-2.35-SPECPARTS + rm -rf repo-2.35 repo-2.35.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0