~/talk

Model-Based Testing for the Zephyr RTOS

Talkat Open Source Summit Europe 2025 · on Tuesday, 2025-08-26· at 16:20· G106 (Level 1)· [testing]
links:none on file
slides:none on file

Model-based approach creates a formal spec of the Zephyr semaphore API in PlusCal/TLA+ and TLC, produces counterexample traces (about 10 properties explored, one property yielding ~90 traces), and translates traces into ZTest runnable C tests run via Twister. Implementation assumes single-core no-interrupts so scheduling is deterministic; the test-generation script is promised on the GitHub repo but not yet included. This is a small feasibility case, not full-system continuous certification yet.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25UL Solutions and safety-critical domains
  3. 2:54Zephyr RTOS certification challenges
  4. 5:23Formal requirement specification
  5. 7:10Model-based testing overview
  6. 11:12Semaphore API formal modeling
  7. 16:06PlusCal and TLA+ modeling
  8. 18:38Model checking and verification
  9. 20:51Runnable test case generation
  10. 25:04Automated conformance testing benefits
  11. 27:09Future work and challenges
  12. 30:24Q&A
  13. 30:44Validating model requirements
  14. 32:08Model bias from implementation
  15. 33:56Existing tests and coverage
  16. 38:17Case study properties and counterexamples
  17. 40:04Safety properties and scalability
  18. 43:20Alternative modeling languages
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.