Skip to content

[browser][wasm] Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL #104825

@carlossanlop

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=734813
Build error leg or test failing: browser-wasm linux Release WasmBuildTests

Error Message

{
  "ErrorMessage" : "OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
        [wasm test-browser] [19:28:03] dbug: Saving diagnostics data to '/root/helix/work/workitem/e/diagnostics.json'
        [wasm test-browser] [19:28:03] dbug: Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL http://localhost:41171/session/62eaec63cc2d91f50756098ae8fbfef8/se/log. The exception message was: An error occurred while sending the request.
        [wasm test-browser]                   ---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
        [wasm test-browser]                   ---> System.Net.Http.HttpIOException: The response ended prematurely. (ResponseEnded)
        [wasm test-browser]                     at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
        [wasm test-browser]                     --- End of inner exception stack trace ---
        [wasm test-browser]                     at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
        [wasm test-browser]                     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
        [wasm test-browser]                     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
        [wasm test-browser]                     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
        [wasm test-browser]                     --- End of inner exception stack trace ---
        [wasm test-browser]                     at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.RemoteWebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
        [wasm test-browser]                     at OpenQA.Selenium.Remote.RemoteLogs.GetLog(String logKind)
        [wasm test-browser]                     at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmBrowserTestRunner.RunSeleniumLogMessagePump(IWebDriver driver, CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/Browser/WasmBrowserTestRunner.cs:line 214

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 5/20/2025 1:59:59 PM UTC

Report

Build Definition Test Pull Request
1410871 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.ReflectionInvokeInterpreted.Tests.WorkItemExecution #127281
1410849 dotnet/runtime WasmTestOnChrome-MONO-ST-Microsoft.Extensions.DependencyInjection.Tests.WorkItemExecution #127578
1410474 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-15.WorkItemExecution #127228
1410221 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Threading.ThreadPool.Tests.WorkItemExecution #127602
1407922 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-15.WorkItemExecution #127228
1406288 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Threading.RateLimiting.Tests.WorkItemExecution
1405510 dotnet/runtime WasmTestOnChrome-MONO-ST-Microsoft.Extensions.Primitives.Tests.WorkItemExecution #127492
1405488 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Diagnostics.StackTrace.Tests.WorkItemExecution #127656
1403411 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Security.Cryptography.Tests.WorkItemExecution #127464
1402053 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-17.WorkItemExecution #127228
1391696 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #125180
1400072 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-17.WorkItemExecution #127228
1392304 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127178
1398965 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127418
1396401 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127418
1396053 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Threading.Overlapped.Tests.WorkItemExecution #127407
1392159 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127302
1395283 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126955
1395371 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebHeaderCollection.Tests.WorkItemExecution
1390965 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127274
1393871 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tasks.Tests.WorkItemExecution #127328
1392473 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #114028
1392189 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127124
1391978 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #126972
1391910 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #126520
1391894 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127251
1391845 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127229
1391843 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #127114
1390662 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Threading.Tests.WorkItemExecution #126838
1391147 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution #125323
1389949 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #126972
1389893 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #127195
1389876 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #126520
1389758 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #127222
1389844 dotnet/runtime WasmTestOnFirefox-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #127185
1389384 dotnet/runtime WasmTestOnChrome-MONO-ST-System.IO.FileSystem.Primitives.Tests.WorkItemExecution #127147
1389313 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Serialization.Primitives.Tests.WorkItemExecution #127188
1389233 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #125520
1389196 dotnet/runtime WasmTestOnChrome-MONO-ST-MetricOuterLoop1.Tests.WorkItemExecution #127220
1386173 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution #127120
1384495 dotnet/runtime WasmTestOnChrome-MONO-ST-Microsoft.Extensions.Diagnostics.Abstractions.Tests.WorkItemExecution #126547
1383831 dotnet/runtime WasmTestOnChrome-MONO-ST-System.IO.Compression.ZipFile.Tests.WorkItemExecution #122093
1382249 dotnet/runtime Wasm.Build.Tests.NativeLibraryTests.ProjectUsingBrowserNativeCrypto
1373886 dotnet/runtime Wasm.Build.Tests.InvariantTimezoneTests.RelinkingWithoutAOT #126322
1372490 dotnet/runtime Wasm.Build.Tests.RebuildTests.NoOpRebuild(buildArgs: BuildArgs { ProjectName = placeholder, Config = Debug, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs = }, host: Chrome, id: "jbqlgdfv_b0n")
1370423 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #126322

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 8 46

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-VM-meta-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-browserBrowser variant of arch-wasmos-linuxLinux OS (any supported distro)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions