runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[7.0] Test failure in Rsa.Tests.EncryptDecrypt_AllocatingSpan.Decrypt_Pkcs1_ErrorsForInvalidPadding

Open carlossanlop opened this issue 1 year ago • 4 comments

Build Information

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

Error Message

{
  "ErrorMessage" : "EncryptDecrypt.cs(713,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
  • PR: https://github.com/dotnet/runtime/pull/99626
  • Queue: Libraries Test Run checked coreclr Linux arm64 Debug
  • Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=600377&view=logs&j=e4f18bbc-2f57-55e3-8831-999b74ca15c3&t=7dbfac67-24c2-5451-1abf-2cb25235c000&l=57
  • Log file: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-99626-merge-1951b5d904de4649ba/System.Security.Cryptography.OpenSsl.Tests/1/console.7092b23a.log?helixlogtype=result
  • Output:
    System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_AllocatingSpan.Decrypt_Pkcs1_ErrorsForInvalidPadding(data: [1, 2, 3, 4]) [FAIL]
      Assert.Throws() Failure
      Expected: typeof(System.Security.Cryptography.CryptographicException)
      Actual:   (No exception was thrown)
      Stack Trace:
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(713,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding(Byte[] data)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(69,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
  Finished:    System.Security.Cryptography.OpenSsl.Tests

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=600377 Error message validated: [EncryptDecrypt.cs(713,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/13/2024 12:06:17 AM UTC

Report

Summary

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

carlossanlop avatar Mar 13 '24 00:03 carlossanlop

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones See info in area-owners.md if you want to be subscribed.

PR to fix this was merged.

vcsjones avatar Mar 13 '24 15:03 vcsjones

This was hit in the internal->public merge PR, which happened on top of all the staging PRs merged for this month, where I assume the PR you mention should be included. So it surprises me that the issue happened.

Do you mind if we keep this open to see if we hit it again?

carlossanlop avatar Mar 13 '24 17:03 carlossanlop

where I assume the PR you mention should be included.

The PR was just merged to the staging branches this morning (the 13th), so it doesn't surprise me that the test failed yesterday (the 12th).

Happy to keep it open until we are comfortable though.

vcsjones avatar Mar 13 '24 18:03 vcsjones

Closing this out again as nothing has indicated the test still exists.

vcsjones avatar Jun 14 '24 21:06 vcsjones