[GODRIVER-3000] [Build Failure] operation_context_timeout_with_unrelated_dial_errors_should_clear_the_pool Created: 02/Oct/23  Updated: 16/Jan/24  Resolved: 16/Jan/24

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

Type: Build Failure Priority: Unknown
Reporter: Steve Silvester Assignee: Qingyang Hu
Resolution: Cannot Reproduce Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

We're seeing the following failure in the v1 branch:

TestServerConnectionTimeout/operation_context_timeout_with_unrelated_dial_errors_should_clear_the_pool

 [2023/09/29 17:14:32.352]         	Error Trace:	C:\data\mci\a65c89868670f079c65fe53f4ec1d548\src\go.mongodb.org\mongo-driver\x\mongo\driver\topology\server_test.go:336
 [2023/09/29 17:14:32.352]         	Error:      	Condition never satisfied
 [2023/09/29 17:14:32.352]         	Test:       	TestServerConnectionTimeout/operation_context_timeout_with_unrelated_dial_errors_should_clear_the_pool
 [2023/09/29 17:14:32.352]         	Messages:   	expected pool to be cleared within 10s but was not cleared
 [2023/09/29 17:14:32.352] --- FAIL: TestServerConnectionTimeout (0.00s)
 [2023/09/29 17:14:32.352]     --- PASS: TestServerConnectionTimeout/successful_connection_should_not_clear_the_pool (0.00s)
 [2023/09/29 17:14:32.352]     --- PASS: TestServerConnectionTimeout/dial_errors_unrelated_to_context_timeouts_should_clear_the_pool (0.11s)
 [2023/09/29 17:14:32.352]     --- PASS: TestServerConnectionTimeout/timeout_error_during_dialing_should_clear_the_pool (0.20s)
 [2023/09/29 17:14:32.352]     --- PASS: TestServerConnectionTimeout/timeout_error_during_dialing_with_no_operation_timeout_should_clear_the_pool (0.20s)
 [2023/09/29 17:14:32.352]     --- FAIL: TestServerConnectionTimeout/operation_context_timeout_with_unrelated_dial_errors_should_clear_the_pool (10.00s)

https://spruce.mongodb.com/task/mongo_go_driver_v1_tests_42_plus_zlib_zstd_support__version~4.2_os_ssl_40~windows_64_go_1_20_test_sharded_noauth_nossl_patch_5f70167b2df818714742f7307841f4deac9b9a69_6517012f2fbabec06e944c95_23_09_29_16_54_08?execution=0&sortBy=STATUS&sortDir=ASC



 Comments   
Comment by Steve Silvester [ 02/Oct/23 ]

The second execution passed: https://spruce.mongodb.com/task/mongo_go_driver_v1_tests_42_plus_zlib_zstd_support__version~4.2_os_ssl_40~windows_64_go_1_20_test_sharded_noauth_nossl_patch_5f70167b2df818714742f7307841f4deac9b9a69_6517012f2fbabec06e944c95_23_09_29_16_54_08/logs?execution=1&sortBy=STATUS&sortDir=ASC

Generated at Thu Feb 08 08:39:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.