The Wayback Machine - https://web.archive.org/web/20220201173138/https://github.com/dotnet/aspnetcore/issues/39914
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

Quarantine Microsoft.AspNetCore.Components.E2ETest.Tests.SignalRClientTest #39914

Open
TanayParikh opened this issue Feb 1, 2022 · 0 comments
Open

Comments

@TanayParikh
Copy link
Member

@TanayParikh TanayParikh commented Feb 1, 2022

Failing Test(s)

Note issue is with:

Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions:_clientCertificates' (1) due to: Could not resolve type with token 0100004a from typeref (expected class 'System.Security.Cryptography.X509Certificates.X509CertificateCollection' in assembly 'System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Security.Cryptography.X509Certificates.X509CertificateCollection member

Not a direct test failure

  • Microsoft.AspNetCore.Components.E2ETest.Tests.SignalRClientTest.SignalRClientWorksWithWebSockets
  • Microsoft.AspNetCore.Components.E2ETest.Tests.SignalRClientTest.SignalRClientSendsUserAgent
  • Microsoft.AspNetCore.Components.E2ETest.Tests.SignalRClientTest.SignalRClientWorksWithLongPolling

Error Message

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: SignalR Client: Echo LongPolling
Actual:   (null)
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer1 comparer) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 40 at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83 at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_01.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/220b82a01c8040cfb00ba95bca9f8a3b.png'
Encountered browser errors
[2022-02-01T13:20:16Z] [Debug] http://127.0.0.1:34103/subdir/_framework/dotnet.7.0.0-preview.2.22074.8.982bxdz4ge.js 2:8847 "mono_wasm_runtime_ready" "fe00e07a-5519-4dfe-b35a-f867dbaf2e28"
[2022-02-01T13:20:17Z] [Severe] http://127.0.0.1:34103/subdir/_framework/blazor.webassembly.js 0:36641 "crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]\n      Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions:_clientCertificates' (1) due to: Could not resolve type with token 0100004a from typeref (expected class 'System.Security.Cryptography.X509Certificates.X509CertificateCollection' in assembly 'System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Security.Cryptography.X509Certificates.X509CertificateCollection member:(null)\nSystem.TypeLoadException: Could not load type of field 'Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions:_clientCertificates' (1) due to: Could not resolve type with token 0100004a from typeref (expected class 'System.Security.Cryptography.X509Certificates.X509CertificateCollection' in assembly 'System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Security.Cryptography.X509Certificates.X509CertificateCollection member:(null)\n   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory..ctor(IOptions1 options, ILoggerFactory loggerFactory)\n at System.Reflection.RuntimeConstructorInfo.InternalInvoke(Object , Span1 , Boolean )\n   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags , Binder , Object[] , CultureInfo )\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite , RuntimeResolverContext )\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSiteMain(ServiceCallSite , RuntimeResolverContext )\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite , RuntimeResolverContext )\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSite(ServiceCallSite , RuntimeResolverContext )\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Res

Stacktrace

   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 84
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
   at Microsoft.AspNetCore.Components.E2ETest.Tests.SignalRClientTest.SignalRClientWorksWithLongPolling() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/SignalRClientTest.cs:line 49
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1584117&view=ms.vss-test-web.build-test-results-tab&runId=44388602&resultId=100484&paneView=debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants