Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof
Posted Dec 9, 2018 14:20 UTC (Sun) by saffroy (guest, #43999)In reply to: Kernel quality control, or the lack thereof by iabervon
Parent article: Kernel quality control, or the lack thereof
Besides tests themselves, it helps a LOT to have some kind of test coverage report, just to remind you of which parts of the code are never touched by any of your current tests.
Do people publish such coverage reports for the kernel?
Posted Dec 10, 2018 9:49 UTC (Mon)
by metan (subscriber, #74107)
[Link] (4 responses)
However I can pretty much say that the main problems I see are various corner cases that are rarely hit (i.e. mostly failures and error propagation) and drivers. My take on this is that there is no point in doing coverage analysis when the gaps we have are enormous and easy to spot. Just have a look at our backlog of missing coverage in LTP at the moment https://github.com/linux-test-project/ltp/labels/missing%..., and these are just scratching the surface with most obviously missing syscalls. We may try to proceed with the coverage analysis once we are out of work there, which will hopefully happen at some point.
The problems with corner cases can be likely caught by combination of unit testing and fuzzing. Drivers testing is more problematic though, there is only so much you can do with qemu and emulated hardware. Proper driver testing needs a reasonably sized lab stacked with hardware and it's much more problematic to set up and maintain which is not going to happen unless somebody invests reasonable amount of resources into it. But there is light at the end of the tunnel as well, as far as I know Linaro has a big automated lab stacked with embedded hardware to run tests on, we are trying to tackle automated server grade hardware lab here in SUSE, and I'm pretty sure there is a lot more outside there just not that visible to the general public.
Posted Dec 10, 2018 12:57 UTC (Mon)
by nix (subscriber, #2304)
[Link] (3 responses)
There is no alternative to thinking about these problems, I'm afraid. There is no magic automatable road to well-tested software of this complexity.
Posted Dec 10, 2018 13:14 UTC (Mon)
by metan (subscriber, #74107)
[Link] (2 responses)
Posted Dec 11, 2018 17:37 UTC (Tue)
by nix (subscriber, #2304)
[Link] (1 responses)
Posted Dec 11, 2018 20:59 UTC (Tue)
by marcH (subscriber, #57642)
[Link]
Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof