Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1439242
Build error leg or test failing: Wasi.Build.Tests.WasiTemplateTests.ConsolePublishAndRunForSingleFileBundle
Pull request: #126495
Error Message
DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "libxml2.so.2: cannot open shared object file: No such file or directory",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Wasi.Build.Tests.WasiTemplateTests.ConsolePublishAndRunForSingleFileBundle(config: "Debug", relinking: False, invariantTimezone: False) [FAIL]
Build process exited with non-zero exit code: 1
Stack Trace:
/_/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs(433,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
/_/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs(245,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
/_/src/mono/wasi/Wasi.Build.Tests/WasiTemplateTests.cs(108,0): at Wasi.Build.Tests.WasiTemplateTests.ConsolePublishAndRunForSingleFileBundle(String config, Boolean relinking, Boolean invariantTimezone)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Output:
[] Executing (Captured Output) - /root/helix/work/workitem/e/dotnet-latest/dotnet new wasiconsole - in pwd /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl
[] The template "Wasi Console App" was created successfully.
[]
-------- Building ---------
Binlog path: /root/helix/work/workitem/uploads/xharness-output/logs/Debug_mopmctri_pcl/Debug_mopmctri_pcl.binlog
Building Debug_mopmctri_pcl in /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl
Running /root/helix/work/workitem/e/dotnet-latest/dotnet publish -p:WasmBuildOnlyAfterPublish=true /p:Configuration=Debug /bl:"/root/helix/work/workitem/uploads/xharness-output/logs/Debug_mopmctri_pcl/Debug_mopmctri_pcl.binlog" /nologo /v:minimal
WorkingDirectory: /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl
Setting environment variables for execution:
DOTNET_ROOT = /root/helix/work/workitem/e/dotnet-latest
DOTNET_INSTALL_DIR = /root/helix/work/workitem/e/dotnet-latest
DOTNET_MULTILEVEL_LOOKUP = 0
DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
PATH = /root/helix/work/workitem/e/dotnet-latest:./dotnet-latest:/root/helix/work/correlation/dotnet-latest:/root/helix/work/correlation/xharness-cli:/root/helix/work/correlation/dotnet-cli:/root/helix/work/correlation/wasi-sdk:/root/helix/work/correlation/wasmtime:/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
WASI_SDK_PATH = /root/helix/work/correlation/build/wasi-sdk
NUGET_PACKAGES = /root/helix/work/workitem/e/wbt artifacts/nuget/Debug_mopmctri_pcl
[Debug_mopmctri_pcl] Determining projects to restore...
[Debug_mopmctri_pcl] Restored /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/Debug_mopmctri_pcl.csproj (in 638 ms).
[Debug_mopmctri_pcl] Debug_mopmctri_pcl -> /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/bin/Debug/net8.0/wasi-wasm/Debug_mopmctri_pcl.dll
[Debug_mopmctri_pcl] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.wasi-wasm/8.0.28'
[Debug_mopmctri_pcl] Optimizing assemblies for size. This process might take a while.
[Debug_mopmctri_pcl] Debug_mopmctri_pcl -> /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/bin/Debug/net8.0/wasi-wasm/publish/
[Debug_mopmctri_pcl] Debug_mopmctri_pcl -> /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/bin/Debug/net8.0/wasi-wasm/Debug_mopmctri_pcl.dll
[Debug_mopmctri_pcl] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.wasi-wasm/8.0.28'
[Debug_mopmctri_pcl] Debug_mopmctri_pcl -> /root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/bin/Debug/net8.0/wasi-wasm/publish/
[Debug_mopmctri_pcl] MicrosoftNetCoreAppRuntimePackRidNativeDir: /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.wasi-wasm/8.0.28/runtimes/wasi-wasm/native/
[Debug_mopmctri_pcl] Performing WASI SDK build: "/root/helix/work/correlation/build/wasi-sdk/bin/clang" "@/root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/obj/Debug/net8.0/wasi-wasm/wasm/for-publish/clang-compile.rsp"
[Debug_mopmctri_pcl] /root/helix/work/correlation/build/wasi-sdk/bin/wasm-ld: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
[Debug_mopmctri_pcl] clang : error : unable to execute command: No such file or directory [/root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/Debug_mopmctri_pcl.csproj]
[Debug_mopmctri_pcl] clang : error : linker command failed due to signal (use -v to see invocation) [/root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/Debug_mopmctri_pcl.csproj]
[Debug_mopmctri_pcl] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/8.0.28/Sdk/WasiApp.Native.targets(478,5): error MSB3073: The command ""/root/helix/work/correlation/build/wasi-sdk/bin/clang" "@/root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/obj/Debug/net8.0/wasi-wasm/wasm/for-publish/clang-compile.rsp"" exited with code 255. [/root/helix/work/workitem/e/wbt artifacts/Debug_mopmctri_pcl/Debug_mopmctri_pcl.csproj]
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1439242
Error message validated: [libxml2.so.2: cannot open shared object file: No such file or directory]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/29/2026 3:05:23 PM UTC
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 1 |
1 |
1 |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1439242
Build error leg or test failing: Wasi.Build.Tests.WasiTemplateTests.ConsolePublishAndRunForSingleFileBundle
Pull request: #126495
Error Message
DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.
Fill the error message using step by step known issues guidance.
{ "ErrorMessage": "libxml2.so.2: cannot open shared object file: No such file or directory", "BuildRetry": false, "ExcludeConsoleLog": false }Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1439242
Error message validated:
[libxml2.so.2: cannot open shared object file: No such file or directory]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/29/2026 3:05:23 PM UTC
Report
Summary