Skip to content

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

@matouskozak

Description

@matouskozak

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
1178702 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1177923 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1177529 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1177425 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1177233 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1176929 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1175849 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1174451 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1173674 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1173340 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1173230 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1167598 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1170713 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1170520 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1167985 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1167112 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1166928 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1165443 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1165042 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1163636 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1162954 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1161897 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1159663 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1158442 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1158146 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1158100 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1156728 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1156211 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1155597 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1155046 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1154690 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1153985 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1153980 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1153780 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1153029 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution
1152778 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions