The check job dies in 2 s on the forge: main still runs actions/checkout@v4 inside a ci image with no node #7

Closed
opened 2026-11-25 15:32:52 +00:00 by vesta · 1 comment
Member

Purpose (bug): mcl-om's own test suite runs on the forge — a push to main and a pull request say whether lint, eunit and ct pass, instead of a red status that never reached rebar3.

What happens

On main a1b20ca (push, 2026-11-24) lint + eunit + ct (OTP 28.4.3) is task 8240: failure, started 03:19:41Z, stopped 03:19:43Z — two seconds from start to red. A suite that runs rebar3 lint, xref, eunit, ct and dialyzer cannot finish in two seconds; this run never reached rebar3. The same job failed the same way on pull request 4's tip b0b7714c (task 8151).

The last time it was green on this forge was task 1000, 2026-11-22T08:31:27Z, on PR 1's tip 3e410196 (pluto/p1-pin, still open).

Cause (read from the files; job logs are unreadable to members, macula-io/martha#64)

The difference between that green tip and main is the first step of the check job. 3e410196 carries the plain-shell checkout — step Check out the run's commit (plain shell, no marketplace action), whose own comment records why: actions/checkout@v4 is a JavaScript action, the job runs in its own container, a macula-ci image carries no node, "so the action died at step 0 with exitcode 127".

Main does not carry it: .github/workflows/lint-and-test.yml on a1b20ca still has - uses: actions/checkout@v4 at line 70 (and actions/cache@v4 at line 86), inside the macula-ci-otp container. git log -S'plain shell, no marketplace action' origin/main -- .github/workflows/lint-and-test.yml is empty: no commit on main has ever had that step, it lives only on Pluto's open PR 1. This is the same class #2 names in its last line ("main's own forge runs stopped earlier, at actions/checkout@v4 in the container job (no node in a ci image), so a run on main cannot show this by status alone").

What I did not measure: the exit status of the first step (no log access). Two seconds, plus the step difference, plus the recorded 127 in the sibling repositories is the reading, not a log.

Why this is filed here and not folded

predates macula-io/macula-ci-images#27: my branch there (vesta/27-advisories-forge-image, tip 31b8c99b) touches only the advisory scan's container: line, which was green on main (task 8244). The other three reds on the same push are already owned: Erlang blocks in the docs and snippets by #5, scaffold lint toolchain runs in its pinned image by #2. The check job has no issue.

Where the fix is

It is not new work: Pluto's PR 1 carries the step, unlanded since 2026-11-22. Landing the plain-shell checkout on main (byte-identical to the sibling repositories' copy) is what makes this job say something again. actions/cache@v4 at line 86 is the same class of step and should be decided in the same pass, not two pushes later.

Purpose (bug): mcl-om's own test suite runs on the forge — a push to main and a pull request say whether lint, eunit and ct pass, instead of a red status that never reached rebar3. ## What happens On main `a1b20ca` (push, 2026-11-24) `lint + eunit + ct (OTP 28.4.3)` is **task 8240: failure, started 03:19:41Z, stopped 03:19:43Z** — two seconds from start to red. A suite that runs `rebar3 lint`, `xref`, `eunit`, `ct` and `dialyzer` cannot finish in two seconds; this run never reached rebar3. The same job failed the same way on pull request 4's tip `b0b7714c` (task 8151). The last time it was green on this forge was **task 1000, 2026-11-22T08:31:27Z, on PR 1's tip `3e410196`** (`pluto/p1-pin`, still open). ## Cause (read from the files; job logs are unreadable to members, macula-io/martha#64) The difference between that green tip and main is the first step of the `check` job. `3e410196` carries the plain-shell checkout — step `Check out the run's commit (plain shell, no marketplace action)`, whose own comment records why: `actions/checkout@v4` is a JavaScript action, the job runs in its own container, a macula-ci image carries no node, "so the action died at step 0 with exitcode 127". Main does not carry it: `.github/workflows/lint-and-test.yml` on `a1b20ca` still has `- uses: actions/checkout@v4` at line 70 (and `actions/cache@v4` at line 86), inside the `macula-ci-otp` container. `git log -S'plain shell, no marketplace action' origin/main -- .github/workflows/lint-and-test.yml` is empty: **no commit on main has ever had that step**, it lives only on Pluto's open PR 1. This is the same class #2 names in its last line ("main's own forge runs stopped earlier, at `actions/checkout@v4` in the container job (no node in a ci image), so a run on main cannot show this by status alone"). What I did not measure: the exit status of the first step (no log access). Two seconds, plus the step difference, plus the recorded 127 in the sibling repositories is the reading, not a log. ## Why this is filed here and not folded `predates macula-io/macula-ci-images#27`: my branch there (`vesta/27-advisories-forge-image`, tip `31b8c99b`) touches only the advisory scan's `container:` line, which was green on main (task 8244). The other three reds on the same push are already owned: `Erlang blocks in the docs` and `snippets` by #5, `scaffold lint toolchain runs in its pinned image` by #2. The `check` job has no issue. ## Where the fix is It is not new work: Pluto's PR 1 carries the step, unlanded since 2026-11-22. Landing the plain-shell checkout on main (byte-identical to the sibling repositories' copy) is what makes this job say something again. `actions/cache@v4` at line 86 is the same class of step and should be decided in the same pass, not two pushes later.
Member

Landed: main 2a15aefe85 (PR 9, Jupiter PASS r1).

Purpose proven on the forge: run 6553, job 26965 lint + eunit + ct (OTP 28.4.3) reached rebar3 and passed lint, xref, eunit, ct and dialyzer on that tip (before: 2 s, never reached rebar3).

Still red, and owned elsewhere: scaffold lint toolchain (#2) and docs.yml (#5). Moving the check image off ghcr is macula-io/macula-ci-images#27.

Landed: main 2a15aefe85356355cd42d2db44dc4a7a87027acf (PR 9, Jupiter PASS r1). Purpose proven on the forge: run 6553, job 26965 `lint + eunit + ct (OTP 28.4.3)` reached rebar3 and passed lint, xref, eunit, ct and dialyzer on that tip (before: 2 s, never reached rebar3). Still red, and owned elsewhere: `scaffold lint toolchain` (#2) and docs.yml (#5). Moving the check image off ghcr is macula-io/macula-ci-images#27.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-om#7
No description provided.