Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/f42-build-54839182-6530476/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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', 'b9d1ae414f48461cae56bc8bf3610f43', '-D', '/var/lib/mock/f42-build-54839182-6530476/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', '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=1721260800 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.19.0-3.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/f42-build-54839182-6530476/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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', '63cc17c82def45a29c30a3926bbf8b64', '-D', '/var/lib/mock/f42-build-54839182-6530476/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', '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=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.TMZzKX + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + test -d /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + /usr/bin/rm -rf /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JV8dPJ + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + rm -rf client_golang-1.19.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/client_golang-1.19.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd client_golang-1.19.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/vendor + [[ ! -e /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin install: creating directory '/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build' install: creating directory '/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus/client_golang ]] ++ dirname /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus/client_golang + install -m 0755 -vd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus install: creating directory '/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src' install: creating directory '/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus' + ln -fs /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0 /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus/client_golang + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus/client_golang + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-ADd-metrics-for-go1.23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf .bingo examples tutorial + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wQkfOK + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + cd client_golang-1.19.0 + GOPATH=/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/prometheus/client_golang --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.19.0-3.fc42.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 --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/f42-build-54839182-6530476/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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', '4c5190b72f2e4a69b31e43a1bcff1a89', '-D', '/var/lib/mock/f42-build-54839182-6530476/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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 --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', '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=1721260800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9OHkTg + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + cd client_golang-1.19.0 + GOPATH=/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/prometheus/client_golang --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.19.0-3.fc42.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 --noclean --target x86_64 /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/f42-build-54839182-6530476/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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', 'f52b89c8157a49a5a8f52f34ebdb8c40', '-D', '/var/lib/mock/f42-build-54839182-6530476/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rkdjxsuh:/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 --noclean --target x86_64 /builddir/build/SPECS/golang-github-prometheus-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', '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=1721260800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2qTsKV + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + cd client_golang-1.19.0 + GOPATH=/builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/prometheus/client_golang --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.95cAWB + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + '[' /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + mkdir /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT + cd client_golang-1.19.0 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src/github.com/prometheus/client_golang + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/prometheus/client_golang -b /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin -s /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build -o golang-github-prometheus-client-devel.file-list -O /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0 -V 1.19.0-3.fc42 -p /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/prometheus/client_golang + IFS= +++ realpath -e --relative-base=. examples CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md SECURITY.md CHANGELOG.md README.md README-prometheus.md +++ sort -u realpath: examples: No such file or directory realpath: README-prometheus.md: No such file or directory ++ listfiles_include='CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md' ++ echo 'CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md' + godocs='CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md' + [[ -n CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md ]] + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"MAINTAINERS.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"SECURITY.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE NOTICE +++ sort -u ++ listfiles_include='LICENSE NOTICE' ++ echo 'LICENSE NOTICE' + golicenses='LICENSE NOTICE' + [[ -n LICENSE NOTICE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"NOTICE"' + IFS= + read -r f + mv prometheus/README.md README-prometheus.md + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT Scanned 22 directories and 126 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.t1Ttn5 + umask 022 + cd /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build + cd client_golang-1.19.0 + for test in "TestSummaryDecay" "TestMemStatsEquivalence" "TestBuckets" "TestNativeHistogram" ++ grep -rl TestSummaryDecay + awk -i inplace '/^func.*TestSummaryDecay\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' prometheus/summary_test.go + for test in "TestSummaryDecay" "TestMemStatsEquivalence" "TestBuckets" "TestNativeHistogram" ++ grep -rl TestMemStatsEquivalence + awk -i inplace '/^func.*TestMemStatsEquivalence\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' prometheus/go_collector_latest_test.go + for test in "TestSummaryDecay" "TestMemStatsEquivalence" "TestBuckets" "TestNativeHistogram" ++ grep -rl TestBuckets + awk -i inplace '/^func.*TestBuckets\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' prometheus/histogram_test.go + for test in "TestSummaryDecay" "TestMemStatsEquivalence" "TestBuckets" "TestNativeHistogram" ++ grep -rl TestNativeHistogram + awk -i inplace '/^func.*TestNativeHistogram\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' prometheus/histogram_test.go + GO_LDFLAGS=' -X github.com/prometheus/client_golang/version=1.19.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ' + go-rpm-integration check -i github.com/prometheus/client_golang -b /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin -s /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build -V 1.19.0-3.fc42 -p /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/src PATH: /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-github-prometheus-client-1.19.0-build/client_golang-1.19.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/prometheus/client_golang/version=1.19.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 '" testing: github.com/prometheus/client_golang github.com/prometheus/client_golang/api PASS ok github.com/prometheus/client_golang/api 0.005s github.com/prometheus/client_golang/api PASS ok github.com/prometheus/client_golang/api 0.004s github.com/prometheus/client_golang/api/prometheus/v1 PASS ok github.com/prometheus/client_golang/api/prometheus/v1 0.015s github.com/prometheus/client_golang/api/prometheus/v1 PASS ok github.com/prometheus/client_golang/api/prometheus/v1 0.014s github.com/prometheus/client_golang/prometheus --- FAIL: TestGoCollector_ExposedMetrics (0.00s) --- FAIL: TestGoCollector_ExposedMetrics/#02 (0.00s) go_collector_latest_test.go:123: found unexpected metric go_godebug_non_default_behavior_asynctimerchan_events_total --- FAIL: TestExpectedRuntimeMetrics (0.00s) go_collector_latest_test.go:324: found new runtime/metrics metric /godebug/non-default-behavior/asynctimerchan:events go_collector_latest_test.go:376: a new Go version may have been detected, please run go_collector_latest_test.go:377: go run gen_go_collector_metrics_set.go go1.X go_collector_latest_test.go:378: where X is the Go version you are currently using FAIL exit status 1 FAIL github.com/prometheus/client_golang/prometheus 19.610s error: Bad exit status from /var/tmp/rpm-tmp.t1Ttn5 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.t1Ttn5 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f52b89c8157a49a5a8f52f34ebdb8c40 -D /var/lib/mock/f42-build-54839182-6530476/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rkdjxsuh:/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 --noclean --target x86_64 /builddir/build/SPECS/golang-github-prometheus-client.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f52b89c8157a49a5a8f52f34ebdb8c40 -D /var/lib/mock/f42-build-54839182-6530476/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rkdjxsuh:/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 --noclean --target x86_64 /builddir/build/SPECS/golang-github-prometheus-client.spec'