azure-sdk-for-cpp icon indicating copy to clipboard operation
azure-sdk-for-cpp copied to clipboard

Intermittent test failure for TransportAdapterOptions.DisableCrlValidation - unable to get certificate CRL

Open ahsonkhan opened this issue 10 months ago • 0 comments

In Validate Ubuntu22_included_samples https://dev.azure.com/azure-sdk/public/_build/results?buildId=3693435&view=logs&j=fad7e5d9-ee9d-5455-29cf-12d77fc3497f&t=76fbd67c-d934-562d-04be-d620bc76f47a

2024-04-12T22:36:50.7948208Z test 274
2024-04-12T22:36:50.7948664Z         Start 274: azure-core.TransportAdapterOptions.DisableCrlValidation
2024-04-12T22:36:50.7948879Z 
2024-04-12T22:36:50.7949528Z 274: Test command: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut/azure-core-test "--gtest_filter=TransportAdapterOptions.DisableCrlValidation" "--gtest_also_run_disabled_tests"
2024-04-12T22:36:50.7950137Z 274: Working Directory: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut
2024-04-12T22:36:50.7950673Z 274: Test timeout computed to be: 10000000
2024-04-12T22:36:50.7998383Z 274: Note: Google Test filter = TransportAdapterOptions.DisableCrlValidation
2024-04-12T22:36:50.7999039Z 274: [==========] Running 1 test from 1 test suite.
2024-04-12T22:36:50.7999585Z 274: [----------] Global test environment set-up.
2024-04-12T22:36:50.8000066Z 274: [----------] 1 test from TransportAdapterOptions
2024-04-12T22:36:50.8000433Z 274: [ RUN      ] TransportAdapterOptions.DisableCrlValidation
2024-04-12T22:36:50.8001097Z 274: [2024-04-12T22:36:50.7996450Z T: 140604657689792] DEBUG : [CURL Transport Adapter]: Creating a new session.
2024-04-12T22:36:50.8001811Z 274: [2024-04-12T22:36:50.7996661Z T: 140604657689792] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2024-04-12T22:36:51.0401981Z 274: [2024-04-12T22:36:51.0397497Z T: 140604657689792] INFO  : Load CRL from Url: http://www.microsoft.com/pkiops/crl/Microsoft%20Azure%20RSA%20TLS%20Issuing%20CA%2008.crl
2024-04-12T22:36:51.0679139Z 274: [2024-04-12T22:36:51.0675087Z T: 140604657689792] INFO  : Load CRL from Url: http://crl3.digicert.com/DigiCertGlobalRootG2.crl
2024-04-12T22:36:56.0767385Z 274: [2024-04-12T22:36:56.0762425Z T: 140604657689792] ERROR : Error in Load CRL: C0E4AC12E17F0000: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-12T22:36:56.0768881Z 274: [2024-04-12T22:36:56.0762774Z T: 140604657689792] ERROR : Unable to retrieve CRL, CRL check may fail.
2024-04-12T22:36:56.0770180Z 274: [2024-04-12T22:36:56.0763208Z T: 140604657689792] INFO  : depth=1 C = US, O = Microsoft Corporation, CN = Microsoft Azure RSA TLS Issuing CA 08
2024-04-12T22:36:56.0771148Z 274: [2024-04-12T22:36:56.0763426Z T: 140604657689792] INFO  : verify error:num=3: unable to get certificate CRL
2024-04-12T22:36:56.0772115Z 274: [2024-04-12T22:36:56.0763632Z T: 140604657689792] INFO  : Unable to retrieve CRL.Fail TLS negotiation because CRL retrieval is not configured.
2024-04-12T22:36:56.0780793Z 274: unknown file: Failure
2024-04-12T22:36:56.0781459Z 274: C++ exception with description "Fail to get a new connection for: https://azuresdkforcpp.azurewebsites.net. No error. Underlying error: unable to get certificate CRL" thrown in the test body.
2024-04-12T22:36:56.0782030Z 274: [  FAILED  ] TransportAdapterOptions.DisableCrlValidation (5278 ms)
2024-04-12T22:36:56.0782622Z 274: [----------] 1 test from TransportAdapterOptions (5278 ms total)
2024-04-12T22:36:56.0782904Z 274: 
2024-04-12T22:36:56.0783233Z 274: [----------] Global test environment tear-down
2024-04-12T22:36:56.0783529Z 274: [==========] 1 test from 1 test suite ran. (5278 ms total)
2024-04-12T22:36:56.0783796Z 274: [  PASSED  ] 0 tests.
2024-04-12T22:36:56.0784032Z 274: [  FAILED  ] 1 test, listed below:
2024-04-12T22:36:56.0784690Z 274: [  FAILED  ] TransportAdapterOptions.DisableCrlValidation
2024-04-12T22:36:56.0784942Z 274: 
2024-04-12T22:36:56.0785141Z 274:  1 FAILED TEST
2024-04-12T22:36:56.0800832Z 274/533 Test #274: azure-core.TransportAdapterOptions.DisableCrlValidation ...........................................***Failed    5.29 sec
2024-04-12T22:36:56.0802039Z test 275

Last 14 days: https://dev.azure.com/azure-sdk/public/_test/analytics?definitionId=1614&contextType=build image

ahsonkhan avatar Apr 15 '24 17:04 ahsonkhan