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 条
  • [1] Hypercalcemia: whodunit? finding the culprit
    Pedreira-Garcia, W. M.
    Irizarry-Garcia, J. J.
    Cortes, C. A.
    SanVicente-Morales, G.
    Caceres, W.
    AMERICAN JOURNAL OF THE MEDICAL SCIENCES, 2024, 367 : S183 - S183
  • [2] Finding the culprit in your heart
    Tabas, Ira
    NATURE MEDICINE, 2011, 17 (07) : 791 - 793
  • [3] FINDING OF A DINOFLAGELLATE AS A LIKELY CULPRIT OF CIGUATERA
    YASUMOTO, T
    NAKAJIMA, I
    BAGNIS, R
    ADACHI, R
    BULLETIN OF THE JAPANESE SOCIETY OF SCIENTIFIC FISHERIES, 1977, 43 (08): : 1021 - 1026
  • [4] Haemodialysis related anaphylaxis - finding the culprit
    Leblanc, A.
    Coentrao, L.
    Martins, P.
    Carvalho, B.
    Botelho, C.
    Castro, E.
    ALLERGY, 2010, 65 : 231 - 231
  • [5] Branch retinal artery occlusion - Finding the culprit!
    Poornachandra, B.
    Sharma, Karen
    Sudhakar, Neha Peraka
    Gadde, Santosh Gopi Krishna
    Jayadev, Chaitra
    INDIAN JOURNAL OF OPHTHALMOLOGY, 2020, 68 (01) : 196 - 198
  • [6] Finding the culprit: Federal policy and teacher education
    Earley, PM
    EDUCATIONAL POLICY, 2000, 14 (01) : 25 - 39
  • [7] APCVD defects - part 1: finding and identifying the culprit
    Noren, Carl
    DePinto, Gary
    Hiatt, Mark
    Kent, Randy
    Semiconductor International, 1995, 18 (06):
  • [8] Finding the culprit for the failure of the immune clock as time goes by
    van der Vorst, Emiel P. C.
    Lecour, Sandrine
    CARDIOVASCULAR RESEARCH, 2022, 118 (13) : E88 - E90
  • [9] Pulling down the plug on atherosclerosis: Finding the culprit in your heart
    Ira Tabas
    Nature Medicine, 2011, 17 (7) : 791 - 793
  • [10] Finding the Culprit: Cushing Syndrome Secondary to Lung Carcinoid Tumor
    Vaca, Richard
    Shah, Nirali A.
    AACE CLINICAL CASE REPORTS, 2025, 11 (01): : 10 - 13