What should an interrupted firmware-update test matrix include?
Answer
Interrupt download, validation, erase, copy, swap, first boot and confirmation using lost power, reset, lost network and corrupt data. Verify the old image remains bootable until the new one is validated, retries are bounded, progress metadata is consistent, and the device either resumes safely or rolls back. Include low storage, low battery and multi-image dependencies.
Strong answer includes
- covers every update phase
- requires a bootable recovery path
- includes integrity, capacity and dependency failures
Practical example
An OTA update test suite covers download interruption and power loss, but nobody tests what happens when the battery drops below the safe-write threshold exactly during the image-swap phase. In the field, that exact scenario leaves a device with a half-swapped bootloader pointer, bricking it — a gap the test matrix closes after the incident by adding a battery-level fault injection at each update phase.