-
Notifications
You must be signed in to change notification settings - Fork 388
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
samples for external-account: should acquire ADC for url-sourced creds failed #1329
Labels
flakybot: issue
An issue filed by the Flaky Bot. Should not be added manually.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
samples
Issues that are directly related to samples.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Comments
commit: 0552915 Test outputexpected 'GaxiosError: The caller does not have permission\n at Gaxios._request (/workspace/node_modules/gaxios/build/src/gaxios.js:129:23)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async IdentityPoolClient.getImpersonatedAccessToken (/workspace/build/src/auth/baseexternalclient.js:369:26)\n at async IdentityPoolClient.refreshAccessTokenAsync (/workspace/build/src/auth/baseexternalclient.js:298:38)\n at async IdentityPoolClient.getAccessToken (/workspace/build/src/auth/baseexternalclient.js:149:13)\n at async IdentityPoolClient.getRequestHeaders (/workspace/build/src/auth/baseexternalclient.js:166:37)\n at async IdentityPoolClient.requestAsync (/workspace/build/src/auth/baseexternalclient.js:226:36)\n at async main (/workspace/samples/adc.js:31:15) {\n response: {\n config: {\n url: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\',\n method: \'POST\',\n headers: [Object],\n data: [Object],\n responseType: \'json\',\n paramsSerializer: [Function: paramsSerializer],\n body: \'{"scope":["https://www.googleapis.com/auth/cloud-platform"]}\',\n validateStatus: [Function: validateStatus]\n },\n data: { error: [Object] },\n headers: {\n \'cache-control\': \'private\',\n connection: \'close\',\n \'content-encoding\': \'gzip\',\n \'content-type\': \'application/json; charset=UTF-8\',\n date: \'Fri, 03 Dec 2021 22:31:58 GMT\',\n server: \'scaffolding on HTTPServer2\',\n \'transfer-encoding\': \'chunked\',\n vary: \'Origin, X-Origin, Referer\',\n \'x-content-type-options\': \'nosniff\',\n \'x-frame-options\': \'SAMEORIGIN\',\n \'x-xss-protection\': \'0\'\n },\n status: 403,\n statusText: \'Forbidden\',\n request: {\n responseURL: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\'\n }\n },\n config: {\n url: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\',\n method: \'POST\',\n headers: {\n \'Content-Type\': \'application/json\',\n Authorization: \'Bearer ya29.d.KuIDGwj-Jt36jUYFFx4sWp7rLmFjdzQZcS_9v20VoHZX7rbZ3WcB4fuRkc2VvaNbIoLQHP5pYsfkTjs1S3PgBbG3XCgD3DgrWaTxboqLHKw5Ho6-ZeW2mtcf0JyE6sH4PS1z961N1E6snhUYOou5lzyPfeyswv3B9WX6uF11RAFTpWmfOiCMl7a-reQDOGYrXDkbIDAgkuJQTInmS-irjdezZuixoRw05f9TNX6tYzKUEfAHS-bUkgx3REvpecxh2YhI1UQed8n9ZaxFupEj-KNpHeglcZH4kpRw0avkgOXOWyxQ2yaCPfdBI0XyTfT2cU0PEylkO2GonqH93LydIbp2Zt5b9A0tpxqqbcmoj5SVOsF0KEpLy9Upo1sespCiH8BdRLNgAZWXKKF3EqIgtZ09YF5z3O5w4BkyLgF2iCKTQj2N_KzWy18cHLdYD-Z_ZFfe0SmEZVAY5lYbGZz4IR_Yc2Q3cFix_veizXJv26f2_Y9dDe2uwk7vrMN0Wj-hmjqYZCWuUHu82JCCPBmtDoyq59s2ePkecmooNDRViXnB6dp63kk4MPktm_X5RlZuSjhS5w8VlVSgT6d5W3RTPZsvPQ-LLQbX2P8gdEMzGAxJInGKpNzYooHXtqr503aTsZPo0qc\',\n \'User-Agent\': \'google-api-nodejs-client/7.10.3\',\n \'x-goog-api-client\': \'gl-node/12.22.7 auth/7.10.3\',\n Accept: \'application/json\'\n },\n data: { scope: [Array] },\n responseType: \'json\',\n paramsSerializer: [Function: paramsSerializer],\n body: \'{"scope":["https://www.googleapis.com/auth/cloud-platform"]}\',\n validateStatus: [Function: validateStatus]\n },\n code: 403,\n errors: [\n {\n message: \'The caller does not have permission\',\n domain: \'global\',\n reason: \'forbidden\'\n }\n ]\n}\n' to match /DNS Info:/ AssertionError: expected 'GaxiosError: The caller does not have permission\n at Gaxios._request (/workspace/node_modules/gaxios/build/src/gaxios.js:129:23)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async IdentityPoolClient.getImpersonatedAccessToken (/workspace/build/src/auth/baseexternalclient.js:369:26)\n at async IdentityPoolClient.refreshAccessTokenAsync (/workspace/build/src/auth/baseexternalclient.js:298:38)\n at async IdentityPoolClient.getAccessToken (/workspace/build/src/auth/baseexternalclient.js:149:13)\n at async IdentityPoolClient.getRequestHeaders (/workspace/build/src/auth/baseexternalclient.js:166:37)\n at async IdentityPoolClient.requestAsync (/workspace/build/src/auth/baseexternalclient.js:226:36)\n at async main (/workspace/samples/adc.js:31:15) {\n response: {\n config: {\n url: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\',\n method: \'POST\',\n headers: [Object],\n data: [Object],\n responseType: \'json\',\n paramsSerializer: [Function: paramsSerializer],\n body: \'{"scope":["https://www.googleapis.com/auth/cloud-platform"]}\',\n validateStatus: [Function: validateStatus]\n },\n data: { error: [Object] },\n headers: {\n \'cache-control\': \'private\',\n connection: \'close\',\n \'content-encoding\': \'gzip\',\n \'content-type\': \'application/json; charset=UTF-8\',\n date: \'Fri, 03 Dec 2021 22:31:58 GMT\',\n server: \'scaffolding on HTTPServer2\',\n \'transfer-encoding\': \'chunked\',\n vary: \'Origin, X-Origin, Referer\',\n \'x-content-type-options\': \'nosniff\',\n \'x-frame-options\': \'SAMEORIGIN\',\n \'x-xss-protection\': \'0\'\n },\n status: 403,\n statusText: \'Forbidden\',\n request: {\n responseURL: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\'\n }\n },\n config: {\n url: \'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken\',\n method: \'POST\',\n headers: {\n \'Content-Type\': \'application/json\',\n Authorization: \'Bearer ya29.d.KuIDGwj-Jt36jUYFFx4sWp7rLmFjdzQZcS_9v20VoHZX7rbZ3WcB4fuRkc2VvaNbIoLQHP5pYsfkTjs1S3PgBbG3XCgD3DgrWaTxboqLHKw5Ho6-ZeW2mtcf0JyE6sH4PS1z961N1E6snhUYOou5lzyPfeyswv3B9WX6uF11RAFTpWmfOiCMl7a-reQDOGYrXDkbIDAgkuJQTInmS-irjdezZuixoRw05f9TNX6tYzKUEfAHS-bUkgx3REvpecxh2YhI1UQed8n9ZaxFupEj-KNpHeglcZH4kpRw0avkgOXOWyxQ2yaCPfdBI0XyTfT2cU0PEylkO2GonqH93LydIbp2Zt5b9A0tpxqqbcmoj5SVOsF0KEpLy9Upo1sespCiH8BdRLNgAZWXKKF3EqIgtZ09YF5z3O5w4BkyLgF2iCKTQj2N_KzWy18cHLdYD-Z_ZFfe0SmEZVAY5lYbGZz4IR_Yc2Q3cFix_veizXJv26f2_Y9dDe2uwk7vrMN0Wj-hmjqYZCWuUHu82JCCPBmtDoyq59s2ePkecmooNDRViXnB6dp63kk4MPktm_X5RlZuSjhS5w8VlVSgT6d5W3RTPZsvPQ-LLQbX2P8gdEMzGAxJInGKpNzYooHXtqr503aTsZPo0qc\',\n \'User-Agent\': \'google-api-nodejs-client/7.10.3\',\n \'x-goog-api-client\': \'gl-node/12.22.7 auth/7.10.3\',\n Accept: \'application/json\'\n },\n data: { scope: [Array] },\n responseType: \'json\',\n paramsSerializer: [Function: paramsSerializer],\n body: \'{"scope":["https://www.googleapis.com/auth/cloud-platform"]}\',\n validateStatus: [Function: validateStatus]\n },\n code: 403,\n errors: [\n {\n message: \'The caller does not have permission\',\n domain: \'global\',\n reason: \'forbidden\'\n }\n ]\n}\n' to match /DNS Info:/ at Context. (test/externalclient.test.js:384:12) at processTicksAndRejections (internal/process/task_queues.js:97:5) |
Permissions fix to restore Workload Identity Federation being made internally. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flakybot: issue
An issue filed by the Flaky Bot. Should not be added manually.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
samples
Issues that are directly related to samples.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quiet
label andI will stop commenting.
commit: 110ddc2
buildURL: Build Status, Sponge
status: failed
Test output
The text was updated successfully, but these errors were encountered: