Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 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/f39-build-1742297-41368/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=1700438400 Wrote: /builddir/build/SRPMS/golang-github-klauspost-compress-1.16.7-1.fc39.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/f39-build-1742297-41368/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=1700438400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iWOQYC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compress-1.16.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/compress-1.16.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd compress-1.16.7 + rm -rf /builddir/build/BUILD/compress-1.16.7-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/compress-1.16.7-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/compress-1.16.7/vendor + [[ ! -e /builddir/build/BUILD/compress-1.16.7/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/compress-1.16.7/_build/bin install: creating directory '/builddir/build/BUILD/compress-1.16.7/_build' install: creating directory '/builddir/build/BUILD/compress-1.16.7/_build/bin' + export GOPATH=/builddir/build/BUILD/compress-1.16.7/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/compress-1.16.7/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress ]] ++ dirname /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress + install -m 0755 -vd /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost install: creating directory '/builddir/build/BUILD/compress-1.16.7/_build/src' install: creating directory '/builddir/build/BUILD/compress-1.16.7/_build/src/github.com' install: creating directory '/builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost' + ln -fs /builddir/build/BUILD/compress-1.16.7 /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress + cd /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kbXK4e + umask 022 + cd /builddir/build/BUILD + cd compress-1.16.7 + GOPATH=/builddir/build/BUILD/compress-1.16.7/_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.16.7-1.fc39.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/f39-build-1742297-41368/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=1700438400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.L5YBS1 + umask 022 + cd /builddir/build/BUILD + cd compress-1.16.7 + GOPATH=/builddir/build/BUILD/compress-1.16.7/_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.tTUqsx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.riscv64 + cd compress-1.16.7 + cd /builddir/build/BUILD/compress-1.16.7/_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.16.7/_build/bin -s /builddir/build/BUILD/compress-1.16.7/_build -o golang-github-klauspost-compress-devel.file-list -O /builddir/build/BUILD/compress-1.16.7 -V 1.16.7-1.fc39 -p /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.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= +++ 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.HIGror + umask 022 + cd /builddir/build/BUILD + cd compress-1.16.7 + LDFLAGS=' -X github.com/klauspost/compress/version=1.16.7' + 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.16.7/_build/bin -s /builddir/build/BUILD/compress-1.16.7/_build -V 1.16.7-1.fc39 -p /builddir/build/BUILDROOT/golang-github-klauspost-compress-1.16.7-1.fc39.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/compress-1.16.7/_build/src PATH: /builddir/build/BUILD/compress-1.16.7/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/compress-1.16.7/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/klauspost/compress/version=1.16.7 -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.340s github.com/klauspost/compress testing: warning: no tests to run PASS ok github.com/klauspost/compress 0.267s github.com/klauspost/compress/flate PASS ok github.com/klauspost/compress/flate 276.150s github.com/klauspost/compress/flate PASS ok github.com/klauspost/compress/flate 280.277s github.com/klauspost/compress/fse PASS ok github.com/klauspost/compress/fse 0.965s github.com/klauspost/compress/fse PASS ok github.com/klauspost/compress/fse 0.844s github.com/klauspost/compress/gzhttp PASS ok github.com/klauspost/compress/gzhttp 3.138s github.com/klauspost/compress/gzhttp PASS ok github.com/klauspost/compress/gzhttp 3.313s 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.380s github.com/klauspost/compress/gzhttp/writer/gzkp PASS ok github.com/klauspost/compress/gzhttp/writer/gzkp 0.339s github.com/klauspost/compress/gzhttp/writer/gzstd PASS ok github.com/klauspost/compress/gzhttp/writer/gzstd 0.359s github.com/klauspost/compress/gzhttp/writer/gzstd PASS ok github.com/klauspost/compress/gzhttp/writer/gzstd 0.393s github.com/klauspost/compress/gzip PASS ok github.com/klauspost/compress/gzip 106.465s github.com/klauspost/compress/gzip PASS ok github.com/klauspost/compress/gzip 97.544s github.com/klauspost/compress/huff0 PASS ok github.com/klauspost/compress/huff0 21.021s github.com/klauspost/compress/huff0 PASS ok github.com/klauspost/compress/huff0 21.757s 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/lz4ref ? github.com/klauspost/compress/internal/lz4ref [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: TestEncoderRegression (4m49s) TestEncoderRegression/13637e24462feae18107c1e6417fe9ff379a7a7d (6s) TestEncoderRegression/13637e24462feae18107c1e6417fe9ff379a7a7d/none-c1-4k-win-pad-max (3s) goroutine 18510 [running]: testing.(*M).startAlarm.func1() /usr/lib/golang/src/testing/testing.go:2259 +0x304 created by time.goFunc /usr/lib/golang/src/time/sleep.go:176 +0x50 goroutine 1 [chan receive, 4 minutes]: testing.(*T).Run(0xc00010c9c0, {0xaaaaaaea5683f1?, 0xaaaaaaea2c8248?}, 0xaaaaaaea690790) /usr/lib/golang/src/testing/testing.go:1649 +0x380 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2054 +0x54 testing.tRunner(0xc00010c9c0, 0xc000068c68) /usr/lib/golang/src/testing/testing.go:1595 +0x104 testing.runTests(0xc000122960?, {0xaaaaaaea8b8c20, 0x31, 0x31}, {0xaaaaaaea248a1c?, 0xc000160940?, 0xaaaaaaea8f04c0?}) /usr/lib/golang/src/testing/testing.go:2052 +0x414 testing.(*M).Run(0xc000122960) /usr/lib/golang/src/testing/testing.go:1925 +0x564 main.main() _testmain.go:211 +0x1a8 goroutine 4115 [chan receive]: testing.(*T).Run(0xc0000f61a0, {0xc0001bdb90?, 0x7ca2b?}, 0xc00000c0d8) /usr/lib/golang/src/testing/testing.go:1649 +0x380 github.com/klauspost/compress/s2.TestEncoderRegression(0xc0000f61a0) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer_test.go:231 +0x1fc testing.tRunner(0xc0000f61a0, 0xaaaaaaea690790) /usr/lib/golang/src/testing/testing.go:1595 +0x104 created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1648 +0x36c goroutine 3220 [chan receive, 6 minutes]: github.com/klauspost/compress/s2.(*Writer).Reset.func1() /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer.go:144 +0x94 created by github.com/klauspost/compress/s2.(*Writer).Reset in goroutine 3218 /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer.go:140 +0x1f0 goroutine 18531 [chan receive]: testing.(*T).Run(0xc00021a680, {0xc000152af8?, 0xaaaaaaea615b20?}, 0xc000036440) /usr/lib/golang/src/testing/testing.go:1649 +0x380 github.com/klauspost/compress/s2.TestEncoderRegression.func1(0xc00021a680, {0xc000078400, 0x9a, 0x9a}) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer_test.go:93 +0x108 github.com/klauspost/compress/s2.TestEncoderRegression.func2(0xc00021a680) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer_test.go:242 +0xf8 testing.tRunner(0xc00021a680, 0xc00000c0d8) /usr/lib/golang/src/testing/testing.go:1595 +0x104 created by testing.(*T).Run in goroutine 4115 /usr/lib/golang/src/testing/testing.go:1648 +0x36c goroutine 18658 [runnable]: github.com/klauspost/compress/s2.(*Writer).err(0xc0000ba900, {0x0, 0x0}) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer.go:95 +0x18 github.com/klauspost/compress/s2.(*Writer).closeIndex(0xc0000ba900, 0x0) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer.go:804 +0x4b8 github.com/klauspost/compress/s2.(*Writer).Close(...) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer.go:755 github.com/klauspost/compress/s2.TestEncoderRegression.func1.1(0xc0000f6d00) /builddir/build/BUILD/compress-1.16.7/_build/src/github.com/klauspost/compress/s2/writer_test.go:155 +0x5a0 testing.tRunner(0xc0000f6d00, 0xc000036440) /usr/lib/golang/src/testing/testing.go:1595 +0x104 created by testing.(*T).Run in goroutine 18531 /usr/lib/golang/src/testing/testing.go:1648 +0x36c exit status 2 FAIL github.com/klauspost/compress/s2 600.726s error: Bad exit status from /var/tmp/rpm-tmp.HIGror (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HIGror (%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 597, 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