[CXX-1955] spec tests are flaky on evergreen Created: 09/Mar/20  Updated: 17/Jan/23

Status: Backlog
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX Driver Testing (Evergreen)

 Description   

Fairly often, evergreen tasks will fail with a server selection error, like this:

[2020/03/09 10:50:52.818]   No suitable servers found (`serverSelectionTryOnce` set): [connection refused
[2020/03/09 10:50:52.818]   calling ismaster on 'localhost:27017']: generic server error 

When the task is restarted, it will usually succeed on a subsequent run.  We should improve these tests to be less flaky.

Example: https://evergreen.mongodb.com/task/cxx_driver_macos_1012_compile_and_test_with_static_libs_3b4f9c4674b241bea50468f63e3aa0d92545f22c_20_03_09_14_44_14



 Comments   
Comment by Samantha Ritter (Inactive) [ 16/Mar/20 ]

More evidence of test flakiness:

https://evergreen.mongodb.com/task/cxx_driver_ubuntu1604_release_compile_and_test_with_shared_libs_replica_set_patch_bf7a49e0a074dd55cd413f2c5e3eaf5fbf8fb028_5e6bed2fd6d80a346f096c8e_20_03_13_20_29_51/2

 

Generated at Wed Feb 07 22:04:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.