Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/kubernetes.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/kubernetes.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/kubernetes-1.5.2-0.7.git269f928.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/kubernetes.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=Falseuid=1002env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/kubernetes.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/bash -e /var/tmp/rpm-tmp.shfLMV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053 + /usr/bin/gzip -dc /builddir/build/SOURCES/kubernetes-43a9be4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (build-with-debug-info.patch):' Patch #0 (build-with-debug-info.patch): + /usr/bin/cat /builddir/build/SOURCES/build-with-debug-info.patch + /usr/bin/patch -p1 --fuzz=0 patching file hack/lib/golang.sh Hunk #1 succeeded at 490 (offset -9 lines). Hunk #2 succeeded at 499 (offset -9 lines). + cd /builddir/build/BUILD + rm -rf go-bindata-a0ff2567cfb70903282db057e799fd826784d41d + /usr/bin/gzip -dc /builddir/build/SOURCES/go-bindata-a0ff256.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-bindata-a0ff2567cfb70903282db057e799fd826784d41d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf contrib-7fbd2520863b3c6a1d4a2e503cd76497f3ebc0e2 + /usr/bin/gzip -dc /builddir/build/SOURCES/contrib-7fbd252.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd contrib-7fbd2520863b3c6a1d4a2e503cd76497f3ebc0e2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (add-pod-infrastructure-container.patch):' Patch #1 (add-pod-infrastructure-container.patch): + /usr/bin/cat /builddir/build/SOURCES/add-pod-infrastructure-container.patch + /usr/bin/patch -p1 --fuzz=0 patching file init/systemd/environ/kubelet patching file init/systemd/kubelet.service + cd /builddir/build/BUILD + rm -rf ose-269f928217957e7126dc87e6adfa82242bfe5b1e + /usr/bin/gzip -dc /builddir/build/SOURCES/ose-269f928.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ose-269f928217957e7126dc87e6adfa82242bfe5b1e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ ls ++ grep -v '^vendor' + dirs='CONTRIBUTING.adoc Godeps HACKING.md LICENSE Makefile README.md UPGRADE.md Vagrantfile api assets cmd contrib doc.go docs examples hack images origin.spec pkg test third_party tools' + rm -rf CONTRIBUTING.adoc Godeps HACKING.md LICENSE Makefile README.md UPGRADE.md Vagrantfile api assets cmd contrib doc.go docs examples hack images origin.spec pkg test third_party tools + mv vendor/k8s.io/kubernetes/LICENSE vendor/k8s.io/kubernetes/README.md vendor/k8s.io/kubernetes/api vendor/k8s.io/kubernetes/cmd vendor/k8s.io/kubernetes/examples vendor/k8s.io/kubernetes/federation vendor/k8s.io/kubernetes/pkg vendor/k8s.io/kubernetes/plugin vendor/k8s.io/kubernetes/test vendor/k8s.io/kubernetes/third_party . + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/kube-apiserver/apiserver.go cmd/kube-apiserver/. + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/kube-controller-manager/controller-manager.go cmd/kube-controller-manager/. + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/kubelet/kubelet.go cmd/kubelet/. + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/kube-proxy/proxy.go cmd/kube-proxy/. + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/plugin/cmd/kube-scheduler/scheduler.go plugin/cmd/kube-scheduler/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/kubectl cmd/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/hack . + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cluster . + mkdir -p contrib + cp -r ../contrib-7fbd2520863b3c6a1d4a2e503cd76497f3ebc0e2/init contrib/. + mkdir docs + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/docs/admin docs/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/docs/man docs/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/gendocs ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/genkubedocs ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/genman ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/genyaml cmd/. + mkdir -p federation/cmd + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/federation . + mkdir -p vendor/github.com/spf13 + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/vendor/github.com/spf13/cobra vendor/github.com/spf13/. + mkdir -p vendor/github.com/cpuguy83 + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/vendor/github.com/cpuguy83/go-md2man vendor/github.com/cpuguy83/. + mkdir -p vendor/github.com/aws + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/vendor/github.com/aws/aws-sdk-go vendor/github.com/aws/. + mkdir -p vendor/google.golang.org + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/vendor/google.golang.org/api vendor/google.golang.org/. + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/LICENSE . + cp ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/CHANGELOG.md ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/CONTRIBUTING.md ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/README.md ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/code-of-conduct.md . + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/hyperkube cmd/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/Makefile . + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/Makefile.generated_files . + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/test . + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/libs/go2idl/deepcopy-gen ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/libs/go2idl/conversion-gen ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/libs/go2idl/defaulter-gen ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/cmd/libs/go2idl/openapi-gen cmd/libs/go2idl/. + mkdir -p vendor/k8s.io/kubernetes/pkg/client/metrics/ + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/pkg/client/metrics/prometheus vendor/k8s.io/kubernetes/pkg/client/metrics/. + mkdir -p vendor/k8s.io/kubernetes/pkg/version + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/pkg/version/prometheus vendor/k8s.io/kubernetes/pkg/version/. + cp -r ../kubernetes-43a9be421799afb8a9c02d3541212a6e623c9053/pkg/version/verflag vendor/k8s.io/kubernetes/pkg/version/. + echo 'Patch #2 (Change-etcd-server-port.patch):' Patch #2 (Change-etcd-server-port.patch): + /usr/bin/cat /builddir/build/SOURCES/Change-etcd-server-port.patch + /usr/bin/patch -p1 --fuzz=0 patching file contrib/init/systemd/environ/apiserver Patch #13 (remove-apiserver-backport-kubectl-add-kube-prefix-fo.patch): + echo 'Patch #13 (remove-apiserver-backport-kubectl-add-kube-prefix-fo.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/remove-apiserver-backport-kubectl-add-kube-prefix-fo.patch patching file cmd/hyperkube/kube-controller-manager.go Hunk #1 succeeded at 27 (offset -2 lines). patching file cmd/hyperkube/kube-proxy.go Hunk #1 succeeded at 32 (offset -2 lines). patching file cmd/hyperkube/kube-scheduler.go Hunk #1 succeeded at 27 (offset -2 lines). patching file cmd/hyperkube/main.go Hunk #1 succeeded at 33 (offset 1 line). + echo 'Patch #17 (Hyperkube-remove-federation-cmds.patch):' Patch #17 (Hyperkube-remove-federation-cmds.patch): + /usr/bin/cat /builddir/build/SOURCES/Hyperkube-remove-federation-cmds.patch + /usr/bin/patch -p1 --fuzz=0 patching file cmd/hyperkube/federation-apiserver.go patching file cmd/hyperkube/federation-controller-manager.go patching file cmd/hyperkube/main.go Hunk #1 succeeded at 38 (offset -3 lines). + mkdir -p src/k8s.io/kubernetes ++ ls ++ grep -v '^src$' + mv CHANGELOG.md CONTRIBUTING.md LICENSE Makefile Makefile.generated_files README.md api cluster cmd code-of-conduct.md contrib docs examples federation hack pkg plugin test third_party vendor src/k8s.io/kubernetes/. Patch #18 (fix-rootScopeNaming-generate-selfLink-issue-37686.patch): + echo 'Patch #18 (fix-rootScopeNaming-generate-selfLink-issue-37686.patch):' + /usr/bin/cat /builddir/build/SOURCES/fix-rootScopeNaming-generate-selfLink-issue-37686.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/k8s.io/kubernetes/pkg/apiserver/api_installer.go Hunk #1 succeeded at 800 (offset 1 line). + mkdir -p src/github.com/jteeuwen/go-bindata + cp -r ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/CONTRIBUTING.md ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/LICENSE ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/Makefile ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/README.md ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/asset.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/bytewriter.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/config.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/convert.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/convert_test.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/debug.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/doc.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/go-bindata ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/release.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/restore.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/stringwriter.go ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/testdata ../go-bindata-a0ff2567cfb70903282db057e799fd826784d41d/toc.go src/github.com/jteeuwen/go-bindata/. + exit 0 Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.nRaCKo + umask 022 + cd /builddir/build/BUILD + cd ose-269f928217957e7126dc87e6adfa82242bfe5b1e ++ pwd + export GOPATH=/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e + GOPATH=/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e + go build -o go-bindata github.com/jteeuwen/go-bindata/go-bindata ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e + pushd src/k8s.io/kubernetes/ ~/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e/src/k8s.io/kubernetes ~/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e + export KUBE_GIT_TREE_STATE=clean + KUBE_GIT_TREE_STATE=clean + export KUBE_GIT_COMMIT=269f928217957e7126dc87e6adfa82242bfe5b1e + KUBE_GIT_COMMIT=269f928217957e7126dc87e6adfa82242bfe5b1e + export KUBE_GIT_VERSION=v1.5.2 + KUBE_GIT_VERSION=v1.5.2 ++ pwd + export KUBE_EXTRA_GOPATH=/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e/src/k8s.io/kubernetes/Godeps/_workspace + KUBE_EXTRA_GOPATH=/builddir/build/BUILD/ose-269f928217957e7126dc87e6adfa82242bfe5b1e/src/k8s.io/kubernetes/Godeps/_workspace + make 'WHAT=--use_go_build cmd/hyperkube cmd/kube-apiserver' +++ [0221 13:08:05] Building the toolchain targets: k8s.io/kubernetes/hack/cmd/teststale k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata +++ [0221 13:08:06] Generating bindata: test/e2e/framework/gobindata_util.go +++ [0221 13:08:08] Building go targets for linux/arm: cmd/libs/go2idl/deepcopy-gen # k8s.io/kubernetes/vendor/k8s.io/gengo/examples/set-gen/sets flag provided but not defined: -largemodel usage: compile [options] file.go... -% debug non-static initializers -+ compiling runtime -B disable bounds checking -D path set relative path for local imports -E debug symbol export -I directory add directory to import search path -K debug missing line numbers -N disable optimizations -S print assembly listing -V print compiler version -W debug parse tree after type checking -asmhdr file write assembly header to file -bench file append benchmark times to file -buildid id record id as the build id in the export metadata -complete compiling complete package (no C or assembly) -cpuprofile file write cpu profile to file -d list print debug information about items in list -dynlink support references to Go symbols defined in other shared libraries -e no limit on number of errors reported -f debug stack frames -h halt on error -i debug line number stack -importmap definition add definition of the form source=actual to import map -installsuffix suffix set pkg directory suffix -j debug runtime-initialized variables -l disable inlining -linkobj file write linker-specific object to file -live debug liveness analysis -m print optimization decisions -memprofile file write memory profile to file -memprofilerate rate set runtime.MemProfileRate to rate -msan build code compatible with C/C++ memory sanitizer -nolocalimports reject local (relative) imports -o file write output to file -p path set expected package import path -pack write package file instead of object file -r debug generated wrappers -race enable race detector -s warn about composite literals that can be simplified -shared generate code that can be linked into a shared library -traceprofile file write an execution trace to file -trimpath prefix remove prefix from recorded source file paths -u reject unsafe code -v increase debug verbosity -w debug type checking -wb enable write barrier (default true) # k8s.io/kubernetes/vendor/github.com/spf13/pflag flag provided but not defined: -largemodel usage: compile [options] file.go... -% debug non-static initializers -+ compiling runtime -B disable bounds checking -D path set relative path for local imports -E debug symbol export -I directory add directory to import search path -K debug missing line numbers -N disable optimizations -S print assembly listing -V print compiler version -W debug parse tree after type checking -asmhdr file write assembly header to file -bench file append benchmark times to file -buildid id record id as the build id in the export metadata -complete compiling complete package (no C or assembly) -cpuprofile file write cpu profile to file -d list print debug information about items in list -dynlink support references to Go symbols defined in other shared libraries -e no limit on number of errors reported -f debug stack frames -h halt on error -i debug line number stack -importmap definition add definition of the form source=actual to import map -installsuffix suffix set pkg directory suffix -j debug runtime-initialized variables -l disable inlining -linkobj file write linker-specific object to file -live debug liveness analysis -m print optimization decisions -memprofile file write memory profile to file -memprofilerate rate set runtime.MemProfileRate to rate -msan build code compatible with C/C++ memory sanitizer -nolocalimports reject local (relative) imports -o file write output to file -p path set expected package import path -pack write package file instead of object file -r debug generated wrappers -race enable race detector -s warn about composite literals that can be simplified -shared generate code that can be linked into a shared library -traceprofile file write an execution trace to file -trimpath prefix remove prefix from recorded source file paths -u reject unsafe code -v increase debug verbosity -w debug type checking -wb enable write barrier (default true) # k8s.io/kubernetes/vendor/k8s.io/gengo/types flag provided but not defined: -largemodel usage: compile [options] file.go... -% debug non-static initializers -+ compiling runtime -B disable bounds checking -D path set relative path for local imports -E debug symbol export -I directory add directory to import search path -K debug missing line numbers -N disable optimizations -S print assembly listing -V print compiler version -W debug parse tree after type checking -asmhdr file write assembly header to file -bench file append benchmark times to file -buildid id record id as the build id in the export metadata -complete compiling complete package (no C or assembly) -cpuprofile file write cpu profile to file -d list print debug information about items in list -dynlink support references to Go symbols defined in other shared libraries -e no limit on number of errors reported -f debug stack frames -h halt on error -i debug line number stack -importmap definition add definition of the form source=actual to import map -installsuffix suffix set pkg directory suffix -j debug runtime-initialized variables -l disable inlining -linkobj file write linker-specific object to file -live debug liveness analysis -m print optimization decisions -memprofile file write memory profile to file -memprofilerate rate set runtime.MemProfileRate to rate -msan build code compatible with C/C++ memory sanitizer -nolocalimports reject local (relative) imports -o file write output to file -p path set expected package import path -pack write package file instead of object file -r debug generated wrappers -race enable race detector -s warn about composite literals that can be simplified -shared generate code that can be linked into a shared library -traceprofile file write an execution trace to file -trimpath prefix remove prefix from recorded source file paths -u reject unsafe code -v increase debug verbosity -w debug type checking -wb enable write barrier (default true) RPM build errors: make[1]: *** [_output/bin/deepcopy-gen] Error 1 make: *** [generated_files] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.nRaCKo (%build) Bad exit status from /var/tmp/rpm-tmp.nRaCKo (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/kubernetes.spec