googleapis / nodejs-kms

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/kms/
Apache License 2.0
56 stars 25 forks source link

Cloud KMS samples: "before all" hook for "creates asymmetric decryption keys" failed #536

Closed flaky-bot[bot] closed 2 years ago

flaky-bot[bot] commented 2 years ago

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 and I will stop commenting.


commit: 52cf88ae2e2a2e9eaba7d47e570c6778e93ed0fc buildURL: Build Status, Sponge status: failed

Test output
Total timeout of API google.cloud.kms.v1.KeyManagementService exceeded 60000 milliseconds before any response was received.
Error: Total timeout of API google.cloud.kms.v1.KeyManagementService exceeded 60000 milliseconds before any response was received.
    at repeat (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:66:31)
        -> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:84:23
    at Timeout._onTimeout (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:101:25)
        -> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:125:13
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
tmatsuo commented 2 years ago

Downgrading to P2 because it's rare flake. I think we can extend the timeout to the API calls in the samples for mitigating the flakiness.

sofisl commented 2 years ago

Indeed, seems like samples have been consistently green for a while now. There were a few days recently where they were failing (due to an unrelated issue).

flaky-bot[bot] commented 2 years ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


commit: 2ab539dd02674f010c10e6933da8d06da0e983b5 buildURL: Build Status, Sponge status: failed

Test output
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
    at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
        -> /workspace/node_modules/@grpc/grpc-js/src/call.ts:81:17
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
        -> /workspace/node_modules/@grpc/grpc-js/src/client.ts:352:36
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
        -> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
        -> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
    at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
        -> /workspace/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
        -> /workspace/node_modules/@grpc/grpc-js/src/client.ts:324:26
    at ServiceClientImpl. (/workspace/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
        -> /workspace/node_modules/@grpc/grpc-js/src/make-client.ts:189:15
    at /workspace/build/src/v1/key_management_service_client.js:235:29
        -> /workspace/src/v1/key_management_service_client.ts:327:25
    at /workspace/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
        -> /workspace/node_modules/google-gax/src/normalCalls/timeout.ts:54:13
    at repeat (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
        -> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:104:19
    at /workspace/node_modules/google-gax/build/src/normalCalls/retries.js:118:13
        -> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:144:7
    at OngoingCallPromise.call (/workspace/node_modules/google-gax/build/src/call.js:67:27)
        -> /workspace/node_modules/google-gax/src/call.ts:81:23
    at NormalApiCaller.call (/workspace/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19)
        -> /workspace/node_modules/google-gax/src/normalCalls/normalApiCaller.ts:43:15
    at /workspace/node_modules/google-gax/build/src/createApiCall.js:84:30
        -> /workspace/node_modules/google-gax/src/createApiCall.ts:118:26
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
sofisl commented 2 years ago

This was the same error that we closed in bulk due to the same authentication error.