Skip to content

Cannot run storage and tracing tests with user credentials #4370

@coryan

Description

@coryan

Without a quota project the telemetry integration tests fail with:

test telemetry::test_telemetry_e2e ... FAILED

failures:

---- telemetry::test_telemetry_e2e stdout ----
View generated trace in Console: https://console.cloud.google.com/traces/explorer;traceId=b781fd6bb6b7160712ec4d83e53b3fae?project=coryan-test
Error: Operation failed: errs: [Err(InternalFailure("status: 'The caller does not have permission to execute the specified operation', self: \"Your application is authenticating by using local Application Default Credentials. The telemetry.googleapis.com API requires a quota project, which is not set by default. To learn how to set your quota project, see https://cloud.google.com/docs/authentication/adc-troubleshooting/user-creds .\", metadata: {\"google.rpc.errorinfo-bin\": \"ChBTRVJWSUNFX0RJU0FCTEVEEg5nb29nbGVhcGlzLmNvbRojCgdzZXJ2aWNlEhh0ZWxlbWV0cnkuZ29vZ2xlYXBpcy5jb20aIQoIY29uc3VtZXISFXByb2plY3RzLzc2NDA4NjA1MTg1MA==\", \"google.rpc.localizedmessage-bin\": \"CgVlbi1VUxKkAllvdXIgYXBwbGljYXRpb24gaXMgYXV0aGVudGljYXRpbmcgYnkgdXNpbmcgbG9jYWwgQXBwbGljYXRpb24gRGVmYXVsdCBDcmVkZW50aWFscy4gVGhlIHRlbGVtZXRyeS5nb29nbGVhcGlzLmNvbSBBUEkgcmVxdWlyZXMgYSBxdW90YSBwcm9qZWN0LCB3aGljaCBpcyBub3Qgc2V0IGJ5IGRlZmF1bHQuIFRvIGxlYXJuIGhvdyB0byBzZXQgeW91ciBxdW90YSBwcm9qZWN0LCBzZWUgaHR0cHM6Ly9jbG91ZC5nb29nbGUuY29tL2RvY3MvYXV0aGVudGljYXRpb24vYWRjLXRyb3VibGVzaG9vdGluZy91c2VyLWNyZWRzIC4=\", \"content-type\": \"application/grpc\", \"date\": \"Sat, 24 Jan 2026 15:18:57 GMT\", \"server-timing\": \"gfet4t7; dur=63\", \"alt-svc\": \"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\"}"))]

With a quota project the storage integration tests fail with:

Error: the service reports an error with code INVALID_ARGUMENT described as: This operation does not support custom billing projects at this time.

Caused by:
    status: 'Client specified an invalid argument', self: "This operation does not support custom billing projects at this time.", metadata: {"pcx-high-bwd-bin": "KgUYRpgBRg", "google.rpc.badrequest-bin": "CkcSRVRoaXMgb3BlcmF0aW9uIGRvZXMgbm90IHN1cHBvcnQgY3VzdG9tIGJpbGxpbmcgcHJvamVjdHMgYXQgdGhpcyB0aW1lLg", "endpoint-load-metrics-bin": "MbmSF9RQZmBASXaRIynXKsQ/", "grpc-server-stats-bin": "AAAlvJECAAAAAA", "pc-low-bwd-bin": "Q2dnNkJnb0VDQUFRQUE", "pc-high-bwd-bin": "S2dVWVJwZ0JSZw", "pcx-low-bwd-bin": "Cgg6BgoECAAQAA", "content-type": "application/grpc", "grpc-accept-encoding": "identity, deflate, gzip", "x-guploader-uploadid": "AJRbA5UyoYVQm_akPWEng4RYjnmu2wnWQm24UqnT62KiSEqLpD7s9uVXrAMlF_tFYPa5NsrlNCpHjNo", "content-length": "0", "date": "Sat, 24 Jan 2026 15:20:08 GMT", "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions