BUILDFAST: History-Aware Build Outcome Prediction for Fast Feedback and Reduced Cost in Continuous Integration
Bihuan Chen, Linlin Chen, Chen Zhang, Xin Peng
摘要
Long build times in continuous integration (CI) can greatly increase the cost in human and computing resources, and thus become a common barrier faced by software organizations adopting CI. Build outcome prediction has been proposed as one of the remedies to reduce such cost. However, the state-of-the-art approaches have a poor prediction performance for failed builds, and are not designed for practical usage scenarios. To address the problems, we first conduct an empirical study on 2,590,917 builds to characterize build times in realworld projects, and a survey with 75 developers to understand their perceptions about build outcome prediction. Then, motivated by our study and survey results, we propose a new history-aware approach, named BuildFast, to predict CI build outcomes cost-efficiently and practically. We develop multiple failure-specific features from closely related historical builds via analyzing build logs and changed files, and propose an adaptive prediction model to switch between two models based on the build outcome of the previous build. We investigate a practical online usage scenario of BuildFast, where builds are predicted in chronological order, and measure the benefit from correct predictions and the cost from incorrect predictions. Our experiments on 20 projects have shown that BuildFast improved the state-of-the-art by 47.5% in F1-score for failed builds. CCS CONCEPTS • Software and its engineering → Maintaining software.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper11
- What helped, and what did not? An Evaluation of the Strategies to Improve Continuous IntegrationXianhao Jin, Francisco ServantICSE 2021 · 被引用 26 次
- Continuous test suite failure predictionCong Pan, Michael PradelISSTA 2021 · 被引用 22 次
- Resource Usage and Optimization Opportunities in Workflows of GitHub ActionsIslem Bouzenia, Michael PradelICSE 2024 · 被引用 15 次
- BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration BuildsChen Zhang, Bihuan Chen, Junhao Hu, Xin Peng 等ASE 2022 · 被引用 11 次
- Accelerating Continuous Integration with Parallel Batch TestingEmad Fallahzadeh, Amir Hossein Bavand, Peter C. RigbyFSE 2023 · 被引用 10 次
它引用的顶会 Paper1
相关 Paper
- RavenBuild: Context, Relevance, and Dependency Aware Build Outcome PredictionGengyi Sun, Sarra Habchi, Shane McIntoshFSE 2024 · 被引用 8 次
- Commit Artifact Preserving Build PredictionGuoqing Wang, Zeyu Sun, Yizhou Chen, Yifan Zhao 等ISSTA 2024 · 被引用 3 次
- Buildsheriff: Change-Aware Test Failure Triage for Continuous Integration BuildsChen Zhang, Bihuan Chen, Xin Peng, Wenyun ZhaoICSE 2022 · 被引用 10 次
- Towards language-independent Brown Build DetectionDoriane Olewicki, Mathieu Nayrolles, Bram AdamsICSE 2022 · 被引用 17 次
- Understanding and Predicting Docker Build Duration: An Empirical Study of Containerized Workflow of OSS ProjectsYiwen Wu, Yang Zhang, Kele Xu, Tao Wang 等ASE 2022 · 被引用 13 次
