Skip to content

[wasm] Unhandled System.PlatformNotSupportedException for crypto tests #94820

Description

@radical

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=471563
Build error leg or test failing: WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution
Pull request: #92095

Error Message

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

{
  "ErrorMessage": "warn: System.PlatformNotSupportedException: System.Security.Cryptography.X509Certificates is not supported on this platform.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

The tests seem to have the appropriate SkipOnPlatform or other attributes, but the .cctor gets executed anyway, which throws.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=471563
Error message validated: warn: System.PlatformNotSupportedException: System.Security.Cryptography.X509Certificates is not supported on this platform.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/16/2023 12:33:09 AM UTC

Report

Build Definition Test Pull Request
483435 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95274
483253 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95377
483232 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95380
482571 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #93220
482507 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #85978
482460 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95260
482446 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94970
481870 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95308
481483 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94684
480974 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94169
480425 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95175
477221 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #95041
474390 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #92546
473405 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94888
473284 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94886
472825 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94861
472239 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #94839
472133 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #88620
471954 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #92521
471563 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #92095
470599 dotnet/runtime WasmTestOnBrowser-System.Security.Cryptography.Tests.WorkItemExecution #93220

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 11 21

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-System.Securityblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions