~/talk

Model-Based Testing for the Zephyr RTOS

Talkat Zephyr Developer Summit 2025 · on Tuesday, 2025-08-26· at 16:20· G106 (Level 1)· [security]
links:none on file
slides:none on file

Model based tests derive executable checks from a formal specification of Zephyr kernel behavior rather than higher level handwavy examples The project models the semaphore API and scheduler in TLA+ and PlusCal uses TLC to generate counterexample traces and translates those traces into ZTest runnable C tests run with Twister The prototype assumes a single core no interrupts assumption explores about ten properties and sometimes yields dozens of test cases per property and targets automated conformance for continuous certification

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.