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-syndtr-goleveldb.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-848456-28422/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-syndtr-goleveldb.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-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.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-syndtr-goleveldb.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-848456-28422/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-syndtr-goleveldb.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.uQIVqq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/vendor + [[ ! -e /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin install: creating directory '/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build' install: creating directory '/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin' + export GOPATH=/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb ]] ++ dirname /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb + install -m 0755 -vd /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr install: creating directory '/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src' install: creating directory '/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com' install: creating directory '/builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr' + ln -fs /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb + cd /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bBgOj6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 + cd goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 + cd /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/syndtr/goleveldb -b /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin -s /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build -o golang-github-syndtr-goleveldb-devel.file-list -O /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 -V 1.0.0-12.20210205git5c35d60.fc38 -C 5c35d600f0caac04c20d52438103f1a7aa612598 -p /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/syndtr/goleveldb + IFS= +++ sort -u +++ realpath -e --relative-base=. README.md ++ 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= +++ sort -u +++ realpath -e --relative-base=. LICENSE ++ 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.aa2UUD + umask 022 + cd /builddir/build/BUILD + cd goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 + LDFLAGS=' -X github.com/syndtr/goleveldb/version.commit=5c35d600f0caac04c20d52438103f1a7aa612598 -X github.com/syndtr/goleveldb/version=1.0.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/syndtr/goleveldb -b /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin -s /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build -V 1.0.0-12.20210205git5c35d60.fc38 -C 5c35d600f0caac04c20d52438103f1a7aa612598 -p /builddir/build/BUILDROOT/golang-github-syndtr-goleveldb-1.0.0-12.20210205git5c35d60.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src PATH: /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/syndtr/goleveldb/version.commit=5c35d600f0caac04c20d52438103f1a7aa612598 -X github.com/syndtr/goleveldb/version=1.0.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/syndtr/goleveldb github.com/syndtr/goleveldb/leveldb panic: test timed out after 10m0s running tests: TestDB_GoleveldbIssue72and83 (26s) goroutine 2507 [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(0xc0001a4680, {0xaaaaaad5ae10ee?, 0xaaaaaad5835078?}, 0xaaaaaad5c16888) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2036 +0x54 testing.tRunner(0xc0001a4680, 0xc0001e7ca0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c testing.runTests(0xc000123220?, {0xaaaaaad5e5b540, 0x52, 0x52}, {0x4?, 0xc0001c55f8?, 0xaaaaaad5eb0520?}) /usr/lib/golang/src/testing/testing.go:2034 +0x424 testing.(*M).Run(0xc000123220) /usr/lib/golang/src/testing/testing.go:1906 +0x560 main.main() _testmain.go:259 +0x1a8 goroutine 88 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f87e0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 2411 [select]: github.com/syndtr/goleveldb/leveldb.(*session).refLoop(0xc0007521e0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/session_util.go:189 +0x2b8 created by github.com/syndtr/goleveldb/leveldb.newSession /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/session.go:93 +0x28c goroutine 116 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f89a0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 49 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0004f6460) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 77 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f8460) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 2495 [sync.Mutex.Lock]: sync.runtime_SemacquireMutex(0xaaaaaad58198f0?, 0x4e?, 0xaaaaaad57ba048?) /usr/lib/golang/src/runtime/sema.go:77 +0x44 sync.(*Mutex).lockSlow(0xc0000de860) /usr/lib/golang/src/sync/mutex.go:171 +0x180 sync.(*Mutex).Lock(...) /usr/lib/golang/src/sync/mutex.go:90 github.com/syndtr/goleveldb/leveldb/testutil.(*Storage).emulateError(0xc0000de800, 0xaaaaaad591094c?, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:593 +0x90 github.com/syndtr/goleveldb/leveldb/testutil.(*reader).ReadAt(0xc000b9ca20, {0xc002371900, 0x104f, 0x1055}, 0xc00061d860?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:194 +0x74 github.com/syndtr/goleveldb/leveldb.(*iStorageReader).ReadAt(0xc000304198, {0xc002371900?, 0xaaaaaad57c8950?, 0xc0000d8340?}, 0xc0000d8348?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:49 +0x60 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readRawBlock(0xc000115110, {0x8000000000200?, 0xffffff7413f8b0?}, 0x1) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:564 +0x98 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readBlock(0xc000115110, {0xaaaaaad5909a50?, 0xc002abc701?}, 0xd4?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:603 +0x4c github.com/syndtr/goleveldb/leveldb/table.(*Reader).readBlockCached.func1() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:627 +0x38 github.com/syndtr/goleveldb/leveldb/cache.(*Cache).Get(0xc000a26c00, 0x1?, 0xaaaaaad5912338?, 0xc00061db90) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go:388 +0x228 github.com/syndtr/goleveldb/leveldb/cache.(*NamespaceGetter).Get(...) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go:58 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readBlockCached(0xc000115110, {0xc002ee436c?, 0xc00303aa5b?}, 0x1, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:625 +0xbc github.com/syndtr/goleveldb/leveldb/table.(*Reader).getDataIter(0xaaaaaad5901448?, {0xc00023b240?, 0xaaaaaad5910288?}, 0xaaaaaad5903098?, 0x70?, 0x1d?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:765 +0x60 github.com/syndtr/goleveldb/leveldb/table.(*Reader).getDataIterErr(0xc00303aa5b?, {0xc001622510?, 0x8d?}, 0xaaaaaad590a778?, 0x0?, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:780 +0x16c github.com/syndtr/goleveldb/leveldb/table.(*indexIter).Get(0xc00023a5a0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:507 +0x26c github.com/syndtr/goleveldb/leveldb/iterator.(*indexedIterator).setData(0xc00028ede0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go:39 +0x58 github.com/syndtr/goleveldb/leveldb/iterator.(*indexedIterator).Prev(0xc00028ede0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go:186 +0x128 github.com/syndtr/goleveldb/leveldb/iterator.(*mergedIterator).Prev(0xc0004b4180) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go:230 +0x18c github.com/syndtr/goleveldb/leveldb.(*dbIter).prev(0xc0001ec630) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_iter.go:278 +0x298 github.com/syndtr/goleveldb/leveldb.(*dbIter).Prev(0xc0001ec630?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_iter.go:320 +0xb8 github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83.func4() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2291 +0x31c created by github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83 /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2275 +0x3e0 goroutine 136 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0004f68c0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 150 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f9340) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 215 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f8a80) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 198 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc000396ee0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 2410 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0005f8ee0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:209 +0xb4 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:240 +0x18c goroutine 2412 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:91 +0xec created by github.com/syndtr/goleveldb/leveldb.openDB /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:148 +0x3f8 goroutine 2494 [runnable]: syscall.Syscall(0xaaaaaad58459c0?, 0xffffff741509f0?, 0x1?, 0xffffff74150a18?) /usr/lib/golang/src/syscall/syscall_linux.go:69 +0x20 syscall.fcntl(0xaaaaaad584bc1c?, 0xaaaaaad584bd48?, 0xc00065e078?) /usr/lib/golang/src/syscall/zsyscall_linux_riscv64.go:407 +0x48 syscall.SetNonblock(0xc00065e060?, 0x0) /usr/lib/golang/src/syscall/exec_unix.go:116 +0x78 os.newFile(0xc, {0xc00141a090, 0x2d}, 0x1) /usr/lib/golang/src/os/file_unix.go:210 +0x1d0 os.openFileNolog({0xc00141a090, 0x2d}, 0x0, 0x0) /usr/lib/golang/src/os/file_unix.go:274 +0x1bc os.OpenFile({0xc00141a090, 0x2d}, 0x0, 0x25f01c0?) /usr/lib/golang/src/os/file.go:326 +0x64 github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).Open(0xc0001eb0a0, {0x4?, 0x7?}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go:476 +0x15c github.com/syndtr/goleveldb/leveldb/testutil.(*Storage).Open(0xc0000de800, {0x4, 0x7}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:419 +0x138 github.com/syndtr/goleveldb/leveldb.(*iStorage).Open(...) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:15 github.com/syndtr/goleveldb/leveldb.(*tOps).open.func1() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:417 +0x5c github.com/syndtr/goleveldb/leveldb/cache.(*Cache).Get(0xc000a26c80, 0xc00242ca80?, 0x85?, 0xc00061b7a8) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go:388 +0x228 github.com/syndtr/goleveldb/leveldb.(*tOps).open(0xc000115110?, 0xc001444b40?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:415 +0x74 github.com/syndtr/goleveldb/leveldb.(*tOps).find(0xc001444bd0?, 0xc001444b40?, {0xc001444b40, 0x8d, 0x8d}, 0xc002ce3ef0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:445 +0x8c github.com/syndtr/goleveldb/leveldb.(*version).get.func1(0x1, 0xc001444b40?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/version.go:180 +0x1bc github.com/syndtr/goleveldb/leveldb.(*version).walkOverlapping(0xc0003f0300, {0x0?, 0x0, 0xaaaaaad5905dd4?}, {0xc001444b40, 0x8d, 0x8d}, 0xc00061bb00, 0xc00061bad0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/version.go:128 +0x1b0 github.com/syndtr/goleveldb/leveldb.(*version).get(0xc0003f0300, {0x0, 0x0, 0x0}, {0xc001444b40, 0x8d, 0x8d}, 0x0, 0x0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/version.go:164 +0x1f0 github.com/syndtr/goleveldb/leveldb.(*DB).get(0xc00037e380, 0x0, {0x0, 0x0, 0x0}, {0xc0017673b0?, 0xffffff9cfbf5b8?, 0x1?}, 0x85?, 0xaaaaaad58e3fb8?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:785 +0x398 github.com/syndtr/goleveldb/leveldb.(*Snapshot).Get(0xc0010d8120?, {0xc0017673b0?, 0xc0017673b0?, 0x81?}, 0x90?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_snapshot.go:113 +0x198 github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83.func3() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2261 +0x620 created by github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83 /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2227 +0x32c goroutine 2409 [semacquire]: sync.runtime_Semacquire(0xc0000dd040?) /usr/lib/golang/src/runtime/sema.go:62 +0x38 sync.(*WaitGroup).Wait(0xc000384000) /usr/lib/golang/src/sync/waitgroup.go:116 +0x6c github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83(0xc0003881a0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2304 +0x3e8 testing.tRunner(0xc0003881a0, 0xaaaaaad5c16888) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 2493 [runnable]: hash/crc32.update(0x0, 0xc000130400, {0xc0014bcd80, 0x81, 0x85}, 0x1) /usr/lib/golang/src/hash/crc32/crc32.go:209 +0x24 hash/crc32.Update(...) /usr/lib/golang/src/hash/crc32/crc32.go:227 github.com/syndtr/goleveldb/leveldb/util.CRC.Update(...) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/crc32.go:24 github.com/syndtr/goleveldb/leveldb/util.NewCRC(...) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/util/crc32.go:19 github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83.func1(0x2a, 0x4) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2193 +0xd0 github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83.func2() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2218 +0x240 created by github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83 /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2206 +0x270 goroutine 2415 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).memCompaction(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:287 +0x16c github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:777 +0x7c created by github.com/syndtr/goleveldb/leveldb.openDB /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:156 +0x4dc goroutine 2413 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_state.go:101 +0x94 created by github.com/syndtr/goleveldb/leveldb.openDB /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:149 +0x438 goroutine 2414 [sync.Mutex.Lock]: sync.runtime_SemacquireMutex(0xaaaaaad58fb4c0?, 0x60?, 0xc000326000?) /usr/lib/golang/src/runtime/sema.go:77 +0x44 sync.(*Mutex).lockSlow(0xc0000de860) /usr/lib/golang/src/sync/mutex.go:171 +0x180 sync.(*Mutex).Lock(...) /usr/lib/golang/src/sync/mutex.go:90 github.com/syndtr/goleveldb/leveldb/testutil.(*Storage).count(0xc0000de800?, 0xc000326000?, 0x0?, 0xaaaaaad5818c54?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:572 +0x90 github.com/syndtr/goleveldb/leveldb/testutil.(*reader).ReadAt(0xc00009f440, {0xc000326000, 0x104d, 0x1054}, 0xc000779260?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:199 +0xec github.com/syndtr/goleveldb/leveldb.(*iStorageReader).ReadAt(0xc000700018, {0xc000326000?, 0x40?, 0xa?}, 0xaaaaaad58458cc?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:49 +0x60 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readRawBlock(0xc0018c40d0, {0x6?, 0x1ae0f9?}, 0x1) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:564 +0x98 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readBlock(0xc0018c40d0, {0xc00023f502?, 0x108f?}, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:603 +0x4c github.com/syndtr/goleveldb/leveldb/table.(*Reader).readBlockCached(0xc0018c40d0?, {0x1374?, 0xaaaaaad590f110?}, 0x1?, 0xc3?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:648 +0x1b8 github.com/syndtr/goleveldb/leveldb/table.(*Reader).getDataIter(0xaaaaaad5915cc8?, {0x1374?, 0xaaaaaad5910288?}, 0x5?, 0xf0?, 0x1b?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:765 +0x60 github.com/syndtr/goleveldb/leveldb/table.(*Reader).getDataIterErr(0xc0018f4567?, {0xc0018f4567?, 0xc0005f8f78?}, 0xc00162ec00?, 0x78?, 0x8f?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:780 +0x16c github.com/syndtr/goleveldb/leveldb/table.(*indexIter).Get(0xc00007c560) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:507 +0x26c github.com/syndtr/goleveldb/leveldb/iterator.(*indexedIterator).setData(0xc0000e1020) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go:39 +0x58 github.com/syndtr/goleveldb/leveldb/iterator.(*indexedIterator).Next(0xc0000e1020) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go:160 +0x138 github.com/syndtr/goleveldb/leveldb/iterator.(*indexedIterator).Next(0xc0000e0f60) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go:149 +0x98 github.com/syndtr/goleveldb/leveldb/iterator.(*mergedIterator).Next(0xc0002f6100) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go:169 +0x1a0 github.com/syndtr/goleveldb/leveldb.(*tableCompactionBuilder).run(0xc0002de000, 0xc0033ee898) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:442 +0x360 github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact(0xc00037e380, {0xaaaaaad5ad625a, 0xb}, {0xaaaaaad5c1aab8, 0xc0002de000}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:186 +0x1ac github.com/syndtr/goleveldb/leveldb.(*DB).tableCompaction(0xc00037e380, 0xc000196480, 0x0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:580 +0x470 github.com/syndtr/goleveldb/leveldb.(*DB).tableAutoCompaction(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:644 +0x48 github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc00037e380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:863 +0x314 created by github.com/syndtr/goleveldb/leveldb.openDB /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:155 +0x49c exit status 2 FAIL github.com/syndtr/goleveldb/leveldb 600.973s error: Bad exit status from /var/tmp/rpm-tmp.aa2UUD (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aa2UUD (%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-syndtr-goleveldb.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-syndtr-goleveldb.spec