paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Failure clustering without coverage

无覆盖率信息的失败聚类
ISSTA Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis2019匹配度 2/10 · 该论文属于软件测试与调试领域,研究汽车回归测试中的失败测试聚类与代表样本选择,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户核心研究方向仅有间接的失败分析与工业落地相关性。引用 19 inbox
Mojdeh Golagha, Constantin Lehnhoff, Alexander Pretschner, Hermann Ilmberger
crossref: 2026-09-12

AI 速览

一句话:提出不依赖代码覆盖率的失败测试聚类方法,并为每个簇选取代表性测试,以加速汽车回归测试中的故障分析。

汽车软件回归测试中,大量硬件在环(HIL)测试会因少数故障而失败,逐一分析失败测试代价高昂。本文提出一种不依赖代码覆盖率的失败聚类技术:从三类来源抽取非代码特征,对失败 HIL 测试进行聚类,并为每个簇选取一个代表性测试。测试人员只需检查代表性测试,而无需分析全部失败测试,以定位底层故障。作者在某大型汽车公司使用 86 次回归测试运行、8743 个失败测试和 1531 个故障进行评估。结果表明,该工具可减少超过 60% 的分析时间,并且仅检查代表性测试即可发现超过 80% 的故障。

问题
汽车回归测试中大量失败测试由少数故障导致,逐一分析所有失败 HIL 测试耗时且代价高。
方法
从三类来源提取非代码特征,对失败测试进行聚类,并为每个簇选取代表性测试供人工检查。
评估
在大型汽车公司用 86 次回归运行、8743 个失败测试和 1531 个故障评估,分析时间减少超过 60%,仅检查代表性测试可发现超过 80% 的故障。
原文摘要(Abstract)

Developing and integrating software in the automotive industry is a complex task and requires extensive testing. An important cost factor in testing and debugging is the time required to analyze failing tests. In the context of regression testing, usually, large numbers of tests fail due to a few underlying faults. Clustering failing tests with respect to their underlying faults can, therefore, help in reducing the required analysis time. In this paper, we propose a clustering technique to group failing hardware-in-the-loop tests based on non-code-based features, retrieved from three different sources. To effectively reduce the analysis effort, the clustering tool selects a representative test for each cluster. Instead of analyzing all failing tests, testers only inspect the representative tests to find the underlying faults. We evaluated the effectiveness and efficiency of our solution in a major automotive company using 86 regression test runs, 8743 failing tests, and 1531 faults. The results show that utilizing our clustering tool, testers can reduce the analysis time more than 60% and find more than 80% of the faults only by inspecting the representative tests.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5341,
  title = {Failure clustering without coverage},
  author = {Mojdeh Golagha and Constantin Lehnhoff and Alexander Pretschner and Hermann Ilmberger},
  booktitle = {ISSTA},
  year = {2019},
  doi = {10.1145/3293882.3330561}
}