Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2459

Add script to download mongocryptd and crypt_shared for Serverless tests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Evergreen Tools
    • Labels:
      None
    • Needed
    • Hide

      The changes required depends on whether drivers have implemented DRIVERS-2400:

      • For drivers that have not yet implemented DRIVERS-2400, no changes are necessary. When implementing DRIVERS-2400, drivers can rely on mongocryptd and crypt_shared being installed after starting a Serverless instance.
      • Drivers that have already implemented DRIVERS-2400 will have added logic to install mongocryptd and crypt_shared to run FLE tests on Serverless. Any logic to download binaries can be removed and drivers can rely on mongocryptd and crypt_shared being installed after starting a Serverless instance.
      Show
      The changes required depends on whether drivers have implemented DRIVERS-2400 : For drivers that have not yet implemented DRIVERS-2400 , no changes are necessary. When implementing DRIVERS-2400 , drivers can rely on mongocryptd and crypt_shared being installed after starting a Serverless instance. Drivers that have already implemented DRIVERS-2400 will have added logic to install mongocryptd and crypt_shared to run FLE tests on Serverless. Any logic to download binaries can be removed and drivers can rely on mongocryptd and crypt_shared being installed after starting a Serverless instance.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      RUBY-3183 Backlog
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion RUBY-3183 Backlog

      As part of the changes required for DRIVERS-2400, drivers need to download mongocryptd and crypt_shared, which is usually done when calling run-orchestration.sh. However, when running tests against a Serverless instance, this script isn't called by the drivers. At the moment, this means that drivers have to do this manually in their evergreen files, leading to code duplication and potential errors. As an example, consider the go implementation: https://github.com/mongodb/mongo-go-driver/pull/1069/files#diff-2bc841e86ce96b7b422ae203fd8315d0b2a461956cecbe0e096420656fc3fb12R2183

      This ticket proposes to add a separate script that downloads an appropriate version of mongocryptd and crypt_shared. This script should also be used to download mongodb in run-orchestration.sh.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: