Proceedings of ISP RAS


Using fault injection for testing Linux kernel components

A.Tsyvarev (ISP RAS, Moscow), A.Khoroshilov (ISP RAS, Moscow; MSU, Moscow; MIPT, Moscow; HSE, Moscow)

Abstract

The paper presents methods aimed to extend coverage of existing tests by systematic and targeted fault injection in Linux kernel.
The main goal is to test if kernel components correctly handle abnormal situations. As long as such situations happen seldom and unpredictably, it is difficult to debug bugs in the code handling them. Currently the only approach used in practice is random fault injection. The paper presents new methods that inject faults systematically. It allows to achieve better coverage and to make test results more predictable. The paper describes results of evaluation of the methods proposed and random fault injection.

Keywords

Linux; Linux kernel; file system; driver; testing; fault simulation

Edition

Proceedings of the Institute for System Programming, vol. 27, issue 5, 2015, pp. 157-174.

ISSN 2220-6426 (Online), ISSN 2079-8156 (Print).

DOI: 10.15514/ISPRAS-2015-27(5)-9

Full text of the paper in pdf (in Russian) Back to the contents of the volume