[CDRIVER-1992] Intermittent "TLS handshake failed" error in test_ismaster_ssl on Windows Created: 16/Jan/17  Updated: 05/May/17  Resolved: 05/May/17

Status: Closed
Project: C Driver
Component/s: tls
Affects Version/s: 1.5.3
Fix Version/s: 1.7.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Observed in OpenSSL build on Windows:

https://evergreen.mongodb.com/task/mongo_c_driver_windows_2010_test_3.4_server_noauth_sasl_openssl_29b8e3b46e16adddfc04b5f0e8a8d5db1c32186c_17_01_15_22_49_52

 [2017/01/15 19:01:35.027] Begin /Async/ismaster_ssl
 [2017/01/15 19:01:43.408] error: TLS handshake failed: error:00000000:lib(0):func(0):reason(0)
 [2017/01/15 19:01:43.408] FAIL
 [2017/01/15 19:01:43.408] 
 [2017/01/15 19:01:43.408] Assert Failure: 2 == 1
 [2017/01/15 19:01:43.408] tests\test-mongoc-async.c:34  test_ismaster_helper()

I'm disabling the test on Windows with OpenSSL for now in order to get our test suite reliable.



 Comments   
Comment by A. Jesse Jiryu Davis [ 05/May/17 ]

I've reenabled the test for 64-bit Windows. (It's disabled, as all mock server tests are, on 32-bit for all platforms.) We'll see if it keeps passing, otherwise I plan to disable it again on Windows, permanently, and close this "won't fix."

Comment by Githook User [ 05/May/17 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1992 reenable OpenSSL test on Windows
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c628f96a1aec3e79292477711841c1db8dd0cae0

Comment by Hannes Magnusson [ 19/Apr/17 ]

That is a very strange one. There was no failure, as indicated by OpenSSL.

Our Windows OpenSSL usage is no different from other platforms, so if this only shows up on this particular windows server that one time there must be a race condition in that async testcase...

I doubt we'll ever find out

Comment by Githook User [ 16/Jan/17 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1992 disable SSL test on Windows for now
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c7a300e2af68c14e5222ed5708f4645989b40c82

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