Created
July 27, 2015 17:12
-
-
Save derekwaynecarr/7f5e013f5499da0203c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[decarr@localhost kubernetes (master)]$ make release-skip-tests | |
KUBE_RELEASE_RUN_TESTS=n build/release.sh | |
+++ [0727 12:56:48] Verifying Prerequisites.... | |
You don't have a local copy of the golang docker image. This image is 450MB. | |
Download it now? [y/n] y | |
+++ [0727 12:57:02] Pulling docker image: golang:1.4 | |
1.4: Pulling from docker.io/golang | |
902b87aaaec9: Already exists | |
9a61b6b1315e: Already exists | |
1ff9f26f09fb: Already exists | |
607e965985c1: Already exists | |
0f5121dd42a6: Already exists | |
8d38711ccc0d: Already exists | |
8ddc08289e1a: Already exists | |
d86979befb72: Already exists | |
b279b4aae826: Already exists | |
63e9d2557cd7: Already exists | |
8fb45e60e014: Already exists | |
141b650c3281: Already exists | |
69c177f0c117: Already exists | |
124e2127157f: Already exists | |
Digest: sha256:56b7d12e957f50eb8004cd17e2a983e744df15dec8f6ce04f44a39719e12ca60 | |
Status: Image is up to date for docker.io/golang:1.4 | |
+++ [0727 12:57:04] Building Docker image kube-build:cross. | |
+++ [0727 12:57:09] Building Docker image kube-build:build-4b49f6a063. | |
+++ [0727 12:58:29] Running build command.... | |
+++ [0727 12:58:29] Creating data container | |
+++ [0727 12:58:30] Applying SELinux policy to '_output' directory. | |
+++ [0727 16:58:31] Building go targets for linux/amd64: | |
cmd/kube-proxy | |
cmd/kube-apiserver | |
cmd/kube-controller-manager | |
cmd/kubelet | |
cmd/hyperkube | |
cmd/kubernetes | |
plugin/cmd/kube-scheduler | |
+++ [0727 16:59:09] Multiple platforms requested and available 11G >= threshold 8G, building platforms in parallel | |
+++ [0727 16:59:09] Building go targets for linux/amd64 | |
linux/386 | |
linux/arm | |
darwin/amd64 | |
darwin/386 | |
windows/amd64 in parallel (output will appear in a burst when complete): | |
cmd/kubectl | |
cmd/integration | |
cmd/gendocs | |
cmd/genman | |
cmd/mungedocs | |
cmd/genbashcomp | |
cmd/genconversion | |
cmd/gendeepcopy | |
examples/k8petstore/web-server | |
github.com/onsi/ginkgo/ginkgo | |
test/e2e/e2e.test | |
+++ [0727 16:59:09] linux/amd64: go build started | |
+++ [0727 17:02:28] linux/amd64: go build finished | |
+++ [0727 16:59:09] linux/386: go build started | |
+++ [0727 17:02:47] linux/386: go build finished | |
+++ [0727 16:59:09] linux/arm: go build started | |
go build github.com/GoogleCloudPlatform/kubernetes/pkg/ui/data/swagger: /usr/src/go/pkg/tool/linux_amd64/5g: signal: killed | |
!!! Error in /go/src/github.com/GoogleCloudPlatform/kubernetes/hack/lib/golang.sh:383 | |
'go install "${goflags[@]:+${goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]:+${nonstatics[@]}}"' exited with status 1 | |
Call stack: | |
1: /go/src/github.com/GoogleCloudPlatform/kubernetes/hack/lib/golang.sh:383 kube::golang::build_binaries_for_platform(...) | |
2: /go/src/github.com/GoogleCloudPlatform/kubernetes/hack/lib/golang.sh:502 kube::golang::build_binaries(...) | |
3: hack/build-cross.sh:31 main(...) | |
Exiting with status 1 | |
+++ [0727 16:59:09] darwin/amd64: go build started | |
+++ [0727 17:02:46] darwin/amd64: go build finished | |
+++ [0727 16:59:09] darwin/386: go build started | |
+++ [0727 17:02:46] darwin/386: go build finished | |
+++ [0727 16:59:09] windows/amd64: go build started | |
+++ [0727 17:02:46] windows/amd64: go build finished | |
!!! Error in /go/src/github.com/GoogleCloudPlatform/kubernetes/hack/lib/golang.sh:439 | |
'( kube::golang::setup_env; local version_ldflags; version_ldflags=$(kube::version::ldflags); local host_platform; host_platform=$(kube::golang::host_platform); local goflags; eval "goflags=(${KUBE_GOFLAGS:-})"; local use_go_build; local -a targets=(); local arg; for arg in "$@"; | |
do | |
if [[ "${arg}" == "--use_go_build" ]]; then | |
use_go_build=true; | |
else | |
if [[ "${arg}" == -* ]]; then | |
goflags+=("${arg}"); | |
else | |
targets+=("${arg}"); | |
fi; | |
fi; | |
done; if [[ ${#targets[@]} -eq 0 ]]; then | |
targets=("${KUBE_ALL_TARGETS[@]}"); | |
fi; local -a platforms=("${KUBE_BUILD_PLATFORMS[@]:+${KUBE_BUILD_PLATFORMS[@]}}"); if [[ ${#platforms[@]} -eq 0 ]]; then | |
platforms=("${host_platform}"); | |
fi; local binaries; binaries=($(kube::golang::binaries_from_targets "${targets[@]}")); local parallel=false; if [[ ${#platforms[@]} -gt 1 ]]; then | |
local gigs; gigs=$(kube::golang::get_physmem); if [[ ${gigs} -ge ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then | |
kube::log::status "Multiple platforms requested and available ${gigs}G >= threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel"; parallel=true; | |
else | |
kube::log::status "Multiple platforms requested, but available ${gigs}G < threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in serial"; parallel=false; | |
fi; | |
fi; if [[ "${parallel}" == "true" ]]; then | |
kube::log::status "Building go targets for ${platforms[@]} in parallel (output will appear in a burst when complete):" "${targets[@]}"; local platform; for platform in "${platforms[@]}"; | |
do | |
( kube::golang::set_platform_envs "${platform}"; kube::log::status "${platform}: go build started"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-}; kube::log::status "${platform}: go build finished" ) &> "/tmp//${platform//\//_}.build" & | |
done; local fails=0; for job in $(jobs -p); | |
do | |
wait ${job} || let "fails+=1"; | |
done; for platform in "${platforms[@]}"; | |
do | |
cat "/tmp//${platform//\//_}.build"; | |
done; exit ${fails}; | |
else | |
for platform in "${platforms[@]}"; | |
do | |
kube::log::status "Building go targets for ${platform}:" "${targets[@]}"; kube::golang::set_platform_envs "${platform}"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-}; | |
done; | |
fi )' exited with status 1 | |
Call stack: | |
1: /go/src/github.com/GoogleCloudPlatform/kubernetes/hack/lib/golang.sh:439 kube::golang::build_binaries(...) | |
2: hack/build-cross.sh:31 main(...) | |
Exiting with status 1 | |
!!! Error in build/../build/common.sh:471 | |
'"${docker_cmd[@]}" "$@"' exited with status 255 | |
Call stack: | |
1: build/../build/common.sh:471 kube::build::run_build_command(...) | |
2: build/release.sh:32 main(...) | |
Exiting with status 1 | |
Makefile:102: recipe for target 'release-skip-tests' failed | |
make: *** [release-skip-tests] Error 1 | |
[decarr@localhost kubernetes (master)]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment