Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-vmware-govmomi.spec'], chrootPath='/var/lib/mock/f37-build-648887-72748/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-vmware-govmomi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/golang-github-vmware-govmomi-0.24.0-6.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-vmware-govmomi.spec'], chrootPath='/var/lib/mock/f37-build-648887-72748/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-vmware-govmomi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TYKIik + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf govmomi-0.24.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/govmomi-0.24.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd govmomi-0.24.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/govmomi-0.24.0/vendor + [[ ! -e /builddir/build/BUILD/govmomi-0.24.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/govmomi-0.24.0/_build/bin install: creating directory '/builddir/build/BUILD/govmomi-0.24.0/_build' install: creating directory '/builddir/build/BUILD/govmomi-0.24.0/_build/bin' + export GOPATH=/builddir/build/BUILD/govmomi-0.24.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/govmomi-0.24.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware/govmomi ]] ++ dirname /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware/govmomi + install -m 0755 -vd /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware install: creating directory '/builddir/build/BUILD/govmomi-0.24.0/_build/src' install: creating directory '/builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware' + ln -fs /builddir/build/BUILD/govmomi-0.24.0 /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware/govmomi + cd /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware/govmomi + mv govc/README.md README-govc.md + mv govc/CHANGELOG.md CHANGELOG-govc.md + mv govc/USAGE.md USAGE-govc.md + mv toolbox/README.md README-toolbox.md + mv vcsim/README.md README-vcsim.md + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gGoC1u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 + cd govmomi-0.24.0 + cd /builddir/build/BUILD/govmomi-0.24.0/_build/src/github.com/vmware/govmomi + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/vmware/govmomi -b /builddir/build/BUILD/govmomi-0.24.0/_build/bin -s /builddir/build/BUILD/govmomi-0.24.0/_build -o golang-github-vmware-govmomi-devel.file-list -O /builddir/build/BUILD/govmomi-0.24.0 -V 0.24.0-6.fc37 -p /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/vmware/govmomi + IFS= +++ realpath -e --relative-base=. examples CONTRIBUTING.md CONTRIBUTORS README.md CHANGELOG.md examples README-govc.md CHANGELOG-govc.md USAGE-govc.md README-toolbox.md README-vcsim.md +++ sort -u ++ listfiles_include='CHANGELOG-govc.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS README-govc.md README-toolbox.md README-vcsim.md README.md USAGE-govc.md examples' ++ echo 'CHANGELOG-govc.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS README-govc.md README-toolbox.md README-vcsim.md README.md USAGE-govc.md examples' + godocs='CHANGELOG-govc.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS README-govc.md README-toolbox.md README-vcsim.md README.md USAGE-govc.md examples' + [[ -n CHANGELOG-govc.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS README-govc.md README-toolbox.md README-vcsim.md README.md USAGE-govc.md examples ]] + IFS= + read -r f + echo %doc '"CHANGELOG-govc.md"' + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTORS"' + IFS= + read -r f + echo %doc '"README-govc.md"' + IFS= + read -r f + echo %doc '"README-toolbox.md"' + IFS= + read -r f + echo %doc '"README-vcsim.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"USAGE-govc.md"' + IFS= + read -r f + echo %doc '"examples"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE.txt +++ sort -u ++ listfiles_include=LICENSE.txt ++ echo LICENSE.txt + golicenses=LICENSE.txt + [[ -n LICENSE.txt ]] + IFS= + read -r f + echo %license '"LICENSE.txt"' + IFS= + read -r f + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.U0iOiS + umask 022 + cd /builddir/build/BUILD + cd govmomi-0.24.0 + LDFLAGS=' -X github.com/vmware/govmomi/version=0.24.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/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/vmware/govmomi -b /builddir/build/BUILD/govmomi-0.24.0/_build/bin -s /builddir/build/BUILD/govmomi-0.24.0/_build -V 0.24.0-6.fc37 -p /builddir/build/BUILDROOT/golang-github-vmware-govmomi-0.24.0-6.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' -t toolbox -d simulator Testing in: /builddir/build/BUILD/govmomi-0.24.0/_build/src PATH: /builddir/build/BUILD/govmomi-0.24.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/govmomi-0.24.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/vmware/govmomi/version=0.24.0 -extldflags '-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 '" testing: github.com/vmware/govmomi github.com/vmware/govmomi PASS ok github.com/vmware/govmomi 0.077s github.com/vmware/govmomi PASS ok github.com/vmware/govmomi 0.076s github.com/vmware/govmomi/cns PASS ok github.com/vmware/govmomi/cns 0.082s github.com/vmware/govmomi/cns PASS ok github.com/vmware/govmomi/cns 0.081s github.com/vmware/govmomi/cns/methods ? github.com/vmware/govmomi/cns/methods [no test files] github.com/vmware/govmomi/cns/mo ? github.com/vmware/govmomi/cns/mo [no test files] github.com/vmware/govmomi/cns/simulator PASS ok github.com/vmware/govmomi/cns/simulator 0.661s github.com/vmware/govmomi/cns/simulator PASS ok github.com/vmware/govmomi/cns/simulator 0.659s github.com/vmware/govmomi/cns/types ? github.com/vmware/govmomi/cns/types [no test files] github.com/vmware/govmomi/event PASS ok github.com/vmware/govmomi/event 0.574s github.com/vmware/govmomi/find PASS ok github.com/vmware/govmomi/find 0.529s github.com/vmware/govmomi/govc PASS ok github.com/vmware/govmomi/govc 0.147s github.com/vmware/govmomi/govc/about ? github.com/vmware/govmomi/govc/about [no test files] github.com/vmware/govmomi/govc/cli ? github.com/vmware/govmomi/govc/cli [no test files] github.com/vmware/govmomi/govc/cluster ? github.com/vmware/govmomi/govc/cluster [no test files] github.com/vmware/govmomi/govc/cluster/group ? github.com/vmware/govmomi/govc/cluster/group [no test files] github.com/vmware/govmomi/govc/cluster/override ? github.com/vmware/govmomi/govc/cluster/override [no test files] github.com/vmware/govmomi/govc/cluster/rule ? github.com/vmware/govmomi/govc/cluster/rule [no test files] github.com/vmware/govmomi/govc/datacenter ? github.com/vmware/govmomi/govc/datacenter [no test files] github.com/vmware/govmomi/govc/datastore ? github.com/vmware/govmomi/govc/datastore [no test files] github.com/vmware/govmomi/govc/datastore/cluster ? github.com/vmware/govmomi/govc/datastore/cluster [no test files] github.com/vmware/govmomi/govc/datastore/disk ? github.com/vmware/govmomi/govc/datastore/disk [no test files] github.com/vmware/govmomi/govc/datastore/maintenance ? github.com/vmware/govmomi/govc/datastore/maintenance [no test files] github.com/vmware/govmomi/govc/datastore/vsan ? github.com/vmware/govmomi/govc/datastore/vsan [no test files] github.com/vmware/govmomi/govc/device ? github.com/vmware/govmomi/govc/device [no test files] github.com/vmware/govmomi/govc/device/cdrom ? github.com/vmware/govmomi/govc/device/cdrom [no test files] github.com/vmware/govmomi/govc/device/floppy ? github.com/vmware/govmomi/govc/device/floppy [no test files] github.com/vmware/govmomi/govc/device/pci ? github.com/vmware/govmomi/govc/device/pci [no test files] github.com/vmware/govmomi/govc/device/scsi ? github.com/vmware/govmomi/govc/device/scsi [no test files] github.com/vmware/govmomi/govc/device/serial ? github.com/vmware/govmomi/govc/device/serial [no test files] github.com/vmware/govmomi/govc/device/usb ? github.com/vmware/govmomi/govc/device/usb [no test files] github.com/vmware/govmomi/govc/disk ? github.com/vmware/govmomi/govc/disk [no test files] github.com/vmware/govmomi/govc/disk/snapshot ? github.com/vmware/govmomi/govc/disk/snapshot [no test files] github.com/vmware/govmomi/govc/dvs ? github.com/vmware/govmomi/govc/dvs [no test files] github.com/vmware/govmomi/govc/dvs/portgroup ? github.com/vmware/govmomi/govc/dvs/portgroup [no test files] github.com/vmware/govmomi/govc/env ? github.com/vmware/govmomi/govc/env [no test files] github.com/vmware/govmomi/govc/events ? github.com/vmware/govmomi/govc/events [no test files] github.com/vmware/govmomi/govc/export ? github.com/vmware/govmomi/govc/export [no test files] github.com/vmware/govmomi/govc/extension ? github.com/vmware/govmomi/govc/extension [no test files] github.com/vmware/govmomi/govc/fields ? github.com/vmware/govmomi/govc/fields [no test files] github.com/vmware/govmomi/govc/flags PASS ok github.com/vmware/govmomi/govc/flags 0.072s github.com/vmware/govmomi/govc/flags PASS ok github.com/vmware/govmomi/govc/flags 0.070s github.com/vmware/govmomi/govc/folder ? github.com/vmware/govmomi/govc/folder [no test files] github.com/vmware/govmomi/govc/host ? github.com/vmware/govmomi/govc/host [no test files] github.com/vmware/govmomi/govc/host/account ? github.com/vmware/govmomi/govc/host/account [no test files] github.com/vmware/govmomi/govc/host/autostart ? github.com/vmware/govmomi/govc/host/autostart [no test files] github.com/vmware/govmomi/govc/host/cert ? github.com/vmware/govmomi/govc/host/cert [no test files] github.com/vmware/govmomi/govc/host/date ? github.com/vmware/govmomi/govc/host/date [no test files] github.com/vmware/govmomi/govc/host/esxcli PASS ok github.com/vmware/govmomi/govc/host/esxcli 0.076s github.com/vmware/govmomi/govc/host/esxcli PASS ok github.com/vmware/govmomi/govc/host/esxcli 0.078s github.com/vmware/govmomi/govc/host/firewall ? github.com/vmware/govmomi/govc/host/firewall [no test files] github.com/vmware/govmomi/govc/host/maintenance ? github.com/vmware/govmomi/govc/host/maintenance [no test files] github.com/vmware/govmomi/govc/host/option ? github.com/vmware/govmomi/govc/host/option [no test files] github.com/vmware/govmomi/govc/host/portgroup ? github.com/vmware/govmomi/govc/host/portgroup [no test files] github.com/vmware/govmomi/govc/host/service ? github.com/vmware/govmomi/govc/host/service [no test files] github.com/vmware/govmomi/govc/host/storage ? github.com/vmware/govmomi/govc/host/storage [no test files] github.com/vmware/govmomi/govc/host/vnic ? github.com/vmware/govmomi/govc/host/vnic [no test files] github.com/vmware/govmomi/govc/host/vswitch ? github.com/vmware/govmomi/govc/host/vswitch [no test files] github.com/vmware/govmomi/govc/importx ? github.com/vmware/govmomi/govc/importx [no test files] github.com/vmware/govmomi/govc/library ? github.com/vmware/govmomi/govc/library [no test files] github.com/vmware/govmomi/govc/library/session panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x15d pc=0x440f68] goroutine 1010 [running]: cmd/go/internal/work.(*Builder).Do.func2({0x697d90, 0x3f880240b8}, 0x3f883b52c0) /usr/lib/golang/src/cmd/go/internal/work/exec.go:137 +0x4c8 cmd/go/internal/work.(*Builder).Do.func3() /usr/lib/golang/src/cmd/go/internal/work/exec.go:201 +0xa0 created by cmd/go/internal/work.(*Builder).Do /usr/lib/golang/src/cmd/go/internal/work/exec.go:187 +0x308 error: Bad exit status from /var/tmp/rpm-tmp.U0iOiS (%check) Bad exit status from /var/tmp/rpm-tmp.U0iOiS (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-vmware-govmomi.spec