Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'], chrootPath='/var/lib/mock/f40-build-55154959-6532749/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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', '839269d127f34713a1d31b37857fb94b', '-D', '/var/lib/mock/f40-build-55154959-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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 ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/golang-github-pierrre-compare-1.0.2-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'], chrootPath='/var/lib/mock/f40-build-55154959-6532749/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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', '0f385eff0be548a2bfbaf31b8c088353', '-D', '/var/lib/mock/f40-build-55154959-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qmpuyrxy:/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 -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IFahYN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compare-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/compare-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd compare-1.0.2 + rm -rf /builddir/build/BUILD/compare-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/compare-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/compare-1.0.2/vendor + [[ ! -e /builddir/build/BUILD/compare-1.0.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/compare-1.0.2/_build/bin install: creating directory '/builddir/build/BUILD/compare-1.0.2/_build' install: creating directory '/builddir/build/BUILD/compare-1.0.2/_build/bin' + export GOPATH=/builddir/build/BUILD/compare-1.0.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/compare-1.0.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare ]] ++ dirname /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare + install -m 0755 -vd /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre install: creating directory '/builddir/build/BUILD/compare-1.0.2/_build/src' install: creating directory '/builddir/build/BUILD/compare-1.0.2/_build/src/github.com' install: creating directory '/builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre' + ln -fs /builddir/build/BUILD/compare-1.0.2 /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare + cd /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.25dp1q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le ++ dirname /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le + cd compare-1.0.2 + cd /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/pierrre/compare -b /builddir/build/BUILD/compare-1.0.2/_build/bin -s /builddir/build/BUILD/compare-1.0.2/_build -o golang-github-pierrre-compare-devel.file-list -O /builddir/build/BUILD/compare-1.0.2 -V 1.0.2-4.fc40 -p /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le -g /usr/share/gocode -r '.*example.*' Installing: github.com/pierrre/compare + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.haT8av + umask 022 + cd /builddir/build/BUILD + cd compare-1.0.2 + GO_LDFLAGS=' -X github.com/pierrre/compare/version=1.0.2' + 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/pierrre/compare -b /builddir/build/BUILD/compare-1.0.2/_build/bin -s /builddir/build/BUILD/compare-1.0.2/_build -V 1.0.2-4.fc40 -p /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.ppc64le -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/compare-1.0.2/_build/src PATH: /builddir/build/BUILD/compare-1.0.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/compare-1.0.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/pierrre/compare/version=1.0.2 -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/pierrre/compare github.com/pierrre/compare --- FAIL: TestCompare (0.25s) --- FAIL: TestCompare/ReflectValueNotEqual (0.00s) compare_test.go:718: unexpected result: got: .: method .Equal() returned false want: .: int not equal diff: [0].Message: string not equal [0].V1: type not equal [0].V2: type not equal --- FAIL: TestSortValues (0.00s) --- FAIL: TestSortValues/NetIP (0.00s) panic: reflect.Value.Equal: values of type net.IP are not comparable [recovered] panic: reflect.Value.Equal: values of type net.IP are not comparable goroutine 131 [running]: testing.tRunner.func1.2({0x10d495c00, 0xc000027df0}) /usr/lib/golang/src/testing/testing.go:1631 +0x20c testing.tRunner.func1() /usr/lib/golang/src/testing/testing.go:1634 +0x360 panic({0x10d495c00?, 0xc000027df0?}) /usr/lib/golang/src/runtime/panic.go:770 +0x168 reflect.Value.Equal({0x10d4ce180?, 0xc0000ac108?, 0xc000010d20?}, {0x10d4ce180?, 0xc0000ac120?, 0x0?}) /usr/lib/golang/src/reflect/value.go:3505 +0x6f4 reflect.Value.call({0x10d4dc2e0?, 0x10d642e80?, 0x10d4dc2e0?}, {0x10d3c03a3, 0x4}, {0xc0000bd918, 0x1, 0x10d6282e0?}) /usr/lib/golang/src/reflect/value.go:596 +0xbac reflect.Value.Call({0x10d4dc2e0?, 0x10d642e80?, 0x0?}, {0xc0000bd918?, 0x10d1e59b8?, 0xc000067820?}) /usr/lib/golang/src/reflect/value.go:380 +0xe4 github.com/pierrre/compare.compareMethodEqualName({0x10d4dc2e0?, 0x10d642e80?, 0x10d4dc2e0?}, {0x10d4dc2e0?, 0x10d642ec0?, 0x0?}, {0x10d3c049f, 0x5}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:72 +0x2cc github.com/pierrre/compare.compareMethodEqual({0x10d4dc2e0?, 0x10d642e80?, 0x10d4ce180?}, {0x10d4dc2e0?, 0x10d642ec0?, 0x0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:54 +0xe8 github.com/pierrre/compare.compareFuncs({0x10d4dc2e0?, 0x10d642e80?, 0x10d3ac998?}, {0x10d4dc2e0?, 0x10d642ec0?, 0x10d6282e0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:26 +0x12c github.com/pierrre/compare.compare({0x10d4dc2e0?, 0x10d642e80?, 0x0?}, {0x10d4dc2e0?, 0x10d642ec0?, 0x0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:25 +0x19c github.com/pierrre/compare.compareArrayIndex({0x10d493920?, 0xc00000fce0?, 0x10d6282e0?}, {0x10d493920?, 0xc00000fcf8?, 0x7?}, 0x0) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:192 +0xd4 github.com/pierrre/compare.compareArray({0x10d493920?, 0xc00000fce0?, 0x10d493920?}, {0x10d493920?, 0xc00000fcf8?, 0x10d493920?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:179 +0x134 github.com/pierrre/compare.compareSlice({0x10d493920?, 0xc00000fce0?, 0x10d493920?}, {0x10d493920?, 0xc00000fcf8?, 0x10d493920?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:215 +0x21c github.com/pierrre/compare.compareKind({0x10d493920?, 0xc00000fce0?, 0x10d3b092c?}, {0x10d493920?, 0xc00000fcf8?, 0x10d6282e0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:78 +0x1d0 github.com/pierrre/compare.compare({0x10d493920?, 0xc00000fce0?, 0x10d626600?}, {0x10d493920?, 0xc00000fcf8?, 0xc00000fc80?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:28 +0x1d0 github.com/pierrre/compare.Compare({0x10d493920?, 0xc00000fce0?}, {0x10d493920?, 0xc00000fcf8?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:12 +0x138 github.com/pierrre/compare.TestSortValues.func1(0xc00060e820) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/util_test.go:109 +0xa8 testing.tRunner(0xc00060e820, 0xc0000ea360) /usr/lib/golang/src/testing/testing.go:1689 +0x134 created by testing.(*T).Run in goroutine 124 /usr/lib/golang/src/testing/testing.go:1742 +0x3a4 exit status 2 FAIL github.com/pierrre/compare 0.256s RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.haT8av (%check) Bad exit status from /var/tmp/rpm-tmp.haT8av (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 0f385eff0be548a2bfbaf31b8c088353 -D /var/lib/mock/f40-build-55154959-6532749/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qmpuyrxy:/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 -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, 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 0f385eff0be548a2bfbaf31b8c088353 -D /var/lib/mock/f40-build-55154959-6532749/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qmpuyrxy:/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 -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'