D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/iurt/rpmbuild/SRPMS/@2247469:golang-github-franela-goreq-0-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RayLlf Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ylu4Wr + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build + rm -rf goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/vendor + [[ ! -e /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin ]] + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin' + export GOPATH=/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build:/usr/share/gocode + GOPATH=/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build:/usr/share/gocode + [[ ! -e /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq ]] ++ dirname /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela' + ln -fs /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq + echo 'Patch #0 (0001-Import-github.com-franela-goblin-as-goblin.patch):' Patch #0 (0001-Import-github.com-franela-goblin-as-goblin.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file goreq_test.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.sbEj2o + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build + mkdir /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT + cd goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/franela/goreq -b /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin -s /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build -o golang-github-franela-goreq-devel.file-list -O /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 -V 0-4.mga10 -C bcd34c9993f899273c74baaa95e15386cd97b6e7 -p /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/franela/goreq 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 + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hf6zi3 + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build + cd goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/franela/goreq/version.commit=bcd34c9993f899273c74baaa95e15386cd97b6e7 -X github.com/franela/goreq/version=0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/franela/goreq -b /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin -s /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build -V 0-4.mga10 -C bcd34c9993f899273c74baaa95e15386cd97b6e7 -p /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src PATH: /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/home/iurt/.local/bin:/home/iurt/bin GOPATH: /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/franela/goreq/version.commit=bcd34c9993f899273c74baaa95e15386cd97b6e7 -X github.com/franela/goreq/version=0 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/franela/goreq github.com/franela/goreq Request General request methods GET 1) Should do a GET 2) Should return ContentLength 3) Should do a GET with querystring 4) Should support url.Values in querystring 5) Should support sending string body 6) Shoulds support sending a Reader body 7) Support sending any object that is json encodable 8) Support sending an array of bytes body ✓ Should return an error when body is not JSON encodable panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xaaaac2714f78] goroutine 27 [running]: github.com/franela/goreq.TestRequest.func2.1.3.10() /home/iurt/rpmbuild/BUILD/golang-github-franela-goreq-0-build/goreq-bcd34c9993f899273c74baaa95e15386cd97b6e7/_build/src/github.com/franela/goreq/goreq_test.go:281 +0xe8 github.com/franela/goblin.runIt.func1.1() /usr/share/gocode/src/github.com/franela/goblin/goblin.go:232 +0x24 github.com/franela/goblin.timeTrack(0x40000a6300, 0x400007b798) /usr/share/gocode/src/github.com/franela/goblin/goblin.go:355 +0x68 github.com/franela/goblin.runIt.func1(0x40002a2000) /usr/share/gocode/src/github.com/franela/goblin/goblin.go:232 +0x68 created by github.com/franela/goblin.runIt in goroutine 7 /usr/share/gocode/src/github.com/franela/goblin/goblin.go:229 +0x338 exit status 2 FAIL github.com/franela/goreq 0.019s error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.hf6zi3 (%check) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.hf6zi3 (%check) I: [iurt_root_command] ERROR: chroot