Skip to content

ci: every esp32s3 run since 20:39Z hangs in_progress and never completes (all branches, incl. master) #3791

Closed

Description

@zackees

Every esp32s3 workflow run since 2026-07-31T20:39Z is stuck in_progress / pending and never completes. This spans all branches, including master, so it is not PR-specific.

Evidence

gh run list --workflow=esp32s3 --limit 6:

started (UTC) branch status
22:16 master pending (never started)
22:04 feat/3483-prefer-constexpr-checker in_progress, >60 min
20:43 master in_progress
20:39 chore/fbuild-2.5.5 in_progress
20:24 master completed → failure
20:22 fix/3735-followup-opendrain-comment completed → failure

Four consecutive runs hung, spanning ~2.5 hours. The 22:04 run had a single build / build job that started at 22:04:49Z and was still in_progress at 23:06Z — against a normal runtime of 19m28s for this workflow.

The suspicious part

The last runs that completed were at 20:22 and 20:24. The first stuck run is 20:39, on chore/fbuild-2.5.5 — i.e. the hang begins exactly with the fbuild 2.5.5 bump (#3789).

That same bump appears to have fixed #3774 (esp32dev_idf5_component went failure at 20:24 → success at 20:43 and 22:16, and the esptool not found spawn error is gone). So one plausible reading is that 2.5.5 resolved the esptool provisioning failure that was making these boards fail fast, and esp32s3 now proceeds further into a step that hangs instead — possibly waiting on something that never returns rather than erroring out.

Worth checking whether the esp32s3 job is blocked on a daemon/tool acquisition with no timeout, since a fail-fast turning into a hang is the classic signature of removing an error path without adding a bound.

Impact

esp32s3 never reports, so it sits pending on every PR indefinitely. Combined with teensy41 (#3775 / #3777) still red, "all checks green" remains unreachable — but now for two different reasons, one of which produces no diagnostic at all.

Note

Also worth confirming and closing #3774 — see #3774 (comment) for the evidence that it is fixed, and note its title understates the blast radius (esp32s3 was failing with the identical esptool error, not just esp32dev_idf5_component).

Activity

  1. zackees commented on Aug 1, 2026

    @zackees
    MemberAuthor

    Another fbuild-daemon symptom in the same window, possibly the same root cause.

    On PR #3793 (a one-line pyproject.toml change — it cannot affect a firmware build), esp32dev_idf5_component failed with:

    daemon error: daemon did not become healthy after 3 spawn attempts (10s each).
    fbuild version: 2.5.5
    running-process broker: direct daemon fallback (failed to connect to broker: No such file or directory (os error 2))
    

    That workflow is green on master 3× consecutively (20:43, 22:16, 23:44), so this is not a code regression — it is the daemon failing to come up.

    Worth considering alongside the esp32s3 stall: both appeared after the fbuild 2.5.5 bump (#3789), both involve the daemon, and the two failure modes are what you would expect from the same underlying flakiness landing at different points — spawn fails fast (this) vs spawn succeeds but a later wait never returns (the stall). The direct daemon fallback (failed to connect to broker) line appears in both.

    Also note #3792 has since landed timeout-minutes: 45 on the board-build job, so the stall now terminates as cancelled at ~46 minutes instead of running to the 360-minute default. Verified on #3792's own run (23:39 → 00:25, conclusion cancelled). That makes future occurrences bounded and visible, but does not address the cause.

  2. zackees commented on Aug 7, 2026

    @zackees
    MemberAuthor

    Still failing, and the timeout-minutes: 45 added for this issue turned the silent 6-hour hang into a bounded failure — but the job now hits that bound every single time rather than occasionally.

    Last 10 build_esp32s3.yml runs on master:

    2026-08-07T17:14 | cancelled | 6a120ded
    2026-08-07T11:03 | cancelled | 0bb2269a
    2026-08-07T09:59 | cancelled | 6e44bee1
    2026-08-07T06:22 | cancelled | a175ac7f
    2026-08-07T03:07 | cancelled | 02e45352
    2026-08-06T08:24 | cancelled | e1190d45
    2026-08-06T08:08 | cancelled | cfb06794
    2026-08-06T08:01 | cancelled | e2f5ccd1
    2026-08-06T07:55 | cancelled | adbff102
    2026-08-06T07:47 | cancelled | f4c3cd70
    

    10/10. On #3873 I watched one directly: started 18:44:17Z, ended 19:29:39Z — 45m22s, i.e. the bound, with Build FastLED examples with "./compile --no-interactive esp32s3 all" as the step that was cut off and every subsequent step skipped.

    Two things worth separating, since they are easy to conflate:

    1. GitHub reports a timeout-minutes expiry as cancelled, not failure. That is why this reads as benign in the checks list and why it is easy to mistake for concurrency cancellation from cancel-in-progress. It is neither — it is the bound firing.
    2. build_esp32s3.yml builds esp32s3 all, while build.yml builds plain esp32s3 and passes in ~5 minutes. So the two esp32s3 rows in a checks list are not the same job, and the green one does not indicate the red one is a flake.

    Whether the fix is raising the bound, sharding all across matrix entries, or fixing whatever makes the full example sweep so slow, this is currently a permanently-red required-looking check on master. It also costs ~45 minutes of runner time per push to produce no artifact.

    Context: found while triaging #3873 for #3864 — needed to establish that its esp32s3 result was pre-existing rather than caused by the PR.

  3. moved this from Triage to Done in FastLED Trackeron Aug 20, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions