Inspiration
One command should move one carton. If a controller exits after a station acts, the caller may never learn whether that first move happened. Retrying blindly can move the carton a second time. An embedded QA engineer needs evidence from the station before making a release decision.
What it does
Recheck recreates that restart and verifies the outcome over a separate Modbus/TCP observer connection. Two trials use the same FORTE controller image and the same command ID. Both replacement stations recover the first move. The station with in-memory command history then repeats the move, so the release is blocked. The persistent station remembers the command and finishes at one move, so the check passes.
The workbench lets a reviewer compare outcomes, replay the station readbacks, and download the original run evidence. The same runner works in continuous integration and returns separate statuses for passing, blocking, and incomplete checks.
How it uses QNX
The FORTE controller runs in a QNX 8.0 x86-64 guest under QEMU. A QNX supervisor replaces the controller process after the test output block reaches the post-write checkpoint. The native reference suite also uses QNX message passing to reproduce the lost reply. See forte-supervisor.c and recovery_probe.c in the public source.
What we verified
The recorded run measured 0 → 1 → 1 → 2 with temporary command history and 0 → 1 → 1 → 1 with persistent history, including a read after station replacement. The station and carton are simulated. Reviewers can inspect the recorded workbench in a browser or build and run the test using the instructions in the repository.
Built With
- c
- c++
- eclipse-4diac-forte
- javascript
- pymodbus
- python
- qemu
- qnx-sdp-8.0
- sqlite