Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-retryablehttp.spec'], chrootPath='/var/lib/mock/f30-build-15706602-1129555/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-retryablehttp.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-retryablehttp.spec'], chrootPath='/var/lib/mock/f30-build-15706602-1129555/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-retryablehttp.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ykJ9Ha + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-retryablehttp-0.5.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-retryablehttp-0.5.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-retryablehttp-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/glide.yaml /builddir/build/SOURCES/glide.lock . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kiwEnz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 + cd go-retryablehttp-0.5.3 + go-rpm-integration install -i github.com/hashicorp/go-retryablehttp -o devel.file-list -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/go-retryablehttp-0.5.3/_build glide.lock glide.yaml -r '.*example.*' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src' Installing: github.com/hashicorp/go-retryablehttp install: creating directory '/builddir/build/BUILD/go-retryablehttp-0.5.3/_build' install: creating directory '/builddir/build/BUILD/go-retryablehttp-0.5.3/_build/src' install: creating directory '/builddir/build/BUILD/go-retryablehttp-0.5.3/_build/src/github.com' install: creating directory '/builddir/build/BUILD/go-retryablehttp-0.5.3/_build/src/github.com/hashicorp' '/builddir/build/BUILD/go-retryablehttp-0.5.3/_build/src/github.com/hashicorp/go-retryablehttp' -> '/builddir/build/BUILD/go-retryablehttp-0.5.3' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp' '/builddir/build/BUILD/go-retryablehttp-0.5.3/README.md' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/README.md' '/builddir/build/BUILD/go-retryablehttp-0.5.3/client.go' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/client.go' '/builddir/build/BUILD/go-retryablehttp-0.5.3/client_test.go' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/client_test.go' '/builddir/build/BUILD/go-retryablehttp-0.5.3/glide.lock' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/glide.lock' '/builddir/build/BUILD/go-retryablehttp-0.5.3/glide.yaml' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/glide.yaml' '/builddir/build/BUILD/go-retryablehttp-0.5.3/.goipath' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/.goipath' + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VnR4IY + umask 022 + cd /builddir/build/BUILD + cd go-retryablehttp-0.5.3 + PATH=/builddir/build/BUILD/go-retryablehttp-0.5.3/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + 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 ' + go-rpm-integration check -i github.com/hashicorp/go-retryablehttp -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/go-retryablehttp-0.5.3/_build -r '.*example.*' Testing: github.com/hashicorp/go-retryablehttp BUILDSTDERR: panic: runtime error: invalid memory address or nil pointer dereference [recovered] BUILDSTDERR: panic: runtime error: invalid memory address or nil pointer dereference BUILDSTDERR: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5b522a] BUILDSTDERR: goroutine 1 [running]: BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction.func1(0xc000139938) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:472 +0x27b BUILDSTDERR: panic(0x97c000, 0xe60220) BUILDSTDERR: /usr/lib/golang/src/runtime/panic.go:522 +0x1b5 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.ImportPaths(0xc0002dc370, 0x1, 0x1, 0x0, 0xc000314480, 0xb) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1888 +0x5a BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.PackagesAndErrors(0xc0002dc370, 0x1, 0x1, 0x5, 0xe, 0x7) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1839 +0xa4 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.ListPackage(0xc000158398, 0x25, 0x25, 0x0, 0xc000139248) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:420 +0x8f BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos.func1(0xc000158360, 0x5e, 0xad77c0, 0xc0002ea340, 0x0, 0x0, 0x0, 0xc0002ea340) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:181 +0x6dd BUILDSTDERR: path/filepath.walk(0xc000158360, 0x5e, 0xad77c0, 0xc0002ea340, 0xc000273820, 0x0, 0x2) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:367 +0xe3 BUILDSTDERR: path/filepath.Walk(0xc000158360, 0x5e, 0xc000273820, 0xa064e6, 0x1) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:409 +0xff BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos(0xc00025bd10, 0x7ffe331999ba, 0x25, 0x7ffe331999ba, 0x25) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:139 +0x158 BUILDSTDERR: main.main.func1(0xc0002da500, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:73 +0x610 BUILDSTDERR: reflect.Value.call(0x95fc20, 0xa2cbc0, 0x13, 0xa06d83, 0x4, 0xc0001398d8, 0x1, 0x1, 0xc0000aa200, 0xa0a2a4, ...) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:447 +0x461 BUILDSTDERR: reflect.Value.Call(0x95fc20, 0xa2cbc0, 0x13, 0xc0001398d8, 0x1, 0x1, 0xa064d8, 0x1, 0xa0a2a4) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:308 +0xa4 BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction(0x95fc20, 0xa2cbc0, 0xc0002da500, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:481 +0x1ff BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.(*App).Run(0xc0000e4780, 0xc0000ac000, 0x7, 0x7, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:240 +0x509 BUILDSTDERR: main.main() BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:125 +0x791 + exit 0 Processing files: golang-github-hashicorp-go-retryablehttp-devel-0.5.3-1.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AuaWdo + umask 022 + cd /builddir/build/BUILD + cd go-retryablehttp-0.5.3 + DOCDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/doc/golang-github-hashicorp-go-retryablehttp-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/doc/golang-github-hashicorp-go-retryablehttp-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/doc/golang-github-hashicorp-go-retryablehttp-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1FBPJN + umask 022 + cd /builddir/build/BUILD + cd go-retryablehttp-0.5.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/licenses/golang-github-hashicorp-go-retryablehttp-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/licenses/golang-github-hashicorp-go-retryablehttp-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64/usr/share/licenses/golang-github-hashicorp-go-retryablehttp-devel + exit 0 Provides: golang(github.com/hashicorp/go-retryablehttp) = 0.5.3-1.fc30 golang-github-hashicorp-go-retryablehttp-devel = 0.5.3-1.fc30 golang-ipath(github.com/hashicorp/go-retryablehttp) = 0.5.3-1.fc30 Requires(rpmlib): rpmlib(BuiltinLuaScripts) <= 4.2.2-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: golang(github.com/hashicorp/go-cleanhttp) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 Wrote: /builddir/build/RPMS/golang-github-hashicorp-go-retryablehttp-devel-0.5.3-1.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZAI5Ud + umask 022 + cd /builddir/build/BUILD + cd go-retryablehttp-0.5.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc30.x86_64 + exit 0 Child return code was: 0