Cast: Automated Resilience Testing for Production Cloud Service Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Zhuangbin, Deng, Zhiling, Zhang, Kaiming, Liu, Yang, Cui, Cheng, Zhong, Jinfeng, Zheng, Zibin
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914299015856128
author Chen, Zhuangbin
Deng, Zhiling
Zhang, Kaiming
Liu, Yang
Cui, Cheng
Zhong, Jinfeng
Zheng, Zibin
author_facet Chen, Zhuangbin
Deng, Zhiling
Zhang, Kaiming
Liu, Yang
Cui, Cheng
Zhong, Jinfeng
Zheng, Zibin
contents The distributed nature of microservice architecture introduces significant resilience challenges. Traditional testing methods, limited by extensive manual effort and oversimplified test environments, fail to capture production system complexity. To address these limitations, we present Cast, an automated, end-to-end framework for microservice resilience testing in production. It achieves high test fidelity by replaying production traffic against a comprehensive library of application-level faults to exercise internal error-handling logic. To manage the combinatorial test space, Cast employs a complexity-driven strategy to systematically prune redundant tests and prioritize high-value tests targeting the most critical service execution paths. Cast automates the testing lifecycle through a three-phase pipeline (i.e., startup, fault injection, and recovery) and uses a multi-faceted oracle to automatically verify system resilience against nuanced criteria. Deployed in Huawei Cloud for over eight months, Cast has been adopted by many service teams to proactively address resilience vulnerabilities. Our analysis on four large-scale applications with millions of traces reveals 137 potential vulnerabilities, with 89 confirmed by developers. To further quantify its performance, Cast is evaluated on a benchmark set of 48 reproduced bugs, achieving a high coverage of 90%. The results show that Cast is a practical and effective solution for systematically improving the reliability of industrial microservice systems.
format Preprint
id arxiv_https___arxiv_org_abs_2602_00972
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Cast: Automated Resilience Testing for Production Cloud Service Systems
Chen, Zhuangbin
Deng, Zhiling
Zhang, Kaiming
Liu, Yang
Cui, Cheng
Zhong, Jinfeng
Zheng, Zibin
Software Engineering
The distributed nature of microservice architecture introduces significant resilience challenges. Traditional testing methods, limited by extensive manual effort and oversimplified test environments, fail to capture production system complexity. To address these limitations, we present Cast, an automated, end-to-end framework for microservice resilience testing in production. It achieves high test fidelity by replaying production traffic against a comprehensive library of application-level faults to exercise internal error-handling logic. To manage the combinatorial test space, Cast employs a complexity-driven strategy to systematically prune redundant tests and prioritize high-value tests targeting the most critical service execution paths. Cast automates the testing lifecycle through a three-phase pipeline (i.e., startup, fault injection, and recovery) and uses a multi-faceted oracle to automatically verify system resilience against nuanced criteria. Deployed in Huawei Cloud for over eight months, Cast has been adopted by many service teams to proactively address resilience vulnerabilities. Our analysis on four large-scale applications with millions of traces reveals 137 potential vulnerabilities, with 89 confirmed by developers. To further quantify its performance, Cast is evaluated on a benchmark set of 48 reproduced bugs, achieving a high coverage of 90%. The results show that Cast is a practical and effective solution for systematically improving the reliability of industrial microservice systems.
title Cast: Automated Resilience Testing for Production Cloud Service Systems
topic Software Engineering
url https://arxiv.org/abs/2602.00972