[CDRIVER-3759] OCSP "Test 3" and "soft-fail" sometimes fails on macOS Created: 17/Jul/20  Updated: 25/Sep/23

Status: Backlog
Project: C Driver
Component/s: OCSP
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Epic Link: Stabilize Evergreen

 Description   

Example:
https://evergreen.mongodb.com/build/mongo_c_driver_ocsp_patch_f5b2f9557c6623b86a46e0db846ad0d233f93760_5f10ec5cd6d80a595b8e88aa_20_07_17_00_10_05

The failures are inconsistent. The "soft fail" test has the OCSP responder down, and expects connection to succeed. "Test 3" has the OCSP responder returning a valid response. I strongly suspect an issue with caching.

The attempt to clear the cache does not appear to work on those hosts, as this appears in the logs:

[2020/07/17 00:20:51.703] + find /Users/mci/profile/Library/Keychains -name ocspcache.sqlite3 -exec sqlite3 '{}' 'DELETE FROM responses' ';'
[2020/07/17 00:20:51.704] find: /Users/mci/profile/Library/Keychains: No such file or directory



 Comments   
Comment by Kevin Albertson [ 25/Sep/23 ]

Failure observed 2023-09-18: https://spruce.mongodb.com/task/mongo_c_driver_ocsp_ocsp_darwinssl_soft_fail_test_rsa_nodelegate_4.4_5e1135eb68908b9acd213a2ffb3adc806cc47951_23_09_14_18_09_58/logs?execution=0

[2023/09/18 20:24:24.108] Ping failure: No suitable servers found (`serverSelectionTryOnce` set): [TLS handshake failed (Certificate trust fatal failure: CSSMERR_TP_CERT_REVOKED) calling hello on 'localhost:27017']

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