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/f29-build-15706703-1129637/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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.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/f29-build-15706703-1129637/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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p7hArn + 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 -xvvof - drwxrwxr-x root/root 0 2019-03-25 13:14 go-retryablehttp-0.5.3/ -rw-rw-r-- root/root 20 2019-03-25 13:14 go-retryablehttp-0.5.3/.gitignore -rw-rw-r-- root/root 103 2019-03-25 13:14 go-retryablehttp-0.5.3/.travis.yml -rw-rw-r-- root/root 15922 2019-03-25 13:14 go-retryablehttp-0.5.3/LICENSE -rw-rw-r-- root/root 145 2019-03-25 13:14 go-retryablehttp-0.5.3/Makefile -rw-rw-r-- root/root 1930 2019-03-25 13:14 go-retryablehttp-0.5.3/README.md -rw-rw-r-- root/root 17379 2019-03-25 13:14 go-retryablehttp-0.5.3/client.go -rw-rw-r-- root/root 14858 2019-03-25 13:14 go-retryablehttp-0.5.3/client_test.go -rw-rw-r-- root/root 95 2019-03-25 13:14 go-retryablehttp-0.5.3/go.mod -rw-rw-r-- root/root 185 2019-03-25 13:14 go-retryablehttp-0.5.3/go.sum + 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.9xRyDA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.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.fc29.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.fc29.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.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.fc29.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.x86_64/usr/share/gocode/src/github.com/hashicorp' install: creating directory '/builddir/build/BUILDROOT/golang-github-hashicorp-go-retryablehttp-0.5.3-1.fc29.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.fc29.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.fc29.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.fc29.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.fc29.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.fc29.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.fc29.x86_64/usr/share/gocode/src/github.com/hashicorp/go-retryablehttp/.goipath' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lU05IO + 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,-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.fc29.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=0x5ad9fd] BUILDSTDERR: goroutine 1 [running]: BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction.func1(0xc000187a30) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:472 +0x278 BUILDSTDERR: panic(0x920cc0, 0xd79220) BUILDSTDERR: /usr/lib/golang/src/runtime/panic.go:513 +0x1b9 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.ImportPaths(0xc000293ee0, 0x1, 0x1, 0x0, 0x1, 0xc0001870c8) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1888 +0x5d BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.PackagesAndErrors(0xc000293ee0, 0x1, 0x1, 0xa3c700, 0xc0003032a0, 0x2) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1842 +0xa3 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.ListPackage(0xc000298338, 0x25, 0x25, 0x0, 0xc000187290) 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(0xc000298300, 0x5e, 0xa3e6a0, 0xc000314680, 0x0, 0x0, 0x0, 0xc000187328) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:181 +0x6e8 BUILDSTDERR: path/filepath.walk(0xc000298300, 0x5e, 0xa3e6a0, 0xc000314680, 0xc000303280, 0x0, 0x2) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:362 +0xf6 BUILDSTDERR: path/filepath.Walk(0xc000298300, 0x5e, 0xc000303280, 0x9a32e6, 0x1) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:404 +0x105 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos(0xc0002d1ae0, 0x7ffeaceaf9d8, 0x25, 0x7ffeaceaf9d8, 0x25) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:139 +0x158 BUILDSTDERR: main.main.func1(0xc000305a40, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:73 +0x5d2 BUILDSTDERR: reflect.Value.call(0x905580, 0x9c8240, 0x13, 0x9a3ba5, 0x4, 0xc0001879d0, 0x1, 0x1, 0xc00010a200, 0x8a7ade, ...) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:447 +0x449 BUILDSTDERR: reflect.Value.Call(0x905580, 0x9c8240, 0x13, 0xc0001879d0, 0x1, 0x1, 0x1, 0x9a32d8, 0x1) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:308 +0xa4 BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction(0x905580, 0x9c8240, 0xc000305a40, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:481 +0x1fb BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.(*App).Run(0xc000156480, 0xc00010c000, 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 +0x47f BUILDSTDERR: main.main() BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:125 +0x791 Processing files: golang-github-hashicorp-go-retryablehttp-devel-0.5.3-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YbEUS2 + exit 0 + 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.fc29.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.fc29.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.fc29.x86_64/usr/share/doc/golang-github-hashicorp-go-retryablehttp-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0TVG3g + 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.fc29.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.fc29.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.fc29.x86_64/usr/share/licenses/golang-github-hashicorp-go-retryablehttp-devel + exit 0 Provides: golang(github.com/hashicorp/go-retryablehttp) = 0.5.3-1.fc29 golang-github-hashicorp-go-retryablehttp-devel = 0.5.3-1.fc29 golang-ipath(github.com/hashicorp/go-retryablehttp) = 0.5.3-1.fc29 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.fc29.x86_64 Wrote: /builddir/build/RPMS/golang-github-hashicorp-go-retryablehttp-devel-0.5.3-1.fc29.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9fOFXv + 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.fc29.x86_64 + exit 0 Child return code was: 0