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

Flaky Test - AWS Auth Testing Fails [57]

    • Type: Icon: Build Failure Build Failure
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 5.6.0
    • Affects Version/s: None
    • Component/s: Flaky Test
    • Labels:
    • 2
    • Not Needed
    • v4.x
    • 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?

       

      [2023/04/19 19:08:08.771] + /data/mci/931b07172917e5c160ce6d4273a633bf/drivers-tools/mongodb/bin/mongo aws_e2e_ec2.js
      [2023/04/19 19:08:08.844] MongoDB shell version v5.0.15
      [2023/04/19 19:08:08.844] connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
      [2023/04/19 19:08:08.845] Implicit session: session
      { "id" : UUID("afdedb1f-df47-4782-8c63-367c95366c04") }
      [2023/04/19 19:08:08.846] MongoDB server version: 7.1.0-alpha-191-ga756c01
      [2023/04/19 19:08:08.846] WARNING: shell and server versions do not match
      [2023/04/19 19:08:08.873] {"t":
      {"$date":"2023-04-19T19:08:08.873Z"}
      ,"s":"I", "c":"-", "id":22810, "ctx":"js","msg":"shell: Started program","attr":{"pid":"2139","argv":["/data/mci/931b07172917e5c160ce6d4273a633bf/drivers-tools/mongodb/bin/mongo","--host","localhost","--authenticationMechanism","MONGODB-AWS","--authenticationDatabase","$external","--eval","1"]}}
      [2023/04/19 19:08:08.929] sh2139| MongoDB shell version v5.0.15
      [2023/04/19 19:08:08.929] sh2139| connecting to: mongodb://localhost:27017/?authMechanism=MONGODB-AWS&authSource=%24external&compressors=disabled&gssapiServiceName=mongodb
      [2023/04/19 19:08:08.932] sh2139| 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/04/19 19:08:08.932] sh2139| connect@src/mongo/shell/mongo.js:372:17
      [2023/04/19 19:08:08.934] sh2139| @(connect):3:6
      [2023/04/19 19:08:08.934] sh2139| exception: connect failed
      [2023/04/19 19:08:08.934] sh2139| exiting with code 1
      

       

       

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

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: