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

[release/8.0-staging][android] CI failures in System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate #110857

Open
matouskozak opened this issue Dec 20, 2024 · 2 comments
Labels
area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-android untriaged New issue has not been triaged by the area owner

Comments

@matouskozak
Copy link
Member

matouskozak commented Dec 20, 2024

Build Information

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

Affected CI: android-arm64 Release AllSubsets_Mono, android-arm Release AllSubsets_Mono

Range of commits: unknown

Log:

12-18 00:49:39.526 22023 23067 I DOTNET  : 1) 	[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature   Test name: System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature
12-18 00:49:39.526 22023 23067 I DOTNET  :    Assembly:  [System.Security.Cryptography.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
12-18 00:49:39.526 22023 23067 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 410
12-18 00:49:39.526 22023 23067 I DOTNET  :    at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithSha256RsaSignature() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs:line 1286
12-18 00:49:39.526 22023 23067 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
12-18 00:49:39.526 22023 23067 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
12-18 00:49:39.526 22023 23067 I DOTNET  :    Execution time: 0.2066946
12-18 00:49:39.526 22023 23067 I DOTNET  : 2) 	[FAIL] System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature   Test name: System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature
12-18 00:49:39.526 22023 23067 I DOTNET  :    Assembly:  [System.Security.Cryptography.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
12-18 00:49:39.526 22023 23067 I DOTNET  :    Exception messages: Assert.Throws() Failure
12-18 00:49:39.526 22023 23067 I DOTNET  : Expected: typeof(System.Security.Cryptography.CryptographicException)
12-18 00:49:39.526 22023 23067 I DOTNET  : Actual:   (No exception was thrown)   Exception stack traces:    at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainForSelfSignedCertificate_WithUnknownOidSignature() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs:line 1319
12-18 00:49:39.526 22023 23067 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
12-18 00:49:39.526 22023 23067 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
12-18 00:49:39.526 22023 23067 I DOTNET  :    Execution time: 0.2893571

Error Message

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

{
  "ErrorMessage": ["8.0.0-prerelease", "Attempting to remove apk 'net.dot.System.Security.Cryptography.Tests'", "XHarness exit code: 1 (TESTS_FAILED)"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=897703
Error message validated: [8.0.0-prerelease Attempting to remove apk 'net.dot.System.Security.Cryptography.Tests' XHarness exit code: 1 (TESTS_FAILED)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/20/2024 1:29:20 PM UTC

Report

Build Definition Test Pull Request
897703 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
@matouskozak matouskozak added area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-android labels Dec 20, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 20, 2024
Copy link
Contributor

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

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
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
Labels
area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-android untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant