ExportXMLWordPrintableJSON

    • Type: Spec Change
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Authentication
    • None
    • Not Needed

      Summary

      On macOS Evergreen hosts the auth_aws setup fails for the EC2 and web identity tests. These hosts have a different AWS role (ManagedInstance) than the Linux hosts. The EC2 setup creates the user for a hardcoded Linux role, so authentication fails. The web identity setup waits 5 minutes for a role it cannot detach, then times out.

      Fix: create the EC2 user for the role the host actually has, skip the wait when there is nothing to detach, and run the AWS tests on macOS in CI.

      Motivation

      Who is the affected end user?

      Driver teams running MONGODB-AWS tests on macOSĀ 

      How does this affect the end user?

      They are blocked from running the EC2 test on macOS, and the web identity test already fails there.

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      • The EC2 and web identity setups pass on macOS 14 and still pass on Linux.
      • CI runs the AWS tests on macOS 14.

            Assignee:
            Ferdinando Papale
            Reporter:
            Ferdinando Papale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: