Skip to content

azure-core.CurlConnectionPool.uniquePort test intermittently fails on MacOS with "Fail to get a new connection" #5006

@ahsonkhan

Description

@ahsonkhan

On Validate macOS11_release

https://dev.azure.com/azure-sdk/public/_build/results?buildId=3135893&view=logs&j=e109b754-e5a4-58aa-96d5-f28daf32bc3c&t=a60c72e0-ef1b-5f7a-6d94-a68b6746705e&l=12166

2023-10-04T02:05:02.5477720Z test 66
2023-10-04T02:05:02.5478930Z         Start  66: azure-core.CurlConnectionPool.uniquePort
2023-10-04T02:05:02.5479850Z 
2023-10-04T02:05:02.5480940Z 66: Test command: /Users/runner/work/1/s/build/sdk/core/azure-core/test/ut/azure-core-test "--gtest_filter=CurlConnectionPool.uniquePort" "--gtest_also_run_disabled_tests"
2023-10-04T02:05:02.5481600Z 66: Working Directory: /Users/runner/work/1/s/build/sdk/core/azure-core/test/ut
2023-10-04T02:05:02.5481990Z 66: Test timeout computed to be: 10000000
2023-10-04T02:05:02.5624690Z 66: Note: Google Test filter = CurlConnectionPool.uniquePort
2023-10-04T02:05:02.5625920Z 66: [==========] Running 1 test from 1 test suite.
2023-10-04T02:05:02.5627180Z 66: [----------] Global test environment set-up.
2023-10-04T02:05:02.5627710Z 66: [----------] 1 test from CurlConnectionPool
2023-10-04T02:05:02.5628080Z 66: [ RUN      ] CurlConnectionPool.uniquePort
2023-10-04T02:05:02.5628590Z 66: [2023-10-04T02:05:02.5623110Z] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2023-10-04T02:05:02.6224250Z 66: [2023-10-04T02:05:02.6221070Z] DEBUG : Moving connection to pool...
2023-10-04T02:05:02.6225810Z 66: [2023-10-04T02:05:02.6221280Z] DEBUG : Start clean thread
2023-10-04T02:05:02.6226570Z 66: [2023-10-04T02:05:02.6222190Z] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2023-10-04T02:05:20.6966260Z 66: unknown file: Failure
2023-10-04T02:05:20.6968150Z 66: C++ exception with description "Fail to get a new connection for: https://azuresdkforcpp.azurewebsites.net:443. SSL connect error" thrown in the test body.
2023-10-04T02:05:20.6990720Z 66: [  FAILED  ] CurlConnectionPool.uniquePort (18134 ms)
2023-10-04T02:05:20.6992190Z 66: [----------] 1 test from CurlConnectionPool (18134 ms total)

This is the first time I have seen this test fail, maybe others have observed it before.

cc @LarryOsterman

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions