Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm][aot] Fails to compile .bc to .o for System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc due to SIGKILL (-9) #65356

Closed
runfoapp bot opened this issue Feb 15, 2022 · 8 comments · Fixed by #67017
Labels
arch-wasm WebAssembly architecture area-System.Text.Json wasm-aot-test WebAssembly AOT Test
Milestone

Comments

@runfoapp
Copy link

runfoapp bot commented Feb 15, 2022

/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Failed to compile /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -> /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.o [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang version 14.0.0 (https://github.com/llvm/llvm-project 3d39612b3dd3f6b67ee63da305d30606abbe7287) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Target: wasm32-unknown-emscripten [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Thread model: posix [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : InstalledDir: /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  (in-process) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -main-file-name System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -mrelocation-model static -mframe-pointer=none -fno-rounding-math -mconstructor-aliases -target-cpu generic -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -resource-dir /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/lib/clang/14.0.0 -Oz -Werror=implicit-function-declaration -Wl%2C-O0 -Wl%2C-lto-O0 -fdebug-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -fno-inline-functions -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /tmp/tmp06qIlh.tmp -x ir /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-O0'; did you mean '-WCL4'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-lto-O0'; did you mean '-Wlong-long'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang -cc1 version 14.0.0 based upon LLVM 14.0.0git default target x86_64-unknown-linux-gnu [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : emcc: error: '/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp' failed (received SIGKILL (-9)) [took 351.946s] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]

Runfo Tracking Issue: [wasm] Failure in normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests Work Item

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1680413 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1666792 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1649414 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1632766 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1631935 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1629823 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 1 6
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Feb 15, 2022
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@elinor-fung elinor-fung added the arch-wasm WebAssembly architecture label Feb 15, 2022
@ghost
Copy link

ghost commented Feb 15, 2022

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

Issue Details
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Failed to compile /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -> /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.o [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang version 14.0.0 (https://github.com/llvm/llvm-project 3d39612b3dd3f6b67ee63da305d30606abbe7287) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Target: wasm32-unknown-emscripten [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Thread model: posix [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : InstalledDir: /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  (in-process) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -main-file-name System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -mrelocation-model static -mframe-pointer=none -fno-rounding-math -mconstructor-aliases -target-cpu generic -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -resource-dir /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/lib/clang/14.0.0 -Oz -Werror=implicit-function-declaration -Wl%2C-O0 -Wl%2C-lto-O0 -fdebug-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -fno-inline-functions -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /tmp/tmp06qIlh.tmp -x ir /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-O0'; did you mean '-WCL4'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-lto-O0'; did you mean '-Wlong-long'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang -cc1 version 14.0.0 based upon LLVM 14.0.0git default target x86_64-unknown-linux-gnu [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : emcc: error: '/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp' failed (received SIGKILL (-9)) [took 351.946s] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]

Runfo Tracking Issue: [wasm] Failure in normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests Work Item

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1612202 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
1 1 1
Author: runfoapp[bot]
Assignees: -
Labels:

arch-wasm, untriaged

Milestone: -

@elinor-fung
Copy link
Member

@radical I saw you disabled System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests for #64762. Not sure if this failure (System.Text.Json.SourceGeneration.Roslyn3.11.Tests, the non-unit tests) is related and/or should also be disabled.

@radical
Copy link
Member

radical commented Feb 15, 2022

Yeah, this is failing due to OOM. #63958 should fix this.

@ghost
Copy link

ghost commented Feb 15, 2022

Tagging subscribers to this area: @dotnet/area-system-text-json
See info in area-owners.md if you want to be subscribed.

Issue Details
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Failed to compile /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -> /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.o [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang version 14.0.0 (https://github.com/llvm/llvm-project 3d39612b3dd3f6b67ee63da305d30606abbe7287) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Target: wasm32-unknown-emscripten [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : Thread model: posix [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : InstalledDir: /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  (in-process) [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error :  "/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -main-file-name System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -mrelocation-model static -mframe-pointer=none -fno-rounding-math -mconstructor-aliases -target-cpu generic -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -resource-dir /datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/lib/clang/14.0.0 -Oz -Werror=implicit-function-declaration -Wl%2C-O0 -Wl%2C-lto-O0 -fdebug-compilation-dir=/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -fno-inline-functions -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /tmp/tmp06qIlh.tmp -x ir /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-O0'; did you mean '-WCL4'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : warning: unknown warning option '-Wl%2C-lto-O0'; did you mean '-Wlong-long'? [-Wunknown-warning-option] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : clang -cc1 version 14.0.0 based upon LLVM 14.0.0git default target x86_64-unknown-linux-gnu [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B3170A02/p/build/wasm/WasmApp.Native.targets(342,5): error : emcc: error: '/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/datadisks/disk1/work/B3170A02/p/build/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Oz -Wl%2C-O0 -Wl%2C-lto-O0 -g -v -c /datadisks/disk1/work/B3170A02/w/C26F0A3E/e/wasm_build/obj/wasm/for-build/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc -o /tmp/tmp06qIlh.tmp' failed (received SIGKILL (-9)) [took 351.946s] [/datadisks/disk1/work/B3170A02/w/C26F0A3E/e/publish/ProxyProjectForAOTOnHelix.proj]

Runfo Tracking Issue: [wasm] Failure in normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests Work Item

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1613481 runtime-extra-platforms PR 65035 net7.0-Browser-Release-wasm-Mono_Release-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1613425 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1612202 runtime-extra-platforms Rolling net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1602475 runtime-extra-platforms PR 64952 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1602281 runtime-extra-platforms PR 65070 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1602227 runtime-extra-platforms PR 64452 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1599172 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1599172 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1596455 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1596455 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1596455 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1596124 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py
1595549 runtime-extra-platforms PR 64867 net7.0-Browser-Release-wasm-Mono_AOT_Release_Linux-normal-Ubuntu.1804.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
3 6 10
Author: runfoapp[bot]
Assignees: -
Labels:

arch-wasm, area-System.Text.Json, untriaged

Milestone: -

@elinor-fung
Copy link
Member

@radical this still failed in the latest rolling build, which has #63958.
System.Text.Json.SourceGeneration.Roslyn3.11.Tests console log

That build also hit errors in other tests with similar-looking error messages:

@radical
Copy link
Member

radical commented Feb 15, 2022

  1. System.Text.Json.SourceGeneration.Roslyn3.11.Tests console log is failing due to OOM when linking.

  2. System.Text.Json.SourceGeneration.Roslyn4.0.Tests console log is failing due to OOM System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.bc to System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.o

  3. System.Text.Json.Tests console log is failing due to [wasm][aot] System.Text.Json tests fail while linking due to OOM #61524 .

I'll disable these tests.

@radical radical changed the title [wasm] Failure in normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests Work Item [wasm][aot] Linking failing due to OOM for normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests Feb 15, 2022
radical added a commit to radical/runtime that referenced this issue Feb 16, 2022
- dotnet#65356 - OOM while linking
    `System.Text.Json.SourceGeneration.Roslyn3.11.Tests`

- dotnet#65411 - possible OOM when
  compiling `System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.bc` -> `.o`
     `System.Text.Json.SourceGeneration.Roslyn4.0.Tests`

- dotnet#61524 - OOM while linking
    `System.Text.Json.Tests`
@radical radical added the wasm-aot-test WebAssembly AOT Test label Feb 16, 2022
@radical radical changed the title [wasm][aot] Linking failing due to OOM for normal-System.Text.Json.SourceGeneration.Roslyn3.11.Tests [wasm][aot] Fails to compile .bc to .o for System.Text.Json.SourceGeneration.Roslyn3.11.Tests.dll.bc due to SIGKILL (-9) Feb 16, 2022
@radical
Copy link
Member

radical commented Feb 16, 2022

  1. System.Text.Json.SourceGeneration.Roslyn3.11.Tests console log is failing due to OOM when linking.

Correction. This is also failing to compile the .bc file for the main test assembly. Updated the issue title to match.

radical added a commit that referenced this issue Feb 17, 2022
* [wasm] Disable aot tests failing due to OOM

- #65356 - OOM while linking
    `System.Text.Json.SourceGeneration.Roslyn3.11.Tests`

- #65411 - possible OOM when
  compiling `System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.bc` -> `.o`
     `System.Text.Json.SourceGeneration.Roslyn4.0.Tests`

- #61524 - OOM while linking
    `System.Text.Json.Tests`

* Disable System.Collections.Immutable.Tests due to #65335
@krwq krwq added this to the 7.0.0 milestone Feb 17, 2022
@krwq krwq removed the untriaged New issue has not been triaged by the area owner label Feb 17, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Mar 23, 2022
radical added a commit that referenced this issue Mar 25, 2022
…67017)

Some library tests fail to AOT on helix by getting oomkill'ed. Since the
build machine have more resources than helix, we can AOT these specific
library tests there, and send the built output to helix to run.

Specifically:
- `System.Text.Json.SourceGeneration.Roslyn3.11.Tests`
- `System.Text.Json.SourceGeneration.Roslyn4.0.Tests`
- `System.Text.Json.Tests`
- `Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests` 

This adds two new jobs to `runtime-wasm`, and for rolling builds - `LibraryTests_HighResource_AOT` for linux, and windows.

Fixes #65356 
Fixes #65411
Fixes #61524 
Fixes #66647
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Mar 25, 2022
radekdoulik pushed a commit to radekdoulik/runtime that referenced this issue Mar 30, 2022
…otnet#67017)

Some library tests fail to AOT on helix by getting oomkill'ed. Since the
build machine have more resources than helix, we can AOT these specific
library tests there, and send the built output to helix to run.

Specifically:
- `System.Text.Json.SourceGeneration.Roslyn3.11.Tests`
- `System.Text.Json.SourceGeneration.Roslyn4.0.Tests`
- `System.Text.Json.Tests`
- `Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests` 

This adds two new jobs to `runtime-wasm`, and for rolling builds - `LibraryTests_HighResource_AOT` for linux, and windows.

Fixes dotnet#65356 
Fixes dotnet#65411
Fixes dotnet#61524 
Fixes dotnet#66647
@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Text.Json wasm-aot-test WebAssembly AOT Test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants