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

chained-function-serving benchmark error when running ./test-client -addr <HOSTNAME>:<PORT> #273

Open
rjclemens opened this issue Sep 18, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rjclemens
Copy link

rjclemens commented Sep 18, 2022

Describe the bug
Below are our kn services currently running (specifically producer and consumer):
Screen Shot 2022-09-18 at 6 54 22 PM

When we run the command ./test-client -addr producer.default.192.168.1.240.sslip.io:80 we get the error
could not greet: rpc error: code = Unimplemented desc = unknown service helloworld.Greeter

We also get a similar error when running make invoker
When invoking the producer function with ./invoker -port 50051 -dbg -time 60 -rps 0.016667 we get the following error:

DEBU[2022-09-18T16:29:54.773560018-06:00] Debug logging is enabled INFO[2022-09-18T16:29:54.773674012-06:00] Reading the endpoints from the file: endpoints.json DEBU[2022-09-18T16:29:54.773823436-06:00] Invoking: producer.default.192.168.1.240.sslip.io:80 WARN[2022-09-18T16:29:56.486666637-06:00] Failed to invoke producer.default.192.168.1.240.sslip.io:80, err=rpc error: code = Unimplemented desc = unknown service helloworld.Greeter DEBU[2022-09-18T16:29:56.486812565-06:00] Invoked producer.default.192.168.1.240.sslip.io in 1712988 usec

To Reproduce
Follow commands underneath https://github.com/ease-lab/vSwarm/blob/main/docs/running_benchmarks.md, specifically step 2. We tried both ./invoker and the alternative ./test-client

Expected behavior
We expected not to see any errors so we could advance to the next step (tracing)

Logs
Our service-producer and service-consumer files were as follows:

service-producer.yaml:
apiVersion: serving.knative.dev/v1 kind: Service metadata: name: producer namespace: default spec: template: spec: containers: - image: docker.io/vhiveease/chained-functions-serving-producer:latest imagePullPolicy: Always args: ["-addr", "consumer.default.svc.cluster.local"] ports: # For h2c, see https://knative.tips/networking/http2/ - name: h2c containerPort: 80 env: - name: GUEST_PORT # Port on which the firecracker-containerd container is accepting requests value: "50051" - name: GUEST_IMAGE # Container image to use for firecracker-containerd container value: "docker.io/vhiveease/fibonacci-python:latest"

service-consumer.yaml:
apiVersion: serving.knative.dev/v1 kind: Service metadata: name: consumer namespace: default spec: template: spec: containers: - image: docker.io/vhiveease/chained-functions-serving-consumer:latest imagePullPolicy: Always ports: # For h2c, see https://knative.tips/networking/http2/ - name: h2c containerPort: 80 env: - name: GUEST_PORT # Port on which the firecracker-containerd container is accepting requests value: "50051" - name: GUEST_IMAGE # Container image to use for firecracker-containerd container value: "docker.io/vhiveease/fibonacci-python:latest"

When we attempted to run the test-client alternative since make invoker was not working, we tried every combination of 50051, 80 in containerPort and GUEST_PORT. Specifically, the combination above (80/50051) returned the error Could not invoke gRPC function: rpc error: code = Unimplemented desc =” while all other combinations resulted in either a stalling error or a no connection error.

@rjclemens rjclemens added the bug Something isn't working label Sep 18, 2022
@ustiugov
Copy link
Member

@dhschall any updates on that?

@dhschall
Copy link
Contributor

dhschall commented Sep 24, 2022

Ok this is weird. Why is the "docker.io/vhiveease/fibonacci-python:latest" in service-consumer.yaml?
It's a completely different function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants