Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-108364-67239/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/golang-github-streadway-handy-0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-108364-67239/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fZxKtf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf handy-0f66f006fb2ebde51f4ce769641df75d602989e7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/handy-0f66f006fb2ebde51f4ce769641df75d602989e7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd handy-0f66f006fb2ebde51f4ce769641df75d602989e7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/vendor + [[ ! -e /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin install: creating directory '/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build' install: creating directory '/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin' + export GOPATH=/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway/handy ]] ++ dirname /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway/handy + install -m 0755 -vd /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway install: creating directory '/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src' install: creating directory '/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com' install: creating directory '/builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway' + ln -fs /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7 /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway/handy + cd /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway/handy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XW1SIj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 + cd handy-0f66f006fb2ebde51f4ce769641df75d602989e7 + cd /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src/github.com/streadway/handy + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/streadway/handy -b /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin -s /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build -o golang-github-streadway-handy-devel.file-list -O /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7 -V 0-1.oc9 -C 0f66f006fb2ebde51f4ce769641df75d602989e7 -p /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/streadway/handy realpath: go.mod: No such file or directory + 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/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8Y37Gm + umask 022 + cd /builddir/build/BUILD + cd handy-0f66f006fb2ebde51f4ce769641df75d602989e7 + GO_LDFLAGS=' -X github.com/streadway/handy/version=0 -X github.com/streadway/handy/version.commit=0f66f006fb2ebde51f4ce769641df75d602989e7' + 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/streadway/handy -b /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin -s /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build -V 0-1.oc9 -C 0f66f006fb2ebde51f4ce769641df75d602989e7 -p /builddir/build/BUILDROOT/golang-github-streadway-handy-0-1.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' -d retry Testing in: /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/src PATH: /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/handy-0f66f006fb2ebde51f4ce769641df75d602989e7/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/streadway/handy/version=0 -X github.com/streadway/handy/version.commit=0f66f006fb2ebde51f4ce769641df75d602989e7 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: github.com/streadway/handy github.com/streadway/handy/accept PASS ok github.com/streadway/handy/accept 0.012s github.com/streadway/handy/accept PASS ok github.com/streadway/handy/accept 0.034s github.com/streadway/handy/atomic ? github.com/streadway/handy/atomic [no test files] github.com/streadway/handy/breaker PASS ok github.com/streadway/handy/breaker 0.010s github.com/streadway/handy/breaker PASS ok github.com/streadway/handy/breaker 0.012s github.com/streadway/handy/cors PASS ok github.com/streadway/handy/cors 0.046s github.com/streadway/handy/cors PASS ok github.com/streadway/handy/cors 0.047s github.com/streadway/handy/encoding PASS ok github.com/streadway/handy/encoding 0.052s github.com/streadway/handy/encoding PASS ok github.com/streadway/handy/encoding 0.054s github.com/streadway/handy/proxy PASS ok github.com/streadway/handy/proxy 0.024s github.com/streadway/handy/proxy PASS ok github.com/streadway/handy/proxy 0.006s github.com/streadway/handy/redirect PASS ok github.com/streadway/handy/redirect 0.003s github.com/streadway/handy/redirect PASS ok github.com/streadway/handy/redirect 0.005s github.com/streadway/handy/report --- FAIL: TestMultipleJSONLogLines (0.01s) json_test.go:49: map[host:example.org method:GET ms:13 path:/foo proto:HTTP/1.1 size:0 status:200 time:2024-09-23T08:14:31.290553095Z] json_test.go:74: duration falls outside of 10msĀ±1ms, got: 13000000 FAIL exit status 1 FAIL github.com/streadway/handy/report 0.017s error: Bad exit status from /var/tmp/rpm-tmp.8Y37Gm (%check) Bad exit status from /var/tmp/rpm-tmp.8Y37Gm (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-streadway-handy.spec