[CDRIVER-2235] OpenSSL 1.0.0 version check sometimes fails in Evergreen Created: 08/Aug/17  Updated: 28/Oct/23  Resolved: 11/Aug/17

Status: Closed
Project: C Driver
Component/s: libmongoc, tests, tls
Affects Version/s: None
Fix Version/s: 1.8.0

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


 Description   

Intermittent test failures like this one:

https://evergreen.mongodb.com/task/mongo_c_driver_release_openssl_build_and_run_authentication_tests_openssl_1.0.0_df56c5da09684aed926cd22d667fd199912968c0_17_07_28_17_18_38

The error log is:

 [2017/07/28 13:37:44.256] + openssl version
 [2017/07/28 13:37:44.443] OpenSSL 1.1.0f  25 May 2017
 [2017/07/28 13:37:44.443] + '[' -n 1.0.0t ']'
 [2017/07/28 13:37:44.443] + openssl version
 [2017/07/28 13:37:44.444] + grep -q 1.0.0t
 [2017/07/28 13:37:44.446] Command failed: exit status 1

The code that fails is in compile-unix.sh:

if [ -n "$SSL_VERSION" ]; then
   openssl version | grep -q $SSL_VERSION
fi



 Comments   
Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

{'username': u'bjori', 'name': u'Hannes Magnusson', 'email': u'bjori@php.net'}

Message:Merge branch 'CDRIVER-2235-openssl'

Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

{'username': u'bjori', 'name': u'Hannes Magnusson', 'email': u'bjori@php.net'}

Message:CDRIVER-2235 OpenSSL 1.0.0 version check sometimes fails in Evergreen
Branch:master
https://github.com/mongodb/mongo-c-driver/commit/28a848277f38ce08506dd09b89dc7ea84cc0f409

Comment by Hannes Magnusson [ 11/Aug/17 ]

https://github.com/mongodb/mongo-c-driver/commit/851596b50572e724ba8f3196e4a0dfdca977d3eb

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