Skip to content

ci: launch-heavy linux_x86_64 gets 16 GB swap and logs memory and disk - #14520

Merged
TrapsterDK merged 2 commits into
mainfrom
cloud/14476
Nov 21, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
cloud/14476

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #14476

On the launch-heavy linux_x86_64 leg only:

  • Adds a 16 GB swap file on /mnt before the Julia tests.
  • --show_progress --show_progress_rate_limit=60 overrides --noshow_progress, so the log shows the running action.
  • A background loop logs free -m (memory and swap) and df -h / /mnt every 30s on Linux.

The other legs are unchanged.

The first dispatch with only the monitor, run 44909287351 (job 136861445889), showed the cause. One action ran alone: JuliaSysimage //julia/tests/fixtures/hello/app:hello_standalone. It filled 15.8 of 16 GB of RAM while / stayed at 42%, and then the runner shut down with exit 143. A CPU cap cannot help a single action, so this PR adds swap.

Two consecutive ci.yml runs on cloud/14476 now pass the leg:

Tested: //tools/ci:workflow_files_test, //tools/ci:input_validation_test and //tools/ci:actionlint_test pass locally, and tools/dx check --apply .github/workflows/ci.yml reports no findings. launch-heavy linux_x86_64 passes on ci.yml runs 44918845613 and 44932347495. The other red checks on this PR fail on main too; each is noted in a comment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hxK1miLVRAXUrCwhge

…isk (part of #14476)

The source libjulia-internal compiles for the target and exec
configurations on that leg, and the 16 GB runner shuts down with no
Bazel error. Cap local CPU at 2, show progress every 60s and log free
memory and disk every 30s, so a run shows which resource ran out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hxK1miLVRAXUrCwhge

Copy link
Copy Markdown
Collaborator Author

Evidence run: ci.yml dispatched on cloud/14476: https://github.com/devhusdk/rules_dx/actions/runs/44909287351 (see the launch-heavy linux_x86_64 leg).


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

hermetic-macos is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267697288), and this PR touches only the launch-heavy job, so it is a main failure. Waiting on the launch-heavy linux_x86_64 leg.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

hermetic-windows (windows_x86_64) is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267698023), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

starter-consumer (windows_arm64, shard 1) is red on this run. The windows_arm64 shard 1 starter-consumer job is also red on the latest scheduled main run (44730204976, job 136267697891), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

preflight (windows_x86_64) is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267698332), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

docs-check fails on a buildifier package-on-top finding in tools/docs/dart/flutter_fixture/BUILD.bazel:12 (package() comes after dart_package_metadata). That file is identical on main 8c9c770 and is not touched here, so it is a main failure. The fix is to move package(default_visibility = VIS_TOOLS) above the dart_package_metadata call, or run dx lint --apply //tools/docs/....


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

starter-consumer (windows_x86_64, shard 1) is red on this run. The windows_x86_64 shard 1 starter-consumer job is also red on the latest scheduled main run (44730204976, job 136267697960), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

analysis (PR-time checks on linux_x86_64) fails because the dx_crates lockfile is out of date (digest 7440405e… != 56870eb4…). The same check fails with the same digests on unmodified main 8c9c770, and this PR changes no crate inputs, so it is a main failure that needs a repin on main.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

hermetic (no-install and network-denied consumer qualification) is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267697703), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

workflow-check fails in its bazel mod tidy step: "Cannot run program .../buildozer_binary/buildozer.exe ... No such file or directory" on the Linux runner. The actionlint steps for the changed ci.yml come before that step and passed, and //tools/ci:actionlint_test passes locally. workflow-check is also red on the latest scheduled main run (44730204976, job 136267698106), so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

determinism (shard 0/5) reports 4 nondeterministic actions: the link-cplusplus build script and its rlib in dx_crates, and the picomatch@4.0.7 npm extract. This PR changes only .github/workflows/ci.yml, which is not a build input, so this is not the PR's failure. Those actions are the open work of #11123.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

network (requires-network nested consumer tests) is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267697969), and this PR touches only the launch-heavy job, so it is a main failure.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

preflight (linux_x86_64) is red on this run. It is also red on the latest scheduled main run (44730204976, job 136267698170), and this PR touches only the launch-heavy job, so it is a main failure. gate is red because it aggregates these failures.


Generated by Claude Code

…art of #14476)

Run 44909287351 showed one action, the hello_standalone JuliaSysimage
build, filling the 16 GB of RAM for 11 minutes until the runner shut
down, with disk at 42%. Capping CPU does not help a single action, so
add swap on /mnt and log swap and /mnt as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hxK1miLVRAXUrCwhge
@TrapsterDK TrapsterDK changed the title ci: launch-heavy linux_x86_64 runs 2 local jobs and logs memory and disk ci: launch-heavy linux_x86_64 gets 16 GB swap and logs memory and disk Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

affected tests (linux_x86_64, shard 0) fails in //tools/ci:aggregate_gates_test, //tools/ci:config_consistency_test and //tools/ci:test_budget_test. I ran all three locally on unmodified main 8c9c770 and on this branch (081a8f8). Each fails on both, with the same failing test cases:

  • aggregate_gates_test: reusable-release.yml "List the deployables" uses || true.
  • config_consistency_test: the README quickstart .bazelversion is not 9.3.1.
  • test_budget_test: no-size counts in BUILD files this PR does not touch.

The new swap_gb and local_args keys add no failure, so these are main failures.


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

With the swap, launch-heavy (linux_x86_64) passes for the first time: run 44918845613, job 136916026371, 17:29 to 17:43.

  • 6 of 6 tests pass: hello_standalone_output_test, relocate_test, and the lint and JET cli/resolve tests. Bazel elapsed time is 837s.
  • The hello_standalone sysimage action ran about 12 minutes. RAM stayed near 15.6 of 16 GB, swap use peaked at about 6.3 of 19 GB, and / reached 53%.
  • The exec log uploaded this time (artifact 14717078463), so the cache fills.

I dispatched ci.yml again on cloud/14476 for the second consecutive pass that #14476 asks for. This PR stays draft until that run passes.


Generated by Claude Code

@TrapsterDK
TrapsterDK marked this pull request as ready for review November 21, 2026 18:50
@TrapsterDK TrapsterDK added the train Tested; land via merge train label Nov 21, 2026 — with Claude
@TrapsterDK
TrapsterDK merged commit 00d5f0f into main Nov 21, 2026
91 of 126 checks passed
@TrapsterDK
TrapsterDK deleted the cloud/14476 branch November 21, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

train Tested; land via merge train

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants