K-Detector: Identifying Duplicate Crash Failures in Large-Scale Software Delivery

Hao Yang, Yang Xu, Yong Li, Hyun-Deok Choi
5/31/2022
cs.SE

Official code: SAP-archive/crash-similarity-inspector (6 stars, Python, Apache-2.0, last commit 2023-07-25).

Abstract

After a developer submits code, corresponding test cases arise to ensure the quality of software delivery. Test failures would occur during this period, such as crash, error, and timeout.

Show full abstract

Since it takes time for developers to resolve them, many duplicate failures will happen during this period. In the delivery practice of SAP HANA, crash triage is considered as the most time-consuming task. If duplicate crash failures can be automatically identified, the degree of automation will be significantly enhanced. To find such duplicates, we propose a training-based mathematical model that utilizes component information of SAP HANA to achieve better crash similarity comparison. We implement our approach in a tool named Knowledge-based Detector (K-Detector), which is verified by 11,208 samples and performs 0.986 in AUC. Furthermore, we have deployed K-Detector to the production environment, and it can save 97% human efforts in crash triage as statistics.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Inspect the similarity of crash dumps based on AST, and build syntax tree using Python bindings for Clang.

63PythonApr 15, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2022kdetector,
  title  = {K-Detector: Identifying Duplicate Crash Failures in Large-Scale Software Delivery},
  author = {Hao Yang and Yang Xu and Yong Li and Hyun-Deok Choi},
  year   = {2022},
  eprint = {2205.15972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.15972}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.15972.svg)](https://codeofpaper.com/paper/2205.15972)

Discussion