Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6546

Flaky: KMS credential fetching: Could not load credentials [1]

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

       

      https://parsley.mongodb.com/evergreen/mongo_node_driver_next_ubuntu2004_test_mongodb_aws_aws_5.0_auth_test_run_aws_auth_test_with_regular_aws_credentials_db4eff56efd3a456108b3ad28876b6121ff5ea81_24_11_11_16_11_16/0/task?bookmarks=0,595,736&selectedLineRange=L600&shareLine=600

      [2024/11/11 11:25:09.761]   1) AWS KMS Credential Fetching
      [2024/11/11 11:25:09.761]        when the AWS SDK is installed[2024/11/11 11:25:09.761]          KMS credentials are successfully fetched.:
      [2024/11/11 11:25:09.761]      MongoAWSError: Could not load credentials from any providers
      [2024/11/11 11:25:09.761]       at AWSSDKCredentialProvider.getCredentials (src/cmap/auth/aws_temporary_credentials.ts:45:3)
      [2024/11/11 11:25:09.762]       at processTicksAndRejections (node:internal/process/task_queues:95:5)
      [2024/11/11 11:25:09.762]       at async loadAWSCredentials (src/client-side-encryption/providers/aws.ts:6:4)
      [2024/11/11 11:25:09.762]       at async refreshKMSCredentials (src/client-side-encryption/providers/index.ts:160:4)
      [2024/11/11 11:25:09.762]       at async Context.<anonymous> (test/integration/auth/mongodb_aws.test.ts:355:23)
      [2024/11/11 11:25:09.762]      Caused by: CredentialsProviderError: Could not load credentials from any providers
      [2024/11/11 11:25:09.762]       at /data/mci/42aaf46634f3fac89b6a3bf9306bbcec/src/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:136:13
      [2024/11/11 11:25:09.762]       at /data/mci/42aaf46634f3fac89b6a3bf9306bbcec/src/node_modules/@smithy/property-provider/dist-cjs/index.js:97:33
      [2024/11/11 11:25:09.762]       at processTicksAndRejections (node:internal/process/task_queues:95:5)
      [2024/11/11 11:25:09.762]       at async coalesceProvider (node_modules/@smithy/property-provider/dist-cjs/index.js:124:18)
      [2024/11/11 11:25:09.762]       at async AWSSDKCredentialProvider._provider (node_modules/@smithy/property-provider/dist-cjs/index.js:142:18)
      [2024/11/11 11:25:09.762]       at async AWSSDKCredentialProvider.getCredentials (src/cmap/auth/aws_temporary_credentials.ts:45:3)
      [2024/11/11 11:25:09.762]       at async loadAWSCredentials (src/client-side-encryption/providers/aws.ts:6:4)
      [2024/11/11 11:25:09.762]       at async refreshKMSCredentials (src/client-side-encryption/providers/index.ts:160:4)
      [2024/11/11 11:25:09.762]       at async Context.<anonymous> (test/integration/auth/mongodb_aws.test.ts:355:23)
      [2024/11/11 11:25:09.762]
      [2024/11/11 11:25:09.762]   2) AWS KMS Credential Fetching
      [2024/11/11 11:25:09.762]        when the AWS SDK is installed
      [2024/11/11 11:25:09.762]          does not return any extra keys for the `aws` credential provider:
      [2024/11/11 11:25:09.762]      MongoAWSError: Could not load credentials from any providers
      [2024/11/11 11:25:09.762]       at AWSSDKCredentialProvider.getCredentials (src/cmap/auth/aws_temporary_credentials.ts:45:3)
      [2024/11/11 11:25:09.762]       at processTicksAndRejections (node:internal/process/task_queues:95:5)
      [2024/11/11 11:25:09.762]       at async loadAWSCredentials (src/client-side-encryption/providers/aws.ts:6:4)
      [2024/11/11 11:25:09.762]       at async refreshKMSCredentials (src/client-side-encryption/providers/index.ts:160:4)
      [2024/11/11 11:25:09.762]       at async Context.<anonymous> (test/integration/auth/mongodb_aws.test.ts:362:23)
      [2024/11/11 11:25:09.762]      Caused by: CredentialsProviderError: Could not load credentials from any providers
      [2024/11/11 11:25:09.762]       at /data/mci/42aaf46634f3fac89b6a3bf9306bbcec/src/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:136:13
      [2024/11/11 11:25:09.762]       at /data/mci/42aaf46634f3fac89b6a3bf9306bbcec/src/node_modules/@smithy/property-provider/dist-cjs/index.js:97:33
      [2024/11/11 11:25:09.762]       at processTicksAndRejections (node:internal/process/task_queues:95:5)
      [2024/11/11 11:25:09.762]       at async coalesceProvider (node_modules/@smithy/property-provider/dist-cjs/index.js:124:18)
      [2024/11/11 11:25:09.762]       at async AWSSDKCredentialProvider._provider (node_modules/@smithy/property-provider/dist-cjs/index.js:142:18)
      [2024/11/11 11:25:09.762]       at async AWSSDKCredentialProvider.getCredentials (src/cmap/auth/aws_temporary_credentials.ts:45:3)
      [2024/11/11 11:25:09.762]       at async loadAWSCredentials (src/client-side-encryption/providers/aws.ts:6:4)
      [2024/11/11 11:25:09.762]       at async refreshKMSCredentials (src/client-side-encryption/providers/index.ts:160:4)
      [2024/11/11 11:25:09.762]       at async Context.<anonymous> (test/integration/auth/mongodb_aws.test.ts:362:23)

       

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: