Skip to content

ci: launch-heavy linux_x86_64 runner shuts down while building the source libjulia-internal (part of #13354) #14476

Closed

Description

@TrapsterDK

launch-heavy linux_x86_64 has not passed once since #13727 added the job. The runner dies in "Run the Julia standalone and tool tests":

run job time annotation
44857005940 136701446709 12m exit code 143, "runner has received a shutdown signal"
44862650657 136719272182 12m exit code 143
44863631155 136722337626 46m "hosted runner lost communication with the server"
44873161495 136751974276 57m "lost communication"
44892308210 136810573837 12m exit code 143

The last lines in the log are INFO: From Compiling src/runtime_intrinsics.c and ... [for tool] from +dx_pins+julia_src. After them there is no output for about 11 minutes, because the step passes --noshow_progress, and then the shutdown follows. So the source-built libjulia-internal (#14192) compiles twice locally, once for the target and once for the exec configuration, together with the LLVM-header C++ objects and the sysimage. A 4-vCPU, 16 GB ubuntu-latest runner likely runs out of memory under that load. The other four legs pass: linux_arm64 and macOS use the stock library. The runner dies before the exec-log upload step, so nothing reaches the remote cache and every run starts cold.

Where

  • .github/workflows/ci.yml:1139-1178: the launch-heavy job and its linux_x86_64 leg on ubuntu-latest.
  • julia/private/runtime/julia_src.BUILD.bazel:295-363: runtime_c, runtime_cxx and libjulia_internal_objects, which compile against @julia_src_libllvm//:headers.
  • julia/private/runtime/BUILD.bazel:46-62: source_julia and source_toolchain, which make every Linux x86_64 Julia action use the source build.

Fix

  • Find out which resource runs out. Dispatch ci.yml on a branch where the linux_x86_64 launch-heavy step first starts (while sleep 30; do free -m | sed -n 2p; df -h / | tail -1; done) & and drops --noshow_progress, so the log shows the running actions and the memory and disk use before the shutdown.
  • If memory runs out, limit local concurrency on that leg only, for example --jobs=2 or --local_resources=cpu=2. If disk runs out, move the Bazel output base to /mnt. Do not raise the 60-minute cap.
  • Find out why the target-config and exec-config libjulia-internal objects miss the remote cache that preflight linux_x86_64 fills. Use determinism_check diff (ci: record compact execution logs on the test jobs and diff two runs to name cache-miss causes (part of #13354) #13724) on the exec-log-preflight-linux_x86_64 artifact.
  • Done when launch-heavy linux_x86_64 passes within 60 minutes on two consecutive ci.yml runs.

Part of #13354.

Activity

  1. added
    P2
    cloud-pool
    on Nov 21, 2026
  2. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim efef0530


    Generated by Claude Code

  3. added
    cloud-taken
    and removed
    cloud-pool
    on Nov 21, 2026
  4. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim 59cca05c


    Generated by Claude Code

  5. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    Next slice: read the launch-heavy linux_x86_64 leg (job 136861445889) of ci.yml run https://github.com/devhusdk/rules_dx/actions/runs/44909287351 on draft #14520. That leg runs with --local_resources=cpu=2, progress output and a resources: line every 30s. If it passes, dispatch once more for the second consecutive pass, then mark #14520 ready. If it still dies, the last resources: lines show whether memory or disk ran out (disk: move the output base to /mnt). The exec-config cache-miss diff against exec-log-preflight-linux_x86_64 is still open.


    Generated by Claude Code

  6. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    Finding from ci.yml run 44909287351 (job 136861445889, with the #14520 monitor): memory runs out, not disk. From 15:07:50 a single action ran, JuliaSysimage //julia/tests/fixtures/hello/app:hello_standalone (a remote-cache miss). Used memory went from 4.8 GB to 15.8 of 16 GB over 11 minutes while / stayed at 42%. Then came the shutdown with exit 143. --local_resources=cpu=2 did not help, because only one action ran. #14520 now adds 16 GB of swap on /mnt for that leg instead, and I dispatched ci.yml on cloud/14476 again.

    Next slice: read that run's launch-heavy linux_x86_64 leg. If it passes, dispatch once more for the second pass and mark #14520 ready. If the sysimage action still gets killed, find out why that action needs over 12 GB with the source libjulia-internal (arm64 and macOS use the stock library), and why it misses the remote cache.


    Generated by Claude Code

  7. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    With 16 GB of swap, launch-heavy linux_x86_64 passed on two consecutive ci.yml runs on #14520:

    • 44918845613: a cold build, 14 min.
    • 44932347495: about 1 min, because the sysimage was a remote-cache hit.

    #14520 is ready with train and closes this issue when it lands.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2cloud-taken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions