Hardware-in-the-Loop CI

How to wire real GPUs and boards into CI as hardware-in-the-loop test benches: self-hosted runners, exclusive leasing, flash-test-recover loops, and bricked-board recovery.

Key concepts

  • Hardware-in-the-Loop (HIL)
  • Bench node and self-hosted runner
  • Runner labels and targeting
  • Exclusive lease and serialization
  • Flash-test-recover loop
  • Out-of-band management (BMC/IPMI/PDU)
  • Golden recovery image and watchdog

Interview questions

  • How do you wire a GPU test bench into GitHub Actions as a self-hosted runner that only accepts jobs for its specific hardware?
  • How do you serialize exclusive access to a limited pool of boards so many concurrent jobs never collide on the same physical part?
  • How do you automatically recover a board that a bad firmware flash just bricked, so you do not permanently lose the runner?
  • How do you capture and report HIL results and serial console logs back to the PR?
  • How do you scale a device farm when you have far more PRs than physical boards?
  • How do you reduce flaky hardware failures so real regressions are not lost in physical-hardware noise?

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio