Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3030

mongosh 2.3.3 fails with an OpenSSL configuration error on rhel90-dbx-perf-large

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      mongosh 2.3.3 fails with an OpenSSL configuration error on rhel90-dbx-perf-large:

       [2024/10/31 11:46:57.407] + echo 'Installing MongoDB shell...'
       [2024/10/31 11:46:57.407] + curl_retry https://downloads.mongodb.com/compass/mongosh-2.3.3-linux-x64.tgz --output mongosh.tgz
       [2024/10/31 11:46:57.407] + for i in 1 2 4 8 16
       [2024/10/31 11:46:57.407] + curl --fail -sS --max-time 300 https://downloads.mongodb.com/compass/mongosh-2.3.3-linux-x64.tgz --output mongosh.tgz
       [2024/10/31 11:46:59.621] + return 0
       [2024/10/31 11:46:59.621] + tar zxf mongosh.tgz
       [2024/10/31 11:46:59.621] + rm -f mongosh.tgz
       [2024/10/31 11:46:59.621] + mv mongosh-2.3.3-linux-x64 mongosh
       [2024/10/31 11:46:59.623] + mkdir -p mongodb/bin
       [2024/10/31 11:46:59.623] + mv mongosh/bin/mongosh mongosh/bin/mongosh_crypt_v1.so mongodb/bin
       [2024/10/31 11:46:59.626] + rm -rf mongosh
       [2024/10/31 11:46:59.626] + chmod -R +x mongodb/bin
       [2024/10/31 11:46:59.626] + echo 'Installing MongoDB shell... done.'
       [2024/10/31 11:46:59.630] ++ ./mongodb/bin/mongosh --version
       [2024/10/31 11:46:59.630] ./mongodb/bin/mongosh: OpenSSL configuration error:
       [2024/10/31 11:46:59.630] 40982C58C07F0000:error:030000A9:digital envelope routines:alg_module_init:unknown option:../deps/openssl/openssl/crypto/evp/evp_cnf.c:61:name=rh-allow-sha1-signatures, value=yes
      

      https://spruce.mongodb.com/task/mongo_python_driver_perf_tests_perf_6.0_standalone_ssl_081ad89b844a8080539e2b45cb315156778bf3c1_24_10_21_17_05_56/logs?execution=0

      Note that this does not block the Python perf task from running successfully (we don't actually need mongosh) but it seems unexpected. Are we downloading the wrong mongosh build? Or could this be a bug in mongosh itself?

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: