Skip to content

CI: get all emulation tests (QEMU ESP32-DEV/C3/S3 + AVR8JS Uno) passing on master #2282

Closed

Description

@zackees

Goal

All four emulation-based CI workflows are red on master and have been red for every push in recent history. An agent should investigate each, fix the underlying issues, and leave them green and gating.

Affected workflows

Workflow File Representative failing run
ESP32-DEV QEMU Test `.github/workflows/qemu_esp32dev_test.yml` https://github.com/FastLED/FastLED/actions/runs/24590847834
ESP32-C3 QEMU Test `.github/workflows/qemu_esp32c3_test.yml` https://github.com/FastLED/FastLED/actions/runs/24590847817
ESP32-S3 QEMU Test `.github/workflows/qemu_esp32s3_test.yml` https://github.com/FastLED/FastLED/actions/runs/24590847828
uno AVR8JS Test `.github/workflows/avr8js_uno_test.yml` https://github.com/FastLED/FastLED/actions/runs/24590847799

Shared templates: `qemu_docker_template.yml`, `avr8js_docker_template.yml`.

Symptoms (from one run per family)

QEMU ESP32-DEV — the pio build does not produce the expected artifacts, so the QEMU step aborts before emulation even starts:

ERROR: Compilation failed for board esp32dev
Required binary files not found after build:
  .build/pio/esp32dev/.pio/build/esp32dev/bootloader.bin
  .build/pio/esp32dev/.pio/build/esp32dev/partitions.bin
  .build/pio/esp32dev/.pio/build/esp32dev/firmware.bin
  - Board esp32dev failed

AVR8JS Uno — pio build produces no `firmware.elf`:

Warning: Failed to parse metadata JSON for build_info.json:
         Expecting value: line 1 column 1 (char 0)
❌ firmware.elf not found in .build/pio/uno/.pio/build/uno

So the pattern across all four is: the pio build phase fails quietly (no usable artifacts), the emulation phase reports "firmware/elf/bin missing," and the job exits 1. The real error is almost certainly upstream — a compile/link failure that the build wrapper swallows into a vague "Compilation failed for board X" message.

What the agent should do

  1. For each failing workflow, rerun or inspect the most recent master run and extract the actual compiler/linker error (the current "Compilation failed" message is a summary — the underlying error is earlier in the log or in `failures/*.log` artifacts).
  2. Fix root causes. Expect a mix of:
  3. Improve the build wrapper error surfacing so future regressions fail with a cause, not just "Required binary files not found."
  4. Land fixes as separate PRs per workflow if the causes are unrelated; bundle if they share a root cause.
  5. Verify all four workflows turn green on master after merging.

Acceptance criteria

  • ESP32-DEV QEMU Test green on master
  • ESP32-C3 QEMU Test green on master
  • ESP32-S3 QEMU Test green on master
  • uno AVR8JS Test green on master
  • Build wrapper surfaces the real compile error on failure (no more silent "required binaries not found")

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions