Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-821337-28340/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.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=1674086400 Wrote: /builddir/build/SRPMS/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-821337-28340/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rIHPJy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf roaring-0.5.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/roaring-0.5.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd roaring-0.5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/roaring-0.5.5/vendor + [[ ! -e /builddir/build/BUILD/roaring-0.5.5/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/roaring-0.5.5/_build/bin install: creating directory '/builddir/build/BUILD/roaring-0.5.5/_build' install: creating directory '/builddir/build/BUILD/roaring-0.5.5/_build/bin' + export GOPATH=/builddir/build/BUILD/roaring-0.5.5/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/roaring-0.5.5/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring ]] ++ dirname /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring + install -m 0755 -vd /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap install: creating directory '/builddir/build/BUILD/roaring-0.5.5/_build/src' install: creating directory '/builddir/build/BUILD/roaring-0.5.5/_build/src/github.com' install: creating directory '/builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap' + ln -fs /builddir/build/BUILD/roaring-0.5.5 /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring + cd /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fOsmDn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 + cd roaring-0.5.5 + cd /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/RoaringBitmap/roaring -b /builddir/build/BUILD/roaring-0.5.5/_build/bin -s /builddir/build/BUILD/roaring-0.5.5/_build -o golang-github-roaringbitmap-roaring-devel.file-list -O /builddir/build/BUILD/roaring-0.5.5 -V 0.5.5-6.fc38 -p /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/RoaringBitmap/roaring + IFS= +++ sort -u +++ realpath -e --relative-base=. AUTHORS CONTRIBUTORS README.md ++ listfiles_include='AUTHORS CONTRIBUTORS README.md' ++ echo 'AUTHORS CONTRIBUTORS README.md' + godocs='AUTHORS CONTRIBUTORS README.md' + [[ -n AUTHORS CONTRIBUTORS README.md ]] + IFS= + read -r f + echo %doc '"AUTHORS"' + IFS= + read -r f + echo %doc '"CONTRIBUTORS"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE LICENSE-2.0.txt +++ sort -u ++ listfiles_include='LICENSE LICENSE-2.0.txt' ++ echo 'LICENSE LICENSE-2.0.txt' + golicenses='LICENSE LICENSE-2.0.txt' + [[ -n LICENSE LICENSE-2.0.txt ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"LICENSE-2.0.txt"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64/usr/share/gocode/src/github.com/influxdata + ln -rs /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64/usr/share/gocode/src/github.com/RoaringBitmap/roaring /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64/usr/share/gocode/src/github.com/influxdata/roaring + echo /usr/share/gocode/src/github.com/influxdata/roaring + echo '%dir "/usr/share/gocode/src/github.com/influxdata"' + /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.4B6k7h + umask 022 + cd /builddir/build/BUILD + cd roaring-0.5.5 + LDFLAGS=' -X github.com/RoaringBitmap/roaring/version=0.5.5' + 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/RoaringBitmap/roaring -b /builddir/build/BUILD/roaring-0.5.5/_build/bin -s /builddir/build/BUILD/roaring-0.5.5/_build -V 0.5.5-6.fc38 -p /builddir/build/BUILDROOT/golang-github-roaringbitmap-roaring-0.5.5-6.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/roaring-0.5.5/_build/src PATH: /builddir/build/BUILD/roaring-0.5.5/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/roaring-0.5.5/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/RoaringBitmap/roaring/version=0.5.5 -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/RoaringBitmap/roaring github.com/RoaringBitmap/roaring ==roaring== {1,2,3,4,5,100,1000} {3,4,1000} {} Cardinality: 7 Contains 3? true 1 3 4 5 1000 Wrote 22 bytes I wrote the content to a byte stream and read it back. size before run optimize: 1810 bytes, and after: 62 bytes. 2023/06/22 04:19:13 rtest N= 15 2023/06/22 04:19:13 rtest N= 1024 2023/06/22 04:19:13 rtest N= 4096 2023/06/22 04:19:13 rtest N= 65536 2023/06/22 04:19:15 rtest N= 1048576 2023/06/22 04:19:35 rtest N= 15 2023/06/22 04:19:35 rtest N= 100 2023/06/22 04:19:35 rtest N= 512 2023/06/22 04:19:35 rtest N= 1023 2023/06/22 04:19:35 rtest N= 1025 2023/06/22 04:19:35 rtest N= 4095 2023/06/22 04:19:35 rtest N= 4096 2023/06/22 04:19:35 rtest N= 4097 2023/06/22 04:19:35 rtest N= 65536 2023/06/22 04:19:37 rtest N= 1048576 2023/06/22 04:23:08 rtest N= 15 2023/06/22 04:23:08 rtest N= 1024 2023/06/22 04:23:08 rtest N= 4096 2023/06/22 04:23:08 rtest N= 65536 2023/06/22 04:23:09 rtest N= 1048576 2023/06/22 04:23:31 rtest N= 15 2023/06/22 04:23:31 rtest N= 100 2023/06/22 04:23:31 rtest N= 512 2023/06/22 04:23:31 rtest N= 1023 2023/06/22 04:23:31 rtest N= 1025 2023/06/22 04:23:31 rtest N= 4095 2023/06/22 04:23:31 rtest N= 4096 2023/06/22 04:23:31 rtest N= 4097 2023/06/22 04:23:31 rtest N= 65536 2023/06/22 04:23:32 rtest N= 1048576 200100 PASS ok github.com/RoaringBitmap/roaring 504.215s github.com/RoaringBitmap/roaring ==roaring== {1,2,3,4,5,100,1000} {3,4,1000} {} Cardinality: 7 Contains 3? true 1 3 4 5 1000 Wrote 22 bytes I wrote the content to a byte stream and read it back. size before run optimize: 1810 bytes, and after: 62 bytes. 2023/06/22 04:28:00 rtest N= 15 2023/06/22 04:28:00 rtest N= 1024 2023/06/22 04:28:00 rtest N= 4096 2023/06/22 04:28:00 rtest N= 65536 2023/06/22 04:28:02 rtest N= 1048576 2023/06/22 04:28:22 rtest N= 15 2023/06/22 04:28:22 rtest N= 100 2023/06/22 04:28:22 rtest N= 512 2023/06/22 04:28:22 rtest N= 1023 2023/06/22 04:28:22 rtest N= 1025 2023/06/22 04:28:23 rtest N= 4095 2023/06/22 04:28:23 rtest N= 4096 2023/06/22 04:28:23 rtest N= 4097 2023/06/22 04:28:23 rtest N= 65536 2023/06/22 04:28:24 rtest N= 1048576 2023/06/22 04:31:59 rtest N= 15 2023/06/22 04:31:59 rtest N= 1024 2023/06/22 04:31:59 rtest N= 4096 2023/06/22 04:31:59 rtest N= 65536 2023/06/22 04:32:00 rtest N= 1048576 2023/06/22 04:32:21 rtest N= 15 2023/06/22 04:32:21 rtest N= 100 2023/06/22 04:32:21 rtest N= 512 2023/06/22 04:32:21 rtest N= 1023 2023/06/22 04:32:21 rtest N= 1025 2023/06/22 04:32:21 rtest N= 4095 2023/06/22 04:32:21 rtest N= 4096 2023/06/22 04:32:21 rtest N= 4097 2023/06/22 04:32:21 rtest N= 65536 2023/06/22 04:32:23 rtest N= 1048576 200100 PASS ok github.com/RoaringBitmap/roaring 500.001s github.com/RoaringBitmap/roaring/BitSliceIndexing PASS ok github.com/RoaringBitmap/roaring/BitSliceIndexing 48.645s github.com/RoaringBitmap/roaring/BitSliceIndexing PASS ok github.com/RoaringBitmap/roaring/BitSliceIndexing 49.424s github.com/RoaringBitmap/roaring/roaring64 {12345,5764607714248818780} 2023/06/22 04:43:47 rtest N= 15 2023/06/22 04:43:47 rtest N= 1024 2023/06/22 04:43:47 rtest N= 4096 2023/06/22 04:43:47 rtest N= 65536 2023/06/22 04:43:49 rtest N= 1048576 2023/06/22 04:44:16 rtest N= 15 2023/06/22 04:44:16 rtest N= 100 2023/06/22 04:44:16 rtest N= 512 2023/06/22 04:44:16 rtest N= 1023 2023/06/22 04:44:16 rtest N= 1025 2023/06/22 04:44:16 rtest N= 4095 2023/06/22 04:44:16 rtest N= 4096 2023/06/22 04:44:16 rtest N= 4097 2023/06/22 04:44:16 rtest N= 65536 2023/06/22 04:44:18 rtest N= 1048576 panic: test timed out after 10m0s running tests: TestBitmapSelectCOW (24s) TestBitmapSelectCOW/rank_tests1048576 (12s) goroutine 10918 [running]: testing.(*M).startAlarm.func1() /usr/lib/golang/src/testing/testing.go:2241 +0x30c created by time.goFunc /usr/lib/golang/src/time/sleep.go:176 +0x50 goroutine 1 [chan receive]: testing.(*T).Run(0xc000106d00, {0xaaaaaac9121dc2?, 0xaaaaaac8fcaf68?}, 0xaaaaaac91ce890) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2036 +0x54 testing.tRunner(0xc000106d00, 0xc00017fca0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c testing.runTests(0xc00012f040?, {0xaaaaaac931d020, 0x58, 0x58}, {0xaaaaaac8f5c1f8?, 0xc0001232c8?, 0xaaaaaac9351220?}) /usr/lib/golang/src/testing/testing.go:2034 +0x424 testing.(*M).Run(0xc00012f040) /usr/lib/golang/src/testing/testing.go:1906 +0x560 main.main() _testmain.go:221 +0x1a8 goroutine 10917 [runnable]: github.com/RoaringBitmap/roaring/roaring64.(*Bitmap).Select(0xc01eeabf28, 0x6366f) /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring/roaring64/roaring64.go:365 +0x18 github.com/RoaringBitmap/roaring/roaring64.TestBitmapSelectCOW.func1(0xc0003d0000) /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring/roaring64/roaring64cow_test.go:264 +0xe8 testing.tRunner(0xc0003d0000, 0xc000304100) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 11032 [chan receive]: testing.(*T).Run(0xc0003d01a0, {0xc00aa081f8?, 0x0?}, 0xc000304100) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 github.com/RoaringBitmap/roaring/roaring64.TestBitmapSelectCOW(0xc01ef66ea0?) /builddir/build/BUILD/roaring-0.5.5/_build/src/github.com/RoaringBitmap/roaring/roaring64/roaring64cow_test.go:255 +0x74 testing.tRunner(0xc0003d01a0, 0xaaaaaac91ce890) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 exit status 2 FAIL github.com/RoaringBitmap/roaring/roaring64 601.103s error: Bad exit status from /var/tmp/rpm-tmp.4B6k7h (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4B6k7h (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-roaringbitmap-roaring.spec