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-opentracing-contrib-stdlib.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-692906-26878/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-opentracing-contrib-stdlib.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=1658361600 Wrote: /builddir/build/SRPMS/golang-github-opentracing-contrib-stdlib-1.0.0-5.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-opentracing-contrib-stdlib.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-692906-26878/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-opentracing-contrib-stdlib.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.og9Z15 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-stdlib-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go-stdlib-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-stdlib-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-stdlib-1.0.0/vendor + [[ ! -e /builddir/build/BUILD/go-stdlib-1.0.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-stdlib-1.0.0/_build/bin install: creating directory '/builddir/build/BUILD/go-stdlib-1.0.0/_build' install: creating directory '/builddir/build/BUILD/go-stdlib-1.0.0/_build/bin' + export GOPATH=/builddir/build/BUILD/go-stdlib-1.0.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-stdlib-1.0.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib ]] ++ dirname /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib + install -m 0755 -vd /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib install: creating directory '/builddir/build/BUILD/go-stdlib-1.0.0/_build/src' install: creating directory '/builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib' + ln -fs /builddir/build/BUILD/go-stdlib-1.0.0 /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib + cd /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g2mZCx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 + cd go-stdlib-1.0.0 + cd /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/opentracing-contrib/go-stdlib -b /builddir/build/BUILD/go-stdlib-1.0.0/_build/bin -s /builddir/build/BUILD/go-stdlib-1.0.0/_build -o golang-github-opentracing-contrib-stdlib-devel.file-list -O /builddir/build/BUILD/go-stdlib-1.0.0 -V 1.0.0-5.fc38 -p /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/opentracing-contrib/go-stdlib + 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.1fMR8n + umask 022 + cd /builddir/build/BUILD + cd go-stdlib-1.0.0 + LDFLAGS=' -X github.com/opentracing-contrib/go-stdlib/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/opentracing-contrib/go-stdlib -b /builddir/build/BUILD/go-stdlib-1.0.0/_build/bin -s /builddir/build/BUILD/go-stdlib-1.0.0/_build -V 1.0.0-5.fc38 -p /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/go-stdlib-1.0.0/_build/src PATH: /builddir/build/BUILD/go-stdlib-1.0.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-stdlib-1.0.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/opentracing-contrib/go-stdlib/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/opentracing-contrib/go-stdlib github.com/opentracing-contrib/go-stdlib/nethttp 2023/05/27 21:00:11 http: panic serving 127.0.0.1:53702: panic test goroutine 231 [running]: net/http.(*conn).serve.func1() /usr/lib/golang/src/net/http/server.go:1854 +0xb8 panic({0xaaaaaade05d7a0, 0xaaaaaade0c7b88}) /usr/lib/golang/src/runtime/panic.go:890 +0x234 github.com/opentracing-contrib/go-stdlib/nethttp.MiddlewareFunc.func5.1() /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server.go:150 +0x12c panic({0xaaaaaade05d7a0, 0xaaaaaade0c7b88}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/opentracing-contrib/go-stdlib/nethttp.TestMiddlewareHandlerPanic.func2({0x0?, 0x0?}, 0x0?) /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server_test.go:309 +0x30 net/http.HandlerFunc.ServeHTTP(0x0?, {0xaaaaaade0cb6f0?, 0xc000101720?}, 0x0?) /usr/lib/golang/src/net/http/server.go:2122 +0x5c net/http.(*ServeMux).ServeHTTP(0x0?, {0xaaaaaade0cb6f0, 0xc000101720}, 0xc000191c00) /usr/lib/golang/src/net/http/server.go:2500 +0x160 github.com/opentracing-contrib/go-stdlib/nethttp.MiddlewareFunc.func5({0xaaaaaade0cb1e0?, 0xc00016ce00}, 0xc000191b00) /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server.go:154 +0x3ec net/http.HandlerFunc.ServeHTTP(0x0?, {0xaaaaaade0cb1e0?, 0xc00016ce00?}, 0x10?) /usr/lib/golang/src/net/http/server.go:2122 +0x5c net/http.serverHandler.ServeHTTP({0xc0001c4240?}, {0xaaaaaade0cb1e0, 0xc00016ce00}, 0xc000191b00) /usr/lib/golang/src/net/http/server.go:2936 +0x2e8 net/http.(*conn).serve(0xc00028d830, {0xaaaaaade0cba68, 0xc0001c41e0}) /usr/lib/golang/src/net/http/server.go:1995 +0x540 created by net/http.(*Server).Serve /usr/lib/golang/src/net/http/server.go:3089 +0x54c PASS ok github.com/opentracing-contrib/go-stdlib/nethttp 1.374s github.com/opentracing-contrib/go-stdlib/nethttp 2023/05/27 21:00:34 http: panic serving 127.0.0.1:51920: panic test goroutine 225 [running]: net/http.(*conn).serve.func1() /usr/lib/golang/src/net/http/server.go:1854 +0xb8 panic({0xaaaaaadb6517a0, 0xaaaaaadb6bbb88}) /usr/lib/golang/src/runtime/panic.go:890 +0x234 github.com/opentracing-contrib/go-stdlib/nethttp.MiddlewareFunc.func5.1() /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server.go:150 +0x12c panic({0xaaaaaadb6517a0, 0xaaaaaadb6bbb88}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/opentracing-contrib/go-stdlib/nethttp.TestMiddlewareHandlerPanic.func2({0xaaaaaadb38f15c?, 0xaaaaaadb347810?}, 0xaaaaaadb8b6ba8?) /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server_test.go:309 +0x30 net/http.HandlerFunc.ServeHTTP(0xaaaaaadb3581c0?, {0xaaaaaadb6bf6f0?, 0xc00030e0a0?}, 0xaaaaaadb347810?) /usr/lib/golang/src/net/http/server.go:2122 +0x5c net/http.(*ServeMux).ServeHTTP(0xc000180de0?, {0xaaaaaadb6bf6f0, 0xc00030e0a0}, 0xc0002cd800) /usr/lib/golang/src/net/http/server.go:2500 +0x160 github.com/opentracing-contrib/go-stdlib/nethttp.MiddlewareFunc.func5({0xaaaaaadb6bf1e0?, 0xc0002cae00}, 0xc0001a7300) /builddir/build/BUILD/go-stdlib-1.0.0/_build/src/github.com/opentracing-contrib/go-stdlib/nethttp/server.go:154 +0x3ec net/http.HandlerFunc.ServeHTTP(0x0?, {0xaaaaaadb6bf1e0?, 0xc0002cae00?}, 0x10?) /usr/lib/golang/src/net/http/server.go:2122 +0x5c net/http.serverHandler.ServeHTTP({0xc00038cc30?}, {0xaaaaaadb6bf1e0, 0xc0002cae00}, 0xc0001a7300) /usr/lib/golang/src/net/http/server.go:2936 +0x2e8 net/http.(*conn).serve(0xc0001a97a0, {0xaaaaaadb6bfa68, 0xc00038cb10}) /usr/lib/golang/src/net/http/server.go:1995 +0x540 created by net/http.(*Server).Serve /usr/lib/golang/src/net/http/server.go:3089 +0x54c PASS ok github.com/opentracing-contrib/go-stdlib/nethttp 1.255s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-opentracing-contrib-stdlib-devel-1.0.0-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1h7MSn + umask 022 + cd /builddir/build/BUILD + cd go-stdlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/doc/golang-github-opentracing-contrib-stdlib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/doc/golang-github-opentracing-contrib-stdlib-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/doc/golang-github-opentracing-contrib-stdlib-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SRdos0 + umask 022 + cd /builddir/build/BUILD + cd go-stdlib-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/licenses/golang-github-opentracing-contrib-stdlib-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/licenses/golang-github-opentracing-contrib-stdlib-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64/usr/share/licenses/golang-github-opentracing-contrib-stdlib-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/opentracing-contrib/go-stdlib/nethttp) = 1.0.0-5.fc38 golang-github-opentracing-contrib-stdlib-devel = 1.0.0-5.fc38 golang-ipath(github.com/opentracing-contrib/go-stdlib) = 1.0.0-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/opentracing/opentracing-go) golang(github.com/opentracing/opentracing-go/ext) golang(github.com/opentracing/opentracing-go/log) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-opentracing-contrib-stdlib-1.0.0-5.fc38.riscv64 Wrote: /builddir/build/RPMS/golang-github-opentracing-contrib-stdlib-devel-1.0.0-5.fc38.noarch.rpm Child return code was: 0