Autotest: assembling a kernel test grid (Lucas Rodrigues)

http://github.com/autotest

It takes months from accepted patchset to actual user running the code, so relying on users to test the code doesn’t work well.  Review cannot completely replace testing.  Autotest contains userspace tools, libraries, test modules for testing the kernel, but useful for userspace applications as well.  Structure: UI (web application) for submitting jobs and collecting results; database with results and jobs; server and monitor that sends jobs to clients. Client executes test on test machine.

autotest uses python as the test description language.  Describe which repo to clone, tell to configure/build/install/boot, finally run a test.  autotest repo has dozens of existing test suites; you can select the test in the WebUI.  Also server control file to install and run on several machines at the same time.  In the WebUI you can just type kernel version 3.5.2 and it will get the tarball from kernel.org.  Test can be run under profiler, e.g. powertop, iostat, sar, …  This generates a client control file which can be edited from the web interface.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s