Beyond Fixed Fault Models: Comparing LLM-Based and Rule-Based Fault Injection in OpenStack
Abstract
Software Fault Injection (SFI) supports testing of cloud systems by introducing software defects and observing their manifestation. Rule-based injectors such as ProFIPy provide controlled and reproducible source-level mutations but require fault patterns to be encoded manually. Large Language Models (LLMs) offer a data-driven alternative by generating context-dependent software faults. We compare two code LLMs, Qwen2.5-Coder and DeepSeek-Coder, with ProFIPy in OpenStack's Nova and Cinder services. On shared injection targets, activation and observable-failure rates are comparable, but operational profiles differ: LLM-generated faults produce more Catastrophic outcomes on Nova, whereas ProFIPy produces more Silent and Multi-component effects. The sampled LLM outputs also differ in how they manifest failure, while showing greater agreement in their propagation scope. These findings show that LLM-based fault injection extends the behavioral coverage of fixed fault models without establishing general superiority, and that practical adoption still requires controlled generation, runtime validation, system-level oracles, and reproducible experimental provenance.
Create a lesson
Related papers
Beyond Static GUI Agent: Evolving LLM-based GUI Testing via Dynamic Memory
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
Comparing Identifier Naming Practices Between Chinese and American Developers
Shared title terminologycs.SEHsin-Chun Yin, Dror G. Feitelson
Comparing Humans and LLMs in Software Engineering Research
Shared title terminologycs.SEMarc Herrmann, Tolga Çakır, Michael Mircea et al.
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Shared title terminologycs.SEPriyatham Kattakinda, Wenxiao Wang, Soheil Feizi
BRIEF: An Evidence-Assessed Repair-Intent Interface for LLM-Based Program Repair
Shared title terminologycs.SEYi Su, Zhenghang Zhao, Wei Cheng et al.
How do Execution Features Improve Statistical Fault Localization? An Empirical Study
Shared title terminologycs.SEMarius Smytzek, Andreas Zeller