Flake Aware Culprit Finding

被引:3
|
作者
Henderson, Tim A. D. [1 ]
Dorward, Bobby [1 ]
Nickell, Eric [1 ]
Johnston, Collin [1 ]
Kondareddy, Avi [1 ]
机构
[1] Google LLC, 1600 Amphitheatre Pkwy, Mountain View, CA 94043 USA
关键词
SOFTWARE; SEARCH;
D O I
10.1109/ICST57152.2023.00041
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
When a change introduces a bug into a large software repository, there is often a delay between when the change is committed and when bug is detected. This is true even when the bug causes an existing test to fail! These delays are caused by resource constraints which prevent the organization from running all of the tests on every change. Due to the delay, a Continuous Integration system needs to locate buggy commits. Locating them is complicated by flaky tests that pass and fail non-deterministically. The flaky tests introduce noise into the CI system requiring costly reruns to determine if a failure was caused by a bad code change or caused by non-deterministic test behavior. This paper presents an algorithm, Flake Aware Culprit Finding, that locates buggy commits more accurately than a traditional bisection search. The algorithm is based on Bayesian inference and noisy binary search, utilizing prior information about which changes are most likely to contain the bug. A large scale empirical study was conducted at Google on 13,000+ test breakages. The study evaluates the accuracy and cost of the new algorithm versus a traditional deflaked bisection search.
引用
收藏
页码:362 / 373
页数:12
相关论文
共 50 条
  • [41] Flake涂料
    聂谕
    涂料工业, 1982, (03) : 56 - 56
  • [42] FLAKE THAT STEAK
    不详
    FOOD MANUFACTURE, 1980, 55 (03): : 35 - +
  • [43] Towards social-aware interesting place finding in social sensing applications
    Huang, Chao
    Wang, Dong
    Mann, Brian
    KNOWLEDGE-BASED SYSTEMS, 2017, 123 : 31 - 40
  • [44] A Generic Technique for Automatically Finding Defense-Aware Code Reuse Attacks
    Schwartz, Edward J.
    Cohen, Cory F.
    Gennari, Jeffrey S.
    Schwartz, Stephanie M.
    CCS '20: PROCEEDINGS OF THE 2020 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2020, : 1789 - 1801
  • [45] Context-Aware Expert Finding in Tag Based Knowledge Sharing Communities
    Zhu, Hengshu
    Chen, Enhong
    Cao, Huanhuan
    Tian, Jilei
    INTERNATIONAL JOURNAL OF KNOWLEDGE AND SYSTEMS SCIENCE, 2012, 3 (01) : 48 - 63
  • [46] Pallas: Semantic-aware checking for finding deep bugs in fast path
    Huang J.
    Allen-Bond M.
    Zhang X.
    1600, Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States (52): : 709 - 722
  • [47] Finding the best learning to rank algorithms for effort-aware defect prediction
    Yu, Xiao
    Dai, Heng
    Li, Li
    Gu, Xiaodong
    Keung, Jacky Wai
    Bennin, Kwabena Ebo
    Li, Fuyang
    Liu, Jin
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 157
  • [48] Perception-Aware Path Finding and Following of Snake Robot in Unknown Environment
    Yang, Weixin
    Wang, Gang
    Shen, Yantao
    2020 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2020, : 5925 - 5930
  • [49] ExpertRank: A topic-aware expert finding algorithm for online knowledge communities
    Wang, G. Alan
    Jiao, Jian
    Abrahams, Alan S.
    Fan, Weiguo
    Zhang, Zhongju
    DECISION SUPPORT SYSTEMS, 2013, 54 (03) : 1442 - 1451
  • [50] PALLAS: Semantic-Aware Checking for Finding Deep Bugs in Fast Path
    Huang, Jian
    Allen-Bond, Michael
    Zhang, Xuechen
    ACM SIGPLAN NOTICES, 2017, 52 (04) : 709 - 722