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

Desktop: System.Security.Cryptography.Encryption.Aes.Tests.DecryptorReusabilty.TestDecryptorReusability failed with "Xunit.Sdk.EqualException" #21354

Closed
KristinXie1 opened this issue Apr 25, 2017 · 2 comments
Assignees
Labels
area-System.Security test-run-desktop Test failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
Milestone

Comments

@KristinXie1
Copy link

Failed test: System.Security.Cryptography.Encryption.Aes.Tests.DecryptorReusabilty.TestDecryptorReusability

Detail: https://ci.dot.net/job/dotnet_corefx/job/master/job/outerloop_netfx_windows_nt_debug/30/testReport/System.Security.Cryptography.Encryption.Aes.Tests/DecryptorReusabilty/TestDecryptorReusability/

MESSAGE:

Assert.Equal() Failure
    Expected: Byte[] [20, 48, 113, 173, 237, ...]
    Actual: Byte[] [20, 15, 15, 16, 17, ...]

STACK TRACE:

at System.Security.Cryptography.Encryption.Aes.Tests.DecryptorReusabilty.TestDecryptorReusability() 
in D:\j\workspace\outerloop_net---903ddde6\src\Common\tests\System\Security\Cryptography\AlgorithmImplementations\AES\DecryptorReusability.cs:line 65
@danmoseley
Copy link
Member

@bartonjs @krwq

@bartonjs
Copy link
Member

If this is AesCryptoServiceProvider that's a bug that was fixed as a retargeting change in 4.6.2. So maybe for netfx we'd want to measure the result based off of the Switch.System.Security.Cryptography.AesCryptoServiceProvider.DontCorrectlyResetDecryptor switch.

@krwq krwq self-assigned this Apr 25, 2017
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security test-run-desktop Test failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
Projects
None yet
Development

No branches or pull requests

5 participants