[SERVER-38789] Accept connection failure on Windows in ssl_alert_reporting.js Created: 27/Dec/18  Updated: 29/Oct/23  Resolved: 22/Jan/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.12, 4.0.7, 4.1.8

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Security 2019-01-28
Participants:
Linked BF Score: 11

 Description   

Windows sometimes observes connection failures instead of TLS alert packets in ssl_alert_reporting.js. This is because the server writes the packet, then issues a shutdown with SD_BOTH. Because there is data in the receive queue, this causes the server to emit an RST packet. This can pre-empt the client's handling of the written packet.

On Windows, we should retry the test, if we encounter a connection failure.



 Comments   
Comment by Githook User [ 07/Mar/19 ]

Author:

{'name': 'Isabella Siu', 'username': 'iwysiu', 'email': 'isabella.siu@10gen.com'}

Message: SERVER-38789 retry ssl_reporting_alert.js for a connection failure on Windows

(cherry picked from commit 9b098e1a8f7373418eefd98704a86bd10a1150de)
Branch: v3.6
https://github.com/mongodb/mongo/commit/b6cf2e8dc61c434ea4ad3f07a0c6c0c24d2f53c4

Comment by Githook User [ 07/Mar/19 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@10gen.com', 'username': 'iwysiu'}

Message: SERVER-38789 retry ssl_reporting_alert.js for a connection failure on Windows

(cherry picked from commit 9b098e1a8f7373418eefd98704a86bd10a1150de)
Branch: v4.0
https://github.com/mongodb/mongo/commit/9a7b62f9de5450fb06c9f0f280c12078b087ab33

Comment by Githook User [ 22/Jan/19 ]

Author:

{'email': 'isabella.siu@10gen.com', 'name': 'Isabella Siu', 'username': 'iwysiu'}

Message: SERVER-38789 retry ssl_reporting_alert.js for a connection failure on Windows
Branch: master
https://github.com/mongodb/mongo/commit/9b098e1a8f7373418eefd98704a86bd10a1150de

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