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

Bump minServerVersion for CSFLE deterministic encryption spec test for explain command

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Client Side Encryption
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PHPLIB-947 Fixed 1.17.0
      CDRIVER-4664 Backlog
      CXX-2699 Backlog
      CSHARP-4679 Backlog
      GODRIVER-2873 Fixed 1.13.0, 1.13.1
      JAVA-5029 Backlog
      NODE-5359 Fixed 6.6.0
      MOTOR-1141 Duplicate
      PYTHON-3743 Fixed 4.6
      RUBY-3279 Fixed 2.19.2
      RUST-1679 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 PHPLIB-947 Fixed 1.17.0 CDRIVER-4664 Backlog CXX-2699 Backlog CSHARP-4679 Backlog GODRIVER-2873 Fixed 1.13.0, 1.13.1 JAVA-5029 Backlog NODE-5359 Fixed 6.6.0 MOTOR-1141 Duplicate PYTHON-3743 Fixed 4.6 RUBY-3279 Fixed 2.19.2 RUST-1679 Backlog

      Summary

      The "Explain a find with deterministic encryption" test in explain.yml has historically failed when Testing with required API version due to a bug in crypt_shared (SERVER-69564). PHP previously had to skip this test to avoid failures (PHPLIB-947).

      SERVER-69564 was fixed in 6.3.0-rc0, but this also depends on SERVER-77040 (7.1.0-rc0) and BACKPORT-16190 (7.0.0-rc4). The spec test's minServerVersion should be bumped to 7.0.0 so it can run in all drivers' test suites without being skipped.

      If drivers previously had no record of this test failure, it's likely they were never running CSFLE spec tests (specifically with crypt_shared) while requiring an API version. That'd be worth looking into as part of this issue (and should be communicated in downstream changes).

      Motivation

      Who is the affected end user?

      Driver test suites.

      How does this affect the end user?

      A CSFLE spec test has historically failed when run with a required API version.

      How likely is it that this problem or use case will occur?

      All drivers should have experienced a test failure. If they did not, it's likely they were not running CSFLE tests with a required API version, which would violate the Stable API test guidelines.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: