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

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

Closed
carlossanlop opened this issue Mar 13, 2024 · 5 comments
Labels
arch-arm64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Mar 13, 2024

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
}
    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: 🔎 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: ✅ 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 carlossanlop added arch-arm64 area-System.Security os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 13, 2024
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.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 13, 2024
@vcsjones
Copy link
Member

PR to fix this was merged.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Mar 13, 2024
@carlossanlop
Copy link
Member Author

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 carlossanlop reopened this Mar 13, 2024
@vcsjones
Copy link
Member

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
Copy link
Member

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

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

2 participants