CoChat

Latent error prediction and fault localization for microservice applications by learning from system trace logs

Open access
Zhou, Xiang, Peng, Xin, Xie, Tao, Sun, Jun, Ji, Chao, Liu, Dewei, Xiang, Qilin, He, Chuan · 2019 · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering

The 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

Crossref · 10.1145/3338906.3338961

Cites

46 of 46 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

The text we found for this paper looks like another document, so its claims and self-check weren’t run. The registry and citation checks still apply.

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,…”
    Background
  • Simplifying and isolating failure-inducing input

    Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,079

  • Dynamic program slicing

    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,…”
    Background
  • Experience 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].”
    Background
  • Fault 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,…”
    Background
  • Microservices: 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.”
    Background
  • A 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…”
    Background
  • Isolating 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]).”
    Background
  • Fault Analysis and Debugging of Microservice Systems: Industrial Survey, Benchmark System, and Empirical Study

    Zhou, 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

Show all 46 references

Research works printed but not linked: 29

  1. Abreu Rui, Proc. 8th Symposium on Abstraction, Reformulation, and Approximation.
  2. Benchmark TrainTicket, 2018, Retrieved
  3. Borthakur Dhruba, 2019, Retrieved
  4. 10.5555/1337691.1338380 · doi:10.5555/1337691.1338380
  5. Brun Yuriy, Proc. 26th International Conference on Software Engineering. 480–490
  6. 10.5555/1787746.1787766 · doi:10.5555/1787746.1787766
  7. Cellier Peggy, 2011, Proc. 23rd International Conference on Software Engineering & Knowledge Engineering. 238–243
  8. DeMillo Richard A., Proc. 21st International Computer Software and Applications Conference. 515–521
  9. 10.5555/3220880.3220971 · doi:10.5555/3220880.3220971
  10. 2018, Retrieved
  11. He Shilin, Proc. 27th IEEE International Symposium on Software Reliability Engineering. 207–218
  12. 2018, Retrieved
  13. 2018, Retrieved
  14. 2018, Retrieved
  15. 2018, Retrieved
  16. 10.5555/3006433.3006470 · doi:10.5555/3006433.3006470
  17. 2018, Retrieved
  18. Morgan William, 2017, Retrieved
  19. Project The, 2019, Retrieved
  20. 10.5220/0006683804000408 · doi:10.5220/0006683804000408
  21. 2016, Retrieved
  22. Renieris Manos, Proc. 18th IEEE International Conference on Automated Software Engineering. 30–39
  23. 2019, Retrieved
  24. 2018, Retrieved
  25. 2018, Retrieved
  26. 2018, Retrieved
  27. 2018, Retrieved
  28. 10.5555/2337223.2337236 · doi:10.5555/2337223.2337236
  29. Zhou Xiang, 2018, Benchmark System, and Empirical Study

Cited by

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.