[CDRIVER-4161] /crud/unified/aggregate-out-readConcern server error on sharded: "PlanExecutor error" Created: 15/Sep/21  Updated: 28/Oct/23  Resolved: 28/Sep/23

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.25.0

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: failing-on-waterfall, flaky-tests
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
Epic Link: Stabilize Evergreen
Server Compat: 4.4, 5.0, 5.1, 5.2

 Description   

Example task with relevant logs:

[2021/09/14 23:52:12.789] Begin /crud/unified/aggregate-out-readConcern, seed 1024035583
[2021/09/14 23:52:16.117] test error in: /data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/test-diagnostics.c 161:test_diagnostics_abort()
[2021/09/14 23:52:16.117] ****************************** BEGIN_MONGOC_ERROR ******************************
[2021/09/14 23:52:16.117] test info:
[2021/09/14 23:52:16.117] [/data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/runner.c:1640 run_one_test_file()]
[2021/09/14 23:52:16.117] test file: aggregate-out-readConcern
[2021/09/14 23:52:16.117] [/data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/runner.c:1644 run_one_test_file()]
[2021/09/14 23:52:16.117] running test: readConcern available with out stage
[2021/09/14 23:52:16.117] error context:
[2021/09/14 23:52:16.117] [/data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/runner.c:1567 test_run()]
[2021/09/14 23:52:16.117] running operations
[2021/09/14 23:52:16.117] [/data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/runner.c:984 test_run_operations()]
[2021/09/14 23:52:16.117] running operation: { "object" : "collection_readConcern_available", "name" : "aggregate", "arguments" : { "pipeline" : [ { "$sort" : { "x" : { "$numberInt" : "1" } } }, { "$match" : { "_id" : { "$gt" : { "$numberInt" : "1" } } } }, { "$out" : "other_test_collection" } ] } }
[2021/09/14 23:52:16.117] [/data/mci/e6c976329f37158a7d7642c21a60d25c/mongoc/src/libmongoc/tests/unified/operation.c:2677 operation_run()]
[2021/09/14 23:52:16.117] checking for result ((NULL)) / error ((NULL))
[2021/09/14 23:52:16.117] error: expected success, but got error: PlanExecutor error during aggregation :: caused by :: failed while running command { internalRenameIfOptionsAndIndexesMatch: 1, from: "crud-v2.tmp.agg_out.ac0577cb-2c92-4503-9543-6b14faa3c944", 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
[2021/09/14 23:52:16.117] ******************************* END_MONGOC_ERROR *******************************
[2021/09/14 23:52:16.180] Aborted
[2021/09/14 23:52:16.180] Command failed: command encountered problem: error waiting on process 'ca57afb9-38ea-4f20-a39e-1bd512bc4a94': exit status 134
[2021/09/14 23:52:16.180] Task completed - FAILURE.



 Comments   
Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4161 unskip `/crud/unified/aggregate-out-readConcern` (#1416)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3cf2194650db4d1680a3a8ad40bd1b9c53b3be31

Generated at Wed Feb 07 21:20:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.