Skip to content

[wasm][aot] Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests fail while linking due to OOM #66647

Closed

Description

@ilonatommy

Run: run-extra-platforms Linux Release LibraryTests_AOT 20220312.4

Error:

emcc : error : '/datadisks/disk1/work/B43F097B/p/build/emsdk/upstream/bin/wasm-opt --post-emscripten --no-exit-runtime -O2 --low-memory-unused --zero-filled-memory --strip-producers /datadisks/disk1/work/B43F097B/w/A1780928/e/wasm_build/obj/wasm/for-build/dotnet.wasm -o /datadisks/disk1/work/B43F097B/w/A1780928/e/wasm_build/obj/wasm/for-build/dotnet.wasm -g --mvp-features --enable-mutable-globals' failed (received SIGKILL (-9)) [/datadisks/disk1/work/B43F097B/w/A1780928/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/B43F097B/p/build/wasm/WasmApp.Native.targets(410,5): error MSB3073: The command "emcc "@/datadisks/disk1/work/B43F097B/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/native/src/emcc-default.rsp" "@/datadisks/disk1/work/B43F097B/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/native/src/emcc-link.rsp" "@/datadisks/disk1/work/B43F097B/w/A1780928/e/wasm_build/obj/wasm/for-build/emcc-link.rsp"" exited with code 1. [/datadisks/disk1/work/B43F097B/w/A1780928/e/publish/ProxyProjectForAOTOnHelix.proj]

Full log.

Last passing run: 20220310.1.

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Mar 15, 2022
  2. ilonatommy commented on Mar 15, 2022

    @ilonatommy
    MemberAuthor

    @ViktorHofer, could you check if 0046648 update could not cause it?

  3. ShreyasJejurkar commented on Mar 15, 2022

    @ShreyasJejurkar
    Contributor

    Tagging correctly, @ViktorHofer :)

  4. ViktorHofer commented on Mar 15, 2022

    @ViktorHofer
    Member

    @ViktorHofer, could you check if 0046648 update could not cause it?

    0046648 is most definitely unrelated as msquic is networking related and was the only component touched in the change that you linked to.

  5. radekdoulik commented on Mar 15, 2022

    @radekdoulik
    Member

    Looks like wasm-opt is getting out of memory.

    wasm-opt [ 7359.203268] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/helix.service,task=wasm-opt,pid=28704,uid=1000 [ 7359.203288] Out of memory: Killed process 28704 (wasm-opt) total-vm:6024128kB, anon-rss:5859504kB, file-rss:4kB, shmem-rss:0kB, UID:1000 pgtables:11612kB oom_score_adj:0 [ 7359.406901] oom_reaper: reaped process 28704 (wasm-opt), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB```
    
  6. changed the title [-]AOT build failure - Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests[/-] [+]AOT build failure - out of memory[/+] on Mar 15, 2022
  7. changed the title [-]AOT build failure - out of memory[/-] [+][wasm][aot] `Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests` fail while linking due to OOM[/+] on Mar 16, 2022
  8. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 23, 2022
  9. added a commit that references this issue on Mar 25, 2022
    286492c
  10. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 25, 2022
  11. added a commit that references this issue on Mar 30, 2022
    96fdef6
  12. ghost locked as resolved and limited conversation to collaborators on Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions