Autotest 0.9.0

The first stable release is out! The project recently implemented a release criteria, so we are on the first iterations of it. Expect things to improve and change on future releases.

Autotest is a framework for fully automated testing. It is designed primarily to test the Linux kernel, though it is useful for many other functions such as qualifying new hardware.

0.9.0 is the first autotest stable release so the changes and "what's new" section are based on what's worth mentioned from changes of a couple of months or so ago that happened in trunk.

API changes worth mentioning

One utils module that consolidates all utilities

from:

from autotest_utils import * 

to:

from autotest_lib.client.bin import utils

For modules in bin, use complete path to import

from:

import test, package, error

to:

from autotest_lib.client.bin import test, package, error

Autotest Exceptions need to have error module referenced

from:

raise TestError

to:

from autotest_lib.client.bin import error
[...]
raise error.TestError

What's new

Debug infrastructure

Now autotest has selective logging, so we can turn on debug on selected modules of the codebase. See more information in:

We are expecting to improve the infrastructure on the new releases, as well as making the code use it more widely.

Packaging infrastructure

Now autotest has an internal packaging system. If you need to keep external tests, profilers and even the client, the packaging system provides an easy way to do so. The documentation for the packaging system can be found here: