[SERVER-76024] transport_test: ShutdownDuringSSLHandshake cannot load cert Created: 12/Apr/23  Updated: 29/Oct/23  Resolved: 13/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2023-04-17
Participants:
Linked BF Score: 7

 Description   

This test loads an X.509 cert from:

std::ifstream input("jstests/libs/client.pem");

This jstests directory isn't symlinked in my spawnhost and the test will be running in an environment that doesn't have a jstests/ relative path on an evergreen BF repro spawnhost.

The code that loads this cert doesn't check the ifstream for errors and it should.



 Comments   
Comment by Billy Donahue [ 14/Apr/23 ]

discovered during investigation of BF-27917

Comment by Githook User [ 13/Apr/23 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-76024 transport_test fail test if TLS cert cannot load
Branch: master
https://github.com/mongodb/mongo/commit/dc74aa4451556377e83d4f645cf5c2f8c61ab38c

Generated at Thu Feb 08 06:31:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.