Latent error prediction and fault localization for microservice applications by learning from system trace logs
Open accessThe DOI matches its Crossref record; 46 of the 46 references it cites were found in a registry or an index.
Abstract
In the production environment, a large part of microservice failures are related to the complex and dynamic interactions and runtime environments, such as those related to multiple instances, environmental configurations, and asynchronous interactions of microservices. Due to the complexity and dynamism of these failures, it is often hard to reproduce and diagnose them in testing environments. It is desirable yet still challenging that these failures can be detected and the faults can be located at runtime of the production environment to allow developers to resolve them efficiently. To address this challenge, in this paper, we propose MEPFL, an approach of latent error prediction and fault localization for microservice applications by learning from system trace logs. Based on a set of features defined on the system trace logs, MEPFL trains prediction models at both the trace level and the microservice level using the system trace logs collected from automatic executions of the target application and its faulty versions produced by fault injection. The prediction models thus can be used in the production environment to predict latent errors, faulty microservices, and fault types for trace instances captured at runtime. We implement MEPFL based on the infrastructure systems of container orchestrator and service mesh, and conduct a series of experimental studies with two opensource microservice applications (one of them being the largest open-source microservice application to our best knowledge). The results indicate that MEPFL can achieve high accuracy in intraapplication prediction of latent errors, faulty microservices, and fault types, and outperforms a state-of-the-art approach of failure diagnosis for distributed systems. The results also show that MEPFL can effectively predict latent errors caused by real-world fault cases.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The text we found for this paper looks like another document, so the self-check wasn’t run.
Citations
Cites
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110 · cited 2×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundSimplifying and isolating failure-inducing input
Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,079
Agrawal, H., & Horgan, J. R. (1990) · Proceedings of the ACM SIGPLAN 1990 conference on Programming language design and implementation - PLDI '90 · doi:10.1145/93542.93576 · Cited by 867 · cited 1×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundExperience Report: System Log Analysis for Anomaly Detection
He, S., Zhu, J., He, P., & Lyu, M. R. (2016) · 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre.2016.21 · Cited by 593 · cited 1×
“However, these approaches can only uncover anomalies or failures within the cloud infrastructure such as computing nodes [32] and storage [24].”
BackgroundFault Localization with Nearest Neighbor Queries
Renieris, M., & Reiss, S. P. (2003) · Cited by 587
An Evaluation of Similarity Coefficients for Software Fault Localization
Abreu, R., Zoeteweij, P., & Van Gemund, A. (2006) · 2006 12th Pacific Rim International Symposium on Dependable Computing (PRDC'06) · doi:10.1109/prdc.2006.18 · Cited by 563 · cited 1×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundMicroservices: The Journey So Far and Challenges Ahead
Jamshidi, P., Pahl, C., Mendonca, N. C., Lewis, J., & Tilkov, S. (2018) · IEEE Software · doi:10.1109/ms.2018.2141039 · Cited by 554 · cited 1×
“In the production environment, microservice applications typically are fragile [26], often failing due to infrastructure (e.”
BackgroundA model for spectra-based software diagnosis
Naish, L., Lee, H. J., & Ramamohanarao, K. (2011) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2000791.2000795 · Cited by 536 · cited 1×
“…approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15, 16, 39]), and…”
BackgroundIsolating cause-effect chains from computer programs
Zeller, A. (2002) · Proceedings of the 10th ACM SIGSOFT symposium on Foundations of software engineering · doi:10.1145/587051.587053 · Cited by 530 · cited 1×
“…localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15, 16, 39]), and model-based fault localization (e.g. [1, 9, 19, 35]).”
BackgroundZhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Li, W., & Ding, D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2887384 · Cited by 410 · cited 4×
“According to an existing empirical study [61], almost half of all studied microservice application faults are of these three types.”
BackgroundMethodInfluentialSelf-citation
Research works printed but not linked: 29
- Abreu Rui, Proc. 8th Symposium on Abstraction, Reformulation, and Approximation.
- Benchmark TrainTicket, 2018, Retrieved
- Borthakur Dhruba, 2019, Retrieved
- 10.5555/1337691.1338380 · doi:10.5555/1337691.1338380
- Brun Yuriy, Proc. 26th International Conference on Software Engineering. 480–490
- 10.5555/1787746.1787766 · doi:10.5555/1787746.1787766
- Cellier Peggy, 2011, Proc. 23rd International Conference on Software Engineering & Knowledge Engineering. 238–243
- DeMillo Richard A., Proc. 21st International Computer Software and Applications Conference. 515–521
- 10.5555/3220880.3220971 · doi:10.5555/3220880.3220971
- 2018, Retrieved
- He Shilin, Proc. 27th IEEE International Symposium on Software Reliability Engineering. 207–218
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 10.5555/3006433.3006470 · doi:10.5555/3006433.3006470
- 2018, Retrieved
- Morgan William, 2017, Retrieved
- Project The, 2019, Retrieved
- 10.5220/0006683804000408 · doi:10.5220/0006683804000408
- 2016, Retrieved
- Renieris Manos, Proc. 18th IEEE International Conference on Automated Software Engineering. 30–39
- 2019, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 10.5555/2337223.2337236 · doi:10.5555/2337223.2337236
- Zhou Xiang, 2018, Benchmark System, and Empirical Study
Cited by
A Survey on Automated Log Analysis for Reliability Engineering
He, S., He, P., Chen, Z., Yang, T., Su, Y., & Lyu, M. R. (2022) · ACM Computing Surveys · doi:10.1145/3460345 · Cited by 334
“[202] manually identified various types of features from system trace logs, including configuration (e.”
BackgroundMethodSoldani, J., & Brogi, A. (2023) · ACM Computing Surveys · doi:10.1145/3501297 · Cited by 256
“In the case of supervised learning-based techniques [8, 22, 23, 52, 60, 97], the false positives and false negatives possibly caused by the training problem impact not only on anomaly detection, but also on the identification of the failure corresponding to a detected anomaly.”
BackgroundMethodInfluentialUnsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks
Liu, P., Xu, H., Ouyang, Q., Jiao, R., Chen, Z., Zhang, S., Yang, J., Mo, L., Zeng, J., Xue, W., et al. (2020) · 2020 IEEE 31st International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre5003.2020.00014 · Cited by 252
“The defined features of MEPFL [46] cannot reflect the invocation path anomaly, which leads to the bad performance.”
BackgroundMethodInfluentialSemi-Supervised Log-Based Anomaly Detection via Probabilistic Label Estimation
Yang, L., Chen, J., Wang, Z., Wang, W., Jiang, J., Dong, X., & Zhang, W. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00130 · Cited by 244
Experience Report: Deep Learning-based System Log Analysis for Anomaly Detection
Chen, Z., Liu, J., Gu, W., Su, Y., & Lyu, M. R.-T. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.05908 · Cited by 60
“Typical applications of logs include anomaly detection [9, 17, 47], failure prediction [40, 41], failure diagnosis [51, 55], and others [3].”
Metadata
- Authors
- Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Liu, D., Xiang, Q., & He, C.
- Affiliations
- Fudan University (CN)
- University of Illinois Urbana-Champaign (US)
- Singapore Management University (SG)
- Venue
- Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2019-08-12
- Pages
- 683-694
- OpenAlex
- W2966971704
- Cited by
- 277
- References
- 46
- Citations by year
- 2026: 26 · 2025: 55 · 2024: 50 · 2023: 51 · 2022: 41 · 2021: 40 · 2020: 13 · 2019: 1
- FWCI
- 20.53
- Type
- conference paper
- Language
- en
- Open access
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- Singapore Management University Institutional Knowledge (InK) (Singapore Management University) (submittedVersion, other-oa)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- microservice applications, fault location, fault injection, distributed systems, container orchestration, service mesh
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.