Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' [8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); [8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url · Issue #91143 · dotnet/runtime · GitHub
Skip to content

[8.0] [wasm] WorkloadNotRequiredForInvariantGlobalization timeout waiting for web server url #91143

Description

@carlossanlop

Error Blob

Tagging this for KnownBuildError in case it's happening consistently and we need to fix this in 8.0.

Reproduction Steps

 Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(config: "Debug", invariant: True, publish: False) [FAIL]
System.Exception : Timed out waiting for the web server url
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(86,0): at Wasm.Build.Tests.BrowserRunner.RunAsync(ToolCommand cmd, String args, Boolean headless, Action`1 onConsoleMessage, Action`1 onError, Func`2 modifyBrowserUrl)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(190,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/BlazorWasmTestBase.cs(210,0): at Wasm.Build.Tests.BlazorWasmTestBase.BlazorRunTest(String runArgs, String workingDirectory, BlazorRunOptions runOptions)
/_/src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs(120,0): at Wasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization(String config, Boolean invariant, Boolean publish)
--- End of stack trace from previous location ---
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet new blazorwasm - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[] The template "Blazor WebAssembly App" was created successfully.
[] This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/8.0-third-party-notices for details.
[] [] Processing post-creation actions...
[] Restoring /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj:
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 6.98 sec).
[] Restore succeeded.
[] [] Updated counter.razor: @page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
TestInvariantCulture();
}
}
@code {
public int TestInvariantCulture()
{
// https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
try
{
System.Globalization.CultureInfo culture = new ("es-ES", false);
System.Console.WriteLine($"es-ES: Is-LCID-InvariantCulture: {culture.LCID == System.Globalization.CultureInfo.InvariantCulture.LCID}, NativeName: {culture.NativeName}");
}
catch (System.Globalization.CultureNotFoundException cnfe)
{
System.Console.WriteLine($"Could not create es-ES culture: {cnfe.Message}");
}
System.Console.WriteLine($"CurrentCulture.NativeName: {System.Globalization.CultureInfo.CurrentCulture.NativeName}");
return 42;
}
}
** -------- build -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet build -bl:/root/helix/work/workitem/uploads/xharness-output/logs/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp-build.binlog -p:Configuration=Debug -nr:false /warnaserror -p:BlazorEnableCompression=false - in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp
[] MSBuild version 17.7.0+5785ed5c2 for .NET
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj (in 3.83 sec).
[] /root/helix/work/workitem/e/dotnet-none/sdk/8.0.100-rc.1.23415.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/props_req_workload_build_de5ndmlg_kcp.csproj]
[] props_req_workload_build_de5ndmlg_kcp -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/props_req_workload_build_de5ndmlg_kcp.dll
[] props_req_workload_build_de5ndmlg_kcp (Blazor output) -> /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp/bin/Debug/net8.0/wwwroot
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt/nuget/props_req_workload_build_de5ndmlg_kcp/microsoft.netcore.app.runtime.mono.browser-wasm/8.0.0-ci'
[] [] Build succeeded.
[] 0 Warning(s)
[] 0 Error(s)
[] [] Time Elapsed 00:00:17.67
[] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet run -c Debug --no-build in pwd /root/helix/work/workitem/e/wbt/props_req_workload_build_de5ndmlg_kcp
[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
[DOTNET_MULTILEVEL_LOOKUP] = 0
[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
[PATH] = /root/helix/work/workitem/e/dotnet-none:./dotnet-none:/__w/1/s/artifacts/bin/chromedriver/chromedriver_linux64:/root/helix/work/correlation/dotnet-none:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/chrome-linux:/root/helix/work/correlation/chromedriver_linux64:/home/helixbot/.jsvu/bin:/home/helixbot/node-v16.19.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[EM_WORKAROUND_PYTHON_BUG_34780] = 1
[] fail: Microsoft.Extensions.Hosting.Internal.Host[11]
[] Hosting failed to start
[] System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5175: address already in use.
[] ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
[] ---> System.Net.Sockets.SocketException (98): Address already in use
[] at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
[] at System.Net.Sockets.Socket.Bind(EndPoint localEP)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
[] at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
[] --- End of stack trace from previous location ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] --- End of inner exception stack trace ---
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
[] at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
[] at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
[] at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
[] at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
[] at Microsoft.AspNetCore.Components.WebAssembly.DevServer.Program.Main(String[] args)

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=421412&view=results
Error message validated:System.IO.IOException: Failed to bind to address http://127.0.0.1:5000
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/2/2023 9:30:07 PM UTC

Report

BuildDefinitionTestPull Request
425414dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92637
425025dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92904
425004dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92503
423529dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution
422409dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization#91633
421412dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution
421371dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92745
421097dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92702
420785dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#88479
417062dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92489
416040dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.WorkItemExecution#92406
414888dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.Blazor.IcuTests.WorkItemExecution
414729dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.AppSettingsTests.WorkItemExecution#92401
414506dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.WorkItemExecution#92280
413445dotnet/runtimeWasm.Build.Tests.Blazor.WorkloadRequiredTests.WorkloadNotRequiredForInvariantGlobalization
411591dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#92277
411449dotnet/runtimeWasm.Build.Tests.Blazor.BuildPublishTests.DefaultTemplate_WithoutWorkload#92057
408123dotnet/runtimeWorkloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution#92143
404027dotnet/runtimeWorkloads-Wasm.Build.Tests.TestAppScenarios.DownloadResourceProgressTests.WorkItemExecution#91913
400499dotnet/runtimeWasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded#91482

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
0420

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System.IO.IOException: Failed to bind to address http://127.0.0.1:5000",
"ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions