smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

Controller deployment: Issue while building TAS in openness 20.06.01 #63

Closed Jaladi-Devika closed 4 years ago

Jaladi-Devika commented 4 years ago

Hi,

I just did git repo of latest openness code 20.06.01. And tried to deploy controller but failed to build TAS.

And I tried below steps too. yum remove git* -y yum install -y --enablerepo=ius-archive git2u-all

Can anyone please help to resolve this issue?

Issue at::: TASK [telemetry/tas : build TAS] ***** task path: /home/sysadmin/Devika/openness/openness_20_06_01/openness-experience-kits/roles/telemetry/tas/tasks/main.yml:154 fatal: [controller]: FAILED! => { "changed": true, "cmd": "source /etc/profile && make build", "delta": "0:08:17.905914", "end": "2020-09-17 15:05:18.915120", "rc": 2, "start": "2020-09-17 14:57:01.009206" }

STDOUT:

CGO_ENABLED=0 GO111MODULE=on go build -ldflags="-s -w" -o ./bin/controller ./cmd/tas-policy-controller

STDERR:

go: finding github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633 go: finding github.com/coreos/etcd v3.3.13+incompatible go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc go: finding k8s.io/apiserver v0.0.0-20190918200908-1e17798da8c1 go: finding gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e go: finding gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485 go: finding github.com/BurntSushi/toml v0.3.0 go: finding github.com/go-openapi/jsonreference v0.19.0 go: finding github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46 go: finding github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7 go: finding github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 go: finding github.com/coreos/go-semver v0.0.0-20180108230905-e214231b295a go: finding github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20190222133341-cfaf5686ec79 go: finding go.uber.org/multierr v0.0.0-20180122172545-ddea229ff1df go: finding gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 go: finding github.com/jonboulle/clockwork v0.0.0-20141017032234-72f9bd7c4e0c go: finding go.uber.org/atomic v0.0.0-20181018215023-8dc6146f7569 go: finding github.com/soheilhy/cmux v0.1.3 go: finding google.golang.org/genproto v0.0.0-20170731182057-09f6ed296fc6 go: finding github.com/coreos/bbolt v1.3.1-coreos.6 go: finding github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea go: finding gopkg.in/square/go-jose.v2 v2.0.0-20180411045311-89060dee6a84 go: finding github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20170330212424-2500245aa611 go: finding google.golang.org/grpc v1.13.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0 go: finding github.com/go-openapi/swag v0.17.2 go: finding github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18 go: finding github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021 go: finding github.com/coreos/go-oidc v0.0.0-20180117170138-065b426bd416 go: finding gotest.tools v2.2.0+incompatible go: finding github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0-20150622162204-20b71e5b60d7 go: finding github.com/sirupsen/logrus v1.2.0 go: finding github.com/grpc-ecosystem/grpc-gateway v1.3.0 go: finding github.com/stretchr/objx v0.1.1 go: finding golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 go: finding github.com/go-openapi/jsonpointer v0.19.0 go: finding sigs.k8s.io/structured-merge-diff v0.0.0-20190302045857-e85c7b244fd2 go: finding github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c go: finding github.com/konsorten/go-windows-terminal-sequences v1.0.1 go: finding github.com/natefinch/lumberjack v2.0.0+incompatible go: finding go.uber.org/zap v0.0.0-20180814183419-67bc79d13d15 go: finding github.com/ghodss/yaml v0.0.0-20180820084758-c7ce16629ff4 go: finding github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8 go: finding golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 go: finding github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446 go: finding golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495 go: finding github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 go: finding modernc.org/strutil v1.0.0 go: finding modernc.org/mathutil v1.0.0 go: finding golang.org/x/image v0.0.0-20190227222117-0694c2d4d067 go: finding modernc.org/xc v1.0.0 go: finding modernc.org/golex v1.0.0 go: finding modernc.org/cc v1.0.0 go: finding golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6 go: finding golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846 go: golang.org/x/mobile@v0.0.0-20190312151609-d3739f865fa6: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /root/go/pkg/mod/cache/vcs/3f507663ef282c6653f0149655843cbf77b9eefc8d8ecd7878204fd953d3c48d: exit status 128: fatal: unable to access 'https://go.googlesource.com/mobile/': Could not resolve host: go.googlesource.com; Unknown error go: github.com/grpc-ecosystem/go-grpc-middleware@v0.0.0-20190222133341-cfaf5686ec79: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /root/go/pkg/mod/cache/vcs/ba4252397c51dfcbb8f1bbf8ae7d341c3cc72dc75d6c6c307a6847d62170009d: exit status 128: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed go: gonum.org/v1/gonum@v0.0.0-20190331200053-3d26580ed485: git fetch -f https://github.com/gonum/gonum refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /root/go/pkg/mod/cache/vcs/4ad966aa57dadda5e35c195a5db2854067afd6f28b21af1b907991523a199030: exit status 128: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed go: error loading module requirements make: *** [build] Error 1

MSG:

non-zero return code

PLAY RECAP *** controller : ok=340 changed=156 unreachable=0 failed=1 skipped=185 rescued=0 ignored=4

Thanks & Regards, Devika

Jaladi-Devika commented 4 years ago

Issue solved after restarting PC.