FlakeRepro: automated and efficient reproduction of concurrency-related flaky tests

计算机科学 并发 调试 交错 线程(计算) 程序设计语言 单元测试 回归检验 多线程 操作系统 并行计算 嵌入式系统 软件 软件开发 软件建设
作者
Tanakorn Leesatapornwongsa,Xiang Ren,Suman Nath
标识
DOI:10.1145/3540250.3558956
摘要

Flaky tests, which can non-deterministically pass or fail on the same code, impose significant burden on developers by providing misleading signals during regression testing. Microsoft developers consider flaky tests as one of the top two reasons for slowing down software development. In order to debug the root-cause of a flaky behavior, a developer often needs to first reliably reproduce a failed execution. Unfortunately, this is non-trivial. For example, most of the flakiness in unit tests are caused by concurrency, and reproducing their failures requires specific thread interleaving. To address this challenge, we introduce FlakeRepro that helps developers reproduce a failed execution of a flaky test caused by concurrency. FlakeRepro combines static and dynamic analysis to quickly identify an interleaving that makes a flaky test fail with the same original error message. FlakeRepro is efficient: it can reproduce a failed execution after exploring few tens of interleavings. FlakeRepro integrates well with existing systems: it automatically instruments test binaries that can run on existing and unmodified test pipelines.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
丘比特应助不安的冷荷采纳,获得10
1秒前
ty完成签到,获得积分10
2秒前
坦率德地发布了新的文献求助10
2秒前
我真的还想再活五百年完成签到,获得积分10
4秒前
牛马完成签到 ,获得积分10
4秒前
纯真万言发布了新的文献求助10
4秒前
6秒前
JamesYang发布了新的文献求助10
6秒前
今后应助yyanxuemin919采纳,获得10
7秒前
daisyyy完成签到,获得积分10
7秒前
打打应助哈哈哈哈采纳,获得10
10秒前
科研通AI6应助ivy采纳,获得10
12秒前
12秒前
14秒前
情怀应助Mok采纳,获得10
16秒前
17秒前
18秒前
xun完成签到,获得积分10
19秒前
我是科研狗完成签到,获得积分10
20秒前
1280065188完成签到,获得积分20
21秒前
爆米花应助wen采纳,获得10
21秒前
纪予舟发布了新的文献求助10
21秒前
21秒前
21秒前
qingzhiwu完成签到,获得积分10
21秒前
22秒前
psylan应助impending采纳,获得10
22秒前
yyanxuemin919发布了新的文献求助10
24秒前
oon完成签到,获得积分10
25秒前
26秒前
26秒前
小熊完成签到,获得积分10
26秒前
26秒前
大模型应助喜悦的如娆采纳,获得10
27秒前
pluto应助yyy采纳,获得10
27秒前
晨丶完成签到,获得积分10
27秒前
纯真万言完成签到,获得积分10
28秒前
奕苼完成签到 ,获得积分10
28秒前
Owen应助甜蜜弱采纳,获得10
28秒前
susan完成签到,获得积分10
29秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1601
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 800
Biology of the Reptilia. Volume 21. Morphology I. The Skull and Appendicular Locomotor Apparatus of Lepidosauria 620
A Guide to Genetic Counseling, 3rd Edition 500
Laryngeal Mask Anesthesia: Principles and Practice. 2nd ed 500
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5560014
求助须知:如何正确求助?哪些是违规求助? 4645187
关于积分的说明 14674421
捐赠科研通 4586310
什么是DOI,文献DOI怎么找? 2516345
邀请新用户注册赠送积分活动 1490000
关于科研通互助平台的介绍 1460841