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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Udo发布了新的文献求助10
刚刚
2秒前
ppbk完成签到 ,获得积分10
4秒前
王橹杰完成签到 ,获得积分10
6秒前
7秒前
yyyyy发布了新的文献求助20
7秒前
完美世界应助八月采纳,获得10
8秒前
hms完成签到 ,获得积分10
18秒前
19秒前
Mark发布了新的文献求助10
23秒前
Gin完成签到 ,获得积分20
23秒前
23秒前
量子星尘发布了新的文献求助10
28秒前
疯狂的迪子完成签到 ,获得积分10
29秒前
摩卡题目发布了新的文献求助10
29秒前
30秒前
羊羊发布了新的文献求助10
35秒前
36秒前
清脆小土豆完成签到 ,获得积分10
37秒前
爱学习的小李完成签到 ,获得积分10
40秒前
46秒前
48秒前
张路完成签到 ,获得积分10
48秒前
yif发布了新的文献求助10
53秒前
雄鹰般的女人完成签到 ,获得积分10
55秒前
量子星尘发布了新的文献求助10
56秒前
57秒前
个性的荆应助科研通管家采纳,获得10
1分钟前
个性的荆应助科研通管家采纳,获得10
1分钟前
科研通AI6应助科研通管家采纳,获得10
1分钟前
浮游应助科研通管家采纳,获得10
1分钟前
浮游应助科研通管家采纳,获得10
1分钟前
浮游应助科研通管家采纳,获得10
1分钟前
1分钟前
CipherSage应助科研通管家采纳,获得10
1分钟前
浮游应助科研通管家采纳,获得10
1分钟前
科研通AI6应助科研通管家采纳,获得30
1分钟前
大模型应助科研通管家采纳,获得10
1分钟前
NexusExplorer应助科研通管家采纳,获得10
1分钟前
浮游应助科研通管家采纳,获得10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Binary Alloy Phase Diagrams, 2nd Edition 8000
Comprehensive Methanol Science Production, Applications, and Emerging Technologies 2000
From Victimization to Aggression 1000
Translanguaging in Action in English-Medium Classrooms: A Resource Book for Teachers 700
Exosomes Pipeline Insight, 2025 500
Red Book: 2024–2027 Report of the Committee on Infectious Diseases 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5652825
求助须知:如何正确求助?哪些是违规求助? 4788443
关于积分的说明 15061739
捐赠科研通 4811262
什么是DOI,文献DOI怎么找? 2573820
邀请新用户注册赠送积分活动 1529599
关于科研通互助平台的介绍 1488335