H ybrid CIS ave : A Combined Build and Test Selection Approach in Continuous Integration

Author:

Jin Xianhao1,Servant Francisco2

Affiliation:

1. Virginia Tech, U.S.A.

2. Universidad de Málaga, Spain

Abstract

Continuous integration (CI) is a popular practice in modern software engineering. Unfortunately, it is also a high-cost practice — Google and Mozilla estimate their CI systems in millions of dollars. To reduce the computational cost in CI, researchers developed approaches to selectively execute builds or tests that are likely to fail (and skip those likely to pass). In this paper, we present a novel hybrid technique ( Hybrid CIS ave ) to improve on the limitations of existing techniques: to provide higher cost savings and higher safety. To provide higher cost savings, Hybrid CIS ave combines techniques to predict and skip executions of both full builds that are predicted to pass and partial ones (only the tests in them predicted to pass). To provide higher safety, Hybrid CIS ave combines the predictions of multiple techniques to obtain stronger certainty before it decides to skip a build or test. We evaluated Hybrid CIS ave by comparing its effectiveness with the existing build selection techniques over 100 projects, and found that it provided higher cost savings at the highest safety. We also evaluated each design decision in Hybrid CIS ave and found that skipping both full and partial builds increased its cost savings and that combining multiple test selection techniques made it safer.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference128 articles.

1. A Machine Learning Approach to Improve the Detection of CI Skip Commits

2. Rabe Abdalkareem Suhaib Mujahid Emad Shihab and Juergen Rilling. 2019. Which Commits can be CI Skipped?IEEE Transactions on Software Engineering(2019). Rabe Abdalkareem Suhaib Mujahid Emad Shihab and Juergen Rilling. 2019. Which Commits can be CI Skipped?IEEE Transactions on Software Engineering(2019).

3. Khadijah Al Safwan Mohammed Elarnaoty and Francisco Servant. 2022. Developers’ Need for the Rationale of Code Commits: An In-breadth and In-depth Study. Journal of Systems and Software(2022). Khadijah Al Safwan Mohammed Elarnaoty and Francisco Servant. 2022. Developers’ Need for the Rationale of Code Commits: An In-breadth and In-depth Study. Journal of Systems and Software(2022).

4. Khadijah Al Safwan and Francisco Servant . 2019 . Decomposing the Rationale of Code Commits: The Software Developer’s Perspective. In Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. Khadijah Al Safwan and Francisco Servant. 2019. Decomposing the Rationale of Code Commits: The Software Developer’s Perspective. In Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering.

5. B Azhagusundari , Antony Selvadoss Thanamani , et al . 2013 . Feature Selection based on Information Gain. International Journal of Innovative Technology and Exploring Engineering ( 2013). B Azhagusundari, Antony Selvadoss Thanamani, et al. 2013. Feature Selection based on Information Gain. International Journal of Innovative Technology and Exploring Engineering (2013).

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Commit Artifact Preserving Build Prediction;Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis;2024-09-11

2. Dependency-Induced Waste in Continuous Integration: An Empirical Study of Unused Dependencies in the npm Ecosystem;Proceedings of the ACM on Software Engineering;2024-07-12

3. RavenBuild: Context, Relevance, and Dependency Aware Build Outcome Prediction;Proceedings of the ACM on Software Engineering;2024-07-12

4. Practitioners’ Challenges and Perceptions of CI Build Failure Predictions at Atlassian;Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering;2024-07-10

5. Understanding the Impact of Branch Edit Features for the Automatic Prediction of Merge Conflict Resolutions;Proceedings of the 32nd IEEE/ACM International Conference on Program Comprehension;2024-04-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3