Skip to content

[mono][android] Failures in System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_* #100224

Closed
@matouskozak

Description

@matouskozak

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=615665
Build error leg or test failing: System.Security.Cryptography.Tests

Failing on:

  • android-arm Release AllSubsets_Mono
  • android-arm64 Release AllSubsets_Mono

Error log extracted from the device:

03-24 15:06:01.820 10844 12116 I DOTNET  : Failed tests:
03-24 15:06:01.820 10844 12116 I DOTNET  : 1) 	[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature   Test name: System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature
03-24 15:06:01.820 10844 12116 I DOTNET  :    Assembly:  [System.Security.Cryptography.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
03-24 15:06:01.820 10844 12116 I DOTNET  :    Exception messages: Expected: Value PartialChain (of enum type System.Security.Cryptography.X509Certificates.X509ChainStatusFlags) to have the flag UntrustedRoot set.   Exception stack traces:    at System.AssertExtensions.HasFlag[X509ChainStatusFlags](X509ChainStatusFlags expected, X509ChainStatusFlags actual, String userMessage) in /_/src/libraries/Common/tests/TestUtilities/System/AssertExtensions.cs:line 413
03-24 15:06:01.820 10844 12116 I DOTNET  :    at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs:line 1286
03-24 15:06:01.820 10844 12116 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
03-24 15:06:01.820 10844 12116 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
03-24 15:06:01.820 10844 12116 I DOTNET  :    Execution time: 0.1970542
03-24 15:06:01.820 10844 12116 I DOTNET  : 2) 	[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature   Test name: System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature
03-24 15:06:01.820 10844 12116 I DOTNET  :    Assembly:  [System.Security.Cryptography.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
03-24 15:06:01.820 10844 12116 I DOTNET  :    Exception messages: Assert.ThrowsAny() Failure: No exception was thrown
03-24 15:06:01.820 10844 12116 I DOTNET  : Expected: typeof(System.Security.Cryptography.CryptographicException)   Exception stack traces:    at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs:line 1319
03-24 15:06:01.820 10844 12116 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
03-24 15:06:01.820 10844 12116 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
03-24 15:06:01.820 10844 12116 I DOTNET  :    Execution time: 0.1903711

Known Issue Error Message

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

{
  "ErrorMessage": "[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_",
  "BuildRetry": false,
  "ExcludeConsoleLog": true
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=615665
Error message validated: [[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 3/25/2024 8:52:18 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions