-
Notifications
You must be signed in to change notification settings - Fork 897
Test: TestSetupMetrics_StackdriverOnly_NoPanic fails when running locally #4212
Copy link
Copy link
Closed
Labels
area/testsUnit tests, e2e tests, anything to make sure things don't breakUnit tests, e2e tests, anything to make sure things don't breakhelp wantedWe would love help on these issues. Please come help us!We would love help on these issues. Please come help us!kind/bugThese are bugs.These are bugs.
Description
What happened:
Running make test-go and when running the test within my IDE, I get the following error.
=== RUN TestSetupMetrics_StackdriverOnly_NoPanic
{"error":"error getting zone: Get \"http://169.254.169.254/computeMetadata/v1/instance/zone\": dial tcp 169.254.169.254:80: connect: no route to host","message":"error discovering monitored resource","severity":"warning","source":"metrics","time":"2025-06-29T21:28:41.88767958-07:00"}
{"error":"google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information","message":"Could not register Stackdriver exporter","severity":"fatal","source":"metrics","time":"2025-06-29T21:28:41.916038332-07:00"}
What is weird though, is that I don't see any assertions failing or a panic - it's just failing and I'm not sure why. Is there something capturing a panic and not outputting it somewhere? It's very confusing.
What you expected to happen:
Test to pass everywhere.
How to reproduce it (as minimally and precisely as possible):
make test-go or run the test through an IDE.
Anything else we need to know?:
N/A
Environment:
- Agones version: dev
- Kubernetes version (use
kubectl version): N/A - Cloud provider or hardware configuration: N/A
- Install method (yaml/helm): N/A
- Troubleshooting guide log(s): See above.
- Others:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/testsUnit tests, e2e tests, anything to make sure things don't breakUnit tests, e2e tests, anything to make sure things don't breakhelp wantedWe would love help on these issues. Please come help us!We would love help on these issues. Please come help us!kind/bugThese are bugs.These are bugs.