Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4495

Test crypt_shared with older server versions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: Client Side Encryption
    • None
    • Hide

      DRIVERS-2465:
      See https://github.com/mongodb/specifications/commit/d90583f467cb406928c1e86eee7a258ae50b235e for updated test requirements for CSFLE. The following is a summary of the changes:

      • Drivers MUST run all tests with mongocryptd on at least one platform for all
        tested server versions (4.2+).
      • Drivers MUST run all tests with crypt_shared_ on at least one platform for all
        tested server versions (4.2+). For server versions < 6.0, drivers MUST test with the
        latest major release of crypt_shared_ (currently 6.0). Using the latest major release of
        crypt_shared_ is supported with older server versions.

      As of https://github.com/mongodb-labs/drivers-evergreen-tools/commit/1d7119eeb531e7fab60423e803a94f4a2f61ec0f, download-mongodb.sh downloads the latest major version of crypt_shared if the server version is less than 6.0.

      There may be no required driver changes if these requirements are already tested. The Go driver did not require changes. The Go driver tests with mongocryptd on separate variants. The other variants test with crypt_shared and include tests back to server versions 4.2.

      Drivers may manually verify the version of crypt_shared that is downloaded from the output of run-orchestration.sh where the URL is printed.

      Show
      DRIVERS-2465 : See https://github.com/mongodb/specifications/commit/d90583f467cb406928c1e86eee7a258ae50b235e for updated test requirements for CSFLE. The following is a summary of the changes: Drivers MUST run all tests with mongocryptd on at least one platform for all tested server versions (4.2+). Drivers MUST run all tests with crypt_shared_ on at least one platform for all tested server versions (4.2+). For server versions < 6.0, drivers MUST test with the latest major release of crypt_shared_ (currently 6.0). Using the latest major release of crypt_shared_ is supported with older server versions. As of https://github.com/mongodb-labs/drivers-evergreen-tools/commit/1d7119eeb531e7fab60423e803a94f4a2f61ec0f , download-mongodb.sh downloads the latest major version of crypt_shared if the server version is less than 6.0. There may be no required driver changes if these requirements are already tested. The Go driver did not require changes. The Go driver tests with mongocryptd on separate variants . The other variants test with crypt_shared and include tests back to server versions 4.2. Drivers may manually verify the version of crypt_shared that is downloaded from the output of run-orchestration.sh where the URL is printed .

      This ticket was split from DRIVERS-2465, please see that ticket for a detailed description.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: