运行 DatabaseLoaderTests 时发生 SqlException Timeout

作者: ericstj创建于 2024年1月23日更新于 2026年9月19日
标签blocking-clean-ciKnown Build Errorarea-Infrastructure

Build Information

Build: https://dev.Azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=537554 Build error leg or test failing: Microsoft.ML.Tests.DatabaseLoaderTests.IrisLightGbmWithLoadColumnName Pull Request: N/A

Error Message

Fill the error message using step by step known issues guidance.

json
{
  "ErrorMessage": "System.Data.SqlClient.SqlException : Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": true
}

Exception:

System.Data.SqlClient.SqlException : Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=149012; handshake=16; \r\n---- System.ComponentModel.Win32Exception : The wait operation timed out.

内容来源: dotnet/machinelearning