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-x-oauth2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171231-79852/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-x-oauth2.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-x-oauth2-0.16.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171231-79852/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.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.nXJmF9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oauth2-0.16.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oauth2-0.16.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oauth2-0.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/oauth2-0.16.0/vendor + [[ ! -e /builddir/build/BUILD/oauth2-0.16.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/oauth2-0.16.0/_build/bin install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/bin' + export GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 ]] ++ dirname /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + install -m 0755 -vd /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x' + ln -fs /builddir/build/BUILD/oauth2-0.16.0 /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + cd /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pac4vB + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.16.0 + GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path golang.org/x/oauth2 --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-x-oauth2-0.16.0-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171231-79852/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.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.onusNV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oauth2-0.16.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oauth2-0.16.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oauth2-0.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/oauth2-0.16.0/vendor + [[ ! -e /builddir/build/BUILD/oauth2-0.16.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/oauth2-0.16.0/_build/bin install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/bin' + export GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 ]] ++ dirname /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + install -m 0755 -vd /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org' install: creating directory '/builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x' + ln -fs /builddir/build/BUILD/oauth2-0.16.0 /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + cd /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xvEinH + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.16.0 + GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path golang.org/x/oauth2 --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-x-oauth2-0.16.0-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171231-79852/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 -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.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(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OMPz4v + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.16.0 + GOPATH=/builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path golang.org/x/oauth2 --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EbyOrC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 + cd oauth2-0.16.0 + cd /builddir/build/BUILD/oauth2-0.16.0/_build/src/golang.org/x/oauth2 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i golang.org/x/oauth2 -b /builddir/build/BUILD/oauth2-0.16.0/_build/bin -s /builddir/build/BUILD/oauth2-0.16.0/_build -o golang-x-oauth2-devel.file-list -O /builddir/build/BUILD/oauth2-0.16.0 -V 0.16.0-2.oc9 -p /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' Installing: golang.org/x/oauth2 + IFS= +++ sort -u +++ realpath -e --relative-base=. CONTRIBUTING.md README.md ++ listfiles_include='CONTRIBUTING.md README.md' ++ echo 'CONTRIBUTING.md README.md' + godocs='CONTRIBUTING.md README.md' + [[ -n CONTRIBUTING.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.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.YoDROP + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.16.0 + GO_LDFLAGS=' -X golang.org/x/oauth2/version=0.16.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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i golang.org/x/oauth2 -b /builddir/build/BUILD/oauth2-0.16.0/_build/bin -s /builddir/build/BUILD/oauth2-0.16.0/_build -V 0.16.0-2.oc9 -p /builddir/build/BUILDROOT/golang-x-oauth2-0.16.0-2.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/oauth2-0.16.0/_build/src PATH: /builddir/build/BUILD/oauth2-0.16.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/oauth2-0.16.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X golang.org/x/oauth2/version=0.16.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: golang.org/x/oauth2 golang.org/x/oauth2 PASS ok golang.org/x/oauth2 0.047s golang.org/x/oauth2 PASS ok golang.org/x/oauth2 0.059s golang.org/x/oauth2/amazon ? golang.org/x/oauth2/amazon [no test files] golang.org/x/oauth2/authhandler PASS ok golang.org/x/oauth2/authhandler 0.048s golang.org/x/oauth2/authhandler PASS ok golang.org/x/oauth2/authhandler 0.067s golang.org/x/oauth2/bitbucket ? golang.org/x/oauth2/bitbucket [no test files] golang.org/x/oauth2/cern ? golang.org/x/oauth2/cern [no test files] golang.org/x/oauth2/clientcredentials PASS ok golang.org/x/oauth2/clientcredentials 0.047s golang.org/x/oauth2/clientcredentials PASS ok golang.org/x/oauth2/clientcredentials 0.022s golang.org/x/oauth2/endpoints PASS ok golang.org/x/oauth2/endpoints 0.025s golang.org/x/oauth2/endpoints PASS ok golang.org/x/oauth2/endpoints 0.065s golang.org/x/oauth2/facebook ? golang.org/x/oauth2/facebook [no test files] golang.org/x/oauth2/fitbit ? golang.org/x/oauth2/fitbit [no test files] golang.org/x/oauth2/foursquare ? golang.org/x/oauth2/foursquare [no test files] golang.org/x/oauth2/github ? golang.org/x/oauth2/github [no test files] golang.org/x/oauth2/gitlab ? golang.org/x/oauth2/gitlab [no test files] golang.org/x/oauth2/google PASS ok golang.org/x/oauth2/google 0.507s golang.org/x/oauth2/google PASS ok golang.org/x/oauth2/google 0.516s golang.org/x/oauth2/google/downscope PASS ok golang.org/x/oauth2/google/downscope 0.050s golang.org/x/oauth2/google/downscope PASS ok golang.org/x/oauth2/google/downscope 0.053s golang.org/x/oauth2/google/internal/externalaccount PASS ok golang.org/x/oauth2/google/internal/externalaccount 0.066s golang.org/x/oauth2/google/internal/externalaccount PASS ok golang.org/x/oauth2/google/internal/externalaccount 0.079s golang.org/x/oauth2/google/internal/externalaccountauthorizeduser PASS ok golang.org/x/oauth2/google/internal/externalaccountauthorizeduser 0.046s golang.org/x/oauth2/google/internal/externalaccountauthorizeduser PASS ok golang.org/x/oauth2/google/internal/externalaccountauthorizeduser 0.039s golang.org/x/oauth2/google/internal/stsexchange PASS ok golang.org/x/oauth2/google/internal/stsexchange 0.053s golang.org/x/oauth2/google/internal/stsexchange PASS ok golang.org/x/oauth2/google/internal/stsexchange 0.061s golang.org/x/oauth2/heroku ? golang.org/x/oauth2/heroku [no test files] golang.org/x/oauth2/hipchat ? golang.org/x/oauth2/hipchat [no test files] golang.org/x/oauth2/instagram ? golang.org/x/oauth2/instagram [no test files] golang.org/x/oauth2/internal PASS ok golang.org/x/oauth2/internal 0.056s golang.org/x/oauth2/internal PASS ok golang.org/x/oauth2/internal 0.058s golang.org/x/oauth2/jira PASS ok golang.org/x/oauth2/jira 0.043s golang.org/x/oauth2/jira PASS ok golang.org/x/oauth2/jira 0.048s golang.org/x/oauth2/jws PASS ok golang.org/x/oauth2/jws 0.559s golang.org/x/oauth2/jws PASS ok golang.org/x/oauth2/jws 0.152s golang.org/x/oauth2/jwt # golang.org/x/oauth2/jwt_test # [golang.org/x/oauth2/jwt_test] ./example_test.go:13:1: ExampleJWTConfig refers to unknown identifier: JWTConfig FAIL golang.org/x/oauth2/jwt [build failed] error: Bad exit status from /var/tmp/rpm-tmp.YoDROP (%check) Bad exit status from /var/tmp/rpm-tmp.YoDROP (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.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 -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-x-oauth2.spec