Efficiently Testing Distributed Systems via Abstract State Space Prioritization
The last five years have seen a rise of model checking guided testing (MCGT) approaches for systematically testing distributed systems. MCGT approaches generate test cases for distributed systems by traversing their verified abstract state spaces, simultaneously solving the three key problems faced in testing distributed systems, i.e., test input generation, test oracle construction and execution space enumeration. However, existing MCGT approaches struggle with traversing the huge state space of distributed systems, which can contain billions of system states. This makes the process of finding bugs time-consuming and expensive, often taking several weeks. <p xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">In this paper, we propose Mosso to speed up model checking guided testing for distributed systems. We observe that there exist lots of redundant test scenarios in the abstract state space of distributed systems. Considering the characteristics of these redundant test scenarios, we propose three strategies: action independence, node symmetry and scenario equivalence, to identify and prioritize unique test scenarios when traversing the state space. We have applied Mosso on three real-world distributed systems. By employing the three strategies, our approach has achieved an average speedup of 56Χ (up to 208Χ) compared to the state-of-art MCGT approach. Additionally, our approach has successfully uncovered 2 previously-unknown bugs.
Authors
- Jun Wei (ORCID: https://orcid.org/0000-0002-8561-2481)
- Wensheng Dou (ORCID: https://orcid.org/0000-0002-3323-0449)
- Yu Gao (ORCID: https://orcid.org/0009-0009-8312-6736)
- Dong Wang (ORCID: https://orcid.org/0009-0008-1874-6608)
- Wenhan Feng (ORCID: https://orcid.org/0009-0002-9856-9723)
Institutions
- Institute of Software (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- IEEE Transactions on Software Engineering
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1109/tse.2025.3618976
- Primary Topic
- Fault Detection and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00