[wasm] Do not use link flags for bitcode compilation #108846
Build #20241017.6 had test failures
Details
- Failed: 20 (0.01%)
- Passed: 359,790 (96.86%)
- Other: 11,642 (3.13%)
- Total: 371,452
Annotations
azure-pipelines / runtime
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Workloads-Wasm.Build.Tests.SatelliteAssembliesTests in job e4a9c054-b338-4592-9603-1add6adad059 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/e4a9c054-b338-4592-9603-1add6adad059/workitems/Workloads-Wasm.Build.Tests.SatelliteAssembliesTests/console
azure-pipelines / runtime
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Workloads-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests in job e4a9c054-b338-4592-9603-1add6adad059 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/e4a9c054-b338-4592-9603-1add6adad059/workitems/Workloads-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests/console
azure-pipelines / runtime
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Workloads-NoWebcil-Wasm.Build.Tests.SatelliteAssembliesTests in job 722a3b9a-0489-4da4-8776-0640bc4b78c5 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/722a3b9a-0489-4da4-8776-0640bc4b78c5/workitems/Workloads-NoWebcil-Wasm.Build.Tests.SatelliteAssembliesTests/console
azure-pipelines / runtime
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89
.packages/microsoft.dotnet.helix.sdk/8.0.0-beta.24508.1/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Workloads-NoWebcil-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests in job 722a3b9a-0489-4da4-8776-0640bc4b78c5 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/722a3b9a-0489-4da4-8776-0640bc4b78c5/workitems/Workloads-NoWebcil-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests/console
azure-pipelines / runtime
Wasm.Build.Tests.SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = True, ProjectFileContents = placeholder, ExtraBuildArgs = }, id: \"wxct1mbu_cha\")
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/wxct1mbu_cha/wxct1mbu_cha-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/wxct1mbu_cha/check_sat_asm_not_aot.csproj (in 772 ms).
[] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/wxct1mbu_cha/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/wxct1mbu_cha/bin/Release/net8.0/browser-wasm/publish/
[] check_sat_asm_not_aot -> /root/helix/work/workitem/e/wbt artifacts/wxct1mbu_cha/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/wxct1mbu_cha/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.238s]
[] [2/3] driver.c -> driver.o [took 0.313s]
[] [3/3] corebindings.c -> corebindings.o [took 0.162s]
[] Compiling assembly bitcode files with -O0 ...
[] [1/5] check_sat_asm_not_aot.dll.bc -> check_sat_asm_not_aot.dll.o [took 0.232s]
[] [2/5] System.Console.dll.bc -> System.Console.dll.o [took 0.295s]
[] [3/5] System.Runtime.InteropServices.JavaScript.dll.bc -> System.Runtime.InteropServices.JavaScript.dll.o [took 0.394s]
[] [4/5] System.Private.CoreLib.dll.bc -> System.Private.CoreLib.dll.o [took 13.402s]
[] /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/wxct1mbu_cha/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -> /root/helix/work/workitem/e/wbt artifacts/wxct1mbu_cha/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.o [/root/helix/work/workitem/e/wbt artifacts/wxct1mbu_cha/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/wxct1mbu_cha/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/wxct1mbu_cha/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc" -o /tmp/tmpMHlnxS.tmp' failed (returned 137) [took 75.376s] [/root/hel
Raw output
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)
azure-pipelines / runtime
Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange
Test failed
azure-pipelines / runtime
Workloads-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution
The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.
Check failure on line 1 in Workloads-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
azure-pipelines / runtime
Workloads-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.