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

recipe for target 'cloudcore' failed #1288

Closed
vishuPPatel opened this issue Nov 27, 2019 · 3 comments · Fixed by #1293
Closed

recipe for target 'cloudcore' failed #1288

vishuPPatel opened this issue Nov 27, 2019 · 3 comments · Fixed by #1293
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.

Comments

@vishuPPatel
Copy link

Hello Team

Please Guide us to when i execute command "make all WHAT=cloudcore" get the error.

root@RPCHW002:/src/github.com/kubeedge/kubeedge# make all WHAT=cloudcore
cd cloud && make cloudcore
make[1]: Entering directory '/src/github.com/kubeedge/kubeedge/cloud'
bash ../hack/verify-golang.sh
go detail version: go version go1.13.4 linux/amd64
go version: 1.13.4
go build -ldflags '-X github.com/kubeedge/kubeedge/pkg/version.buildDate=2019-11-27T09:18:41Z -X github.com/kubeedge/kubeedge/pkg/version.gitCommit=e9bbff005d607cb2ef84b9496ba977dac37dca99 -X github.com/kubeedge/kubeedge/pkg/version.gitTreeState=clean -X github.com/kubeedge/kubeedge/pkg/version.gitVersion=v1.1.0-beta.0.247+e9bbff005d607c -X github.com/kubeedge/kubeedge/pkg/version.gitMajor=1 -X github.com/kubeedge/kubeedge/pkg/version.gitMinor=1+' cmd/cloudcore/cloudcore.go
go: k8s.io/apimachinery@v0.0.0-20190612165923-1799e75a0719: invalid pseudo-version: does not match version-control timestamp (2019-06-12T20:58:21Z)
Makefile:11: recipe for target 'cloudcore' failed
make[1]: *** [cloudcore] Error 1
make[1]: Leaving directory '/src/github.com/kubeedge/kubeedge/cloud'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2

Thanks In Advance.

@vishuPPatel vishuPPatel added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Nov 27, 2019
@cwl233
Copy link
Member

cwl233 commented Nov 27, 2019

maybe you can use go version 1.12, and try again
similar to #1263

@vishuPPatel
Copy link
Author

Yes, i try using the 1.12 go version.

Same issues occurred bellow mentioned.

root@RPCHW002:/src/github.com/kubeedge/kubeedge# make all WHAT=cloudcore
cd cloud && make cloudcore
make[1]: Entering directory '/src/github.com/kubeedge/kubeedge/cloud'
bash ../hack/verify-golang.sh
go detail version: go version go1.12 linux/amd64
go version: 1.12
go build -ldflags '-X github.com/kubeedge/kubeedge/pkg/version.buildDate=2019-11-28T05:13:41Z -X github.com/kubeedge/kubeedge/pkg/version.gitCommit=e9bbff005d607cb2ef84b9496ba977dac37dca99 -X github.com/kubeedge/kubeedge/pkg/version.gitTreeState=clean -X github.com/kubeedge/kubeedge/pkg/version.gitVersion=v1.1.0-beta.0.247+e9bbff005d607c -X github.com/kubeedge/kubeedge/pkg/version.gitMajor=1 -X github.com/kubeedge/kubeedge/pkg/version.gitMinor=1+' cmd/cloudcore/cloudcore.go
make[1]: Leaving directory '/src/github.com/kubeedge/kubeedge/cloud'

Thanks In advance.

@vishuPPatel
Copy link
Author

hey @kubeedge-bot

what is the problem in this execute the make

root@kube-master:/src/github.com/kubeedge/kubeedge# make all WHAT=cloudcore
cd cloud && make cloudcore
make[1]: Entering directory '/src/github.com/kubeedge/kubeedge/cloud'
go build -ldflags '-X github.com/kubeedge/kubeedge/pkg/version.buildDate=2019-11-28T15:05:08Z -X github.com/kubeedge/kubeedge/pkg/version.gitCommit=d968372eb72ba761586c935499b81900f1a8fc35 -X github.com/kubeedge/kubeedge/pkg/version.gitTreeState=clean -X github.com/kubeedge/kubeedge/pkg/version.gitVersion=v1.1.0 -X github.com/kubeedge/kubeedge/pkg/version.gitMajor=1 -X github.com/kubeedge/kubeedge/pkg/version.gitMinor=1' cmd/cloudcore/cloudcore.go
go: finding github.com/go-chassis/go-chassis v1.6.1
go: finding github.com/uber-go/atomic v1.4.0
go: finding github.com/kubeedge/beehive v0.0.0-20190627084409-06e0cfa222f7
go: finding github.com/kubeedge/viaduct v0.0.0-20190416034651-df4e595b4e12
go: finding github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
go: finding github.com/pierrec/lz4 v2.0.5+incompatible
go: finding go.uber.org/ratelimit v0.0.0-20180316092928-c15da0234277
go: downloading github.com/kubeedge/beehive v0.0.0-20190627084409-06e0cfa222f7
go: downloading github.com/kubeedge/viaduct v0.0.0-20190416034651-df4e595b4e12
go: extracting github.com/kubeedge/beehive v0.0.0-20190627084409-06e0cfa222f7
go: downloading github.com/go-chassis/paas-lager v1.0.2-0.20190328010332-cf506050ddb2
go: downloading github.com/go-mesh/openlogging v1.0.0
go: downloading github.com/go-chassis/go-chassis-config v0.9.0
go: extracting github.com/go-chassis/paas-lager v1.0.2-0.20190328010332-cf506050ddb2
go: extracting github.com/go-mesh/openlogging v1.0.0
go: extracting github.com/go-chassis/go-chassis-config v0.9.0
go: extracting github.com/kubeedge/viaduct v0.0.0-20190416034651-df4e595b4e12
make[1]: Leaving directory '/src/github.com/kubeedge/kubeedge/cloud'

this instruction follow.

Prerequisites
Install docker on cloud and edge side

you can also run other runtime, such as containerd

Install kubeadm/kubectl on cloud side

Creating kubernetes cluster with kubeadm on cloud side

Go The minimum required go version is 1.12. You can install this version by using this website.

Install mosquitto on every edge side

Please share what are the criteria to full fill the make code successfully.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants