dapr / components-contrib

Community driven, reusable components for distributed apps
Apache License 2.0
543 stars 470 forks source link

GCP Certification Tests failing #3129

Closed shubham1172 closed 10 months ago

shubham1172 commented 1 year ago

Expected Behavior

GCP certification tests should not fail.

Actual Behavior

GCP (pubsub and statestore) certification tests are failing. Example runs

Errors:

error saving state: rpc error: code = Internal desc = failed saving state in state store statestore-basic: rpc error: code =
 Unauthenticated desc = transport: per-RPC creds failed due to error: oauth2/google: unable to generate access token: 
Post "https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/***:generateAccessToken": oauth2/google: 
invalid response when retrieving subject token: Get "https://pipelines.actions.githubusercontent.com/": context canceled
            Test:           TestGCPFirestoreStorage

# pubsub.gcp.pubsub
error publishing event unto gcpps-ct-tp-exists-6143888191-1 topic: rpc error: code = Internal desc = error when publish 
to topic gcpps-ct-tp-exists-6143888191-1 in pubsub gcp-pubsub-cert-tests: rpc error: code = Unauthenticated desc = 
transport: per-RPC creds failed due to error: oauth2/google: unable to generate access token: Post 
"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/***:generateAccessToken": oauth2/google: invalid 
response when retrieving subject token: Get "https://pipelines.actions.githubusercontent.com": context canceled
            Test:           publish messages to existingTopic: gcpps-ct-tp-exists-6143888191-1

Steps to Reproduce the Problem

Run the stable components certification tests.

Release Note

RELEASE NOTE: FIX GCP components certification tests

berndverst commented 1 year ago

GCP cert tests have been failing due to some oauth thing for a long time. Hoping someone from Diagrid will address it

cc @yaron2 @artursouza

robertojrojas commented 1 year ago

@berndverst I'll work with @elena-kolevska on this.

elena-kolevska commented 11 months ago

/assign

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

github-actions[bot] commented 10 months ago

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

elena-kolevska commented 10 months ago

The issue was already closed automatically, but just adding a note that it was actually fixed in https://github.com/dapr/components-contrib/pull/3169