Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
matouskozak opened this issue Mar 25, 2024 · 2 comments · Fixed by #104352
Labels
area-Infrastructure-mono disabled-test The test is disabled in source code against the issue os-android
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Mar 25, 2024

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
@matouskozak matouskozak added os-android area-Infrastructure-mono needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration labels Mar 25, 2024
Copy link
Contributor

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 25, 2024
@matouskozak matouskozak added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' and removed needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration labels Mar 25, 2024
@matouskozak matouskozak added the disabled-test The test is disabled in source code against the issue label Mar 27, 2024
@jkotas jkotas removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Apr 2, 2024
@vitek-karas vitek-karas added this to the 9.0.0 milestone Jul 8, 2024
@vitek-karas vitek-karas removed the untriaged New issue has not been triaged by the area owner label Jul 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono disabled-test The test is disabled in source code against the issue os-android
Projects
None yet
3 participants