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

Curl connection pooling test - resiliencyOnConnectionClosed - intermittently fails with SSL connect error

Open ahsonkhan opened this issue 9 months ago • 0 comments

This is the first time we are seeing this test fail, so doesn't warrant adding retries yet. Filing an issue for tracking and to ref count, in case we see such failures happen again.

In the past 2 weeks, this has failed 1/723, at a success rate of 99.86%. That said, this is similar to https://github.com/Azure/azure-sdk-for-cpp/issues/5006 and https://github.com/Azure/azure-sdk-for-cpp/issues/4634, so a category of tests here could be failing due to infra issues tied to the custom test azure website we use: https://azuresdkforcpp.azurewebsites.net

image

Failed on Validate macOS11_debug from an unrelated PR: https://github.com/Azure/azure-sdk-for-cpp/pull/5644 https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3804640&view=logs&j=b771c5fd-be6d-5bb0-c6d0-7316351a3f34&t=e552d907-923c-53a1-bf33-c1eaff3b9b3f&s=6884a131-87da-5381-61f3-d7acc3b91d76

2024-05-20T20:27:33.4864500Z test 3
2024-05-20T20:27:33.4865370Z         Start   3: azure-core.CurlConnectionPool.resiliencyOnConnectionClosed
2024-05-20T20:27:33.4865810Z 
2024-05-20T20:27:33.4866880Z 3: Test command: /Users/runner/work/1/s/build/sdk/core/azure-core/test/ut/azure-core-test "--gtest_filter=CurlConnectionPool.resiliencyOnConnectionClosed" "--gtest_also_run_disabled_tests"
2024-05-20T20:27:33.4867970Z 3: Working Directory: /Users/runner/work/1/s/build/sdk/core/azure-core/test/ut
2024-05-20T20:27:33.4868720Z 3: Test timeout computed to be: 10000000
2024-05-20T20:27:33.5086930Z 3: Note: Google Test filter = CurlConnectionPool.resiliencyOnConnectionClosed
2024-05-20T20:27:33.5088040Z 3: [==========] Running 1 test from 1 test suite.
2024-05-20T20:27:33.5089210Z 3: [----------] Global test environment set-up.
2024-05-20T20:27:33.5091080Z 3: [----------] 1 test from CurlConnectionPool
2024-05-20T20:27:33.5091890Z 3: [ RUN      ] CurlConnectionPool.resiliencyOnConnectionClosed
2024-05-20T20:27:33.5093310Z 3: [2024-05-20T20:27:33.5083800Z T: 0x1111a0e00] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2024-05-20T20:27:51.5990080Z 3: unknown file: Failure
2024-05-20T20:27:51.6027220Z 3: C++ exception with description "Fail to get a new connection for: https://azuresdkforcpp.azurewebsites.net. SSL connect error" thrown in the test body.
2024-05-20T20:27:51.6076290Z 3: [  FAILED  ] CurlConnectionPool.resiliencyOnConnectionClosed (18090 ms)
2024-05-20T20:27:51.6130600Z 3: [----------] 1 test from CurlConnectionPool (18090 ms total)
2024-05-20T20:27:51.6133450Z 3: 
2024-05-20T20:27:51.6134840Z 3: [----------] Global test environment tear-down
2024-05-20T20:27:51.6136620Z 3: [==========] 1 test from 1 test suite ran. (18090 ms total)
2024-05-20T20:27:51.6138010Z 3: [  PASSED  ] 0 tests.
2024-05-20T20:27:51.6139210Z 3: [  FAILED  ] 1 test, listed below:
2024-05-20T20:27:51.6140450Z 3: [  FAILED  ] CurlConnectionPool.resiliencyOnConnectionClosed
2024-05-20T20:27:51.6160760Z 3: 
2024-05-20T20:27:51.6162610Z 3:  1 FAILED TEST
2024-05-20T20:27:51.6164920Z   3/491 Test   #3: azure-core.CurlConnectionPool.resiliencyOnConnectionClosed ........................................***Failed   18.12 sec

ahsonkhan avatar May 21 '24 23:05 ahsonkhan