镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[ci-scan] Test failure: System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportO #137121

Open

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1665174
Build error leg or test failing: linux-x64 Release Libraries_Release_CoreCLR - azurelinux.4.amd64.open-System.Security.Cryptography.Tests / ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform

Pipeline: runtime-extra-platforms, definition 154, main.
Affected platform: Linux x64, Azure Linux 4, CoreCLR Release. Both the Default and OpenSsl test variants fail.
First build it occurred (earliest verified observation, not an established introducing build): 1653767, finished 2026-10-29T09:48:20.7818427Z.
Follow-up build: 1667020, finished 2026-11-06T09:02:57.4679438Z; both variants reproduce the same ordered diagnostic.

Eleven source-and-prior builds were inspected. The failure was verified in eight distinct builds: 1653767, 1655451, 1657310, 1658360, 1659071, 1661087, 1663137, and 1665174. It also reproduces in follow-up 1667020. The three older sampled builds did not expose a failed crypto console for this leg; that does not establish a passing affected test. The true origin may predate the earliest verified observation.

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

The unsupported-platform test expects importing an explicit EC curve to throw PlatformNotSupportedException, but no exception is thrown. This scan does not establish whether the defect is in capability detection, the test expectation, or the implementation.

Source console: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-ef23feeef2f14d4f8e/System.Security.Cryptography.Tests/1/console.99f215d0.log?helixlogtype=result

Representative complete failure block:

System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform [FAIL]
  Assert.Throws() Failure: No exception was thrown
  Expected: typeof(System.PlatformNotSupportedException)
  Stack Trace:
    /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/ECDiffieHellman/ECDiffieHellmanTests.ImportExport.cs(339,0): at System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests.TestExplicitCurveImportOnUnsupportedPlatform()
    /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/IntrinsicInvokeHelper.cs(837,0): at System.Reflection.IntrinsicInvokeHelper.Instance_Void_0(IntPtr fn, Object obj, IntPtr* _, RuntimeType __)
    /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(33,0): at System.Reflection.MethodBaseInvoker.InvokeWithSharedThunk(Object obj, IntPtr* args)
    /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(134,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

The Default variant has the same assertion, expected exception, and stack frames. The matcher covers both variants without matching passing or skipped output.

Error Message

{
  "ErrorMessage": [
    "TestExplicitCurveImportOnUnsupportedPlatform [FAIL]",
    "Assert.Throws() Failure: No exception was thrown",
    "Expected: typeof(System.PlatformNotSupportedException)"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

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

Each element has two literal matches in the saved source console. The three elements match in order within each failing test's own output; the PASS/SKIP negative checks are empty. Both ordered matches also reproduce in the selected follow-up console. Repeated variants within one build are not counted as separate build occurrences.


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 · ~313 AIC · ⌖ ~14 AIC · ⊞ 33.3K · ◷

Report

Build Repository Test Pull Request
1679175 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_Default.TestExplicitCurveImportOnUnsupportedPlatform
1679005 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform
1678108 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_OpenSsl.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1676867 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_Default.TestExplicitCurveImportOnUnsupportedPlatform
1676850 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform
1676597 dotnet/runtime System.Security.Cryptography.EcDsa.Tests.ECDsaKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate #137395
1676232 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_Default.TestExplicitCurveImportOnUnsupportedPlatform
1676142 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8 #137379
1675538 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform
1672681 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_OpenSsl.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate #136566
1674712 dotnet/runtime System.Security.Cryptography.EcDsa.Tests.ECDsaKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1674593 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1674281 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_OpenSsl.TestExplicitCurveImportOnUnsupportedPlatform
1673364 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_Default.TestExplicitCurveImportOnUnsupportedPlatform
1672225 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests_Default.TestExplicitCurveImportOnUnsupportedPlatform
1670746 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1670305 dotnet/runtime System.Security.Cryptography.EcDiffieHellman.Tests.ECDhKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1669782 dotnet/runtime System.Security.Cryptography.EcDsa.Tests.ECDsaKeyFileTests_Default.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate
1668850 dotnet/runtime System.Security.Cryptography.EcDsa.Tests.ECDsaKeyFileTests_OpenSsl.ReadWriteNistP256ExplicitEncryptedPkcs8_LimitedPrivate

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 19 19

Activity

  1. self-assigned this
    on Nov 7, 2026
  2. dotnet-policy-service commented on Nov 7, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-System.Securityblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions