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

cannot get demo working #16

Open
swtch1 opened this issue Jul 18, 2022 · 3 comments
Open

cannot get demo working #16

swtch1 opened this issue Jul 18, 2022 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@swtch1
Copy link

swtch1 commented Jul 18, 2022

What did you do?

$ ./deploy-infra.sh

What did you expect to happen?

A successful infrastructure deploy.

What actually happened?

I received errors.

...
Connect to Parca by running: kubectl port-forward -n parca svc/parca 7070
go install -v github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
jb install
go install -v github.com/google/go-jsonnet/cmd/jsonnet@latest
golang.org/x/sys/unix
# golang.org/x/sys/unix
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
/Users/josh/go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3: too many errors
make: *** [jsonnet] Error 2

Next steps

After this I did have services deployed to the cluster. I then proceeded to run $ ./deploy-apps.sh. The apps were deployed but the images were not recognized. I then ran eval $(minikube -p minikube docker-env) to build the images inside minikube rather than on my local docker and that solved the image pull issue but when looking at the parca app at localhost:7070 no profiles were available. I suspect there's some step in the failure above that I needed for the full flow to work.

@kakkoyun
Copy link
Member

@swtch1 Thanks for trying it out and reporting the bug.

It seems like jsonnet has some problems with Darwin. We should check it out.

It's weird that the second step has failed.

eval $(minikube -p parca-demo docker-env)

We already have the line to build containers in minikube. We just specify a profile. I'll double-check if we missed putting the profile in some command.

@kakkoyun kakkoyun added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Jul 19, 2022
@brancz
Copy link
Member

brancz commented Jul 19, 2022

I’ve found @master to work for me on Darwin to install jsonnet.

@kakkoyun
Copy link
Member

@swtch1 Have you tried this again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants