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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
NorthWang发布了新的文献求助10
刚刚
香蕉觅云应助郭翔采纳,获得10
刚刚
1秒前
诡异乐园发布了新的文献求助10
2秒前
Jasper应助林璇璇采纳,获得10
2秒前
2秒前
bkagyin应助YANYAN采纳,获得10
2秒前
QIMUSEN发布了新的文献求助10
3秒前
泌尿小王完成签到,获得积分10
3秒前
5秒前
Chen完成签到,获得积分10
5秒前
5秒前
6秒前
领导范儿应助ZY采纳,获得10
6秒前
英俊的铭应助风中的太阳采纳,获得10
6秒前
眼睛大盼兰完成签到 ,获得积分10
8秒前
Justin发布了新的文献求助10
10秒前
sssssssoda发布了新的文献求助10
10秒前
10秒前
12秒前
想做只小博狗完成签到,获得积分10
12秒前
泌尿小王发布了新的文献求助10
12秒前
量子星尘发布了新的文献求助20
12秒前
llll完成签到,获得积分10
13秒前
情怀应助予修采纳,获得10
14秒前
humorlife完成签到,获得积分10
14秒前
卷大喵完成签到,获得积分10
14秒前
15秒前
顾矜应助blueskyzhi采纳,获得10
15秒前
Denmark发布了新的文献求助10
15秒前
andy发布了新的文献求助20
15秒前
赵志浩完成签到,获得积分10
16秒前
彭于晏应助老实的抽屉采纳,获得30
16秒前
包容东蒽完成签到 ,获得积分10
16秒前
博士早日毕业完成签到,获得积分10
16秒前
薯片发布了新的文献求助10
17秒前
17秒前
YANYAN发布了新的文献求助10
18秒前
18秒前
领导范儿应助葱油饼采纳,获得10
19秒前
高分求助中
【提示信息,请勿应助】关于scihub 10000
The Mother of All Tableaux: Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 3000
Social Research Methods (4th Edition) by Maggie Walter (2019) 2390
A new approach to the extrapolation of accelerated life test data 1000
北师大毕业论文 基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 390
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
Robot-supported joining of reinforcement textiles with one-sided sewing heads 360
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4010191
求助须知:如何正确求助?哪些是违规求助? 3550174
关于积分的说明 11305110
捐赠科研通 3284653
什么是DOI,文献DOI怎么找? 1810748
邀请新用户注册赠送积分活动 886556
科研通“疑难数据库(出版商)”最低求助积分说明 811451