Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make build-kfctl is failed during test #2715

Closed
gabrielwen opened this issue Mar 15, 2019 · 5 comments
Closed

make build-kfctl is failed during test #2715

gabrielwen opened this issue Mar 15, 2019 · 5 comments
Assignees

Comments

@gabrielwen
Copy link
Contributor

Seems like something wrong with deepcopy. FYI, make build-kfctl works fine in local machine. However, it fails on both JUNIT and Argo.

util.py                     71 INFO     Makefile:72: recipe for target 'pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go' failed
util.py                     71 INFO     make: *** [pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go] Error 255
util.py                     45 INFO     Running: make build-kfctl
cwd=/mnt/test-data-volume/kubeflow-presubmit-kfctl-go-2713-66ab02d-6337-0d08/src/kubeflow/kubeflow/bootstrap
util.py                     60 INFO     Subprocess output:
util.py                     71 INFO     /root/go/bin/deepcopy-gen -i github.com/kubeflow/kubeflow/bootstrap/pkg/apis/apps/gcp/... -O zz_g
enerated.deepcopy
util.py                     71 INFO     F0315 20:26:27.057077    8649 deepcopy.go:126] Failed loading boilerplate: open k8s.io/code-gener
ator/hack/boilerplate.go.txt: no such file or directory
util.py                     71 INFO     Makefile:72: recipe for target 'pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go' failed
util.py                     71 INFO     make: *** [pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go] Error 255
util.py                     45 INFO     Running: make build-kfctl
cwd=/mnt/test-data-volume/kubeflow-presubmit-kfctl-go-2713-66ab02d-6337-0d08/src/kubeflow/kubeflow/bootstrap
util.py                     60 INFO     Subprocess output:
util.py                     71 INFO     /root/go/bin/deepcopy-gen -i github.com/kubeflow/kubeflow/bootstrap/pkg/apis/apps/gcp/... -O zz_g
enerated.deepcopy
util.py                     71 INFO     F0315 20:26:37.651054    9499 deepcopy.go:126] Failed loading boilerplate: open k8s.io/code-gener
ator/hack/boilerplate.go.txt: no such file or directory
util.py                     71 INFO     Makefile:72: recipe for target 'pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go' failed
util.py                     71 INFO     make: *** [pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go] Error 255
util.py                     45 INFO     Running: make build-kfctl
cwd=/mnt/test-data-volume/kubeflow-presubmit-kfctl-go-2713-66ab02d-6337-0d08/src/kubeflow/kubeflow/bootstrap
util.py                     60 INFO     Subprocess output:
util.py                     71 INFO     /root/go/bin/deepcopy-gen -i github.com/kubeflow/kubeflow/bootstrap/pkg/apis/apps/gcp/... -O zz_g
enerated.deepcopy
util.py                     71 INFO     F0315 20:26:48.012311   10346 deepcopy.go:126] Failed loading boilerplate: open k8s.io/code-gener
ator/hack/boilerplate.go.txt: no such file or directory
util.py                     71 INFO     Makefile:72: recipe for target 'pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go' failed
util.py                     71 INFO     make: *** [pkg/apis/apps/gcp/v1alpha1/zz_generated.deepcopy.go] Error 255
generated xml file: /mnt/test-data-volume/kubeflow-presubmit-kfctl-go-2713-66ab02d-6337-0d08/output/artifacts/junit_kfctl-build-test.xml
========================== 1 failed in 143.72 seconds ==========================
@gabrielwen
Copy link
Contributor Author

/assign @gabrielwen

@gabrielwen
Copy link
Contributor Author

confirmed it's because GOPATH is not set.

@lluunn
Copy link
Contributor

lluunn commented Mar 18, 2019

is it fixed?

@gabrielwen
Copy link
Contributor Author

the fix is in #2713

@gabrielwen
Copy link
Contributor Author

#2713 might take longer, adding another PR to fix this #2729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants