a4bbfbd83be53cc4f8ec374edf072fa4aef358c2
207
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a4bbfbd83b |
qemu: boot the UI through the panel's shipped init chain (flare-edge#2210)
ci / prune-artifacts (push) Skipped
ci / patches-apply (push) Successful in 24s
ci / bench (pull_request) Successful in 16s
ci / test (push) Successful in 24s
ci / mcdc (push) Successful in 29s
ci / kernel-build (push) Skipped
ci / test (pull_request) Successful in 10s
ci / quality (push) Successful in 39s
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 30s
ci / bench (push) Successful in 10s
ci / qemu-tools (push) Successful in 3m16s
ci / qemu-tools (pull_request) Successful in 2m34s
ci / kernel-symbols (pull_request) Successful in 1m54s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / patches-apply (pull_request) Successful in 55s
ci / quality (pull_request) Successful in 1m36s
ci / badges (pull_request) Skipped
ci / kernel-symbols (push) Successful in 4m24s
The rig's stage-2 init starts /usr/bin/warden-ui directly as root, so it never ran S03warden-accounts, S99lvgl or warden-ui-run: no privilege drop, respawn loop or safe mode was exercised, and the BusyBox setpriv bug of flare-edge #1903 left every rebuild image without a UI while CI was green. - mkimage.sh: ROOTFS_OVERLAY lays a directory of panel files over the rootfs of both slots, modes kept. Only etc/ and usr/ at its top, no symlinks; a refused overlay writes no image. - sbin/init: with warden.initchain on the command line it runs /etc/init.d/S00-S09 before the bus and S10-S99 after the payload daemons, in place of the direct UI start (warden_init_chain in warden-lib.sh). The splash handover is marked done and warden-ui-run gets "-b fbdev". A chain boot without scripts prints WARDEN-QEMU-INITCHAIN-EMPTY and starts no UI. - warden_rig_bus_owners: when the accounts exist, cred/ui belongs to warden-ui and the cred directory to group warden-bus, as S10bus does. - Tests: init-chain-test.sh (19 checks, also under busybox sh) and rootfs-overlay.sh (17 scenarios, images read back with debugfs), both in CI. Refs flare-edge#2210 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
7d5686e287 |
Merge pull request 'qemu: PAYLOAD_DIR lets one run boot its own payload set' (#31) from rb/ln-hook-payload into rebuild
ci / qemu-tools (push) Successful in 1m32s
ci / test (push) Successful in 21s
ci / mcdc (push) Successful in 23s
ci / patches-apply (push) Successful in 21s
ci / badges (push) Skipped
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / bench (push) Successful in 17s
ci / quality (push) Successful in 1m25s
ci / kernel-symbols (push) Successful in 4m58s
|
||
|
|
de1b973aa4 |
Merge remote-tracking branch 'origin/rebuild' into rb/ln-hook-payload
ci / test (pull_request) Successful in 33s
ci / kernel-build (pull_request) Skipped
ci / patches-apply (pull_request) Successful in 44s
ci / mcdc (push) Skipped
ci / bench (push) Skipped
ci / test (push) Skipped
ci / patches-apply (push) Skipped
ci / kernel-build (push) Skipped
ci / qemu-tools (push) Skipped
ci / kernel-symbols (push) Skipped
ci / prune-artifacts (push) Skipped
ci / quality (push) Skipped
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 26s
ci / bench (pull_request) Successful in 9s
ci / quality (pull_request) Successful in 2m10s
ci / prune-artifacts (pull_request) Skipped
ci / qemu-tools (pull_request) Successful in 2m36s
ci / badges (pull_request) Skipped
ci / kernel-symbols (pull_request) Successful in 4m29s
|
||
|
|
bd4eb5c201 |
Merge pull request 'qemu: drive a flow override step through the UI test hook' (#29) from rb/ln-hook-override into rebuild
ci / mcdc (push) Successful in 29s
ci / quality (push) Successful in 1m45s
ci / badges (push) Skipped
ci / test (push) Successful in 9s
ci / bench (push) Successful in 17s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / kernel-symbols (push) Successful in 4m51s
ci / qemu-tools (push) Successful in 1m8s
ci / patches-apply (push) Successful in 56s
|
||
|
|
eebfd23a96 |
qemu: test_qmp_drive.py removes its temp dirs (Fixes #30)
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / prune-artifacts (push) Skipped
ci / test (push) Successful in 10s
ci / qemu-tools (push) Successful in 1m22s
ci / kernel-build (push) Skipped
ci / patches-apply (push) Successful in 48s
ci / quality (push) Successful in 57s
ci / badges (push) Skipped
ci / kernel-symbols (push) Successful in 4m7s
Every temp dir the module makes (a drive's out dir per run_script, the console and QMP socket dirs) now lands under one root per run, removed at exit; a run used to leave about 40 dirs in $TMPDIR. TempDirs runs one test of each kind in a child under a fresh TMPDIR and checks it is empty after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
06b86e68b4 |
qemu: payload-dir.sh uses if blocks (shellcheck SC2015)
ci / test (push) Successful in 19s
ci / bench (push) Successful in 13s
ci / quality (push) Successful in 1m35s
ci / badges (push) Skipped
ci / mcdc (push) Successful in 14s
ci / qemu-tools (push) Successful in 2m47s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / patches-apply (push) Successful in 39s
ci / kernel-symbols (push) Canceled after 4m16s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
9998182ef5 |
qemu: PAYLOAD_DIR lets one run boot its own payload set
ci / kernel-build (push) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / badges (push) Canceled after 0s
ci / test (push) Canceled after 0s
ci / mcdc (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / kernel-symbols (push) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
mkimage.sh copies PAYLOAD_DIR (default qemu/payload) into /usr/bin of both slots and fails closed when it is not a directory; ui-drive.sh checks for warden-ui in the same directory. flare-edge boots the hook set (production payload plus the test-flavor UI and wthctl) for a flow that pins documents while the other flows of a batch keep reading qemu/payload (flare-edge#2054). qemu/tests/payload-dir.sh builds the images on a copy of qemu/ and reads both rootfs slots back with debugfs; wired into CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
dd15eac1a8 |
qemu: drive a flow's override step through the UI test hook
ci / kernel-build (push) Skipped
ci / patches-apply (push) Successful in 59s
ci / test (pull_request) Successful in 29s
ci / bench (pull_request) Successful in 5s
ci / bench (push) Successful in 13s
ci / qemu-tools (push) Successful in 1m56s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / patches-apply (pull_request) Successful in 1m5s
ci / kernel-symbols (push) Successful in 4m0s
ci / quality (pull_request) Successful in 1m51s
ci / test (push) Successful in 15s
ci / mcdc (push) Successful in 30s
ci / prune-artifacts (push) Skipped
ci / mcdc (pull_request) Successful in 30s
ci / qemu-tools (pull_request) Successful in 1m18s
ci / badges (pull_request) Skipped
ci / quality (push) Successful in 2m5s
ci / badges (push) Skipped
ci / kernel-symbols (pull_request) Successful in 5m14s
flowc compiles a flow's `override` action to `override TOPIC DOC|null`, and a test-flavor warden-ui answers the override verb on test/req/ui, but the rig driver had no such verb and the control bridge only reached the UI's old FIFO, so a flow using it failed with an unknown command (flare-edge #2054). qmp.py `override` sends the request through the control bridge: the args JSON in `@hookdoc` / `@hookdoc+` pieces of 2000 bytes (the ctl port is a cooked tty that cuts a line at 4095 bytes; a document may be 16 KiB), then `@hook override`. The bridge runs the payload's wthctl as bus user testhook and answers its reply. ok:true passes, ok:false fails with the hook's err, and a request that never reached the hook (no client, no bus, no reply, a reply that is not a hook envelope) is fatal. The rig bus writes a testhook credential. Only plain words reach the client. ctl-bridge-test.sh covers the pieces, single use of the args, the word filter, ok:false, no reply and no client, now also under busybox sh in CI; test_qmp_drive.py covers the verb's ok, fail and fatal rows. Refs flare-edge #2054. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
eeb779b41b |
Merge pull request 'qemu: start the device bus when the payload carries a broker' (#28) from rb/lf-rig-bus into rebuild
ci / mcdc (push) Successful in 31s
ci / prune-artifacts (push) Skipped
ci / patches-apply (push) Successful in 52s
ci / quality (push) Successful in 31s
ci / test (push) Successful in 24s
ci / bench (push) Successful in 14s
ci / badges (push) Skipped
ci / qemu-tools (push) Successful in 2m8s
ci / kernel-build (push) Skipped
ci / kernel-symbols (push) Successful in 6m0s
|
||
|
|
5494b87dc3 |
qemu: start the device bus when the payload carries a broker
ci / test (push) Successful in 28s
ci / prune-artifacts (push) Skipped
ci / patches-apply (push) Successful in 1m2s
ci / mcdc (push) Successful in 29s
ci / bench (push) Successful in 12s
ci / mcdc (pull_request) Successful in 11s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 27s
ci / badges (push) Skipped
ci / qemu-tools (pull_request) Successful in 1m9s
ci / patches-apply (pull_request) Successful in 57s
ci / test (pull_request) Successful in 26s
ci / bench (pull_request) Successful in 16s
ci / quality (pull_request) Successful in 1m29s
ci / kernel-symbols (pull_request) Successful in 6m50s
ci / qemu-tools (push) Successful in 2m15s
ci / kernel-symbols (push) Successful in 4m42s
ci / badges (pull_request) Skipped
A panel runs one mosquitto on /run/warden/bus/bus.sock (flare-edge S10bus) and every daemon and the UI talk over it; the rig had no broker, so the Rust warden-modbus and the UI's bus client could not run there (flare-edge #1754, the #1050 QEMU half). Stage-2 init now starts the broker before the payload daemons when the payload carries a static mosquitto, with the panel's paths: the socket under sock/ with the bus.sock link, and a fresh 0400 credential file per bus user under cred/. The rig broker takes any user and loads no plugin (the rig is a test instrument; a static broker loads none). A payload without a broker boots as before. qemu/tests/init-rig-bus-test.sh covers no broker, a listening broker (layout, modes, config), a broker that exits or never listens, bad user names and the init order, under sh and busybox sh; with WARDEN_TEST_MOSQUITTO_DIR a real mosquitto carries a message between two users logged in by credential file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
13cd0c63be |
Merge pull request 'qemu: name the cause when warden-ui stops answering a flow' (#26) from rb/ln-stall-diag into rebuild
ci / test (push) Successful in 17s
ci / bench (push) Successful in 16s
ci / kernel-build (push) Skipped
ci / patches-apply (push) Successful in 1m0s
ci / mcdc (push) Successful in 35s
ci / quality (push) Successful in 2m33s
ci / badges (push) Skipped
ci / prune-artifacts (push) Skipped
ci / qemu-tools (push) Successful in 2m16s
ci / kernel-symbols (push) Successful in 2m42s
|
||
|
|
d279bc4c9f |
Merge pull request 'qemu, build: bound the busybox and kernel fetches' (#27) from rb/lc2-fix-1588 into rebuild
ci / test (push) Successful in 28s
ci / mcdc (push) Successful in 39s
ci / kernel-build (push) Skipped
ci / bench (push) Successful in 19s
ci / qemu-tools (push) Successful in 2m54s
ci / patches-apply (push) Successful in 56s
ci / badges (push) Skipped
ci / kernel-symbols (push) Successful in 8m3s
ci / prune-artifacts (push) Skipped
ci / quality (push) Successful in 1m56s
|
||
|
|
44b96074ed |
qemu, build: bound the busybox and kernel fetches
ci / kernel-symbols (push) Successful in 7m23s
ci / bench (pull_request) Successful in 31s
ci / mcdc (pull_request) Successful in 38s
ci / patches-apply (pull_request) Successful in 59s
ci / kernel-symbols (pull_request) Successful in 5m20s
ci / bench (push) Successful in 34s
ci / patches-apply (push) Successful in 1m6s
ci / qemu-tools (push) Successful in 2m37s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / qemu-tools (pull_request) Successful in 2m46s
ci / test (push) Successful in 40s
ci / mcdc (push) Successful in 33s
ci / test (pull_request) Successful in 43s
ci / quality (push) Successful in 1m56s
ci / badges (push) Skipped
ci / quality (pull_request) Successful in 1m27s
ci / badges (pull_request) Skipped
qemu_get_busybox and fetch-kernel-tarball.sh ran curl with no connect timeout, stall limit or total cap. A server that answered and then went silent held the flare-edge QEMU UI gate build job until its 30 minute timeout, with no retry (flare-edge #1588, run 7391 job 63953). - qemu/lib.sh: each attempt gives up below 1 KiB/s for 20 s, or after 60 s in all; curl retries once, the 3-attempt loop stays. Limits are overridable through BB_FETCH_* for the tests. - build/fetch-kernel-tarball.sh: 20 s connect timeout, abort below 10 KiB/s for 30 s, 600 s cap. The download lands in a temp file and is renamed on success, so a failed fetch no longer leaves a partial tarball that the next run takes as present and rejects on its sha256. - Tests: busybox-fetch.sh serves a stalling local HTTP endpoint to the real curl (hung for the full 60 s guard before, fails in about 9 s after); new tests/fetch-kernel-tarball suite (bounded argv, no partial file, refetch after a failure, reuse of a matching tarball; 6 of 9 checks red before). Both wired into CI and shellcheck. Refs blueflare/flare-edge#1588 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
b7be6f7fbe |
qemu: name the cause when warden-ui stops answering a flow
ci / patches-apply (pull_request) Successful in 52s
ci / mcdc (push) Successful in 32s
ci / test (push) Successful in 24s
ci / kernel-build (pull_request) Skipped
ci / bench (push) Successful in 14s
ci / qemu-tools (push) Successful in 2m29s
ci / prune-artifacts (push) Skipped
ci / test (pull_request) Successful in 24s
ci / quality (push) Successful in 1m52s
ci / mcdc (pull_request) Successful in 31s
ci / bench (pull_request) Successful in 18s
ci / kernel-build (push) Skipped
ci / patches-apply (push) Successful in 52s
ci / badges (push) Skipped
ci / kernel-symbols (push) Successful in 5m55s
ci / qemu-tools (pull_request) Successful in 2m6s
ci / prune-artifacts (pull_request) Skipped
ci / quality (pull_request) Successful in 1m38s
ci / badges (pull_request) Skipped
ci / kernel-symbols (pull_request) Successful in 6m17s
flare-edge #1528: on the lenovo QEMU runner warden-ui stopped answering for 30 to 60 s at a time (bridge no-reply, presses not consumed) and then recovered. Re-run jobs lose their failed-flow artifacts, so nothing showed whether the host starved the VM, the guest CPU was saturated, the guest waited on I/O, or warden-ui was blocked in an idle guest. qmp.py drive() now probes the first three such failures of a run: over 2 s it samples host load and PSI, the VM's vCPU thread CPU (query-cpus-fast thread-id), the guest /proc/stat and every guest process's stat line, and appends one line to the step's detail (verdict, numbers, top guest processes, processes in D state). The detail reaches the job log, so the answer survives a re-run. The control bridge answers the new `@procs` command itself, so the probe works while the UI is stuck. Tests: test_qmp_drive.py StallProbe (parsers, verdicts, CPU deltas, the vCPU thread sampler, a bounded probe on no-reply steps and none on a plain mismatch); ctl-bridge-test.sh checks `@procs` with no UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
7d18896a0d |
Merge pull request 'qemu: control bridge waits out a slow UI and never hands on a late reply' (#25) from rb/ln-ctl-bridge into rebuild
ci / test (push) Successful in 45s
ci / mcdc (push) Successful in 32s
ci / bench (push) Successful in 18s
ci / qemu-tools (push) Successful in 2m6s
ci / patches-apply (push) Successful in 1m5s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 1m47s
ci / badges (push) Skipped
ci / kernel-symbols (push) Successful in 11m1s
|
||
|
|
b94fd156b4 |
qemu: control bridge waits out a slow UI and never hands on a late reply
ci / test (push) Successful in 2m34s
ci / mcdc (push) Successful in 48s
ci / bench (push) Successful in 25s
ci / qemu-tools (push) Successful in 4m5s
ci / patches-apply (push) Successful in 2m26s
ci / quality (push) Successful in 1m36s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / kernel-symbols (push) Successful in 7m19s
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 56s
ci / bench (pull_request) Successful in 17s
ci / test (pull_request) Successful in 2m29s
ci / patches-apply (pull_request) Successful in 1m25s
ci / qemu-tools (pull_request) Successful in 4m54s
ci / quality (pull_request) Successful in 2m16s
ci / badges (pull_request) Skipped
ci / kernel-symbols (pull_request) Successful in 5m57s
The bridge waited 5 s for warden-ui's reply. On the lenovo QEMU host a page build outran it: the bridge answered an empty reply, and the UI's late reply then landed after the next command's remove and was read as that command's answer (flare-edge#1448: "page is ''", a nav answered with the previous hit). The loop moves to warden_ctl_bridge in etc/warden-lib.sh so a host test reaches it. The wait is 30 s (WARDEN_CTL_WAIT_S); a timeout answers "bridge: no reply from warden-ui ...", which qmp.py raises as a rig fault, and the next command first drains the late reply. Replies slower than 5 s are logged on the console with their time. qmp.py's control socket timeout is 90 s so it outlasts the bridge's wait. Tests: qemu/tests/ctl-bridge-test.sh (new, in CI), test_qmp_drive.py. Refs flare-edge#1448 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
f435a7d665 |
Merge pull request 'qemu: power-signal test waits for the trap install (rebuild)' (#23) from rb/lf-fix-sdk22 into rebuild
ci / test (push) Successful in 9s
ci / mcdc (push) Successful in 15s
ci / qemu-tools (push) Successful in 52s
ci / patches-apply (push) Successful in 22s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 30s
ci / badges (push) Skipped
ci / bench (push) Successful in 9s
ci / kernel-symbols (push) Successful in 2m33s
|
||
|
|
be4ad86230 |
qemu: power-signal test waits for the trap install (#22)
ci / mcdc (pull_request) Successful in 16s
ci / test (push) Successful in 10s
ci / mcdc (push) Successful in 17s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 50s
ci / patches-apply (push) Successful in 24s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / kernel-symbols (push) Successful in 2m40s
ci / test (pull_request) Successful in 9s
ci / quality (push) Successful in 34s
ci / badges (push) Skipped
ci / bench (pull_request) Successful in 7s
ci / qemu-tools (pull_request) Successful in 54s
ci / prune-artifacts (pull_request) Skipped
ci / patches-apply (pull_request) Successful in 27s
ci / kernel-symbols (pull_request) Successful in 2m30s
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 44s
ci / badges (pull_request) Skipped
init-power-signals-test.sh slept a fixed 0.5 s before sending each signal. On a loaded runner the shell had not installed its traps yet, so SIGTERM took its default action and the case failed with nothing written. Each case now polls /proc/<pid>/status until SigCgt has the signal's bit (10 s hang backstop, WARDEN_TEST_TRAP_WAIT_S), and fails clearly if the handler never appears. Regression: a case whose handler install is held back 1.5 s (fails on the old fixed sleep), plus a check that the wait gives up on a shell without a handler. Fixes #22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
aadf0e7f07 |
Merge pull request 'qemu: input consumption wait is a hang backstop (flare-edge#1138)' (#20) from rb/lf-fix-1138 into rebuild
ci / test (push) Successful in 12s
ci / bench (push) Successful in 8s
ci / patches-apply (push) Successful in 24s
ci / mcdc (push) Successful in 20s
ci / qemu-tools (push) Successful in 1m12s
ci / quality (push) Successful in 31s
ci / kernel-symbols (push) Successful in 2m15s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / badges (push) Skipped
|
||
|
|
6f931bf3ad |
qemu: input consumption wait is a hang backstop (flare-edge#1138)
ci / bench (push) Successful in 8s
ci / qemu-tools (push) Successful in 57s
ci / patches-apply (push) Successful in 23s
ci / test (push) Successful in 12s
ci / mcdc (push) Successful in 21s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 55s
ci / kernel-symbols (push) Successful in 2m45s
ci / kernel-symbols (pull_request) Successful in 2m17s
ci / badges (push) Skipped
ci / qemu-tools (pull_request) Successful in 55s
ci / patches-apply (pull_request) Successful in 24s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 28s
ci / badges (pull_request) Skipped
ci / test (pull_request) Successful in 11s
ci / bench (pull_request) Successful in 6s
ci / mcdc (pull_request) Successful in 13s
The runner waited 2 s for the guest to count an injected press or release. On a loaded runner the release that opens the drawer took longer, so navigation/drawer-drag-release-policy failed both attempts although the UI handled the swipe. The wait is now a 20 s hang backstop; a wait over 2 s still passes and puts "slow guest: input consumed after N s" in the step's detail. Regression: test_swipe_release_counted_late_on_a_loaded_guest_passes (release counted 2.5 s after the drag; fails with the 2 s bound), plus a prompt-release case and a never-counted case bounded by the backstop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG |
||
|
|
5507842878 |
Merge pull request 'Single M0 kernel batch with CONFIG_SUSPEND off' (#17) from rb/w04-kernel-options into rebuild
ci / kernel-symbols (push) Successful in 1m40s
ci / patches-apply (push) Successful in 15s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 25s
ci / badges (push) Skipped
ci / test (push) Successful in 8s
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkkrebuild-m0-20261010 |
||
|
|
35dc64714e |
kernel: probe V3 passed, the hardware RNG symbols are required
ci / qemu-tools (pull_request) Successful in 50s
ci / patches-apply (pull_request) Successful in 26s
ci / mcdc (push) Successful in 18s
ci / patches-apply (push) Successful in 24s
ci / test (push) Successful in 11s
ci / bench (push) Successful in 8s
ci / qemu-tools (push) Successful in 50s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / kernel-symbols (push) Successful in 2m21s
ci / test (pull_request) Successful in 12s
ci / quality (push) Successful in 33s
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 17s
ci / bench (pull_request) Successful in 7s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 34s
ci / badges (pull_request) Skipped
ci / kernel-symbols (pull_request) Successful in 2m20s
Probe V3 (d09 T14, AT-M0-33) on the bench panel with the batch kernel: /dev/hwrng from the rockchip-rng driver, a 2.6 MB read in 2.4 s (1058 KiB/s) without blocking, and 1 FIPS 140-2 failure in 1000 blocks (limit 3). CONFIG_HW_RANDOM and CONFIG_HW_RANDOM_ROCKCHIP move from probe-symbols.txt to required-symbols.txt; the probe list is now empty, which build-kernel.sh accepts (it skips an empty probe list; the required list may never be empty). The config does not change: the defconfig already built both in, and the digest stays ec276f77. Regression tests (run-required-symbols-tests.sh): both symbols asserted and built in, a config without either is refused by name, the probe list may be empty. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
cf72a6dcbc |
kernel: make KCONFIG_SHA256 independent of the host python (bfe-core1106-sdk#19)
DRM_MSM_VALIDATE_XML depended on `$(PYTHON3) -c "import lxml"`, so the expanded .config gained a line on hosts where python3 could import lxml and the whole-file digest differed (the flashed image ec276f77 against e8e9ef1c from a config-only run on the same tree). Drop the unused Qualcomm symbol with a one-block Kconfig patch; the digest is now ec276f77 everywhere and equals the flashed one. Regression test: tests/required-symbols/run-config-determinism-tests.sh runs the config-only expansion with a python3 whose import lxml works and one where it fails and requires the same digest; it is proven red on a copy of the tree without the patch. The kernel-symbols CI job runs it. Fixes #19. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
0589829619 |
qemu init: read the command line without for-in-cat (blueflare/bfe-core1106-sdk#18)
ci / test (push) Canceled after 0s
ci / mcdc (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / bench (pull_request) Canceled after 0s
ci / qemu-tools (pull_request) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / kernel-symbols (pull_request) Canceled after 0s
ci / badges (push) Canceled after 0s
ci / prune-artifacts (pull_request) Canceled after 0s
ci / badges (pull_request) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / kernel-symbols (push) Canceled after 0s
ci / test (pull_request) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / mcdc (pull_request) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
ci / kernel-build (push) Canceled after 0s
ci / patches-apply (pull_request) Canceled after 0s
ci / kernel-build (pull_request) Canceled after 0s
ci / quality (pull_request) Canceled after 0s
shellcheck 0.9 in the qemu-tools CI job reports SC2013 for `for w in $(cat /proc/cmdline)` and exits non-zero, which kept CI red on the M0 kernel branch since the warden.run entry was added. Read /proc/cmdline into a variable and loop over its words. Regression test: tests/qemu-init/run-init-shellcheck-tests.sh (run by the qemu-tools job) shellchecks the rootfs scripts and proves the old form red on a doctored copy. Fixes #18. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
8615f7c13a |
kernel: turn CONFIG_SUSPEND off (rebuild M0)
ci / test (pull_request) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
ci / bench (pull_request) Canceled after 0s
ci / kernel-build (push) Canceled after 0s
ci / qemu-tools (pull_request) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / badges (push) Canceled after 0s
ci / quality (pull_request) Canceled after 0s
ci / test (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / kernel-symbols (push) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / mcdc (pull_request) Canceled after 0s
ci / kernel-symbols (pull_request) Canceled after 0s
ci / patches-apply (pull_request) Canceled after 0s
ci / prune-artifacts (pull_request) Canceled after 0s
ci / kernel-build (pull_request) Canceled after 0s
ci / badges (pull_request) Canceled after 0s
ci / mcdc (push) Canceled after 0s
The panel is wall powered and never sleeps the SoC. SUSPEND defaults to y, so the defconfig carries an explicit unset, and required-symbols.txt asserts SUSPEND and PM_SLEEP unset against the final .config. Kconfig then drops PM_SLEEP, PM_SLEEP_SMP, SUSPEND_FREEZER, FREEZER, PM_GENERIC_DOMAINS_SLEEP, FW_CACHE and VT_CONSOLE_SLEEP; as PM_SLEEP_SMP was the only thing selecting HOTPLUG_CPU on this one-core SoC, HOTPLUG_CPU, KEXEC and CRASH_DUMP go with it. PM, PM_CLK and runtime PM stay. Regression test: tests/required-symbols asserts both lines, refuses a config that turns either back on, and fails when the defconfig loses the explicit unset (proven red). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
469f31c278 |
buildroot: nftables cgroupv2 patch reads the handle with the raw syscall (uClibc has no wrapper)
ci / test (push) Successful in 19s
ci / mcdc (push) Successful in 18s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Failing after 13s
ci / kernel-symbols (push) Successful in 1m24s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / badges (push) Skipped
ci / patches-apply (push) Successful in 17s
ci / quality (push) Successful in 1m2s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
aa6956f595 |
buildroot: patch nftables so socket cgroupv2 matches on 32-bit kernels
ci / test (push) Canceled after 0s
ci / mcdc (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / kernel-symbols (push) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
ci / kernel-build (push) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / badges (push) Canceled after 0s
nftables 1.1.0 builds the id of "socket cgroupv2 level N <path>" from st_ino, which is the 64-bit kernfs id only on 64-bit kernels. On armv7 the id is (generation << 32) | ino and st_ino carries the low half, so the rule loaded and never matched: byte metering per service counted nothing (found by the M0 counting test in QEMU on the 6.18.46 kernel). The patch takes the id from the directory's file handle, in both the parse and the listing path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
445b2082f5 |
qemu: check the kernel contract at boot and run a staged script (warden.run)
ci / test (push) Canceled after 0s
ci / mcdc (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / kernel-symbols (push) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
ci / kernel-build (push) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / badges (push) Canceled after 0s
init verifies build/required-symbols.txt against the guest's /proc/config.gz, the cgroup v2 controllers and PSI and prints markers; boot-smoke.sh fails when a marker is missing. mkinitramfs.sh stages the list and merges EXTRA_DIR; run.sh --append passes warden.run=<path>, which init runs before powering off (used by the flare-edge M0 limit tests). README notes the symbol lists. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
0360b8dc46 |
kernel: single M0 batch (cgroups, namespaces, PSI, raw table, nftables) with a symbol list and clock keep-alive
ci / test (push) Successful in 18s
ci / mcdc (push) Successful in 19s
ci / bench (push) Successful in 9s
ci / qemu-tools (push) Successful in 53s
ci / prune-artifacts (push) Skipped
ci / quality (push) Successful in 46s
ci / badges (push) Skipped
ci / kernel-symbols (push) Successful in 1m25s
ci / patches-apply (push) Successful in 21s
ci / kernel-build (push) Skipped
One kernel flash for everything later work needs (rebuild M0, d09 M0-2): - warden_defconfig: cgroup v2 controllers (MEMCG, CGROUP_PIDS, CGROUP_SCHED, FAIR_GROUP_SCHED, CFS_BANDWIDTH), the byte-metering match symbols (XT_MATCH_CGROUP, XT_CONNMARK, XT_MARK, IP6_NF_MANGLE), IKCONFIG and IKCONFIG_PROC, XT_MATCH_OWNER, the raw tables and the CT target (the NOTRACK for flare-edge#537), NAMESPACES with its five sub-options (USER_NS stays closed at boot by a sysctl), PSI, and the nftables set (NF_TABLES, ip and ip6 families, NFT_CT, NFT_MASQ, NFT_NAT, NFT_LIMIT, NFT_SOCKET, NFT_REJECT). TIME_NS and RT_GROUP_SCHED are explicitly unset. HW_RANDOM_ROCKCHIP is built in as a probe for the hardware RNG. - build/required-symbols.txt and probe-symbols.txt are the source of record; build-kernel.sh asserts both against the final .config instead of a hand-written list (olddefconfig drops an unknown or unsatisfied symbol without a word). - WARDEN_CONFIG_ONLY=1 stops after that assertion (a seconds-long CI gate) and, like a full build, writes the final .config and its sha256 (CONFIG_OUT), the digest firmware images record as KCONFIG_SHA256. - clk_core_mcu_rtc gets CLK_IGNORE_UNUSED like clk_core_mcu, in the patch and in the enablement source it documents, so 6.18 keeps the HPMCU mtime clock up. - CI: a kernel-symbols job expands the real configuration and asserts the lists on every push; offline tests prove the assertion fires for every failure shape. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
d22c900fb6 |
Merge pull request 'kernel: build in IPv6 netfilter (flare-edge#533)' (#15) from fix-533-ipv6-netfilter into flare-edge-next
ci / test (push) Successful in 13s
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / patches-apply (push) Successful in 15s
ci / quality (push) Successful in 27s
ci / badges (push) Skipped
ci / qemu-tools (push) Successful in 44s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
|
||
|
|
b7125fc4a7 |
kernel: correct IPv6 netfilter defconfig comment (flare-edge#533)
ci / badges (push) Skipped
ci / mcdc (push) Successful in 13s
ci / test (push) Successful in 15s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 29s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 44s
ci / patches-apply (push) Successful in 16s
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
ci / test (pull_request) Successful in 14s
ci / bench (pull_request) Successful in 6s
ci / mcdc (pull_request) Successful in 12s
ci / patches-apply (pull_request) Successful in 14s
ci / qemu-tools (pull_request) Successful in 43s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
The icmp6 match is part of the ip6_tables core (IP6_NF_IPTABLES), not xt_tcpudp. Comment only; the symbol set is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
35f3ca10eb |
kernel: build in IPv6 netfilter (flare-edge#533)
The panel kernel had no ip6tables filter table, so the IPv4 default-drop firewall never applied to IPv6 and dropbear and telnetd were reachable over ::. Enable the ip6tables core (legacy flavour, matching the userland), the filter table, and IPv6 defrag for conntrack, all built in because the panel has no /lib/modules: CONFIG_NF_DEFRAG_IPV6=y CONFIG_IP6_NF_IPTABLES=y CONFIG_IP6_NF_IPTABLES_LEGACY=y CONFIG_IP6_NF_FILTER=y No new match symbols: icmp6 lives in xt_tcpudp, and state, limit and conntrack are family-agnostic and already enabled. build-kernel.sh now asserts these four are =y in the final .config, because olddefconfig drops an unmet-dependency line silently and the loss would only show as an unfiltered IPv6 stack in the field. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk |
||
|
|
8212bf5feb |
Merge pull request 'QEMU: allow seeded flow setup' (#14) from qemu-bt-flow-fixture into flare-edge-next
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / test (push) Successful in 12s
ci / qemu-tools (push) Successful in 44s
ci / patches-apply (push) Successful in 14s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 29s
ci / badges (push) Skipped
|
||
|
|
8c4870c6fb |
Allow seeded QEMU flow setup
ci / mcdc (pull_request) Successful in 12s
ci / bench (pull_request) Successful in 3s
ci / qemu-tools (pull_request) Successful in 42s
ci / patches-apply (pull_request) Successful in 15s
ci / test (push) Successful in 13s
ci / test (pull_request) Successful in 12s
ci / mcdc (push) Successful in 11s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 43s
ci / patches-apply (push) Successful in 18s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 30s
ci / badges (push) Skipped
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 1m39s
ci / badges (pull_request) Skipped
|
||
|
|
92d601f585 |
Merge pull request 'qemu: seed installed RS485 profiles through SEED_DIR' (#13) from qemu-seed-profiles into flare-edge-next
ci / test (push) Successful in 18s
ci / mcdc (push) Successful in 19s
ci / bench (push) Successful in 9s
ci / qemu-tools (push) Successful in 55s
ci / patches-apply (push) Successful in 22s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 36s
ci / badges (push) Skipped
|
||
|
|
65a6800228 |
qemu: seed installed RS485 profiles through SEED_DIR
ci / patches-apply (push) Successful in 21s
ci / qemu-tools (push) Successful in 49s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 29s
ci / badges (push) Skipped
ci / patches-apply (pull_request) Successful in 19s
ci / qemu-tools (pull_request) Successful in 46s
ci / bench (push) Successful in 6s
ci / test (pull_request) Successful in 13s
ci / mcdc (pull_request) Successful in 14s
ci / bench (pull_request) Successful in 6s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 28s
ci / badges (pull_request) Skipped
ci / test (push) Successful in 15s
ci / mcdc (push) Successful in 12s
A flow can now boot the rig with a .w485p profile already installed: SEED_DIR may hold profiles/rs485/<slug>.w485p (plain files, lower-case slug names, nothing else under profiles/), copied to /userdata/warden/profiles/rs485/ where warden-modbus keeps them. Every other subdirectory, symlink or name still fails closed. Needed for flare-edge#387 (a flow whose undos stay pending needs the profile installed at boot; the rig cannot reboot within a flow). seed-dir.sh scenarios 7 and 8 cover the allowed path and five refused ones. Refs blueflare/flare-edge#387. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
d01add5646 |
Merge pull request 'qemu: start warden-modbus before warden-automation' (#12) from qemu-init-modbus-order into flare-edge-next
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 28s
ci / badges (push) Skipped
ci / test (push) Successful in 18s
ci / mcdc (push) Successful in 18s
ci / patches-apply (push) Successful in 17s
ci / bench (push) Successful in 8s
ci / qemu-tools (push) Successful in 46s
|
||
|
|
a828667b0f |
qemu: start warden-modbus before warden-automation in the rig init
ci / quality (push) Successful in 40s
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 17s
ci / qemu-tools (pull_request) Successful in 47s
ci / test (pull_request) Successful in 19s
ci / bench (pull_request) Successful in 8s
ci / patches-apply (pull_request) Successful in 21s
ci / test (push) Successful in 17s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 39s
ci / badges (pull_request) Skipped
ci / mcdc (push) Successful in 19s
ci / bench (push) Successful in 9s
ci / patches-apply (push) Successful in 22s
ci / qemu-tools (push) Successful in 46s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
flare-edge#348 moves the panel's warden-modbus to S21modbus and warden-automation to S22automation, right after S20linkmount, so a held relay closes about 9 s sooner at boot. An automation's device command goes through warden-modbus (flare-edge#331), so modbus starts first. The rig's init starts the same daemons in the panel's S-number order and listed automation before modbus (S93, S94); it now matches the panel. init-daemon-order-test.sh reads the start loop and pins the order; it fails on the old list. Wired into CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
45569611da |
Merge pull request 'relays: refuse a WARDEN_GPIO_ROOT too long for PATH_MAX' (#11) from fix-10-relay-path-bound into flare-edge-next
ci / quality (push) Successful in 29s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 42s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / badges (push) Skipped
ci / test (push) Successful in 13s
ci / mcdc (push) Successful in 10s
ci / patches-apply (push) Successful in 16s
|
||
|
|
b18ed3888b |
relays: refuse a WARDEN_GPIO_ROOT too long for PATH_MAX
ci / test (push) Successful in 16s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / bench (push) Successful in 11s
ci / patches-apply (push) Successful in 22s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 37s
ci / badges (push) Skipped
ci / qemu-tools (pull_request) Successful in 45s
ci / qemu-tools (push) Successful in 49s
ci / test (pull_request) Successful in 17s
ci / mcdc (pull_request) Successful in 19s
ci / bench (pull_request) Successful in 8s
ci / mcdc (push) Successful in 23s
ci / patches-apply (pull_request) Successful in 22s
ci / quality (pull_request) Successful in 34s
ci / badges (pull_request) Skipped
Sysfs paths were built in fixed 80/96-byte stack buffers with unchecked snprintf, so a root longer than about 70 bytes was truncated and both relays silently read as unavailable. Each operation now formats all of its paths up front into PATH_MAX buffers and checks every snprintf return. A root whose longest path does not fit is refused with a stderr line and the call reports unavailable, off or no-op; nothing is ever truncated. The export argument comes from a constant table instead of runtime formatting. Regression tests: a 200-byte root through the fake io (full path reaches the backend), the exact PATH_MAX boundary, one byte over (refused and logged on available, get and set, io untouched), and a real scratch tree under a root over 200 bytes. MC/DC stays at 100% (50/50 conditions). Fixes #10 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
d746ceba6d |
Merge pull request 'S50usbdevice: an unset USB role is client (flare-edge#278)' (#9) from fix-278-s50-role-default into flare-edge-next
ci / quality (push) Successful in 39s
ci / patches-apply (push) Successful in 26s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / test (push) Successful in 17s
ci / mcdc (push) Successful in 24s
ci / bench (push) Successful in 8s
ci / qemu-tools (push) Successful in 46s
ci / badges (push) Skipped
|
||
|
|
5f3db8453b |
S50usbdevice: an unset USB role is client
ci / bench (push) Successful in 6s
ci / mcdc (push) Successful in 12s
ci / patches-apply (push) Successful in 15s
ci / test (pull_request) Successful in 14s
ci / quality (push) Successful in 29s
ci / badges (push) Skipped
ci / test (push) Successful in 13s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / qemu-tools (push) Successful in 42s
ci / patches-apply (pull_request) Successful in 16s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
ci / bench (pull_request) Successful in 4s
ci / mcdc (pull_request) Successful in 14s
ci / qemu-tools (pull_request) Successful in 41s
0004's gate read a missing /userdata/warden/role as router, so a fresh store never composed the gadget and the panel had no usb0 until its second boot (flare-edge#278). Every other role reader defaults unset to client. 0014 changes the gate to match. A new patch rather than an edit to 0004: build-firmware.sh skips an edited, already-applied 0004 as inconclusive, so the runner SDK would keep the old gate. 0014 applies on a pristine replay and on a tree that already carries 0004 and 0008. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
85dc1ee04d |
Merge pull request 'qemu: a reboot tap may lose the control channel; expect_reboot looks back one step' (#8) from qemu-reboot-tap-race into flare-edge-next
ci / bench (push) Successful in 6s
ci / qemu-tools (push) Successful in 41s
ci / patches-apply (push) Successful in 15s
ci / prune-artifacts (push) Skipped
ci / quality (push) Successful in 26s
ci / test (push) Successful in 13s
ci / mcdc (push) Successful in 9s
ci / kernel-build (push) Skipped
ci / badges (push) Skipped
|
||
|
|
6576a4a506 |
qemu: a reboot tap may lose the control channel; expect_reboot looks back one step
ci / test (pull_request) Successful in 13s
ci / mcdc (pull_request) Successful in 13s
ci / bench (pull_request) Successful in 6s
ci / qemu-tools (pull_request) Successful in 40s
ci / patches-apply (push) Successful in 15s
ci / qemu-tools (push) Successful in 42s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / patches-apply (pull_request) Successful in 15s
ci / test (push) Successful in 12s
ci / quality (pull_request) Successful in 28s
ci / badges (pull_request) Skipped
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 6s
ci / quality (push) Successful in 1m5s
ci / badges (push) Skipped
A tap whose outcome is a reboot races init tearing warden-ui down: the control channel can close while the tap's press/release counts are still polled, which made the tap FATAL, and a fast guest can print its restart line before expect_reboot starts, which expect_reboot then ignored. flare-edge's Reboot flow passed about half its rig runs (flare-edge#233). drive() now tells each step the next command and the console size when the previous step began. A tap followed by expect_reboot that loses the channel after its press went out is ok; expect_reboot reads the console from the start of the step before it. Anything earlier still does not count. Tests: RebootTapRace (3 cases) in test_qmp_drive.py; the old driver fails the main one. Rig: settings/system-reboot-restarts 4/4 sequential passes, each through the channel-close path (next: 2/4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
9b0659d30c |
Merge pull request 'Make the patch series reproduce the SDK from a clean vendor checkout' (#7) from sdk4-reproducible into flare-edge-next
ci / quality (push) Successful in 28s
ci / badges (push) Skipped
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / test (push) Successful in 20s
ci / mcdc (push) Successful in 12s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 40s
ci / patches-apply (push) Successful in 15s
|
||
|
|
317ae087fd |
Merge pull request 'qemu: rig init honours reboot, poweroff and halt' (#6) from qemu-init-reboot into flare-edge-next
ci / test (push) Canceled after 0s
ci / mcdc (push) Canceled after 0s
ci / bench (push) Canceled after 0s
ci / qemu-tools (push) Canceled after 0s
ci / patches-apply (push) Canceled after 0s
ci / prune-artifacts (push) Canceled after 0s
ci / kernel-build (push) Canceled after 0s
ci / quality (push) Canceled after 0s
ci / badges (push) Canceled after 0s
|
||
|
|
07db1b9ec0 |
qemu: rig init honours reboot, poweroff and halt
ci / test (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / mcdc (push) Successful in 15s
ci / patches-apply (push) Successful in 22s
ci / qemu-tools (push) Successful in 46s
ci / qemu-tools (pull_request) Successful in 42s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 37s
ci / badges (push) Skipped
ci / test (pull_request) Successful in 13s
ci / mcdc (pull_request) Successful in 11s
ci / bench (pull_request) Successful in 5s
ci / patches-apply (pull_request) Successful in 16s
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
The stage-2 init is a busybox sh script running as PID 1. Busybox reboot, poweroff and halt only signal PID 1 (TERM, USR2, USR1), and the kernel drops a signal PID 1 has no handler for, so a plain reboot did nothing on the rig while a panel's busybox init honours it. Settings > System > Reboot hit exactly that (flare-edge#96). warden_trap_power_signals performs the -f action after a sync, and warden_idle_forever idles with sleep & wait so the trap runs at once instead of after an hour-long foreground sleep. Test: qemu/tests/init-power-signals-test.sh runs the real helpers in sh with stub commands and sends each signal; it fails without the traps and with a foreground sleep, and cannot hang on failure. Fixes #5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
67da1141a0 |
build: unpack the pinned Buildroot tree into the vendor SDK
ci / badges (push) Skipped
ci / mcdc (push) Successful in 18s
ci / test (push) Successful in 17s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 41s
ci / patches-apply (push) Successful in 20s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 31s
ci / test (pull_request) Successful in 15s
ci / mcdc (pull_request) Successful in 13s
ci / bench (pull_request) Successful in 5s
ci / qemu-tools (pull_request) Successful in 39s
ci / patches-apply (pull_request) Successful in 14s
ci / kernel-build (pull_request) Skipped
ci / prune-artifacts (pull_request) Skipped
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
build/unpack-buildroot.sh fetches buildroot-2025.02.8 through fetch-buildroot-tarball.sh (sha256-pinned) and unpacks it to sysdrv/source/buildroot/buildroot-2025.02.8, the tree the patched project/build.sh and sysdrv/Makefile select. It refuses an SDK whose selectors are not patched, leaves an existing tree alone, and never leaves a partial tree at the final path. flare-edge's build-firmware.sh calls it right after applying luckfox-sdk-patches/. Offline regression tests cover the fresh unpack, the existing-tree no-op and every refusal path; the qemu-tools job runs and shellchecks them. Refs #4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
5f36beb44a |
luckfox-sdk-patches: capture the SDK deltas that lived only in one tree
A clean vendor checkout plus this series could not build WardenOS: the workstation SDK that CI copies carried tracked changes and two untracked kernel fragments that no patch recorded (#4). - board/0009: sysdrv/Makefile selects buildroot-2025.02.8 and relaxes the vendor unpack fallback's cp lines. - board/0010: removes the five 2023-era busybox/hcitool package patches. - board/0011: flare_minimize strips camera/ISP payload from /oem. - board/0012: removes the generic S50sshd init script. - board/0013: e2fsprogs BUILD_CFLAGS for gcc 14 host helpers. - kernel/configs: flare-wireguard.config and rv1106-usb-host-ethernet.config, which the 86Panel board .mk names for the vendor 5.10 kernel. Every hunk is git diff output against 824b817f8, byte for byte. Refs #4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
eb0691d84f |
Merge pull request 'Clear the shellcheck findings that would fail qemu-tools' (#3) from sdk-shellcheck into flare-edge-next
ci / kernel-build (push) Skipped
ci / test (push) Successful in 17s
ci / mcdc (push) Successful in 18s
ci / bench (push) Successful in 8s
ci / patches-apply (push) Successful in 16s
ci / prune-artifacts (push) Skipped
ci / qemu-tools (push) Successful in 39s
ci / quality (push) Successful in 26s
ci / badges (push) Skipped
|