Is this Build Failure Related to my Patch? An Empirical Study of Unrelated Build Failures in Continuous Integration

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Huang, Andie, da Costa, Daniel Alencar, Dick, Grant, Mezouar, Mariam El
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913097303719936
author Huang, Andie
da Costa, Daniel Alencar
Dick, Grant
Mezouar, Mariam El
author_facet Huang, Andie
da Costa, Daniel Alencar
Dick, Grant
Mezouar, Mariam El
contents Continuous Integration (CI) systems often run many builds concurrently. In this setting, a legitimate build failure may not be caused by the code push that triggered it. Such unrelated build failures can waste developer effort because developers must determine whether the failure is actionable for their current change. We study 77,354 CI build failures from seven open source Apache projects to understand and predict unrelated build failures. We find that developers spend a median of 4 hours identifying whether a failure is related or unrelated to their push. We also perform a document analysis of 371 confirmed unrelated build failures sampled from 10,316 potentially unrelated failures. The analysis shows that unrelated test failures account for 20% of the cases in which developers classify build failures as unrelated. To predict unrelated build failures, we extract 33 features from issue reports, issue comments, and commits associated with the triggering push. We build semi-supervised Positive and Unlabeled (PU) learning models for seven Apache projects. The models achieve precision from 0.70 to 0.88, recall from 0.30 to 1.00, F1-score from 0.44 to 0.91, and AUC from 0.63 to 0.97. Feature importance analysis shows that CI latency, repeated error messages, and the number of preceding comments are useful indicators of unrelated build failures. These results show that PU learning can help developers identify build failures that are unlikely to be caused by their current push.
format Preprint
id arxiv_https___arxiv_org_abs_2605_05564
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Is this Build Failure Related to my Patch? An Empirical Study of Unrelated Build Failures in Continuous Integration
Huang, Andie
da Costa, Daniel Alencar
Dick, Grant
Mezouar, Mariam El
Software Engineering
Continuous Integration (CI) systems often run many builds concurrently. In this setting, a legitimate build failure may not be caused by the code push that triggered it. Such unrelated build failures can waste developer effort because developers must determine whether the failure is actionable for their current change. We study 77,354 CI build failures from seven open source Apache projects to understand and predict unrelated build failures. We find that developers spend a median of 4 hours identifying whether a failure is related or unrelated to their push. We also perform a document analysis of 371 confirmed unrelated build failures sampled from 10,316 potentially unrelated failures. The analysis shows that unrelated test failures account for 20% of the cases in which developers classify build failures as unrelated. To predict unrelated build failures, we extract 33 features from issue reports, issue comments, and commits associated with the triggering push. We build semi-supervised Positive and Unlabeled (PU) learning models for seven Apache projects. The models achieve precision from 0.70 to 0.88, recall from 0.30 to 1.00, F1-score from 0.44 to 0.91, and AUC from 0.63 to 0.97. Feature importance analysis shows that CI latency, repeated error messages, and the number of preceding comments are useful indicators of unrelated build failures. These results show that PU learning can help developers identify build failures that are unlikely to be caused by their current push.
title Is this Build Failure Related to my Patch? An Empirical Study of Unrelated Build Failures in Continuous Integration
topic Software Engineering
url https://arxiv.org/abs/2605.05564