Changes between Version 1 and Version 2 of Release0.10.0

Show
Ignore:
Timestamp:
05/12/09 22:22:20 (6 months ago)
Author:
lmr (IP: 201.82.124.191)
Comment:

Created 0.10.0 release notes

Legend:

Unmodified
Added
Removed
Modified
  • Release0.10.0

    v1 v2  
    11= Autotest 0.10.0 = 
    22 
     3Autotest 0.10.0 is the second major autotest release. We are continuing the work of stabilizing the development branch so a wider audience can benefit from a known to work autotest tree. 
    34 
    4  
    5 Autotest 0.10.0 is the second major autotest release. It is the result of 2 months of development that happened on trunk. 
     5If you find a bug, please fill a ticket on our bug tracking system (http://autotest.kernel.org/newticket). 
    66 
    77== API changes worth mentioning == 
    88 
    9  
    10  
    11 Autotest 0.10.0 is API compatible with Autotest 0.9.1, so tests written targetting 0.9.1 should work unmodified. 
     9Autotest 0.10.0 is API compatible with Autotest 0.9.1, since no methods were plain removed (only deprecated) so tests written targetting 0.9.1 should work unmodified. It's worth looking the session with the APIs that were added or deprecated. 
    1210 
    1311== What's new == 
    1412 
     13Here is a selection of what changed from 0.9.X to 0.10.0. This list does not intend to be exaustive, it's just a summary of the changes. 
    1514 
     15=== New features === 
    1616 
    17 === Debug infrastructure === 
     17 * Site specific add ons - Functions were created to make easier to extend autotest trough site functions: 
     18  * Import site specific classes 
     19  * Import site specific functions 
     20  * Add site specific utility functions 
     21 * First pass at an implementation of a message of the day. Just drop the motd in a file called motd.txt in the same dir as rpc_interface.py. 
     22 * Old TKO performance session gained new features: 
     23  * You can add a benchmark test to the table with key values from a drop down list dynamically, so you don't need edit the machine_benchmark.cgi file manually. 
     24  * You can add one test with more key values to the table. 
     25 * There is now a script to migrate hosts between servers, and pull across their labels and ACLs, creating them if need be under cli/atest/migrate/host 
     26 * Allow control file body text to be supplied as an alternative to a list of test names for the generate_control_file AFE rpc. This allows the command line client to let people specify a kernel along with their own client-side control file. 
     27 * Add job name search feature to AFE job list tab. 
     28 * Wrap the TKO drop-down log viewers with scroll panels, so that when FF3 cuts them off, you can still scroll over to see their contents.  Also limit the max height, since there's a scroller now. 
     29 * Extend the query_keyvals script (under the cli directory) to allow you to pass in multiple job IDs. 
     30 * Update perf graph scripts on tko. 
     31 * Add "Do not verify" host protection level and implement it in scheduler 
     32 * Make scheduler run pre-job cleanup even if "skip verify" was chosen. 
     33 * Documentation improvements on boottool 
     34 * Introduce postprocess_iteration, a way to do the perf keyvals once per iteration, rather than all at the end. This results in cleaner, less buggy code, that doesn't tend to grab the keyval for the profiled run by mistake 
     35 * Changes to TableView to more transparently treat "special" columns (group count, pass rate) more like normal columns. 
     36 * A utility script (utils/build_externals.py) was added to fetch, build and install python libraries that autotest depends on. Currently this can deal with setuptools, MySQLdb, and Django. 
     37 * Adds an autotestd and autotestd_monitor script to the Autotest client to allow us to run clients from autoserv in a disconnected fashion, and adds support to autoserv to make use of this when running clients. 
     38 * Update conmux ~$ commands to allow for arguments to be passed 
     39 * Fix TKO RPC interface to handle nonstandard job tags (i.e. not <job id>-<owner>).  Scripts that contribute results to the DB may use nonstandard tags. 
     40 * Added support for one time hosts. 
     41 * Created a method to configure site specific behavior of the ltp test by putting it into a site_config.py. Used this to configure site specific list of ignored ltp tests. 
    1842 
     43=== API changes === 
    1944 
     45Here is the list of API functions/methods that were deprecated or added: 
    2046 
    21 The first attempt at selective logging turned out to be a bad idea, so we will move from this model to a new approach, that will debut on Autotest 0.11.0. 
    22  
    23  * http://autotest.kernel.org/wiki/UsingDebug 
    24  has updated information of how we will transition to this new model. 
    25  
     47 * The job.filesystem() method was deprecated, please replace your references to job.filesystem() to job.partition(). 
     48 * The filter_non_linux() method from partition was deprecated, please replace your references accordingly. 
     49 * The methods umount_partition, is_valid_disk and is_valid_partition utility functions added to base_utils. 
     50 * Added a job.run_control method that can be used inside of server control files to run other existing server control files. 
     51 * Added code to mkfs handling to skip adding a '-t <fstype' option if one is already present in the arguments.  Allows testing of ext2 file systems running as ext4 by judicious use of a "-t ext2" mkfs option. 
     52 * Added a self.pkgmgr object to test so people can reference self.pkgmgr instead of self.job.pkgrmgr 
     53 * Added job.enable_warnings and job.disable_warnings methods to the job classes, to allow you to disable and enable specific types of console warnings from being logged. 
     54 * Added a profile_only keyword argument to test.execute to be used by job.run_test() from control files. 
     55 * Added client.bin.partition.get_unmounted_partition_list() function and moved server.hosts.Host.check_partitions() logic into it. Exposed the internal open()-like functor from check_partitions() in the public API. 
     56 * Added tko/nightly.py routines for comparing recent kernel builds. 
     57 * Added an option (profile_perf) to record performance of profiled runs. For example, job.run_test('sleeptest', iterations=0, profile_perf=True) will record performance of the profiled run.