[CDRIVER-3568] /with_transaction/commit-retry sometimes fails on Windows Created: 13/Mar/20  Updated: 27/Oct/23  Resolved: 25/Sep/23

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

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Gone away Votes: 0
Labels: flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Stabilize Evergreen

 Description   

With logs:

[2020/03/11 18:26:37.465] test error in: c:\data\mci\55359476409885d27db0070f12d0e27d\mongoc\src\libmongoc\tests\json-test-monitoring.c 472:check_json_apm_events()
 [2020/03/11 18:26:37.466] extra actual event was not found in expectations: { "command_started_event" : { "command" : { "insert" : "test", "ordered" : true, "$db" : "withTransaction-tests", "lsid" : { "id" : { "$binary" : { "base64": "o8TxmFowRU++4gAtMa99kQ==", "subType" : "04" } } }, "$clusterTime" : { "clusterTime" : { "$timestamp" : { "t" : 1583965597, "i" : 1 } }, "signature" : { "hash" : { "$binary" : { "base64": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "subType" : "00" } }, "keyId" : { "$numberLong" : "0"} } }, "readConcern" : { "afterClusterTime" : { "$timestamp" : { "t" : 1583965597, "i" : 1 } } }, "startTransaction" : true, "txnNumber" : { "$numberLong" : "2"}, "autocommit" : false, "documents" : [ { "_id" : { "$numberInt" : "1" } } ] }, "command_name" : "insert", "database_name" : "withTransaction-tests", "operation_id" : { "$numberLong" : "3674"} } }
 [2020/03/11 18:26:37.470] Begin /with_transaction/commit-retry, seed 1583965199
 [2020/03/11 18:26:37.470]     { "status": "fail", "test_file": "/with_transaction/commit-retry", "seed": "1583965199", "start": 731.375704, "end": 736.719704, "elapsed": 5.344000  },

Example



 Comments   
Comment by Kevin Albertson [ 25/Sep/23 ]

Test requires a replica set. Tasks for Windows + replica set only appear to run Client Side Encryption (cse) tasks. cse tasks do not run the /with_transaction/commit-retry task.

Tested with a new Windows + replica set task: https://spruce.mongodb.com/version/6511c80ee3c33142fb9ef14a. Restarted task 3 times and no failure was observed.

Closing as "Gone away".

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