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 aarch64 --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'], chrootPath='/var/lib/mock/f40-build-55154957-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.074z09qr:/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.074z09qr:/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', '45054ecf234f4ed3b07e2b6efbce9824', '-D', '/var/lib/mock/f40-build-55154957-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.074z09qr:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'], chrootPath='/var/lib/mock/f40-build-55154957-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.074z09qr:/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.074z09qr:/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', 'fe920bc6327c4ac19e0699f36e01484c', '-D', '/var/lib/mock/f40-build-55154957-6532749/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.074z09qr:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yanHaz + 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.1M2Sf5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-pierrre-compare-1.0.2-4.fc40.aarch64 + 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.aarch64 -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 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nHOA3J + 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,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.aarch64 -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,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.12s) --- 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 133 [running]: testing.tRunner.func1.2({0xaaaaea995be0, 0x4000080840}) /usr/lib/golang/src/testing/testing.go:1631 +0x1c4 testing.tRunner.func1() /usr/lib/golang/src/testing/testing.go:1634 +0x33c panic({0xaaaaea995be0?, 0x4000080840?}) /usr/lib/golang/src/runtime/panic.go:770 +0x124 reflect.Value.Equal({0xaaaaea9ce100?, 0x400059c108?, 0x4?}, {0xaaaaea9ce100?, 0x400059c120?, 0x1?}) /usr/lib/golang/src/reflect/value.go:3505 +0x6e8 reflect.Value.call({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x40000c38a8?}, {0xaaaaea8c0367, 0x4}, {0x40000c39c0, 0x1, 0xaaaaea8b3700?}) /usr/lib/golang/src/reflect/value.go:596 +0x970 reflect.Value.Call({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x4000068998?}, {0x40000c39c0?, 0x4000068930?, 0x400059f840?}) /usr/lib/golang/src/reflect/value.go:380 +0x94 github.com/pierrre/compare.compareMethodEqualName({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x0?}, {0xaaaaea9dc240?, 0xaaaaeab52fe0?, 0xaaaaea7b2128?}, {0xaaaaea8c0460, 0x5}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:72 +0x218 github.com/pierrre/compare.compareMethodEqual({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x0?}, {0xaaaaea9dc240?, 0xaaaaeab52fe0?, 0xaaaaea8b0048?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:54 +0x9c github.com/pierrre/compare.compareFuncs({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x0?}, {0xaaaaea9dc240?, 0xaaaaeab52fe0?, 0x0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/func.go:26 +0xd8 github.com/pierrre/compare.compare({0xaaaaea9dc240?, 0xaaaaeab52fa0?, 0x0?}, {0xaaaaea9dc240?, 0xaaaaeab52fe0?, 0x0?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:25 +0x138 github.com/pierrre/compare.compareArrayIndex({0xaaaaea993900?, 0x400000e690?, 0x400000e6a8?}, {0xaaaaea993900?, 0x400000e6a8?, 0x17?}, 0x0) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:192 +0x80 github.com/pierrre/compare.compareArray({0xaaaaea993900?, 0x400000e690?, 0x400000e6a8?}, {0xaaaaea993900?, 0x400000e6a8?, 0xaaaaea8b0068?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:179 +0xe8 github.com/pierrre/compare.compareSlice({0xaaaaea993900?, 0x400000e690?, 0xaaaaea993900?}, {0xaaaaea993900?, 0x400000e6a8?, 0xaaaaea993900?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:215 +0x1d8 github.com/pierrre/compare.compareKind({0xaaaaea993900?, 0x400000e690?, 0x4000068ec8?}, {0xaaaaea993900?, 0x400000e6a8?, 0xaaaaea8b4d68?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:78 +0x100 github.com/pierrre/compare.compare({0xaaaaea993900?, 0x400000e690?, 0x0?}, {0xaaaaea993900?, 0x400000e6a8?, 0xaaaaea8b6a4c?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:28 +0x164 github.com/pierrre/compare.Compare({0xaaaaea993900?, 0x400000e690?}, {0xaaaaea993900?, 0x400000e6a8?}) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/compare.go:12 +0xf4 github.com/pierrre/compare.TestSortValues.func1(0x4000596000) /builddir/build/BUILD/compare-1.0.2/_build/src/github.com/pierrre/compare/util_test.go:109 +0x84 testing.tRunner(0x4000596000, 0x40000345a0) /usr/lib/golang/src/testing/testing.go:1689 +0xec created by testing.(*T).Run in goroutine 126 /usr/lib/golang/src/testing/testing.go:1742 +0x318 exit status 2 FAIL github.com/pierrre/compare 0.128s error: Bad exit status from /var/tmp/rpm-tmp.nHOA3J (%check) Bad exit status from /var/tmp/rpm-tmp.nHOA3J (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M fe920bc6327c4ac19e0699f36e01484c -D /var/lib/mock/f40-build-55154957-6532749/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.074z09qr:/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 aarch64 --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 fe920bc6327c4ac19e0699f36e01484c -D /var/lib/mock/f40-build-55154957-6532749/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.074z09qr:/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 aarch64 --nodeps /builddir/build/SPECS/golang-github-pierrre-compare.spec'