Lune

ICSE2022Top-tier venue

Buildsheriff: Change-Aware Test Failure Triage for Continuous Integration Builds

Chen Zhang, Bihuan Chen, Xin Peng, Wenyun Zhao

Abstract

Test failures are one of the most common reasons for broken builds in continuous integration. It is expensive to diagnose all test failures in a build. As test failures are usually caused by a few underlying faults, triaging test failures with respect to their underlying root causes can save test failure diagnosis cost. Existing failure triage methods are mostly developed for triaging crash or bug reports, and hence not applicable in the context of test failure triage in continuous integration. In this paper, we first present a large-scale empirical study on 163,371 broken builds caused by test failures to characterize test failures in realworld Java projects. Then, motivated by our study, we propose a new change-aware approach, BuildSheriff, to triage test failures in each continuous integration build such that test failures with the same root cause are put in the same cluster. Our evaluation on 200 broken builds has demonstrated that BuildSheriff can significantly improve the state-of-the-art methods on the triaging effectiveness.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building cites BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration Builds
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration BuildsChen Zhang, Bihuan Chen, Junhao Hu, Xin Peng et al.ASE 2022 · 11 citations
  2. CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software BuildingZhengmin Yu, Yuan Zhang, Ming Wen, Yinan Nie et al.FSE 2025 · 2 citations
  3. What Happened in This Pipeline? Diffing Build Logs with CiDiffNicolas Hubner, Jean-Rémy Falleri, Raluca Uricaru, Thomas Degueule et al.ISSTA 2025

Builds on1

  1. Scaffle: bug localization on millions of filesMichael Pradel, Vijayaraghavan Murali, Rebecca Qian, Mateusz Machalica et al.ISSTA 2020 · 34 citations

Related papers

  1. BUILDFAST: History-Aware Build Outcome Prediction for Fast Feedback and Reduced Cost in Continuous IntegrationBihuan Chen, Linlin Chen, Chen Zhang, Xin PengASE 2020 · 32 citations
  2. Continuous test suite failure predictionCong Pan, Michael PradelISSTA 2021 · 22 citations
  3. A cost-efficient approach to building in continuous integrationXianhao Jin, Francisco ServantICSE 2020 · 34 citations
  4. An Empirical Analysis of UI-based Flaky TestsAlan Romano, Zihe Song, Sampath Grandhi, Wei Yang et al.ICSE 2021 · 43 citations
  5. Towards language-independent Brown Build DetectionDoriane Olewicki, Mathieu Nayrolles, Bram AdamsICSE 2022 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines