Skip to content

[coreclr] DownloadProgressFinishes(failAssemblyDownload: True) times out #124946

Closed

Description

@ilonatommy

Same test with failAssemblyDownload: False passes.

Details System.Exception : Timed out after 10s waiting for 'WASM EXIT' message Stack Trace: /_/src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs(234,0): at Wasm.Build.Tests.BrowserRunner.WaitForExitMessageAsync(TimeSpan timeout) /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs(431,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRun(ToolCommand cmd, String runArgs, RunOptions runOptions) --- End of stack trace from previous location --- /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs(435,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRun(ToolCommand cmd, String runArgs, RunOptions runOptions) /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs(389,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRunTest(String runArgs, String workingDirectory, RunOptions runOptions) /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs(363,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRun(RunOptions runOptions) /_/src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs(351,0): at Wasm.Build.Tests.WasmTemplateTestsBase.RunForPublishWithWebServer(RunOptions runOptions) /_/src/mono/wasm/Wasm.Build.Tests/ModuleConfigTests.cs(33,0): at Wasm.Build.Tests.ModuleConfigTests.DownloadProgressFinishes(Boolean failAssemblyDownload) --- End of stack trace from previous location --- --- End of stack trace from previous location --- Output:
    ** -------- publish -------- **
    
    Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog
    [] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog -p:Configuration=Debug -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false  -  in pwd /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App
    	[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
    	[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
    	[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
    	[PATH] = /root/helix/work/workitem/e/dotnet-none:/__w/1/s/artifacts/bin/geckodriver/geckodriver:/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/.vsts-env/bin:/home/helixbot/.jsvu/bin:/home/helixbot/.vsts-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    	[EM_WORKAROUND_PYTHON_BUG_34780] = 1
    	[WasmEnableWebCil] = false
    	[WasmTestSupport] = true
    	[WasmTestExitOnUnhandledError] = true
    	[WasmTestLogExitCode] = true
    	[NUGET_PACKAGES] = /root/helix/work/workitem/e/wbt artifacts/nuget/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉
    	[TreatPreviousAsCurrent] = false
    []   Determining projects to restore...
    []   Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj (in 333 ms).
    []   Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/LazyLibrary/LazyLibrary.csproj (in 333 ms).
    []   Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/Json/Json.csproj (in 4 ms).
    []   Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App/WasmBasicTestApp.csproj (in 7.61 sec).
    [] /root/helix/work/workitem/e/dotnet-none/sdk/11.0.100-preview.3.26124.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App/WasmBasicTestApp.csproj]
    [] /root/helix/work/workitem/e/dotnet-none/sdk/11.0.100-preview.3.26124.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj]
    []   ResourceLibrary -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/ResourceLibrary/bin/Debug/net11.0/ResourceLibrary.dll
    []   Json -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/Json/bin/Debug/net11.0/Json.dll
    []   LazyLibrary -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/LazyLibrary/bin/Debug/net11.0/browser-wasm/LazyLibrary.dll
    []   WasmBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/WasmBasicTestApp.dll
    []   ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt artifacts/nuget/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/microsoft.netcore.app.runtime.browser-wasm/11.0.0-ci'
    []   Optimizing assemblies for size. This process might take a while.
    []   Publishing without optimizations. Although it's optional for Blazor, we strongly recommend using `wasm-tools` workload! You can install it by running `dotnet workload install wasm-tools` from the command line.
    []   WasmBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/publish/
    Replacing dotnet process output with messages from binlog
    [] Executing - /root/helix/work/workitem/e/dotnet-none/dotnet /root/helix/work/correlation/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26064.3/tools/net8.0/any/Microsoft.DotNet.XHarness.CLI.dll wasm webserver --app=. --web-server-use-default-files  in pwd /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_DownloadProgressFinishes_True_Debug_False_4lyihypr_xqy_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/publish/wwwroot
    	[DOTNET_ROOT] = /root/helix/work/workitem/e/dotnet-none
    	[DOTNET_INSTALL_DIR] = /root/helix/work/workitem/e/dotnet-none
    	[DOTNET_SKIP_FIRST_TIME_EXPERIENCE] = 1
    	[PATH] = /root/helix/work/workitem/e/dotnet-none:/__w/1/s/artifacts/bin/geckodriver/geckodriver:/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/.vsts-env/bin:/home/helixbot/.jsvu/bin:/home/helixbot/.vsts-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    	[EM_WORKAROUND_PYTHON_BUG_34780] = 1
    	[WasmEnableWebCil] = false
    	[WasmTestSupport] = true
    	[WasmTestExitOnUnhandledError] = true
    	[WasmTestLogExitCode] = true
    [] [11.0.0-prerelease.26064.3+31e0b8e08f57890f7b7004b93361d69cd4b21079] XHarness command issued: wasm webserver --app=. --web-server-use-default-files
    [] [22:51:48] info: Now listening on: http://127.0.0.1:34833
    Launching chrome ('/root/helix/work/correlation/chrome-linux/chrome') via playwright with args = --explicitly-allowed-ports=34833,--ignore-certificate-errors,--lang=en-US,--headless
    [log] Failing test at assembly indexes [2, 6, 14]
    Waiting for page to load
    Waiting for additional 10secs to see if any errors are reported
    [log] DownloadResourceProgress: 1 / 1
    [log] TestOutput -> DownloadResourceProgress: Finished
    [log] DownloadResourceProgress: 2 / 2
    [log] TestOutput -> DownloadResourceProgress: Finished
    [log] TestOutput -> Throw error instead of downloading resource
    [log] TestOutput -> Throw error instead of downloading resource
    [log] TestOutput -> Throw error instead of downloading resource
    [debug] DOTNET: Throttling further parallel downloads
    [debug] DOTNET: Resuming more parallel downloads
    [debug] DOTNET: Throttling further parallel downloads
    [log] DownloadResourceProgress: 3 / 28
    [log] DownloadResourceProgress: 4 / 28
    [debug] DOTNET: Resuming more parallel downloads
    [debug] DOTNET: Throttling further parallel downloads
    [log] DownloadResourceProgress: 5 / 28
    [debug] DOTNET: Resuming more parallel downloads
    [debug] DOTNET: Throttling further parallel downloads
    [log] DownloadResourceProgress: 6 / 28
    [debug] DOTNET: Resuming more parallel downloads
    [debug] DOTNET: Throttling further parallel downloads
    [log] DownloadResourceProgress: 7 / 28
    [debug] DOTNET: Resuming more parallel downloads
    [debug] DOTNET: Throttling further parallel downloads
    [log] DownloadResourceProgress: 8 / 28
    [debug] DOTNET: Resuming more parallel downloads
    [log] DownloadResourceProgress: 9 / 28
    [log] DownloadResourceProgress: 10 / 28
    [log] DownloadResourceProgress: 11 / 28
    [log] DownloadResourceProgress: 12 / 28
    [log] DownloadResourceProgress: 13 / 28
    [log] DownloadResourceProgress: 14 / 28
    [log] DownloadResourceProgress: 15 / 28
    [log] DownloadResourceProgress: 16 / 28
    [log] DownloadResourceProgress: 17 / 28
    [log] DownloadResourceProgress: 18 / 28
    [log] DownloadResourceProgress: 19 / 28
    [log] DownloadResourceProgress: 20 / 28
    [log] DownloadResourceProgress: 21 / 28
    [debug] DOTNET: Registered assembly '/LazyLibrary.dll' (name: 'LazyLibrary.dll') at 61d710 length 5632
    [debug] DOTNET: Registered assembly '/System.Runtime.InteropServices.JavaScript.dll' (name: 'System.Runtime.InteropServices.JavaScript.dll') at 61ed20 length 44544
    [debug] DOTNET: Registered assembly '/ResourceLibrary.dll' (name: 'ResourceLibrary.dll') at 629b40 length 5120
    [debug] DOTNET: Registered assembly '/System.Collections.Immutable.dll' (name: 'System.Collections.Immutable.dll') at 62af50 length 17920
    [debug] DOTNET: Registered assembly '/System.Diagnostics.StackTrace.dll' (name: 'System.Diagnostics.StackTrace.dll') at 62f570 length 9216
    [debug] DOTNET: Registered assembly '/System.IO.Compression.dll' (name: 'System.IO.Compression.dll') at 631980 length 93184
    [debug] DOTNET: Registered assembly '/System.IO.MemoryMappedFiles.dll' (name: 'System.IO.MemoryMappedFiles.dll') at 6485a0 length 27136
    [debug] DOTNET: Registered assembly '/System.IO.Pipelines.dll' (name: 'System.IO.Pipelines.dll') at 64efb0 length 6144
    [debug] DOTNET: Registered assembly '/System.Memory.dll' (name: 'System.Memory.dll') at 6507d0 length 5632
    [debug] DOTNET: Registered assembly '/System.Net.Http.dll' (name: 'System.Net.Http.dll') at 651de0 length 139776
    [debug] DOTNET: Registered assembly '/System.Net.Primitives.dll' (name: 'System.Net.Primitives.dll') at 674000 length 7680
    [debug] DOTNET: Registered assembly '/System.Reflection.Metadata.dll' (name: 'System.Reflection.Metadata.dll') at 675e10 length 93184
    [debug] DOTNET: Registered assembly '/System.Text.Encodings.Web.dll' (name: 'System.Text.Encodings.Web.dll') at 68ca30 length 30720
    [debug] DOTNET: Registered assembly '/System.Text.Json.dll' (name: 'System.Text.Json.dll') at 694240 length 131584
    [log] DownloadResourceProgress: 22 / 28
    [debug] DOTNET: Creating file 'Vfs1.txt' in directory '/myfiles'
    [debug] DOTNET: Registered assembly '/WasmBasicTestApp.dll' (name: 'WasmBasicTestApp.dll') at 6b4460 length 26624
    [log] DownloadResourceProgress: 23 / 28
    [debug] DOTNET: Creating file 'Vfs2.txt' in directory '/myfiles'
    [log] DownloadResourceProgress: 24 / 28
    [debug] DOTNET: Creating file 'Vfs3.txt' in directory '/subdir/subsubdir'
    [log] DownloadResourceProgress: 25 / 28
    [debug] DOTNET: Registered assembly '/System.Private.CoreLib.dll' (name: 'System.Private.CoreLib.dll') at 752940 length 1992704
    Browser has been disconnected

Activity

  1. added this to the Future milestone on Feb 27, 2026
  2. added
    arch-wasm
    area-Infrastructure-coreclr
    os-browser
    on Feb 27, 2026
  3. dotnet-policy-service commented on Feb 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Feb 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

  5. pavelsavara commented on Feb 27, 2026

    @pavelsavara
    Member

    Is this about optional downloads ?

  6. self-assigned this
    on Mar 1, 2026
  7. modified the milestones: Future, 11.0.0 on Mar 2, 2026
  8. added and removed
    area-Infrastructure-coreclr
    on Apr 13, 2026
  9. dotnet-policy-service commented on Apr 13, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

  10. locked and limited conversation to collaborators on Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Infrastructureos-browser

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions