Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-282290-27178/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.17.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-282290-27178/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JbQKHA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf client_golang-1.17.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/client_golang-1.17.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd client_golang-1.17.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/client_golang-1.17.0/vendor + [[ ! -e /builddir/build/BUILD/client_golang-1.17.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/client_golang-1.17.0/_build/bin install: creating directory '/builddir/build/BUILD/client_golang-1.17.0/_build' install: creating directory '/builddir/build/BUILD/client_golang-1.17.0/_build/bin' + export GOPATH=/builddir/build/BUILD/client_golang-1.17.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/client_golang-1.17.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus/client_golang ]] ++ dirname /builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus/client_golang + install -m 0755 -vd /builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus install: creating directory '/builddir/build/BUILD/client_golang-1.17.0/_build/src' install: creating directory '/builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus' + ln -fs /builddir/build/BUILD/client_golang-1.17.0 /builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus/client_golang + cd /builddir/build/BUILD/client_golang-1.17.0/_build/src/github.com/prometheus/client_golang + tar -xzf /builddir/build/SOURCES/vendor.tar.gz + rm -rf .bingo examples tutorial + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wyBDHA + umask 022 + cd /builddir/build/BUILD + cd client_golang-1.17.0 + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.17.0-1.ocs23.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 aarch64 --nodeps /builddir/build/SPECS/golang-github-prometheus-client.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-282290-27178/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EBcRcL + umask 022 + cd /builddir/build/BUILD + cd client_golang-1.17.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DEjqxo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 + cd client_golang-1.17.0 + cd /builddir/build/BUILD/client_golang-1.17.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/client_golang-1.17.0/_build/bin -s /builddir/build/BUILD/client_golang-1.17.0/_build -o golang-github-prometheus-client-devel.file-list -O /builddir/build/BUILD/client_golang-1.17.0 -V 1.17.0-1.ocs23 -p /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 -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/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KyZbwv + umask 022 + cd /builddir/build/BUILD + cd client_golang-1.17.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.17.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/prometheus/client_golang -b /builddir/build/BUILD/client_golang-1.17.0/_build/bin -s /builddir/build/BUILD/client_golang-1.17.0/_build -V 1.17.0-1.ocs23 -p /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/client_golang-1.17.0/_build/src PATH: /builddir/build/BUILD/client_golang-1.17.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/client_golang-1.17.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/prometheus/client_golang/version=1.17.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" 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.005s github.com/prometheus/client_golang/api/prometheus/v1 PASS ok github.com/prometheus/client_golang/api/prometheus/v1 0.018s github.com/prometheus/client_golang/api/prometheus/v1 PASS ok github.com/prometheus/client_golang/api/prometheus/v1 0.018s github.com/prometheus/client_golang/prometheus PASS ok github.com/prometheus/client_golang/prometheus 30.145s github.com/prometheus/client_golang/prometheus PASS ok github.com/prometheus/client_golang/prometheus 31.059s github.com/prometheus/client_golang/prometheus/collectors PASS ok github.com/prometheus/client_golang/prometheus/collectors 0.019s github.com/prometheus/client_golang/prometheus/collectors PASS ok github.com/prometheus/client_golang/prometheus/collectors 0.017s github.com/prometheus/client_golang/prometheus/graphite PASS ok github.com/prometheus/client_golang/prometheus/graphite 0.013s github.com/prometheus/client_golang/prometheus/graphite PASS ok github.com/prometheus/client_golang/prometheus/graphite 0.012s github.com/prometheus/client_golang/prometheus/internal PASS ok github.com/prometheus/client_golang/prometheus/internal 0.021s github.com/prometheus/client_golang/prometheus/internal PASS ok github.com/prometheus/client_golang/prometheus/internal 0.027s github.com/prometheus/client_golang/prometheus/promauto PASS ok github.com/prometheus/client_golang/prometheus/promauto 0.012s github.com/prometheus/client_golang/prometheus/promauto PASS ok github.com/prometheus/client_golang/prometheus/promauto 0.011s github.com/prometheus/client_golang/prometheus/promhttp PASS ok github.com/prometheus/client_golang/prometheus/promhttp 0.134s github.com/prometheus/client_golang/prometheus/promhttp PASS ok github.com/prometheus/client_golang/prometheus/promhttp 0.134s github.com/prometheus/client_golang/prometheus/push PASS ok github.com/prometheus/client_golang/prometheus/push 0.020s github.com/prometheus/client_golang/prometheus/push PASS ok github.com/prometheus/client_golang/prometheus/push 0.026s github.com/prometheus/client_golang/prometheus/testutil PASS ok github.com/prometheus/client_golang/prometheus/testutil 0.026s github.com/prometheus/client_golang/prometheus/testutil PASS ok github.com/prometheus/client_golang/prometheus/testutil 0.032s github.com/prometheus/client_golang/prometheus/testutil/promlint PASS ok github.com/prometheus/client_golang/prometheus/testutil/promlint 0.018s github.com/prometheus/client_golang/prometheus/testutil/promlint PASS ok github.com/prometheus/client_golang/prometheus/testutil/promlint 0.015s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-prometheus-client-devel-1.17.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wOhlTu + umask 022 + cd /builddir/build/BUILD + cd client_golang-1.17.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr CODE_OF_CONDUCT.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr MAINTAINERS.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + cp -pr SECURITY.md /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/doc/golang-github-prometheus-client-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lKqhgT + umask 022 + cd /builddir/build/BUILD + cd client_golang-1.17.0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/licenses/golang-github-prometheus-client-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/licenses/golang-github-prometheus-client-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/licenses/golang-github-prometheus-client-devel + cp -pr NOTICE /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64/usr/share/licenses/golang-github-prometheus-client-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/prometheus/client_golang/api) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/api/prometheus/v1) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/collectors) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/graphite) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/internal) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/promauto) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/promhttp) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/push) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/testutil) = 1.17.0-1.ocs23 golang(github.com/prometheus/client_golang/prometheus/testutil/promlint) = 1.17.0-1.ocs23 golang-github-prometheus-client-devel = 1.17.0-1.ocs23 golang-ipath(github.com/prometheus/client_golang) = 1.17.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/beorn7/perks/quantile) golang(github.com/cespare/xxhash/v2) golang(github.com/davecgh/go-spew/spew) golang(github.com/json-iterator/go) golang(github.com/prometheus/client_model/go) golang(github.com/prometheus/common/expfmt) golang(github.com/prometheus/common/model) golang(github.com/prometheus/procfs) golang(google.golang.org/protobuf/proto) golang(google.golang.org/protobuf/types/known/timestamppb) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-prometheus-client-1.17.0-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/golang-github-prometheus-client-1.17.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/golang-github-prometheus-client-devel-1.17.0-1.ocs23.noarch.rpm Child return code was: 0