Closed
Description
WasmTestOnBrowser-subtlecrypto-System.Security.Cryptography.Tests failure found in https://github.com/dotnet/runtime/pull/73748/checks?check_run_id=7812609951
LOG:
[19:16:18] fail: MONO_WASM_ENCRYPT_DECRYPT: Error: Worker failed
at us.acquire_lock (http://127.0.0.1:49196/dotnet.js:3:63935)
at using_lock (http://127.0.0.1:49196/dotnet.js:3:63647)
at us.reset (http://127.0.0.1:49196/dotnet.js:3:61805)
at us.send_msg (http://127.0.0.1:49196/dotnet.js:3:61114)
at cs (http://127.0.0.1:49196/dotnet.js:3:59745)
at is (http://127.0.0.1:49196/dotnet.js:3:58724)
at Object.ts (http://127.0.0.1:49196/dotnet.js:3:57718)
at _dotnet_browser_simple_digest_hash (http://127.0.0.1:49196/dotnet.js:14:97296)
at SystemCryptoNativeBrowser_SimpleDigestHash (http://127.0.0.1:49196/dotnet.wasm:wasm-function[8951]:0x1d372f)
at do_icall (http://127.0.0.1:49196/dotnet.wasm:wasm-function[355]:0x22d31)
[19:16:18] fail: [FAIL] System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3_Async
[19:16:18] info: System.Security.Cryptography.CryptographicException : SubtleCrypto returned an unknown error: '-3'.
[19:16:18] info: at System.Security.Cryptography.SHANativeHashProvider.SimpleDigestHash(SimpleDigest hashName, ReadOnlySpan`1 data, Span`1 destination)
[19:16:18] info: at System.Security.Cryptography.SHANativeHashProvider.GetCurrentHash(Span`1 destination)
[19:16:18] info: at System.Security.Cryptography.SHANativeHashProvider.FinalizeHashAndReset(Span`1 destination)
[19:16:18] info: at System.Security.Cryptography.LiteHash.Finalize(Span`1 destination)
[19:16:18] info: at System.Security.Cryptography.LiteHashProvider.<ProcessStreamAsync>d__9`1[[System.Security.Cryptography.LiteHash, System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[19:16:18] info: at System.Security.Cryptography.LiteHashProvider.<ProcessStreamAsync>d__10`1[[System.Security.Cryptography.LiteHash, System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
[19:16:18] info: at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyOneShotAllocatingStreamAsync(Stream input, String output)
[19:16:18] info: at System.Security.Cryptography.Tests.HashAlgorithmTestDriver.VerifyRepeatingAsync(String input, Int32 repeatCount, String output)
[19:16:18] info: at System.Security.Cryptography.Tests.Sha1Tests.Sha1_Rfc3174_3_Async()
[19:16:18] info: --- End of stack trace from previous location ---
[19:16:18] fail: MONO_WASM_ENCRYPT_DECRYPT: Error: Worker failed
at us.acquire_lock (http://127.0.0.1:49196/dotnet.js:3:63935)
at using_lock (http://127.0.0.1:49196/dotnet.js:3:63647)
at us.reset (http://127.0.0.1:49196/dotnet.js:3:61805)
at us.send_msg (http://127.0.0.1:49196/dotnet.js:3:61114)
at cs (http://127.0.0.1:49196/dotnet.js:3:59745)
at is (http://127.0.0.1:49196/dotnet.js:3:58724)
at Object.ts (http://127.0.0.1:49196/dotnet.js:3:57718)
at _dotnet_browser_simple_digest_hash (http://127.0.0.1:49196/dotnet.js:14:97296)
at SystemCryptoNativeBrowser_SimpleDigestHash (http://127.0.0.1:49196/dotnet.wasm:wasm-function[8951]:0x1d372f)
at do_icall (http://127.0.0.1:49196/dotnet.wasm:wasm-function[355]:0x22d31)
[19:16:18] fail: [FAIL] System.Security.Cryptography.Tests.Sha1Tests.ComputeHash_TryComputeHash_HashSetExplicitlyByBoth
...