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/gluster_exporter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-64742-16665/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gluster_exporter.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/gluster_exporter-0.2.7-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/gluster_exporter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-64742-16665/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/gluster_exporter.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.pQI34k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gluster_exporter-0.2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster_exporter-0.2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vendor.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/go.mod ./ + cp /builddir/build/SOURCES/go.sum ./ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kwEzSS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 + cd gluster_exporter-0.2.7 + cd /builddir/build/BUILD + rm -rf src/github.com/ofesseler/gluster_exporter + mkdir -p src/github.com/ofesseler/gluster_exporter + mv gluster_exporter-0.2.7/.promu.yml src/github.com/ofesseler/gluster_exporter + mv gluster_exporter-0.2.7/Dockerfile gluster_exporter-0.2.7/LICENSE gluster_exporter-0.2.7/Makefile gluster_exporter-0.2.7/NOTICE gluster_exporter-0.2.7/README.md gluster_exporter-0.2.7/VERSION gluster_exporter-0.2.7/gluster-init.sh gluster_exporter-0.2.7/gluster_client.go gluster_exporter-0.2.7/go.mod gluster_exporter-0.2.7/go.sum gluster_exporter-0.2.7/main.go gluster_exporter-0.2.7/main_test.go gluster_exporter-0.2.7/structs gluster_exporter-0.2.7/test gluster_exporter-0.2.7/vendor src/github.com/ofesseler/gluster_exporter + export GOPATH=/builddir/build/BUILD + GOPATH=/builddir/build/BUILD + cd src/github.com/ofesseler/gluster_exporter + GO111MOD=off + make build go fmt go test -v github.com/ofesseler/gluster_exporter github.com/ofesseler/gluster_exporter/structs === RUN TestContainsVolume --- PASS: TestContainsVolume (0.00s) === RUN TestParseMountOutput --- PASS: TestParseMountOutput (0.00s) PASS ok github.com/ofesseler/gluster_exporter 0.004s === RUN TestVolumeListXMLUnmarshall xmlStructs_test.go:30: gluster volume list test was successful. --- PASS: TestVolumeListXMLUnmarshall (0.00s) === RUN TestInfoUnmarshall xmlStructs_test.go:52: Volume.Name: gv_cluster volume.Status: 1 xmlStructs_test.go:52: Volume.Name: gv_test volume.Status: 1 xmlStructs_test.go:54: gluster volume info test was successful. --- PASS: TestInfoUnmarshall (0.00s) === RUN TestPeerStatusXMLUnmarshall xmlStructs_test.go:59: Test xml unmarshal for 'gluster peer status' with file: ../test/gluster_peer_status.xml xmlStructs_test.go:90: gluster peer status test was successful. --- PASS: TestPeerStatusXMLUnmarshall (0.00s) === RUN TestVolumeStatusAllDetailXMLUnmarshall xmlStructs_test.go:95: Test xml unmarshal for 'gluster volume status all detail' with file: ../test/gluster_volume_status_all_detail.xml --- PASS: TestVolumeStatusAllDetailXMLUnmarshall (0.00s) === RUN TestVolumeProfileGvInfoCumulativeXMLUnmarshall xmlStructs_test.go:141: Test xml unmarshal for 'gluster volume profile gv_test info' with file: ../test/gluster_volume_profile_gv_test_info_cumulative.xml --- PASS: TestVolumeProfileGvInfoCumulativeXMLUnmarshall (0.00s) === RUN TestVolumeHealInfoXMLUnmarshall --- PASS: TestVolumeHealInfoXMLUnmarshall (0.00s) === RUN TestVolumeQuotaListXMLUnmarshall --- PASS: TestVolumeQuotaListXMLUnmarshall (0.00s) PASS ok github.com/ofesseler/gluster_exporter/structs 0.006s promu build > gluster_exporter #go build -o gluster_exporter + mv /builddir/build/BUILD/src/github.com/ofesseler/gluster_exporter/gluster_exporter /builddir/build/BUILD/gluster_exporter-0.2.7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FLu0L4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64 + cd gluster_exporter-0.2.7 + install -D -m 755 gluster_exporter /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64/usr/bin/gluster_exporter + /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 Processing files: gluster_exporter-0.2.7-3.oc9.aarch64 warning: Missing build-id in /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64/usr/bin/gluster_exporter Provides: gluster_exporter = 0.2.7 gluster_exporter = 0.2.7-3.oc9 gluster_exporter(aarch-64) = 0.2.7-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: gluster_exporter Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64 Wrote: /builddir/build/RPMS/gluster_exporter-0.2.7-3.oc9.aarch64.rpm RPM build warnings: Missing build-id in /builddir/build/BUILDROOT/gluster_exporter-0.2.7-3.oc9.aarch64/usr/bin/gluster_exporter Child return code was: 0