Skip to content

azure-core.CurlTransportOptions.noRevoke test failing with "unable to get certificate CRL" error #5493

@ahsonkhan

Description

@ahsonkhan

From unrelated PR: #5474 on Validate Ubuntu22_included_release
https://dev.azure.com/azure-sdk/public/_build/results?buildId=3665652&view=logs&j=ba3dad2b-ce90-52d5-0c84-4172d8b9d063&t=6c6e0346-5c6c-5b96-a9d2-deaa2096ecd7&l=22207

2024-04-03T23:37:06.1862529Z test 7
2024-04-03T23:37:06.1862939Z         Start   7: azure-core.CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1863111Z 
2024-04-03T23:37:06.1863649Z 7: Test command: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut/azure-core-test "--gtest_filter=CurlTransportOptions.noRevoke" "--gtest_also_run_disabled_tests"
2024-04-03T23:37:06.1864157Z 7: Working Directory: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut
2024-04-03T23:37:06.1864445Z 7: Test timeout computed to be: 10000000
2024-04-03T23:37:06.1906785Z 7: Note: Google Test filter = CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1907369Z 7: [==========] Running 1 test from 1 test suite.
2024-04-03T23:37:06.1908232Z 7: [----------] Global test environment set-up.
2024-04-03T23:37:06.1908650Z 7: [----------] 1 test from CurlTransportOptions
2024-04-03T23:37:06.1908997Z 7: [ RUN      ] CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1909574Z 7: [2024-04-03T23:37:06.1904772Z T: 139650285413568] DEBUG : [CURL Transport Adapter]: Creating a new session.
2024-04-03T23:37:06.1910285Z 7: [2024-04-03T23:37:06.1904972Z T: 139650285413568] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2024-04-03T23:37:06.4330773Z 7: [2024-04-03T23:37:06.4326520Z T: 139650285413568] INFO  : Load CRL from Url: http://www.microsoft.com/pkiops/crl/Microsoft%20Azure%20RSA%20TLS%20Issuing%20CA%2008.crl
2024-04-03T23:37:06.4660347Z 7: [2024-04-03T23:37:06.4657171Z T: 139650285413568] INFO  : Load CRL from Url: http://crl3.digicert.com/DigiCertGlobalRootG2.crl
2024-04-03T23:37:11.4738672Z 7: [2024-04-03T23:37:11.4734113Z T: 139650285413568] ERROR : Error in Load CRL: C0A4A7DD027F0000:error:10000093:BIO routines:BIO_do_connect_retry:connect timeout:../src/nssl-3.2.1-8707343470.clean/crypto/bio/bio_lib.c:1064:
2024-04-03T23:37:11.4739934Z 7: [2024-04-03T23:37:11.4734396Z T: 139650285413568] ERROR : Unable to retrieve CRL, CRL check may fail.
2024-04-03T23:37:11.4740827Z 7: [2024-04-03T23:37:11.4734680Z T: 139650285413568] INFO  : depth=1 C = US, O = Microsoft Corporation, CN = Microsoft Azure RSA TLS Issuing CA 08
2024-04-03T23:37:11.4741985Z 7: [2024-04-03T23:37:11.4734812Z T: 139650285413568] INFO  : verify error:num=3: unable to get certificate CRL
2024-04-03T23:37:11.4742788Z 7: [2024-04-03T23:37:11.4734941Z T: 139650285413568] INFO  : Unable to retrieve CRL.Fail TLS negotiation because CRL retrieval is not configured.
2024-04-03T23:37:11.4749018Z 7: /mnt/vss/_work/1/s/sdk/core/azure-core/test/ut/curl_options_test.cpp:82: Failure
2024-04-03T23:37:11.4749711Z 7: Expected: response = pipeline.Send(request, Azure::Core::Context::ApplicationContext) doesn't throw an exception.
2024-04-03T23:37:11.4750296Z 7:   Actual: it throws Azure::Core::Http::TransportException with description "Fail to get a new connection for: https://azuresdkforcpp.azurewebsites.net. SSL peer certificate or SSH remote key was not OK. Underlying error: unable to get certificate CRL".
2024-04-03T23:37:11.4751132Z 7: [  FAILED  ] CurlTransportOptions.noRevoke (5284 ms)
2024-04-03T23:37:11.4751699Z 7: [----------] 1 test from CurlTransportOptions (5284 ms total)
2024-04-03T23:37:11.4752118Z 7: 
2024-04-03T23:37:11.4752518Z 7: [----------] Global test environment tear-down
2024-04-03T23:37:11.4752943Z 7: [==========] 1 test from 1 test suite ran. (5284 ms total)
2024-04-03T23:37:11.4753311Z 7: [  PASSED  ] 0 tests.
2024-04-03T23:37:11.4753704Z 7: [  FAILED  ] 1 test, listed below:
2024-04-03T23:37:11.4754076Z 7: [  FAILED  ] CurlTransportOptions.noRevoke
2024-04-03T23:37:11.4754444Z 7: 
2024-04-03T23:37:11.4754732Z 7:  1 FAILED TEST
2024-04-03T23:37:11.4762910Z   7/533 Test   #7: azure-core.CurlTransportOptions.noRevoke ..........................................................***Failed    5.29 sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure.CoreClientThis issue points to a problem in the data-plane of the library.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions