arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.14762cs.SEstat.AP
收藏

软件部署中基于序贯测试的快速回归检测

Rapid Regression Detection in Software Deployments through Sequential Testing

Michael Lindon, Chris Sanden, Vaché Shirikian

摘要:

持续部署的实践使公司能够通过提高软件部署的速度来缩短上市时间。但是,更频繁地部署会带来偶尔发布有缺陷的更改的风险。对于互联网公司来说,这有可能降低用户体验,增加用户放弃。因此,质量控制门是软件交付过程的重要组成部分。这些用于建立对发布或变更可靠性的信心。为此,一种常见的方法是执行金丝雀测试来评估生产工作负载下的新软件。尽早检测缺陷对于减少曝光和向开发人员提供即时反馈是必要的。我们提出了一个统计框架,用于快速检测软件部署中的回归。我们的方法是基于随机顺序和平等分布的顺序测试。这使得金丝雀测试能够被连续监控,允许回归被快速检测,同时严格控制整个错误检测概率。这种方法的实用性是基于Netflix的两个案例研究。

英文摘要:

The practice of continuous deployment has enabled companies to reduce time-to-market by increasing the rate at which software can be deployed. However, deploying more frequently bears the risk that occasionally defective changes are released. For Internet companies, this has the potential to degrade the user experience and increase user abandonment. Therefore, quality control gates are an important component of the software delivery process. These are used to build confidence in the reliability of a release or change. Towards this end, a common approach is to perform a canary test to evaluate new software under production workloads. Detecting defects as early as possible is necessary to reduce exposure and to provide immediate feedback to the developer. We present a statistical framework for rapidly detecting regressions in software deployments. Our approach is based on sequential tests of stochastic order and of equality in distribution. This enables canary tests to be continuously monitored, permitting regressions to be rapidly detected while strictly controlling the false detection probability throughout. The utility of this approach is demonstrated based on two case studies at Netflix.

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

↑