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

Sha1_Rfc3174_3 test failure in wasm #70291

Closed
stephentoub opened this issue Jun 6, 2022 · 2 comments
Closed

Sha1_Rfc3174_3 test failure in wasm #70291

stephentoub opened this issue Jun 6, 2022 · 2 comments

Comments

@stephentoub
Copy link
Member

net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-70280-merge-83df0134cef3402ca4/WasmTestOnBrowser-System.Security.Cryptography.Tests/1/console.85a63761.log?helixlogtype=result

[14:29:51] info: Discovering: System.Security.Cryptography.Tests.dll (method display = ClassAndMethod, method display options = None)
[14:29:54] info: Discovered:  System.Security.Cryptography.Tests.dll (found 683 of 2397 test cases)
[14:29:54] info: Using random seed for test cases: 150166002
[14:29:54] info: Using random seed for collections: 150166002
[14:29:54] info: Starting:    System.Security.Cryptography.Tests.dll
[14:30:16] fail: [FAIL] System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3
[14:30:16] info: Showing first 10 differences
[14:30:16] info:   Position 0: Expected: 52, Actual: 143
[14:30:16] info:   Position 1: Expected: 170, Actual: 73
[14:30:16] info:   Position 2: Expected: 151, Actual: 254
[14:30:16] info:   Position 3: Expected: 60, Actual: 208
[14:30:16] info:   Position 4: Expected: 212, Actual: 10
[14:30:16] info:   Position 5: Expected: 196, Actual: 136
[14:30:16] info:   Position 6: Expected: 218, Actual: 92
[14:30:16] info:   Position 7: Expected: 164, Actual: 2
[14:30:16] info:   Position 8: Expected: 246, Actual: 151
[14:30:16] info:   Position 9: Expected: 30, Actual: 105
[14:30:16] info: Total number of differences: 20 out of 20
[14:30:16] info:    at System.AssertExtensions.SequenceEqual[Byte](ReadOnlySpan`1 expected, ReadOnlySpan`1 actual)
[14:30:16] info:    at System.AssertExtensions.SequenceEqual[Byte](Span`1 expected, Span`1 actual)
[14:30:16] info:    at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyOneShotStream(Stream input, String output)
[14:30:16] info:    at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyRepeating(String input, Int32 repeatCount, String output)
[14:30:16] info:    at System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3()
[14:30:16] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
[14:30:17] info: Finished:    System.Security.Cryptography.Tests.dll
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jun 6, 2022
@ghost
Copy link

ghost commented Jun 6, 2022

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

Issue Details

net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-70280-merge-83df0134cef3402ca4/WasmTestOnBrowser-System.Security.Cryptography.Tests/1/console.85a63761.log?helixlogtype=result

[14:29:51] info: Discovering: System.Security.Cryptography.Tests.dll (method display = ClassAndMethod, method display options = None)
[14:29:54] info: Discovered:  System.Security.Cryptography.Tests.dll (found 683 of 2397 test cases)
[14:29:54] info: Using random seed for test cases: 150166002
[14:29:54] info: Using random seed for collections: 150166002
[14:29:54] info: Starting:    System.Security.Cryptography.Tests.dll
[14:30:16] fail: [FAIL] System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3
[14:30:16] info: Showing first 10 differences
[14:30:16] info:   Position 0: Expected: 52, Actual: 143
[14:30:16] info:   Position 1: Expected: 170, Actual: 73
[14:30:16] info:   Position 2: Expected: 151, Actual: 254
[14:30:16] info:   Position 3: Expected: 60, Actual: 208
[14:30:16] info:   Position 4: Expected: 212, Actual: 10
[14:30:16] info:   Position 5: Expected: 196, Actual: 136
[14:30:16] info:   Position 6: Expected: 218, Actual: 92
[14:30:16] info:   Position 7: Expected: 164, Actual: 2
[14:30:16] info:   Position 8: Expected: 246, Actual: 151
[14:30:16] info:   Position 9: Expected: 30, Actual: 105
[14:30:16] info: Total number of differences: 20 out of 20
[14:30:16] info:    at System.AssertExtensions.SequenceEqual[Byte](ReadOnlySpan`1 expected, ReadOnlySpan`1 actual)
[14:30:16] info:    at System.AssertExtensions.SequenceEqual[Byte](Span`1 expected, Span`1 actual)
[14:30:16] info:    at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyOneShotStream(Stream input, String output)
[14:30:16] info:    at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyRepeating(String input, Int32 repeatCount, String output)
[14:30:16] info:    at System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3()
[14:30:16] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
[14:30:17] info: Finished:    System.Security.Cryptography.Tests.dll
Author: stephentoub
Assignees: -
Labels:

area-System.Security, untriaged

Milestone: -

@stephentoub
Copy link
Member Author

Ah, while not the same exact test, this looks like #69806, which has a pending fix. Closing as a dup.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jun 6, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant