arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.03111cs.SEcs.DC
收藏

间歇性测试失败的轻量级记录和重放

Lightweight Record-and-Replay for Intermittent Tests Failures

Omar S Navarro Leija, Alan Jeffrey

摘要:

在本文中,我们提出了轻量级的记录和重放(RR)。与传统的“完全确定性”RR解决方案相比,轻量级RR专注于处理并发消息传递架构程序的线程通信所产生的不确定性。通过减少程序中的不确定性,轻量级RR减少了程序测试套件中间歇性故障的数量。我们评估了轻量级RR在高并发Web浏览器Servo上的有效性。我们的评估表明,轻量级RR在大大减少某些测试的间歇性故障方面是有效的,但在其他测试中则不然。轻量级RR性能开销仍在进行中,但日志大小相当小。我们相信,通过进一步的工作,轻量级RR可以被证明是有用的,以降低程序中的不确定性,而性能开销可以忽略不计。

英文摘要:

In this paper we present lightweight record-and-replay (RR). In contrast to traditional "fully deterministic" RR solutions, lightweight RR focuses on handling nondeterminism arising from thread communication for programs with concurrent, message-passing architectures. By decreasing nondeterminism in programs, lightweight RR decreases the number of intermittent failures in program's test suites. We evaluated the effectiveness of lightweight RR on Servo, a highly concurrent web browser. Our evaluation shows lightweight RR is effective at greatly reducing intermittent failures for some tests, but not others. Lightweight RR performance overhead remains a work in progress, but log sizes are quite small. We believe with further work lightweight RR could prove useful for lowering nondeterminism in programs at a negligible performance overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑