Uniform Sampling of SAT Solutions for Configurable Systems

Are We There Yet?

Conference Paper (2019)
Author(s)

Quentin Plazar (Université de Rennes, Inria)

Mathieu Acher (Inria, Université de Rennes)

GILLES Perrouin (University of Namur)

Xavier Devroey (TU Delft - Software Engineering)

Maxime Cordy (Université du Luxembourg)

Research Group
Software Engineering
Copyright
© 2019 Quentin Plazar, Mathieu Acher, Gilles Perrouin, Xavier Devroey, Maxime Cordy
DOI related publication
https://doi.org/10.1109/ICST.2019.00032
More Info
expand_more
Publication Year
2019
Language
English
Copyright
© 2019 Quentin Plazar, Mathieu Acher, Gilles Perrouin, Xavier Devroey, Maxime Cordy
Research Group
Software Engineering
Bibliographical Note
Accepted author manuscript@en
Pages (from-to)
240-251
ISBN (print)
978-1-7281-1737-9
ISBN (electronic)
9781728117355
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Uniform or near-uniform generation of solutions for large satisfiability formulas is a problem of theoretical and practical interest for the testing community. Recent works proposed two algorithms (namely UniGen and QuickSampler) for reaching a good compromise between execution time and uniformity guarantees, with empirical evidence on SAT benchmarks. In the context of highly-configurable software systems (e.g., Linux), it is unclear whether UniGen and QuickSampler can scale and sample uniform software configurations. In this paper, we perform a thorough experiment on 128 real-world feature models. We find that UniGen is unable to produce SAT solutions out of such feature models. Furthermore, we show that QuickSampler does not generate uniform samples and that some features are either never part of the sample or too frequently present. Finally, using a case study, we characterize the impacts of these results on the ability to find bugs in a configurable system. Overall, our results suggest that we are not there: more research is needed to explore the cost-effectiveness of uniform sampling when testing large configurable systems.

Files

License info not available