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

Flaky: aws 5.0 auth test - run aws EC2 credentials no peer dependencies

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Flaky Test
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      https://spruce.mongodb.com/task/mongo_node_driver_next_ubuntu1804_test_mongodb_aws_aws_5.0_auth_test_run_aws_auth_test_with_aws_EC2_credentials_no_peer_dependencies_patch_209a91d88ea31bf971a3c19777df21595802d39d_646bba5ac9ec44fcd48de2a9_23_05_22_18_54_19/logs?execution=0

       

      [2023/05/22 19:10:43.838] sh8174| MongoDB shell version v5.0.17[2023/05/22 19:10:43.838] sh8174| connecting to: mongodb://localhost:27017/?authMechanism=MONGODB-AWS&authSource=%24external&compressors=disabled&gssapiServiceName=mongodb[2023/05/22 19:10:43.842] sh8174| Error: Failed to retrieve EC2 Instance Metadata Service Credentials. Ensure there is a role via an instance profile assigned to this machine. :: caused by :: Unexpected http status code from server: 404 :[2023/05/22 19:10:43.842] sh8174| connect@src/mongo/shell/mongo.js:372:17[2023/05/22 19:10:43.842] sh8174| @(connect):3:6[2023/05/22 19:10:43.845] sh8174| exception: connect failed[2023/05/22 19:10:43.845] sh8174| exiting with code 1[2023/05/22 19:10:43.845] uncaught exception: Error: [1] != [0] are not equal : Could not auth with smoke user :[2023/05/22 19:10:43.845] doassert@src/mongo/shell/assert.js:20:14[2023/05/22 19:10:43.845] assert.eq@src/mongo/shell/assert.js:179:9[2023/05/22 19:10:43.845] @aws_e2e_ec2.js:28:1[2023/05/22 19:10:43.845] @aws_e2e_ec2.js:6:2[2023/05/22 19:10:43.851] failed to load: aws_e2e_ec2.js[2023/05/22 19:10:43.851] exiting with code -3

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

              Created:
              Updated:
              Resolved: