Lune

ASE2020顶会

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Accelerating Continuous Integration with Parallel Batch Testing 引用了 What helped, and what did not? An Evaluation of the Strategies to Improve Continuous Integration
  • Accelerating Continuous Integration with Parallel Batch Testing 引用了 A cost-efficient approach to building in continuous integration
  • BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration Builds 引用了 What helped, and what did not? An Evaluation of the Strategies to Improve Continuous Integration
  • BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration Builds 引用了 A cost-efficient approach to building in continuous integration
  • Resource Usage and Optimization Opportunities in Workflows of GitHub Actions 引用了 What helped, and what did not? An Evaluation of the Strategies to Improve Continuous Integration
  • Resource Usage and Optimization Opportunities in Workflows of GitHub Actions 引用了 Continuous test suite failure prediction
  • Resource Usage and Optimization Opportunities in Workflows of GitHub Actions 引用了 A cost-efficient approach to building in continuous integration
  • What helped, and what did not? An Evaluation of the Strategies to Improve Continuous Integration 引用了 A cost-efficient approach to building in continuous integration
  • Continuous test suite failure prediction 引用了 A cost-efficient approach to building in continuous integration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. What helped, and what did not? An Evaluation of the Strategies to Improve Continuous IntegrationXianhao Jin, Francisco ServantICSE 2021 · 26 次引用
  2. Continuous test suite failure predictionCong Pan, Michael PradelISSTA 2021 · 22 次引用
  3. Resource Usage and Optimization Opportunities in Workflows of GitHub ActionsIslem Bouzenia, Michael PradelICSE 2024 · 15 次引用
  4. BuildSonic: Detecting and Repairing Performance-Related Configuration Smells for Continuous Integration BuildsChen Zhang, Bihuan Chen, Junhao Hu, Xin Peng 等ASE 2022 · 11 次引用
  5. Accelerating Continuous Integration with Parallel Batch TestingEmad Fallahzadeh, Amir Hossein Bavand, Peter C. RigbyFSE 2023 · 10 次引用

它引用的 Paper1

  1. A cost-efficient approach to building in continuous integrationXianhao Jin, Francisco ServantICSE 2020 · 34 次引用

相关 Paper

  1. RavenBuild: Context, Relevance, and Dependency Aware Build Outcome PredictionGengyi Sun, Sarra Habchi, Shane McIntoshFSE 2024 · 8 次引用
  2. Commit Artifact Preserving Build PredictionGuoqing Wang, Zeyu Sun, Yizhou Chen, Yifan Zhao 等ISSTA 2024 · 3 次引用
  3. Buildsheriff: Change-Aware Test Failure Triage for Continuous Integration BuildsChen Zhang, Bihuan Chen, Xin Peng, Wenyun ZhaoICSE 2022 · 10 次引用
  4. 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 次引用
  5. Towards language-independent Brown Build DetectionDoriane Olewicki, Mathieu Nayrolles, Bram AdamsICSE 2022 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖