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
2秒前
5秒前
所所应助Zengyuan采纳,获得10
5秒前
5秒前
5秒前
6秒前
科研通AI6应助大毛采纳,获得10
8秒前
9秒前
9秒前
科研小十三完成签到,获得积分10
10秒前
SD发布了新的文献求助10
11秒前
12秒前
小半夏汤完成签到,获得积分10
12秒前
伴乏发布了新的文献求助10
13秒前
浮游应助Ray采纳,获得10
14秒前
linmo发布了新的文献求助10
14秒前
15秒前
Zhengzy完成签到,获得积分10
16秒前
17秒前
薛枏完成签到,获得积分10
18秒前
量子星尘发布了新的文献求助10
18秒前
18秒前
科研通AI2S应助CyS采纳,获得10
18秒前
李爱国应助CyS采纳,获得10
19秒前
hwyk发布了新的文献求助10
19秒前
xiaomuaixuexi完成签到,获得积分10
21秒前
21秒前
Function完成签到,获得积分10
21秒前
小J完成签到 ,获得积分10
21秒前
向日葵完成签到,获得积分10
22秒前
24秒前
Function发布了新的文献求助10
26秒前
科研通AI6应助森林采纳,获得10
26秒前
希望天下0贩的0应助linmo采纳,获得10
27秒前
张茜完成签到,获得积分10
27秒前
机智无春完成签到,获得积分10
27秒前
酷波er应助松下落叶采纳,获得10
27秒前
李爱国应助李白采纳,获得10
28秒前
淡淡土豆应助Ray采纳,获得20
28秒前
在水一方应助知世耶采纳,获得10
29秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Theoretical modelling of unbonded flexible pipe cross-sections 2000
List of 1,091 Public Pension Profiles by Region 1581
Encyclopedia of Agriculture and Food Systems Third Edition 1500
Specialist Periodical Reports - Organometallic Chemistry Organometallic Chemistry: Volume 46 1000
Current Trends in Drug Discovery, Development and Delivery (CTD4-2022) 800
Minimizing the Effects of Phase Quantization Errors in an Electronically Scanned Array 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5533210
求助须知:如何正确求助?哪些是违规求助? 4621604
关于积分的说明 14579314
捐赠科研通 4561659
什么是DOI,文献DOI怎么找? 2499451
邀请新用户注册赠送积分活动 1479304
关于科研通互助平台的介绍 1450504