Created
October 28, 2019 15:48
-
-
Save dholbach/268924b6851440186828bf72ef2b3e89 to your computer and use it in GitHub Desktop.
This file contains 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
Env for linux/amd64: GOOS=linux GOARCH=amd64 GOROOT=/usr/local/go CGO_ENABLED= CC= | |
Coverage is disabled. | |
# k8s.io/kubernetes/vendor/sigs.k8s.io/addon-operators/installer/pkg/apis/config | |
vendor/sigs.k8s.io/addon-operators/installer/pkg/apis/config/register.go:40:43: cannot use &AddonInstallerConfiguration literal (type *AddonInstallerConfiguration) as type runtime.Object in argument to scheme.AddKnownTypes: | |
*AddonInstallerConfiguration does not implement runtime.Object (missing DeepCopyObject method) | |
# k8s.io/kubernetes/vendor/sigs.k8s.io/addon-operators/installer/pkg/apis/config/v1alpha1 | |
vendor/sigs.k8s.io/addon-operators/installer/pkg/apis/config/v1alpha1/defaults.go:23:9: undefined: RegisterDefaults | |
vendor/sigs.k8s.io/addon-operators/installer/pkg/apis/config/v1alpha1/register.go:41:43: cannot use &AddonInstallerConfiguration literal (type *AddonInstallerConfiguration) as type runtime.Object in argument to scheme.AddKnownTypes: | |
*AddonInstallerConfiguration does not implement runtime.Object (missing DeepCopyObject method) | |
!!! [1028 16:47:12] Call tree: | |
!!! [1028 16:47:12] 1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:704 kube::golang::build_some_binaries(...) | |
!!! [1028 16:47:12] 2: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:853 kube::golang::build_binaries_for_platform(...) | |
!!! [1028 16:47:12] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) | |
!!! Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:672 | |
Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:672. 'go install "${build_args[@]}" "$@"' exited with status 2 | |
Call stack: | |
1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:672 kube::golang::build_some_binaries(...) | |
2: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:704 kube::golang::build_binaries_for_platform(...) | |
3: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:853 kube::golang::build_binaries(...) | |
4: hack/make-rules/build.sh:27 main(...) | |
Exiting with status 1 | |
!!! [1028 16:47:12] Call tree: | |
!!! [1028 16:47:12] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) | |
!!! Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:854 | |
Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:854. '( kube::golang::set_platform_envs "${platform}"; kube::golang::build_binaries_for_platform "${platform}" )' exited with status 1 | |
Call stack: | |
1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:854 kube::golang::build_binaries(...) | |
2: hack/make-rules/build.sh:27 main(...) | |
Exiting with status 1 | |
!!! [1028 16:47:12] Call tree: | |
!!! [1028 16:47:12] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) | |
!!! Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:857 | |
Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:857. '( kube::golang::setup_env; V=2 kube::log::info "Go version: $(go version)"; local host_platform; host_platform=$(kube::golang::host_platform); local goflags goldflags goasmflags gogcflags; goldflags="${GOLDFLAGS=-s -w} $(kube::version::ldflags)"; goasmflags="-trimpath=${KUBE_ROOT}"; gogcflags="${GOGCFLAGS:-} -trimpath=${KUBE_ROOT}"; local -a targets=(); local arg; for arg in "$@"; | |
do | |
if [[ "${arg}" == -* ]]; then | |
goflags+=("${arg}"); | |
else | |
targets+=("${arg}"); | |
fi; | |
done; if [[ ${#targets[@]} -eq 0 ]]; then | |
targets=("${KUBE_ALL_TARGETS[@]}"); | |
fi; local -a platforms; IFS=" " read -ra platforms <<< "${KUBE_BUILD_PLATFORMS:-}"; if [[ ${#platforms[@]} -eq 0 ]]; then | |
platforms=("${host_platform}"); | |
fi; local -a binaries; while IFS="" read -r binary; do | |
binaries+=("$binary"); | |
done < <(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}: build started"; kube::golang::build_binaries_for_platform "${platform}"; kube::log::status "${platform}: build finished" ) &> "/tmp//${platform//\//_}.build" & | |
done; local fails=0; for job in $(jobs -p); | |
do | |
wait "${job}" || (( 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}" ); | |
done; | |
fi )' exited with status 1 | |
Call stack: | |
1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:857 kube::golang::build_binaries(...) | |
2: hack/make-rules/build.sh:27 main(...) | |
Exiting with status 1 | |
make: *** [Makefile:546: kubeadm] Error 1 | |
!!! [1028 16:47:13] Call tree: | |
!!! [1028 16:47:13] 1: ./build/../build/common.sh:521 kube::build::run_build_command_ex(...) | |
!!! [1028 16:47:13] 2: ./build/run.sh:39 kube::build::run_build_command(...) | |
!!! Error in ./build/../build/common.sh:596 | |
Error in ./build/../build/common.sh:596. '"${docker_cmd[@]}" "${cmd[@]}"' exited with status 2 | |
Call stack: | |
1: ./build/../build/common.sh:596 kube::build::run_build_command_ex(...) | |
2: ./build/../build/common.sh:521 kube::build::run_build_command(...) | |
3: ./build/run.sh:39 main(...) | |
Exiting with status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment