[JAVA-4339] Evergreen: UnifiedCrudTest failures on latest Created: 11/Oct/21  Updated: 27/May/22  Resolved: 11/Oct/21

Status: Closed
Project: Java Driver
Component/s: Test Failure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: build-baron
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-59924 Error executing aggregate with $out w... Closed
Server Compat: 4.4, 5.0, 5.1, 5.2

 Description   

com.mongodb.reactivestreams.client.unified.UnifiedCrudTest > shouldPassAllOutcomes[aggregate-out-readConcern: readConcern available with out stage] FAILED
[2021/10/08 20:45:46.616]     java.lang.AssertionError: The operation expects no error but an exception occurred
[2021/10/08 20:45:46.616]     Assertion Context:
[2021/10/08 20:45:46.616]     Completed Operation Context:
[2021/10/08 20:45:46.616]        Operation:
[2021/10/08 20:45:46.616]     {
[2021/10/08 20:45:46.616]       "object": "collection_readConcern_available",
[2021/10/08 20:45:46.616]       "name": "aggregate",
[2021/10/08 20:45:46.616]       "arguments": {
[2021/10/08 20:45:46.616]         "pipeline": [
[2021/10/08 20:45:46.616]           {
[2021/10/08 20:45:46.616]             "$sort": {
[2021/10/08 20:45:46.616]               "x": 1
[2021/10/08 20:45:46.616]             }
[2021/10/08 20:45:46.616]           },
[2021/10/08 20:45:46.616]           {
[2021/10/08 20:45:46.616]             "$match": {
[2021/10/08 20:45:46.616]               "_id": {
[2021/10/08 20:45:46.616]                 "$gt": 1
[2021/10/08 20:45:46.616]               }
[2021/10/08 20:45:46.616]             }
[2021/10/08 20:45:46.616]           },
[2021/10/08 20:45:46.616]           {
[2021/10/08 20:45:46.616]             "$out": "other_test_collection"
[2021/10/08 20:45:46.616]           }
[2021/10/08 20:45:46.616]         ]
[2021/10/08 20:45:46.616]       }
[2021/10/08 20:45:46.616]     }
[2021/10/08 20:45:46.616]        Actual result:
[2021/10/08 20:45:46.616]     com.mongodb.MongoCommandException: Command failed with error 20 (IllegalOperation): 'PlanExecutor error during aggregation :: caused by :: failed while running command { internalRenameIfOptionsAndIndexesMatch: 1, from: "crud-v2.tmp.agg_out.f356e94e-d6e1-48e0-9f16-9c6f6498368b", to: "crud-v2.other_test_collection", collectionOptions: {}, indexes: [ { v: 2, key: { _id: 1 }, name: "_id_" } ], writeConcern: { w: "majority", wtimeout: 0, provenance: "implicitDefault" } } :: caused by :: Request sent without attaching database version' on server localhost:27017. The full response is {"ok": 0.0, "errmsg": "PlanExecutor error during aggregation :: caused by :: failed while running command { internalRenameIfOptionsAndIndexesMatch: 1, from: \"crud-v2.tmp.agg_out.f356e94e-d6e1-48e0-9f16-9c6f6498368b\", to: \"crud-v2.other_test_collection\", collectionOptions: {}, indexes: [ { v: 2, key: { _id: 1 }, name: \"_id_\" } ], writeConcern: { w: \"majority\", wtimeout: 0, provenance: \"implicitDefault\" } } :: caused by :: Request sent without attaching database version", "code": 20, "codeName": "IllegalOperation", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1633725946, "i": 50}}, "signature": {"hash": {"$binary": {"base64": "XT5iQ3hoRX26inTWrEKaZBv66d4=", "subType": "00"}}, "keyId": 7016795329693483017}}, "operationTime": {"$timestamp": {"t": 1633725946, "i": 49}}}
[2021/10/08 20:45:46.616]        Operation index: 0



 Comments   
Comment by Jeffrey Yemin [ 11/Oct/21 ]

Fixed by server

Generated at Thu Feb 08 09:01:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.