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.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
李健应助zhangwenjie采纳,获得10
1秒前
1秒前
daoketuo完成签到,获得积分10
1秒前
daoketuo发布了新的文献求助10
4秒前
唐若冰完成签到,获得积分10
5秒前
积极向上山楂片完成签到,获得积分10
5秒前
嗯啊完成签到,获得积分10
6秒前
7秒前
7秒前
phil完成签到,获得积分10
9秒前
含蓄的赛君完成签到,获得积分10
10秒前
xixi发布了新的文献求助10
12秒前
zyh完成签到 ,获得积分10
13秒前
13秒前
14秒前
14秒前
15秒前
16秒前
积极擎汉完成签到,获得积分10
16秒前
18秒前
苏苏苏完成签到,获得积分10
18秒前
18秒前
健康的网络完成签到,获得积分10
19秒前
20秒前
无花果应助勤奋伟泽采纳,获得30
20秒前
苏苏苏发布了新的文献求助10
22秒前
23秒前
健康的小鸽子完成签到 ,获得积分10
23秒前
小安完成签到,获得积分10
23秒前
咸鱼完成签到,获得积分10
23秒前
大气的半双完成签到,获得积分10
24秒前
微笑语山发布了新的文献求助10
24秒前
李欣宇完成签到,获得积分20
24秒前
爱静静应助daoketuo采纳,获得10
26秒前
爱静静应助daoketuo采纳,获得10
26秒前
跳跃的老鼠完成签到,获得积分10
26秒前
慕青应助碧蓝的以亦采纳,获得10
27秒前
麦田里的守望者完成签到,获得积分10
29秒前
很好发布了新的文献求助10
29秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Zeolites: From Fundamentals to Emerging Applications 1500
Encyclopedia of Materials: Plastics and Polymers 1000
Architectural Corrosion and Critical Infrastructure 1000
Early Devonian echinoderms from Victoria (Rhombifera, Blastoidea and Ophiocistioidea) 1000
Hidden Generalizations Phonological Opacity in Optimality Theory 1000
Handbook of Social and Emotional Learning, Second Edition 900
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4923236
求助须知:如何正确求助?哪些是违规求助? 4193683
关于积分的说明 13025807
捐赠科研通 3965586
什么是DOI,文献DOI怎么找? 2173403
邀请新用户注册赠送积分活动 1190992
关于科研通互助平台的介绍 1100532