Reproduction:
Run Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks
Details
Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks [FAIL]
Emscripten out override doesn't work
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/ModuleConfigTests.cs(71,0): at Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks()
--- End of stack trace from previous location ---
Output:
** -------- publish -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog -p:Configuration=Debug -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false - in pwd /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉
[TreatPreviousAsCurrent] = false
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/LazyLibrary/LazyLibrary.csproj (in 180 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj (in 176 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/Json/Json.csproj (in 15 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/App/WasmBasicTestApp.csproj (in 6.37 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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj]
[] Json -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/Json/bin/Debug/net11.0/Json.dll
[] ResourceLibrary -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/ResourceLibrary/bin/Debug/net11.0/ResourceLibrary.dll
[] LazyLibrary -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/LazyLibrary/bin/Debug/net11.0/browser-wasm/LazyLibrary.dll
[] WasmBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/WasmBasicTestApp.dll
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt artifacts/nuget/ModuleConfigTests_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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_OutErrOverrideWorks_Debug_False_pvontwxc_nny_鿀蜒枛遫䡫煉/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:52:49] info: Now listening on: http://127.0.0.1:32845
Launching chrome ('/root/helix/work/correlation/chrome-linux/chrome') via playwright with args = --explicitly-allowed-ports=32845,--ignore-certificate-errors,--lang=en-US,--headless
Waiting for page to load
Waiting for additional 10secs to see if any errors are reported
[log] WasmBasicTestApp
[error] WasmBasicTestApp stderr
Exited with 0
[log] WASM EXIT 0
Browser has been disconnected
Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks [FINISHED] Time: 51.5672212s
Wasm.Build.Tests.ModuleConfigTests.OverrideBootConfigName(config: Release, isPublish: True) [STARTING]
** -------- publish -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog -p:Configuration=Release -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false -p:WasmBootConfigFileName=boot.json - in pwd /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/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/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉
[TreatPreviousAsCurrent] = false
[] Determining projects to restore...
[] 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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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:52:56] info: Now listening on: http://127.0.0.1:39013
Launching chrome ('/root/helix/work/correlation/chrome-linux/chrome') via playwright with args = --explicitly-allowed-ports=39013,--ignore-certificate-errors,--lang=en-US,--headless
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/Json/Json.csproj (in 256 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj (in 9 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/LazyLibrary/LazyLibrary.csproj (in 20 ms).
Waiting for page to load
Waiting for additional 10secs to see if any errors are reported
[log] TestOutput -> '/appsettings.json' exists 'False'
[log] TestOutput -> '/appsettings.Development.json' exists 'False'
[log] TestOutput -> '/appsettings.Production.json' exists 'False'
Exited with 0
[log] WASM EXIT 0
Browser has been disconnected
Wasm.Build.Tests.AppSettingsTests.LoadAppSettingsBasedOnApplicationEnvironment(publish: True, msBuildApplicationEnvironment: "FromMSBuild", queryApplicationEnvironment: "Development", expectedApplicationEnvironment: "Development") [FAIL]
Assert.Contains() Failure: Filter not matched in collection
Collection: ["'/appsettings.json' exists 'False'", "'/appsettings.Development.json' exists 'False'", "'/appsettings.Production.json' exists 'False'"]
============== DELETING THE BUILDS =============
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/AppSettingsTests.cs(74,0): at Wasm.Build.Tests.AppSettingsTests.LoadAppSettingsBasedOnApplicationEnvironment(Boolean publish, String msBuildApplicationEnvironment, String queryApplicationEnvironment, String expectedApplicationEnvironment)
--- End of stack trace from previous location ---
Output:
** -------- publish -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog -p:Configuration=Debug -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false -p:WasmApplicationEnvironmentName=FromMSBuild - in pwd /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉
[TreatPreviousAsCurrent] = false
[] Determining projects to restore...
[] Restored /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj (in 182 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/LazyLibrary/LazyLibrary.csproj (in 182 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/Json/Json.csproj (in 21 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/App/WasmBasicTestApp.csproj (in 5.5 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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj]
[] Json -> /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/Json/bin/Debug/net11.0/Json.dll
[] ResourceLibrary -> /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/ResourceLibrary/bin/Debug/net11.0/ResourceLibrary.dll
[] LazyLibrary -> /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/LazyLibrary/bin/Debug/net11.0/browser-wasm/LazyLibrary.dll
[] WasmBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/App/bin/Debug/net11.0/WasmBasicTestApp.dll
[] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/wbt artifacts/nuget/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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:52:56] info: Now listening on: http://127.0.0.1:39013
Launching chrome ('/root/helix/work/correlation/chrome-linux/chrome') via playwright with args = --explicitly-allowed-ports=39013,--ignore-certificate-errors,--lang=en-US,--headless
Waiting for page to load
Waiting for additional 10secs to see if any errors are reported
[log] TestOutput -> '/appsettings.json' exists 'False'
[log] TestOutput -> '/appsettings.Development.json' exists 'False'
[log] TestOutput -> '/appsettings.Production.json' exists 'False'
Exited with 0
[log] WASM EXIT 0
Browser has been disconnected
Reproduction:
Run Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks
Details
Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks [FAIL] Emscripten out override doesn't work Stack Trace: /_/src/mono/wasm/Wasm.Build.Tests/ModuleConfigTests.cs(71,0): at Wasm.Build.Tests.ModuleConfigTests.OutErrOverrideWorks() --- End of stack trace from previous location --- Output:** -------- publish -------- **
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-none/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/WasmBasicTestApp-publish.binlog -p:Configuration=Release -nr:false -p:CompressionEnabled=false -p:WasmEnableHotReload=false -p:WasmBootConfigFileName=boot.json - in pwd /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/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/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉
[TreatPreviousAsCurrent] = false
[] Determining projects to restore...
[] Publishing without optimizations. Although it's optional for Blazor, we strongly recommend using
wasm-toolsworkload! You can install it by runningdotnet workload install wasm-toolsfrom the command line.[] WasmBasicTestApp -> /root/helix/work/workitem/e/wbt artifacts/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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/AppSettingsTest_Debug_False_1fes0vtm_ysr_鿀蜒枛遫䡫煉/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:52:56] info: Now listening on: http://127.0.0.1:39013
Launching chrome ('/root/helix/work/correlation/chrome-linux/chrome') via playwright with args = --explicitly-allowed-ports=39013,--ignore-certificate-errors,--lang=en-US,--headless
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/Json/Json.csproj (in 256 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/ResourceLibrary/ResourceLibrary.csproj (in 9 ms).
[] Restored /root/helix/work/workitem/e/wbt artifacts/OverrideBootConfigName_True_Release_False_5rzb4kkb_cez_鿀蜒枛遫䡫煉/LazyLibrary/LazyLibrary.csproj (in 20 ms).
Waiting for page to load
Waiting for additional 10secs to see if any errors are reported
[log] TestOutput -> '/appsettings.json' exists 'False'
[log] TestOutput -> '/appsettings.Development.json' exists 'False'
[log] TestOutput -> '/appsettings.Production.json' exists 'False'
Exited with 0
[log] WASM EXIT 0
Browser has been disconnected
Wasm.Build.Tests.AppSettingsTests.LoadAppSettingsBasedOnApplicationEnvironment(publish: True, msBuildApplicationEnvironment: "FromMSBuild", queryApplicationEnvironment: "Development", expectedApplicationEnvironment: "Development") [FAIL]
Assert.Contains() Failure: Filter not matched in collection
Collection: ["'/appsettings.json' exists 'False'", "'/appsettings.Development.json' exists 'False'", "'/appsettings.Production.json' exists 'False'"]
============== DELETING THE BUILDS =============
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/AppSettingsTests.cs(74,0): at Wasm.Build.Tests.AppSettingsTests.LoadAppSettingsBasedOnApplicationEnvironment(Boolean publish, String msBuildApplicationEnvironment, String queryApplicationEnvironment, String expectedApplicationEnvironment)
--- End of stack trace from previous location ---
Output: