[ci-scan] Test failure: OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl on tvOS

オープン
#136,952 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
csharp

調査の方向性

Start with the failing test OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl in System.Net.Security.Unit.Tests and the DllNotFoundException for libSystem.Security.Cryptography.Native.OpenSsl thrown from the Interop.OpenSsl static constructor on tvOS. The issue does not say what to change, so first confirm with the maintainers where the tvOS native library is expected to be packaged or loaded. Done means the test passes on tvos-arm64 in both CoreCLR and NativeAOT legs.

索引モデルが issue の本文から書いたものです。

説明

agentic-workflows area-System.Net blocking-clean-ci Known Build Error

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1659071
Build error leg or test failing: tvos-arm64 Release AllSubsets_CoreCLR-System.Net.Security.Unit.Tests / System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl
Also affected: tvos-arm64 Release AllSubsets_NativeAOT.
Pipeline: runtime-extra-platforms, definition 154, main.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1648254 (finished 2026-10-25; earliest verified occurrence in the ten-build sample, not the established introduction).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1661087 (finished 2026-11-03), same missing-library failure on both runtime variants.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

All nine theory cases attempt to initialize the OpenSSL interop library on tvOS and fail because libSystem.Security.Cryptography.Native.OpenSsl cannot be loaded. Source CoreCLR results: 136 tests, 124 passed, 9 failed, 3 ignored. The NativeAOT work item has the same missing-library exception. This scan does not establish the underlying product or test-configuration fix.

The same exception was verified in seven distinct source-and-prior builds among ten sampled: 1648254, 1648681, 1653767, 1655451, 1657310, 1658360, and 1659071. Builds without this failed work item's console do not establish that the test passed. The true origin may predate 2026-10-25.

Source console: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-650ae0b634004664a8/System.Net.Security.Unit.Tests/1/console.874a8a45.log?helixlogtype=result

Log prefixes and repeated application-bundle library-search paths are omitted below; the complete exception chain and stack frames are retained:

[FAIL] System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl(error: 338067735, isOpenSsl3: False, expected: 279)
System.TypeInitializationException : The type initializer for 'OpenSsl' threw an exception.
---- System.TypeInitializationException : The type initializer for 'CryptoInitializer' threw an exception.
-------- System.DllNotFoundException : Unable to load shared library 'libSystem.Security.Cryptography.Native.OpenSsl' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
   at Interop.OpenSsl.GetSslLibraryReason(UInt32 error, Boolean isOpenSsl3)
   at System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl(UInt32 error, Boolean isOpenSsl3, Int32 expected)
   at InvokeStub_OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl(Object, Object, IntPtr*)
   at System.Reflection.IntrinsicInvokeHelper.Invoke(InvokeState& state, InvokerStrategy& strategy, InvokeFunc_RefArgs& invokeFunc, MethodBase method, RuntimeType[] argumentTypes, Object obj, IntPtr* args, Boolean backwardsCompat)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at Interop.OpenSsl..cctor()
   at System.Runtime.CompilerServices.InitHelpers.CallClassConstructor(Void* cctor, Void* instantiatingArg, Exception* pException)
----- Inner Stack Trace -----
   at Interop.CryptoInitializer..cctor()
   at System.Runtime.CompilerServices.InitHelpers.CallClassConstructor(Void* cctor, Void* instantiatingArg, Exception* pException)

Error Message

{
  "ErrorMessage": [
    "[FAIL] System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl",
    "System.DllNotFoundException : Unable to load shared library 'libSystem.Security.Cryptography.Native.OpenSsl' or one of its dependencies."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 18 hits in failure.log

Both elements occur in order in the failing test output and each has 18 literal matches in the saved source console. The failure marker does not match passing or skipped output.


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

[!NOTE]
Generated by GitHub Copilot.

Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~235 AIC · ⌖ ~13 AIC · ⊞ 33.3K · ◷

Report
Build Repository Test Pull Request
1666771 dotnet/runtime System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext
1666350 dotnet/runtime System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext
1665765 dotnet/runtime System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext
1663467 dotnet/runtime System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl dotnet/runtime#136916
1663137 dotnet/runtime System.Net.Security.Tests.OpenSslErrorTests.GetSslLibraryReason_UsesLayoutOfLoadedOpenSsl
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 5
主要言語
C#
スター
18.4k
フォーク
5.8k
平均マージ
2日 12時間
マージ済み PR(30日)
581

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/runtime のほかの issue

dotnet/runtime の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。