[wasm] Do not use link flags for bitcode compilation #108846
Open
Build Analysis / Build Analysis
failed
Oct 18, 2024 in 0s
.NET Result Analysis
Details
Tip
To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.
Known test errors
-
❌Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange - [8.0][browser][wasm] Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL
-
❌Workloads-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution - [8.0][browser][wasm] Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL
-
❌Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange - [browser] Connection refused in 127.0.0.1
-
❌Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange - [8.0][browser][wasm] Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL
-
❌Workloads-NoWebcil-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution - [browser] Connection refused in 127.0.0.1
-
❌Workloads-NoWebcil-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution - [8.0][browser][wasm] Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL
Test Failures (4 tests failed)
🔹 [All failing tests from runtime]
- Exception Message
Expected 0 exit code but got 1: /root/helix/work/workitem/e/dotnet-latest/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/g4kyie2j_oqy/g4kyie2j_oqy-publish.binlog -p:Configuration=Release -nr:false Standard Output: [] MSBuild version 17.8.5+b5265ef37 for .NET [] Determining projects to restore... [] Restored /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/check_sat_asm_not_aot.csproj (in 750 ms). [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/bin/Release/net8.0/browser-wasm/check_sat_asm_not_aot.dll [] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.11' [] Optimizing assemblies for size. This process might take a while. [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/bin/Release/net8.0/browser-wasm/publish/ [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/bin/Release/net8.0/browser-wasm/check_sat_asm_not_aot.dll [] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.11' [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/bin/Release/net8.0/browser-wasm/publish/ [] AOT'ing 4 assemblies [] [1/5] check_sat_asm_not_aot.dll -> check_sat_asm_not_aot.dll.bc [] [2/5] System.Console.dll -> System.Console.dll.bc [] [3/5] System.Runtime.InteropServices.JavaScript.dll -> System.Runtime.InteropServices.JavaScript.dll.bc [] [4/5] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.bc [] [5/5] aot-instances.dll -> aot-instances.dll.bc [] Compiling native assets with emcc with -O0. This may take a while ... [] [1/3] pinvoke.c -> pinvoke.o [took 0.220s] [] [2/3] driver.c -> driver.o [took 0.274s] [] [3/3] corebindings.c -> corebindings.o [took 0.156s] [] Compiling assembly bitcode files with -O0 ... [] [1/5] check_sat_asm_not_aot.dll.bc -> check_sat_asm_not_aot.dll.o [took 0.231s] [] [2/5] System.Console.dll.bc -> System.Console.dll.o [took 0.330s] [] [3/5] System.Runtime.InteropServices.JavaScript.dll.bc -> System.Runtime.InteropServices.JavaScript.dll.o [took 0.391s] [] [4/5] System.Private.CoreLib.dll.bc -> System.Private.CoreLib.dll.o [took 13.442s] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : Failed to compile /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -> /root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.o [/root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/check_sat_asm_not_aot.csproj] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : Killed [/root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/check_sat_asm_not_aot.csproj] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : emcc: error: '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-x64/8.0.11/tools/bin/clang++ -target wasm32-unknown-emscripten -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -DEMSCRIPTEN --sysroot=/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Cache.linux-x64/8.0.11/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O0 -fwasm-exceptions -c "/root/helix/work/workitem/e/wbt artifacts/g4kyie2j_oqy/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc" -o /tmp/tmp2f2WEt.tmp' failed (returned 137) [took 194.128s] [/root/he
- CallStack
at Wasm.Build.Tests.CommandResult.EnsureExitCode(Int32 expectedExitCode, String messagePrefix, Boolean suppressOutput) in /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs:line 44 at Wasm.Build.Tests.CommandResult.EnsureSuccessful(String messagePrefix, Boolean suppressOutput) in /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs:line 28 at Wasm.Build.Tests.BuildTestBase.BuildProjectWithoutAssert(String id, String config, BuildProjectOptions buildProjectOptions, String[] extraArgs) in /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs:line 165 at Wasm.Build.Tests.TestMainJsTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options) in /_/src/mono/wasm/Wasm.Build.Tests/TestMainJsTestBase.cs:line 66 at Wasm.Build.Tests.SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed(BuildArgs buildArgs, String id) in /_/src/mono/wasm/Wasm.Build.Tests/SatelliteAssembliesTests.cs:line 141 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
- Exception Message
Expected 0 exit code but got 1: /root/helix/work/workitem/e/dotnet-latest/dotnet publish -bl:/root/helix/work/workitem/uploads/xharness-output/logs/yszw02l1_gxq/yszw02l1_gxq-publish.binlog -p:Configuration=Release -nr:false Standard Output: [] MSBuild version 17.8.5+b5265ef37 for .NET [] Determining projects to restore... [] Restored /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/check_sat_asm_not_aot.csproj (in 748 ms). [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/bin/Release/net8.0/browser-wasm/check_sat_asm_not_aot.dll [] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.11' [] Optimizing assemblies for size. This process might take a while. [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/bin/Release/net8.0/browser-wasm/publish/ [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/bin/Release/net8.0/browser-wasm/check_sat_asm_not_aot.dll [] ** MicrosoftNetCoreAppRuntimePackDir : '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.11' [] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/bin/Release/net8.0/browser-wasm/publish/ [] AOT'ing 4 assemblies [] [1/5] check_sat_asm_not_aot.dll -> check_sat_asm_not_aot.dll.bc [] [2/5] System.Console.dll -> System.Console.dll.bc [] [3/5] System.Runtime.InteropServices.JavaScript.dll -> System.Runtime.InteropServices.JavaScript.dll.bc [] [4/5] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.bc [] [5/5] aot-instances.dll -> aot-instances.dll.bc [] Compiling native assets with emcc with -O0. This may take a while ... [] [1/3] pinvoke.c -> pinvoke.o [took 0.243s] [] [2/3] driver.c -> driver.o [took 0.293s] [] [3/3] corebindings.c -> corebindings.o [took 0.155s] [] Compiling assembly bitcode files with -O0 ... [] [1/5] check_sat_asm_not_aot.dll.bc -> check_sat_asm_not_aot.dll.o [took 0.220s] [] [2/5] System.Console.dll.bc -> System.Console.dll.o [took 0.339s] [] [3/5] System.Runtime.InteropServices.JavaScript.dll.bc -> System.Runtime.InteropServices.JavaScript.dll.o [took 0.392s] [] [4/5] System.Private.CoreLib.dll.bc -> System.Private.CoreLib.dll.o [took 13.936s] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : Failed to compile /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -> /root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.o [/root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/check_sat_asm_not_aot.csproj] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : Killed [/root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/check_sat_asm_not_aot.csproj] [] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.11/Sdk/WasmApp.Native.targets(388,5): error : emcc: error: '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-x64/8.0.11/tools/bin/clang++ -target wasm32-unknown-emscripten -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -DEMSCRIPTEN --sysroot=/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Cache.linux-x64/8.0.11/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O0 -fwasm-exceptions -c "/root/helix/work/workitem/e/wbt artifacts/yszw02l1_gxq/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc" -o /tmp/tmpDQSNZX.tmp' failed (returned 137) [took 224.103s] [/root/he
- CallStack
at Wasm.Build.Tests.CommandResult.EnsureExitCode(Int32 expectedExitCode, String messagePrefix, Boolean suppressOutput) in /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs:line 44 at Wasm.Build.Tests.CommandResult.EnsureSuccessful(String messagePrefix, Boolean suppressOutput) in /_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs:line 28 at Wasm.Build.Tests.BuildTestBase.BuildProjectWithoutAssert(String id, String config, BuildProjectOptions buildProjectOptions, String[] extraArgs) in /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs:line 165 at Wasm.Build.Tests.TestMainJsTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options) in /_/src/mono/wasm/Wasm.Build.Tests/TestMainJsTestBase.cs:line 66 at Wasm.Build.Tests.SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed(BuildArgs buildArgs, String id) in /_/src/mono/wasm/Wasm.Build.Tests/SatelliteAssembliesTests.cs:line 141 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
❌ Wasm.Build.Tests.SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = True, ProjectFileContents = placeholder, ExtraBuildArgs = }, id: \"g4kyie2j_oqy\") [Console] [Details] [Artifacts] [9.64% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ Wasm.Build.Tests.SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = True, ProjectFileContents = placeholder, ExtraBuildArgs = }, id: \"yszw02l1_gxq\") [Console] [Details] [Artifacts] [9.72% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ Workloads-NoWebcil-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution [Console] [Details] [Artifacts] [40.38% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
Loading