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-815302-28323/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-815302-28323/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.q7KH73 + 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.fzu1Pa + 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= +++ 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.DQLPyf + umask 022 + cd /builddir/build/BUILD + cd goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598 + LDFLAGS=' -X github.com/syndtr/goleveldb/version=1.0.0 -X github.com/syndtr/goleveldb/version.commit=5c35d600f0caac04c20d52438103f1a7aa612598' + 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=1.0.0 -X github.com/syndtr/goleveldb/version.commit=5c35d600f0caac04c20d52438103f1a7aa612598 -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 (31s) goroutine 2547 [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(0xc000185040, {0xaaaaaab70e70ee?, 0xaaaaaab6e3b078?}, 0xaaaaaab721c888) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2036 +0x54 testing.tRunner(0xc000185040, 0xc000287ca0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c testing.runTests(0xc0001af180?, {0xaaaaaab7461540, 0x52, 0x52}, {0xaaaaaab6dc6240?, 0x50000c00025d1e8?, 0xaaaaaab74b6520?}) /usr/lib/golang/src/testing/testing.go:2034 +0x424 testing.(*M).Run(0xc0001af180) /usr/lib/golang/src/testing/testing.go:1906 +0x560 main.main() _testmain.go:259 +0x1a8 goroutine 52 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc00037c460) /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 24 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0003ae7e0) /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 229 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0003ae8c0) /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 151 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0003aed20) /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 94 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0003af960) /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 132 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0003ae9a0) /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 247 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc00037cee0) /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 207 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc00007c7e0) /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 2523 [semacquire]: sync.runtime_Semacquire(0xc00007e4e0?) /usr/lib/golang/src/runtime/sema.go:62 +0x38 sync.(*WaitGroup).Wait(0xc00034e000) /usr/lib/golang/src/sync/waitgroup.go:116 +0x6c github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83(0xc0001689c0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2304 +0x3e8 testing.tRunner(0xc0001689c0, 0xaaaaaab721c888) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 2528 [sync.Mutex.Lock]: sync.runtime_SemacquireMutex(0x0?, 0x0?, 0xaaaaaab6e4cd40?) /usr/lib/golang/src/runtime/sema.go:77 +0x44 sync.(*Mutex).lockSlow(0xc000114860) /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(0xc000114800?, 0xc001b9aa00?, 0x0?, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:572 +0x90 github.com/syndtr/goleveldb/leveldb/testutil.(*writer).Write(0xc0009d60c0, {0xc001b9aa00, 0x1047, 0x1321}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:222 +0xdc github.com/syndtr/goleveldb/leveldb.(*iStorageWriter).Write(0xc0010e2000, {0xc001b9aa00?, 0xc001b9aa00?, 0xc001baf980?}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:60 +0x58 github.com/syndtr/goleveldb/leveldb/table.(*Writer).writeBlock(0xc0000206c0, 0xc000020718, 0xc000020718?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/writer.go:187 +0x238 github.com/syndtr/goleveldb/leveldb/table.(*Writer).finishBlock(0xc0000206c0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/writer.go:222 +0x48 github.com/syndtr/goleveldb/leveldb/table.(*Writer).Append(0xc0000206c0, {0xc000df7710, 0x8d, 0x90}, {0xc000bc3392, 0x85, 0x1006}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table/writer.go:255 +0x240 github.com/syndtr/goleveldb/leveldb.(*tWriter).append(0xc003496120, {0xc000df7710, 0x8d, 0x90}, {0xc000bc3392, 0x85, 0x1006}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:559 +0x1f4 github.com/syndtr/goleveldb/leveldb.(*tableCompactionBuilder).appendKV(0xc0002305a0?, {0xc000df7710?, 0x8d?, 0x90?}, {0xc000bc3392?, 0x85?, 0xa9e?}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:399 +0x198 github.com/syndtr/goleveldb/leveldb.(*tableCompactionBuilder).run(0xc0001ae1e0, 0xc002c47820) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:517 +0x7cc github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact(0xc0003a0380, {0xaaaaaab70dc25a, 0xb}, {0xaaaaaab7220ab8, 0xc0001ae1e0}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:186 +0x1ac github.com/syndtr/goleveldb/leveldb.(*DB).tableCompaction(0xc0003a0380, 0xc0002305a0, 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(0xc0003a0380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:644 +0x48 github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc0003a0380) /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 goroutine 2529 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc0003a0380) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:773 +0xec 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 2502 [sync.Mutex.Lock]: sync.runtime_SemacquireMutex(0xaaaaaab6e29698?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/sema.go:77 +0x44 sync.(*Mutex).lockSlow(0xc000114860) /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(0xc000114800, 0xc000152058?, 0xaaaaaab6dc6240?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:593 +0x90 github.com/syndtr/goleveldb/leveldb/testutil.(*writer).Write(0xc0033a5440, {0xc000152058, 0x8000, 0x8000}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:217 +0x68 github.com/syndtr/goleveldb/leveldb.(*iStorageWriter).Write(0xc0005d8168, {0xc000152058?, 0xc000152058?, 0xc000152058?}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:60 +0x58 github.com/syndtr/goleveldb/leveldb/journal.(*Writer).writeBlock(0xc000152000) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/journal/journal.go:401 +0x68 github.com/syndtr/goleveldb/leveldb/journal.singleWriter.Write({0xc000152000?, 0xaaaaaab7089ddc?}, {0xc0020bc000?, 0x52b3e0, 0xc000fe2020?}) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/journal/journal.go:512 +0x114 github.com/syndtr/goleveldb/leveldb.writeBatchesWithHeader({0xaaaaaab721fd88, 0xc000fe2020}, {0xc000070c20, 0x1, 0xc000070a7f?}, 0x539e40?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/batch.go:349 +0x12c github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xc0003a0380, {0xc000070c20, 0x1, 0x1}, 0xaaaaaab6e4a87c?, 0x0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_write.go:23 +0x88 github.com/syndtr/goleveldb/leveldb.(*DB).writeLocked(0xc0003a0380, 0xc00110c040, 0x0, 0x1, 0x0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_write.go:231 +0x1d4 github.com/syndtr/goleveldb/leveldb.(*DB).Write(0xc0003a0380, 0xc00110c040, 0xc000449200?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_write.go:317 +0x314 github.com/syndtr/goleveldb/leveldb.TestDB_GoleveldbIssue72and83.func2() /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_test.go:2221 +0x140 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 2527 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc0003a0380) /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 2531 [sync.Mutex.Lock]: sync.runtime_SemacquireMutex(0xaaaaaab6f014c0?, 0x60?, 0xc0009ec600?) /usr/lib/golang/src/runtime/sema.go:77 +0x44 sync.(*Mutex).lockSlow(0xc000114860) /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(0xc000114800?, 0xc0009ec600?, 0xc00042c778?, 0x0?) /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(0xc001824f90, {0xc0009ec600, 0x1050, 0x1097}, 0xc0000f0860?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go:199 +0xec github.com/syndtr/goleveldb/leveldb.(*iStorageReader).ReadAt(0xc000414198, {0xc0009ec600?, 0xaaaaaab6dce950?, 0xaaaaaab71bb1a0?}, 0xc001b04c00?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/storage.go:49 +0x60 github.com/syndtr/goleveldb/leveldb/table.(*Reader).readRawBlock(0xc0003f20d0, {0x8000000000201?, 0xffffff945cf808?}, 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(0xc0003f20d0, {0xaaaaaab6f0fa50?, 0xc00019b201?}, 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(0xc000860c00, 0xffffff9436f640?, 0xffffffbd1a6878?, 0xc0000f0b90) /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(0xc0003f20d0, {0xaaaaaab7089fc0?, 0x60f?}, 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(0xaaaaaab6f0b618?, {0xc005873f12?, 0xc005873f12?}, 0xaaaaaab6f09098?, 0xa0?, 0x8e?) /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(0xc000c1927a?, {0xc0007790e0?, 0x8d?}, 0xaaaaaab6f10778?, 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(0xc00126e180) /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(0xc003496240) /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(0xc003496240) /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(0xc00059a800) /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(0xc000288090) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db_iter.go:278 +0x298 github.com/syndtr/goleveldb/leveldb.(*dbIter).Prev(0xc000288090?) /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 2530 [runnable]: internal/poll.(*pollDesc).init(0xc002670738, 0xc002670720) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:38 +0x14 internal/poll.(*FD).Init(0xc002670720, {0xaaaaaab70d5c1d?, 0x80000?}, 0x9c?) /usr/lib/golang/src/internal/poll/fd_unix.go:63 +0xa0 os.newFile(0xd, {0xc002ab8ab0, 0x2c}, 0x1) /usr/lib/golang/src/os/file_unix.go:209 +0x1b8 os.openFileNolog({0xc002ab8ab0, 0x2c}, 0x0, 0x0) /usr/lib/golang/src/os/file_unix.go:274 +0x1bc os.OpenFile({0xc002ab8ab0, 0x2c}, 0x0, 0xb96140?) /usr/lib/golang/src/os/file.go:326 +0x64 github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).Open(0xc00080a5b0, {0x4?, 0x17?}) /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(0xc000114800, {0x4, 0x17}) /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(0xc000860c80, 0xc0011b8850?, 0x85?, 0xc0001d57a8) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go:388 +0x228 github.com/syndtr/goleveldb/leveldb.(*tOps).open(0xc0003f20d0?, 0xc000df7560?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:415 +0x74 github.com/syndtr/goleveldb/leveldb.(*tOps).find(0xc001090d80?, 0xc000df7560?, {0xc001090ea0, 0x8d, 0x8d}, 0x0?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/table.go:445 +0x8c github.com/syndtr/goleveldb/leveldb.(*version).get.func1(0x0, 0xc000394730?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/version.go:180 +0x1bc github.com/syndtr/goleveldb/leveldb.(*version).walkOverlapping(0xc00019c3c0, {0x0?, 0x0, 0xaaaaaab6f0bdd4?}, {0xc001090ea0, 0x8d, 0x8d}, 0xc0001d5b00, 0xc0001d5ad0) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/version.go:119 +0x2bc github.com/syndtr/goleveldb/leveldb.(*version).get(0xc00019c3c0, {0x0, 0x0, 0x0}, {0xc001090ea0, 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(0xc0003a0380, 0x0, {0x0, 0x0, 0x0}, {0xc0005f4870?, 0xffffffbd1a5108?, 0x1?}, 0x85?, 0xaaaaaab6ee9fb8?) /builddir/build/BUILD/goleveldb-5c35d600f0caac04c20d52438103f1a7aa612598/_build/src/github.com/syndtr/goleveldb/leveldb/db.go:785 +0x398 github.com/syndtr/goleveldb/leveldb.(*Snapshot).Get(0xc000288240?, {0xc0005f4870?, 0xc0005f4870?, 0x90?}, 0x0?) /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 2525 [select]: github.com/syndtr/goleveldb/leveldb.(*session).refLoop(0xc00027c1e0) /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 2524 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc00007cc40) /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 2526 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc0003a0380) /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 exit status 2 FAIL github.com/syndtr/goleveldb/leveldb 600.892s error: Bad exit status from /var/tmp/rpm-tmp.DQLPyf (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DQLPyf (%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