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-klauspost-compress.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-848294-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-klauspost-compress.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=1687910400 Wrote: /builddir/build/SRPMS/golang-github-klauspost-compress-1.15.15-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-848294-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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.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=1687910400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yLSh8U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compress-1.15.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/compress-1.15.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd compress-1.15.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/compress-1.15.15/vendor + [[ ! -e /builddir/build/BUILD/compress-1.15.15/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/compress-1.15.15/_build/bin install: creating directory '/builddir/build/BUILD/compress-1.15.15/_build' install: creating directory '/builddir/build/BUILD/compress-1.15.15/_build/bin' + export GOPATH=/builddir/build/BUILD/compress-1.15.15/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/compress-1.15.15/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress ]] ++ dirname /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress + install -m 0755 -vd /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost install: creating directory '/builddir/build/BUILD/compress-1.15.15/_build/src' install: creating directory '/builddir/build/BUILD/compress-1.15.15/_build/src/github.com' install: creating directory '/builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost' + ln -fs /builddir/build/BUILD/compress-1.15.15 /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress + cd /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VkGTmv + umask 022 + cd /builddir/build/BUILD + cd compress-1.15.15 + GOPATH=/builddir/build/BUILD/compress-1.15.15/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/klauspost/compress --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-klauspost-compress-1.15.15-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-848294-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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.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=1687910400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.CpMMDH + umask 022 + cd /builddir/build/BUILD + cd compress-1.15.15 + GOPATH=/builddir/build/BUILD/compress-1.15.15/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/klauspost/compress --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2XYbnP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 + cd compress-1.15.15 + cd /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/klauspost/compress -b /builddir/build/BUILD/compress-1.15.15/_build/bin -s /builddir/build/BUILD/compress-1.15.15/_build -o golang-github-klauspost-compress-devel.file-list -O /builddir/build/BUILD/compress-1.15.15 -V 1.15.15-1.fc38 -p /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/klauspost/compress + 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= +++ 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.LgpHT5 + umask 022 + cd /builddir/build/BUILD + cd compress-1.15.15 + LDFLAGS=' -X github.com/klauspost/compress/version=1.15.15' + 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/klauspost/compress -b /builddir/build/BUILD/compress-1.15.15/_build/bin -s /builddir/build/BUILD/compress-1.15.15/_build -V 1.15.15-1.fc38 -p /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.15.15-1.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/compress-1.15.15/_build/src PATH: /builddir/build/BUILD/compress-1.15.15/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/compress-1.15.15/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/klauspost/compress/version=1.15.15 -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/klauspost/compress github.com/klauspost/compress testing: warning: no tests to run PASS ok github.com/klauspost/compress 0.365s github.com/klauspost/compress testing: warning: no tests to run PASS ok github.com/klauspost/compress 0.296s github.com/klauspost/compress/flate PASS ok github.com/klauspost/compress/flate 220.365s github.com/klauspost/compress/flate PASS ok github.com/klauspost/compress/flate 218.258s github.com/klauspost/compress/fse PASS ok github.com/klauspost/compress/fse 1.167s github.com/klauspost/compress/fse PASS ok github.com/klauspost/compress/fse 1.160s github.com/klauspost/compress/gzhttp PASS ok github.com/klauspost/compress/gzhttp 2.908s github.com/klauspost/compress/gzhttp PASS ok github.com/klauspost/compress/gzhttp 2.661s github.com/klauspost/compress/gzhttp/writer ? github.com/klauspost/compress/gzhttp/writer [no test files] github.com/klauspost/compress/gzhttp/writer/gzkp PASS ok github.com/klauspost/compress/gzhttp/writer/gzkp 0.375s github.com/klauspost/compress/gzhttp/writer/gzkp PASS ok github.com/klauspost/compress/gzhttp/writer/gzkp 0.381s github.com/klauspost/compress/gzhttp/writer/gzstd PASS ok github.com/klauspost/compress/gzhttp/writer/gzstd 0.471s github.com/klauspost/compress/gzhttp/writer/gzstd PASS ok github.com/klauspost/compress/gzhttp/writer/gzstd 0.448s github.com/klauspost/compress/gzip PASS ok github.com/klauspost/compress/gzip 33.471s github.com/klauspost/compress/gzip PASS ok github.com/klauspost/compress/gzip 32.474s github.com/klauspost/compress/huff0 PASS ok github.com/klauspost/compress/huff0 20.764s github.com/klauspost/compress/huff0 PASS ok github.com/klauspost/compress/huff0 20.098s github.com/klauspost/compress/internal/cpuinfo ? github.com/klauspost/compress/internal/cpuinfo [no test files] github.com/klauspost/compress/internal/fuzz ? github.com/klauspost/compress/internal/fuzz [no test files] github.com/klauspost/compress/internal/snapref ? github.com/klauspost/compress/internal/snapref [no test files] github.com/klauspost/compress/s2 panic: test timed out after 10m0s running tests: TestIndex (1m51s) TestIndex/offset-524248 (10s) TestIndex/offset-524248/seek-2 (1s) goroutine 28457 [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, 1 minutes]: testing.(*T).Run(0xc00010eb60, {0xaaaaaad9b8bbc7?, 0xaaaaaad9915240?}, 0xaaaaaad9ca79a0) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2036 +0x54 testing.tRunner(0xc00010eb60, 0xc000165ca0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c testing.runTests(0xc000136960?, {0xaaaaaad9ea8c40, 0x27, 0x27}, {0xaaaaaad989d270?, 0xc000129dd8?, 0xaaaaaad9ee2d80?}) /usr/lib/golang/src/testing/testing.go:2034 +0x424 testing.(*M).Run(0xc000136960) /usr/lib/golang/src/testing/testing.go:1906 +0x560 main.main() _testmain.go:175 +0x1a8 goroutine 28174 [chan receive]: testing.(*T).Run(0xc005e436c0, {0xc000442060?, 0xc000068f18?}, 0xc0001c82a0) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 github.com/klauspost/compress/s2.TestIndex(0xc005e436c0) /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress/s2/encode_test.go:300 +0x4b0 testing.tRunner(0xc005e436c0, 0xaaaaaad9ca79a0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 28528 [running]: goroutine running on other thread; stack unavailable created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 28525 [chan receive]: testing.(*T).Run(0xc0000caea0, {0xc000442036?, 0xc00006cf18?}, 0xc0001c82a0) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 github.com/klauspost/compress/s2.TestIndex.func2(0xc0000caea0) /builddir/build/BUILD/compress-1.15.15/_build/src/github.com/klauspost/compress/s2/encode_test.go:337 +0x348 testing.tRunner(0xc0000caea0, 0xc0001c82a0) /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/klauspost/compress/s2 600.754s error: Bad exit status from /var/tmp/rpm-tmp.LgpHT5 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LgpHT5 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-klauspost-compress.spec