Skip to content

System.Security.Cryptography.Tests CertTests.RaceDisposeAndKeyAccess failing #85073

@buyaa-n

Description

@buyaa-n

Build Information

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

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "at Interop.Crypto.EvpPKeyDuplicate",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}
Process terminated. Assertion failed.
   at Interop.Crypto.EvpPKeyDuplicate(SafeEvpPKeyHandle currentKey, EvpAlgorithmId algorithmId) in /_/src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.EvpPkey.cs:line 25
   at System.Security.Cryptography.RSAOpenSsl..ctor(SafeEvpPKeyHandle pkeyHandle) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSAOpenSsl.cs:line 76
   at System.Security.Cryptography.X509Certificates.OpenSslX509CertificateReader.GetRSAPrivateKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslX509CertificateReader.cs:line 556
   at System.Security.Cryptography.X509Certificates.CertificateExtensionsCommon.GetPrivateKey[T](X509Certificate2 certificate, Predicate`1 matchesConstraints) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/CertificateExtensionsCommon.cs:line 61
   at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPrivateKey(X509Certificate2 certificate) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/RSACertificateExtensions.cs:line 27
   at System.Security.Cryptography.X509Certificates.Tests.CertTests.<>c.<RaceDisposeAndKeyAccess>b__4_1(Object cert) in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CertTests.cs:line 54
./RunTests.sh: line 168:    24 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Security.Cryptography.Tests.runtimeconfig.json --depsfile System.Security.Cryptography.Tests.deps.json xunit.console.dll System.Security.Cryptography.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e
----- end Wed 12 Apr 2023 12:33:49 AM UTC ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
ulimit -c value: unlimited

Report

Build Definition Test Pull Request
277117 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #86400
272007 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #85551
269809 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #86076
269059 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #86007
268930 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #85913
255939 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #84494
251855 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #85343
248075 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #85000
246147 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #85111

Summary

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

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions