[CDRIVER-3519] Artificially large ismaster may timeout when sending in Windows Created: 03/Feb/20 Updated: 25/Sep/23 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | tests |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | flaky-tests, platform-problems | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Stabilize Evergreen |
| Description |
|
The test /Async/large_ismaster was frequently failing on Windows due to timing out: https://evergreen.mongodb.com/task/mongo_c_driver_windows_2017_test_latest_server_auth_sspi_winssl_b12e2a44dd2a3321aecd0222dcde173b8c5b9457_20_02_03_16_22_28 It tests sending an artificially large (>= 1MB) isMaster command through the async monitoring logic. On failure, it takes 10 seconds (the specified timeout of the async command), on passing it takes <1 second. I investigated by running only this test on repeat, adding printfs, and making mongod logs more verbose. This was the patch with those results: The printfs are interesting. The first call to writev succeeds, but then libmongoc appears to repeatedly attempt to write the rest without making progress until it times out:
Here are the relevant verbose logs of mongod (slightly edited for readability):
It appears to send the full ismaster, but then prints Connection closed by peer followed by SocketException: The specified data could not be decrypted.. |
| Comments |
| Comment by Kevin Albertson [ 25/Sep/23 ] |
|
Test is currently skipped: https://github.com/mongodb/mongo-c-driver/blob/015c4497c2e98469d31eedf0213e0e7500105f31/src/libmongoc/tests/test-mongoc-async.c#L387 Test was unskipped and run in a patch build: https://spruce.mongodb.com/version/6511c0353627e09fd1d599f0/. Resulted in failure. |
| Comment by Githook User [ 12/Feb/20 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: CDRIVER-3519 add back skip if not single |
| Comment by Kevin Albertson [ 12/Feb/20 ] |
|
Moving this back to "Open" to be further investigated at a later time. |
| Comment by Githook User [ 12/Feb/20 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: CDRIVER-3519 skip /Async/large_ismaster on Windows |