Test-case prioritization for configuration testing
Open Access
- 11 July 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 452-465
Abstract
Configuration changes are among the dominant causes of failures of large-scale software system deployment. Given the velocity of configuration changes, typically at the scale of hundreds to thousands of times daily in modern cloud systems, checking these configuration changes is critical to prevent failures due to misconfigurations. Recent work has proposed configuration testing, Ctest, a technique that tests configuration changes together with the code that uses the changed configurations. Ctest can automatically generate a large number of ctests that can effectively detect misconfigurations, including those that are hard to detect by traditional techniques. However, running ctests can take a long time to detect misconfigurations. Inspired by traditional test-case prioritization (TCP) that aims to reorder test executions to speed up detection of regression code faults, we propose to apply TCP to reorder ctests to speed up detection of misconfigurations. We extensively evaluate a total of 84 traditional and novel ctest-specific TCP techniques. The experimental results on five widely used cloud projects demonstrate that TCP can substantially speed up misconfiguration detection. Our study provides guidelines for applying TCP to configuration testing in practice.Keywords
Funding Information
- National Science Foundation (CNS-1740916, CCF-1763788, CCF-1763906, CCF-1816615, CCF-1942430, CNS-1956007, CCF-2029049)
This publication has 60 references indexed in Scilit:
- Hey, you have given me too many knobs!: understanding and dealing with over-designed configuration in system software2015
- Systems Approaches to Tackling Configuration ErrorsACM Computing Surveys, 2015
- Empirical evaluation of pareto efficient multi-objective regression test case prioritisation2015
- An Information Retrieval Approach for Regression Test Prioritization Based on Program Changes2015
- Bypassing the Combinatorial Explosion: Using Similarity to Generate and Prioritize T-Wise Test Configurations for Software Product LinesIEEE Transactions on Software Engineering, 2014
- Do not blame users for misconfigurations2013
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012
- Experimentation as a way of life: Okapi at TRECInformation Processing & Management, 2000
- Yesterday, my program worked. Today, it does not. Why?ACM SIGSOFT Software Engineering Notes, 1999
- Term-weighting approaches in automatic text retrievalInformation Processing & Management, 1988