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

Abierto
#136,952 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
csharp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
C#
Estrellas
18.4k
Forks
5.8k
Merge medio
2 d 12 h
PR fusionados (30 d)
581

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dotnet/runtime

Todos los issues de dotnet/runtime

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.