runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[wasm] WBT `SatelliteAssembliesTests.CheckThatSatelliteAssembliesAreNotAOTed` failing

Open radical opened this issue 2 years ago • 7 comments

Test failing with rolling build:

  [4/5] System.Private.CoreLib.dll.bc -> System.Private.CoreLib.dll.o 

WasmApp.Native.targets(379,5): error : Failed to compile /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -> /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.o 
WasmApp.Native.targets(379,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] 
WasmApp.Native.targets(379,5): error : Killed

WasmApp.Native.targets(379,5): error : emcc: error: '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-x64/8.0.0-rc.1.23411.1/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.0-rc.1.23411.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O0 -g3 -fwasm-exceptions -c /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -o /tmp/tmpeo8pzM.tmp' failed (returned 137) [took 128.818s]

Changes since last passing rolling build.

This includes commits from @pavelsavara @ivanpovazan @vargaz @radekdoulik

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "error : Failed to compile ",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
1220595 dotnet/runtime Workloads-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
1213636 dotnet/runtime Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange dotnet/runtime#121588
1213631 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
1203811 dotnet/runtime Workloads-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
1202375 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution dotnet/runtime#121587

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 5

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=371479 Error message validated: error : Failed to compile Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 8/12/2023 3:57:22 PM UTC

radical avatar Aug 12 '23 07:08 radical

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

Issue Details

Test failing with rolling build:

  [4/5] System.Private.CoreLib.dll.bc -> System.Private.CoreLib.dll.o 

WasmApp.Native.targets(379,5): error : Failed to compile /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -> /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.o 
WasmApp.Native.targets(379,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] 
WasmApp.Native.targets(379,5): error : Killed

WasmApp.Native.targets(379,5): error : emcc: error: '/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-x64/8.0.0-rc.1.23411.1/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.0-rc.1.23411.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O0 -g3 -fwasm-exceptions -c /root/helix/work/workitem/e/wbt/ddpnbu30_we1/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc -o /tmp/tmpeo8pzM.tmp' failed (returned 137) [took 128.818s]

Changes since last passing rolling build.

This includes commits from @pavelsavara @ivanpovazan

Author: radical
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, area-Build-mono, test-failure

Milestone: -

ghost avatar Aug 12 '23 07:08 ghost

@radical this shouldn't be related to my change as the PR in question did not have such failure on the runtime pipeline: https://dev.azure.com/dnceng-public/public/_build/results?buildId=369867&view=results

ivanpovazan avatar Aug 12 '23 15:08 ivanpovazan

Is this reproducible?

vargaz avatar Aug 12 '23 19:08 vargaz

This happened only once, so it could be just a one-off with the AOT build running against container limits.

radical avatar Aug 14 '23 15:08 radical

The hit count hasn't updated here but the failure that are listed are very old

lewing avatar Jul 29 '24 18:07 lewing

Another hit in 8.0 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1069505&view=logs&j=1fa93050-f528-55d3-a351-f8bf9ce5adbf&t=a9f1a437-3b59-5900-1137-ec6cae9a530c Console log: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-115577-merge-107dc6539947410080/Workloads-Wasm.Build.Tests.SatelliteAssembliesTests/1/console.9e3a5998.log?helixlogtype=result

jozkee avatar Jun 17 '25 15:06 jozkee

The links from https://github.com/dotnet/runtime/issues/90458#issuecomment-2980936495 doesn't work for me :/ The latest error in the table is failed (returned 137)

[] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.20/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.20/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.20/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O0 -fwasm-exceptions -c "/root/helix/work/workitem/e/wbt artifacts/2j0j3wuo_fij/obj/Release/net8.0/browser-wasm/wasm/for-publish/aot-instances.dll.bc" -o /tmp/tmpnwHJAE.tmp' failed (returned 137) [took 88.286s] [/root/helix/work/workitem/e/wbt artifacts/2j0j3wuo_fij/check_sat_asm_not_aot.csproj]

Which is a duplicate of https://github.com/dotnet/runtime/issues/104827?

maraf avatar Aug 20 '25 08:08 maraf