-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: Client Side Encryption
-
Needed
-
Summary
Some "errorContains" assertions in badQueries and types CSFLE specification tests are failing in driver tests.
One example is the "an update that would produce an array on an encrypted field errors" test:
- description: "an update that would produce an array on an encrypted field errors" clientOptions: autoEncryptOpts: kmsProviders: aws: {} # Credentials filled in from environment. operations: - name: updateOne arguments: filter: { } update: { $set : { "encrypted_string": [1,2] }} result: errorContains: "Cannot encrypt element of type array"
The actual error in mongocryptd 6.0 now contains a colon:
Cannot encrypt element of type: array
See this gist for reproduction steps.
Motivation
Who is the affected end user?
DBX Engineers.
How does this affect the end user?
Blocked. CSFLE specification tests are failing.
Is this issue urgent?
Yes.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is related to
-
SERVER-65007 De-duplicate allowed BSON type set for FLE 2 between query analysis and server
- Closed
- split to
-
CDRIVER-4332 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
CSHARP-4136 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
CXX-2488 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
GODRIVER-2378 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
MOTOR-930 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
NODE-4181 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
PHPLIB-839 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
PYTHON-3221 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
RUBY-2953 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
RUST-1265 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed
-
JAVA-4572 CSFLE badQueries and types errorContains failing to match on mongocryptd 6.0.0-alpha
- Closed