LAVA Dispatcher 2011.06

Milestone information

Project:
LAVA Dispatcher
Series:
linaro-11.11
Version:
2011.06
Released:
 
Registrant:
Paul Larson
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Paul Larson, 1 Zygmunt Krynicki
Blueprints:
2 Implemented
Bugs:
No bugs are targeted to this milestone.

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon lava-dispatcher-2011.06.tar.gz (md5, sig) Source code release 57
last downloaded 45 weeks ago
Total downloads: 57

Release notes 

Highlights:
Use the new extension menu block to provide links to reports and data views.
Support for dispatching and testing Android images added
Add support for metadata to be added to the results submission
Downloads are now cached
Attach serial logs before submitting the results

For more information about installing, running, and developing on LAVA, see: https://wiki.linaro.org/Platform/Validation/LAVA/Documentation

Changelog 

View the full changelog

2011-06-29 Paul Larson <email address hidden>

 Strangeness on prompt detection happens sometimes, and it's really
 strange that we tell android what it's prompt is, but we force it to be
 something different. This makes the prompt used on test images the
 same.

2011-06-28 Paul Larson <email address hidden>

 python-simplejson also needed now. At some point, this will all just
 pull the package instead of needing to specify deps here

2011-06-28 Paul Larson <email address hidden>

 Use python-setuptools instead of python-distutils for lava-test

2011-06-27 Paul Larson <email address hidden>

 rename lava/dispatcher to lava_dispatcher

2011-06-27 Michael-Doyle Hudson <email address hidden>

 update import statements

2011-06-27 Michael-Doyle Hudson <email address hidden>

 move lava/dispatcher to lava_dispatcher

2011-06-27 Paul Larson <email address hidden>

 Remove scheduler code in lava-dispatcher, new scheduler can now be found
 in lava-scheduler project

2011-06-27 Michael-Doyle Hudson <email address hidden>

 remove lava/scheduler and lava_schedulerd

2011-06-23 Paul Larson <email address hidden>

 Add headers

2011-06-23 Paul Larson <email address hidden>

 Release 2011.06

2011-06-20 Paul Larson <email address hidden>

 This is needed to work around a uboot problem in recent versions.
 Should be benign otherwise.

2011-06-10 Paul Larson <email address hidden>

 install usbutils with lava-test

2011-06-10 Paul Larson <email address hidden>

 Add support for dtb and fix addresses for mx51

2011-06-10 Paul Larson <email address hidden>

 renamed lava-test got dropped in the rename it seems

2011-06-09 Paul Larson <email address hidden>

 handle abrek -> lava-test rename
 actions related to lava-test have changed name as well
 abrek_install becomes lava_test_install
 test_abrek becomes lava_test_run

2011-06-02 Paul Larson <email address hidden>

 Some additional changes in support of android

2011-06-02 Paul Larson <email address hidden>

 update panda boot options

2011-06-02 Paul Larson <email address hidden>

 update uboot configs to use the new default master partition layout

2011-06-02 Paul Larson <email address hidden>

 update example files for android

2011-06-01 Paul Larson <email address hidden>

 Add support for using cache with android images

2011-05-31 Paul Larson <email address hidden>

 Add target hostname to metadata

2011-05-26 Paul Larson <email address hidden>

 Merge more android fixes

2011-05-26 Paul Larson <email address hidden>

 use cStringIO for serial logging

2011-05-26 Paul Larson <email address hidden>

 More android fixes from Jeremy:
 1. Clean up unnecessary import.
 2. Add adb disconnect function.
 3. Stabilize the result of the basic test.

2011-05-27 <email address hidden>

 Remove the commented out stuff in android_0xbench.py

2011-05-27 <email address hidden>

 Move check_adb_status to android client

 check_adb_status function can be shared and should be put in android client.

2011-05-27 <email address hidden>

 run_adb_shell_command implemented in android client.

 adb should be just handled by the client.

2011-05-24 <email address hidden>

 Add android_adb_disconnect interface and make android basic test stable

 android_adb_disconnect added.
 adb connect/disconnect means device register/unregister.

 After adb test done and done using adb, disconnect the device.

 ifconfig match ip pattern timeout should be set as same as that for dhcp.

 Wait longer for device booting up.

2011-05-24 <email address hidden>

 Clean up unnecessary import in android_0xbench.py

2011-05-24 Paul Larson <email address hidden>

 Move all of the command execution loop inside the try block

2011-05-24 Paul Larson <email address hidden>

 increase default timeout to 3600

2011-05-24 Paul Larson <email address hidden>

 submit results even when there is a failure

2011-05-23 Paul Larson <email address hidden>

 minor config change for consistancy

2011-05-23 Paul Larson <email address hidden>

 Merge support for caching downloads

2011-05-23 Paul Larson <email address hidden>

 fix for cross-linking across filesystems and break out some duplicated
 code

2011-05-05 Paul Larson <email address hidden>

 ignore that the cache file suddenly exists when trying to link to it
 after downloading. This can happen when tests are running in parallel
 using the same image. Eventually, I suppose it might be neat to have
 it call out to some download service that would already know what other
 requests it's recieved, and notify all clients when a single download is
 finished and cached. This is straightforward, and gets the job done for
 now though without requiring an additional service.

2011-05-23 Paul Larson <email address hidden>

 Attach serial logs before submitting the bundle

2011-05-23 Paul Larson <email address hidden>

 Merge support for serial console log attachments from Spring Zhang

2011-05-21 Spring Zhang <email address hidden>

 attach serial log to LavaTestData instead of every test result bundle so that reduce duplicated information

2011-05-21 Spring Zhang <email address hidden>

 add method add_attachment to LavaTestData

2011-05-20 Spring Zhang <email address hidden>

 expose serial log getter from LavaClient instead of operating SerialIO object directly

2011-05-20 Spring Zhang <email address hidden>

 remove cache branch which is merged by mistake

2011-05-20 Spring Zhang <email address hidden>

 remove unused import

2011-05-18 Spring Zhang <email address hidden>

 use Base64 encode serial log content in attachment

 if not, l-c will return error like:
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 9959: ordinal not in range(128)

2011-05-18 Spring Zhang <email address hidden>

 change attachments field of bundle json format version from 1.0 to 1.2

2011-05-18 Spring Zhang <email address hidden>

 merge from mainline r46

2011-05-18 Spring Zhang <email address hidden>

 clean up some comments

2011-05-18 Spring Zhang <email address hidden>

 add serial log to attachments field of bundle

2011-05-18 Spring Zhang <email address hidden>

 merge form mainline r46

2011-05-04 Paul Larson <email address hidden>

 Add support for caching hwpacks and rootfs images

2011-05-05 Spring Zhang <email address hidden>

 remove seriallog dir for serial log storing in string buffer

2011-05-05 Spring Zhang <email address hidden>

 merge from mainline r44

2011-05-04 Spring Zhang <email address hidden>

 clean up unused import

2011-05-04 Spring Zhang <email address hidden>

 operate after loading json

2011-05-03 Spring Zhang <email address hidden>

 attach serial log to every test_runs test_result

2011-04-28 Spring Zhang <email address hidden>

 clean simple tests

2011-04-28 Spring Zhang <email address hidden>

 use file inherit class instead of thread logging

2011-04-14 Spring Zhang <email address hidden>

 clean some code

2011-04-13 Spring Zhang <email address hidden>

 attach serial log to result bundle

2011-04-13 Spring Zhang <email address hidden>

 use pipe instead communicate to send quit command to logger conmux instance

 communicate(input="~$quit") seems not work...

2011-04-13 Spring Zhang <email address hidden>

 implement a serial thread class SerialLogger initially

2011-04-13 Spring Zhang <email address hidden>

 add an empty seriallogger class

2011-04-12 Spring Zhang <email address hidden>

 1. add quit_conmux
 2. simple test
 3. add TODO

2011-04-12 Spring Zhang <email address hidden>

 Add conmux serial log storage path

2011-05-21 Paul Larson <email address hidden>

 minor setup.py change

2011-05-18 Paul Larson <email address hidden>

 Make setup actually install some scripts we use

2011-05-21 Paul Larson <email address hidden>

 Merge initial android support from Jeremy Chang

2011-05-20 Paul Larson <email address hidden>

 No need to expect anything back from this command. It flakes out
 occasionally and right after it we look for the interesting bits from
 the log anyway, which is what we really want.

2011-05-20 Paul Larson <email address hidden>

 uboot fixes for android_config

2011-05-20 Paul Larson <email address hidden>

 update default urls in doc/android-0xbench-job.json

2011-05-20 Paul Larson <email address hidden>

 Workaround difference in partition layout, works for panda at least, but
 should really be dealt with using by-label mounting

2011-05-21 <email address hidden>

 Fix android monkey command

 Wait 30 seconds then do the sys boot test

2011-05-21 <email address hidden>

 Remove debug message in android_0xbench.py

2011-05-21 <email address hidden>

 Import the Board class from config.py for android board config

2011-05-20 <email address hidden>

 Purge the sdcard partition when deploying android image

 We don't want to confuse with the test result in between different test runs.

2011-05-20 <email address hidden>

 Set shell prompt to "android# " to replace the "# " for android test image

 More recognizable shell prompt is expected

 After boot up, set PS1 environment variable to "android# ".

2011-05-19 <email address hidden>

 Add "image_type" in the android job files to be as context

2011-05-19 <email address hidden>

 Add image_type in context to distinguish android and ubuntu images

2011-05-05 <email address hidden>

 Remove unused configs in android_config.py

 LAVA_SERVER_IP and LAVA_IMAGE_URL in android config removed.

2011-05-05 <email address hidden>

 Replace _download by download in utils.py

2011-05-05 <email address hidden>

 refine android deploy command

 android deploy command does not have much need to inherit from
 cmd_deploy_linaro_image

2011-05-05 <email address hidden>

 Add android-0xbench-job.json

2011-05-04 <email address hidden>

 Add result_disk argument option for cmd_submit_results

 The default label of the disk that stores the result is testrootfs

2011-05-04 <email address hidden>

 Refine 0xbench valication

 Add wait time for system boot up.

 Run 0xbench with 2D, 3D, Math, VM categories by default

2011-05-01 <email address hidden>

 Add adb installation in the README

2011-05-01 <email address hidden>

 Add deploy_linaro_android_system command in job files

2011-05-01 <email address hidden>

 Intercept uInitrd to adjust the partition number to mount in init.rc

2011-05-01 <email address hidden>

 Fix the possible None value issue

2011-04-28 <email address hidden>

 Remove unused configs in android_config

2011-04-28 <email address hidden>

 Remove deprecated android_abrek.py and clean up the commented code

2011-04-28 <email address hidden>

 Make the timeout value consistent and remove the out-of-dated comment

2011-04-28 <email address hidden>

 Rename the test name in job files

2011-04-28 <email address hidden>

 Add panda support

2011-04-27 <email address hidden>

 Refine android basic test job file

2011-04-27 <email address hidden>

 Add android-monkey-job job file for monkey test

2011-04-27 <email address hidden>

 Make it longer to timeout for checking system boot up

2011-04-27 <email address hidden>

 Refine the monkey test action to make it support TIMEOUT exception.

2011-04-27 <email address hidden>

 Make basic and monkey result bundle deserialize-able

2011-04-26 <email address hidden>

 Add in the 0xbench test in job file

2011-04-26 <email address hidden>

 Add in 0xbench test command and add the logcat functions

2011-04-26 <email address hidden>

 Change the content of the android testrootfs partition

 Now it is only what exactly a Android system partiton is.

2011-04-26 <email address hidden>

 make the booting timer longer for first-time booting

2011-04-26 <email address hidden>

 Change the config for LAVA_SERVER_IP and LAVA_IMAGE_TMPDIR

2011-04-22 <email address hidden>

 Add test_android_monkey test

2011-04-21 <email address hidden>

 Add submit_results_on_host action and refine android basic validation test

2011-04-13 <email address hidden>

 android: Fix module path

2011-04-13 <email address hidden>

 android: add deployment action.

 Add deploy_linaro_android_image action

 boot tarball, system tarball, and data tarball url as parameters is expected.

2011-04-08 <email address hidden>

 Add initial support for Android validation run.

 Adding a prototype that running testing job for android, including android
 image booting, adb connection check and abrek run on host side.

 Actions added:
 * boot_linaro_android_image
 * test_android_basic
 * test_android_abrek

2011-05-21 Paul Larson <email address hidden>

 Merge fixes from magma branch

2011-05-20 Paul Larson <email address hidden>

 beaglexm01 instead of beagle01

2011-05-20 Paul Larson <email address hidden>

 temporary workaround for lp:786005

2011-05-20 Paul Larson <email address hidden>

 Fix some timeouts in abrek actions. This should significantly improve
 things for most tests.

2011-05-20 Paul Larson <email address hidden>

 Add in the lava results before submitting the bundle

2011-05-20 Paul Larson <email address hidden>

 return an empty bundle if there is none

2011-05-20 Paul Larson <email address hidden>

 add lava.boot_status test result whenever the boot_linaro_image action
 is called

2011-05-19 Paul Larson <email address hidden>

 basic configuration and logging for scheduler daemon

2011-05-18 Mirsad Vojnikovic <email address hidden>

 Merged with latest lava branch, default path to config file is /etc/lava/lava-daemon.conf

2011-05-17 Mirsad Vojnikovic <email address hidden>

 Using default config path /etc/lava/lava-daemon.cfg, possible to override that path using optional argument.

2011-05-05 Mirsad Vojnikovic <email address hidden>

 Added config file and logging functionality

2011-05-05 Paul Larson <email address hidden>

 Group test runs into one bundle

2011-05-02 Paul Larson <email address hidden>

 Group test runs into one bundle

2011-05-05 Paul Larson <email address hidden>

 add right expected character when sending uboot commands for mx51evk and
 mx53loco

2011-05-05 Spring Zhang <email address hidden>

 add right expected character when sending uboot commands for mx51evk and mx53loco

2011-05-03 Paul Larson <email address hidden>

 add mx53loco board support in config file

2011-05-04 Spring Zhang <email address hidden>

 add mx53loco board support in config file

2011-04-29 Paul Larson <email address hidden>

 Begin refactoring some of the dispatcher, and pieces of some new
 features that I have in a working branch and would like to land here.

2011-04-29 Paul Larson <email address hidden>

 Fix property name typo

2011-04-29 Paul Larson <email address hidden>

 Use properties instead of get/set methods

2011-04-29 Paul Larson <email address hidden>

 Begin to refactor the dispatcher for cleanup, and in preparation for
 adding features

2011-04-29 Paul Larson <email address hidden>

 Merge basic scheduler daemon (just starts/stops/restarts for now)

2011-04-29 Paul Larson <email address hidden>

 minor fixes from review

2011-04-29 Mirsad Vojnikovic <email address hidden>

 Updated with latest review comments. Removed config.py file, detach True used, handling signals.

2011-04-21 Mirsad <mirsad@ubuntu1004desktop>

 Initial implementation of scheduler daemon only, using python-daemon package.

2011-04-20 Michael-Doyle Hudson <email address hidden>

 add some sample data to ease interactive playing around and give staff a link to the admin area

2011-04-20 Michael-Doyle Hudson <email address hidden>

 update README

2011-04-20 Michael-Doyle Hudson <email address hidden>

 add a Makefile target to load the sampledata

2011-04-20 Michael-Doyle Hudson <email address hidden>

 add some sampledata containing some devices, device types and a tag

2011-04-20 Michael-Doyle Hudson <email address hidden>

 give staff an admin link

2011-04-20 Michael-Doyle Hudson <email address hidden>

 add support for tagging devices and jobs

2011-04-20 Michael-Doyle Hudson <email address hidden>

 typo

2011-04-20 Michael-Doyle Hudson <email address hidden>

 add description to Tag; allow devices & jobs to have no tags

2011-04-20 Michael-Doyle Hudson <email address hidden>

 use slugfields for the tag & device-type names

2011-04-20 Michael-Doyle Hudson <email address hidden>

 register new tables with the admin interface

2011-04-20 Michael-Doyle Hudson <email address hidden>

 better one-query impl

2011-04-20 Michael-Doyle Hudson <email address hidden>

 one-query implementation of available_devices

2011-04-20 Michael-Doyle Hudson <email address hidden>

 somewhat better sql impl of tag filtering

2011-04-20 Michael-Doyle Hudson <email address hidden>

 moar tests

2011-04-19 Michael-Doyle Hudson <email address hidden>

 another test

2011-04-19 Michael-Doyle Hudson <email address hidden>

 terrible python-based impl

2011-04-19 Michael-Doyle Hudson <email address hidden>

 finally an interesting failing test

2011-04-19 Michael-Doyle Hudson <email address hidden>

 available_devices() respects device status

2011-04-19 Michael-Doyle Hudson <email address hidden>

 available_devices() respects device type now

2011-04-19 Michael-Doyle Hudson <email address hidden>

 start work on TestJob.available_devices()

2011-04-19 Michael-Doyle Hudson <email address hidden>

 start tag impl

2011-04-19 Michael-Doyle Hudson <email address hidden>

 simpler implementation

2011-04-19 Michael-Doyle Hudson <email address hidden>

 Add a device type table and start to add some tests for it.

2011-04-19 Michael-Doyle Hudson <email address hidden>

 move scheduler_app out of lava.scheduler.interface product

2011-04-19 Michael-Doyle Hudson <email address hidden>

 typo

2011-04-19 Michael-Doyle Hudson <email address hidden>

 move scheduler_app out of lava.scheduler.interface product

2011-04-18 Paul Larson <email address hidden>

 Some images, especially older ones, don't always have the hostname set
 to linaro. Also add longer timeout for deploy of image as it could take
 a while.

2011-04-18 Paul Larson <email address hidden>

 add some guide related with config.py in doc/QUICKSTART

2011-04-19 Spring Zhang <email address hidden>

 add some guide related with config.py in doc/QUICKSTART

2011-04-15 Paul Larson <email address hidden>

 results need to be searched for in /tmp

2011-04-15 Michael-Doyle Hudson <email address hidden>

 this seems to be needed

2011-04-15 Michael-Doyle Hudson <email address hidden>

 borrow style and templates from launch-control

 merges ~mirsad-vojnikovic/lava/scheduler-l-c-style with a tweak from me

2011-04-15 Michael-Doyle Hudson <email address hidden>

 remove "Device Status" and "XML-RPC API" from the menu until there is something to put there!

2011-04-13 Mirsad <mirsad@ubuntu1004desktop>

 Adding l-c style to scheduler

2011-04-12 Paul Larson <email address hidden>

 Fix make to work under lucid too

2011-04-13 Michael-Doyle Hudson <email address hidden>

 mention some packages that need to be installed

2011-04-12 Paul Larson <email address hidden>

 allow graphical tests to run properly by exporting the display on the
 client

2011-04-11 Paul Larson <email address hidden>

 Export the display for making it possible to run graphical tests

2011-04-12 Michael-Doyle Hudson <email address hidden>

 some more clues for doc/QUICKSTART

2011-04-12 Michael-Doyle Hudson <email address hidden>

 revert unintentionally committed changes

2011-04-12 Michael-Doyle Hudson <email address hidden>

 another clue

2011-04-12 Michael-Doyle Hudson <email address hidden>

 some more clues in doc/QUICKSTART

2011-04-11 Michael-Doyle Hudson <email address hidden>

 fix ROOT_URLCONF

2011-04-11 Michael-Doyle Hudson <email address hidden>

 small README updates

2011-04-08 Paul Larson <email address hidden>

 Merge initial support for submitting results to launch control

2011-04-08 Paul Larson <email address hidden>

 Some fixes and cleanups discovered during testing

2011-04-06 Spring Zhang <email address hidden>

 move serial log handling to another commit

2011-04-06 Spring Zhang <email address hidden>

 reduce code in run() by no real file writing when uploading result

2011-04-06 Spring Zhang <email address hidden>

 fix a minor issue

2011-04-06 Spring Zhang <email address hidden>

 enhance ResultUploader to write uploaded data only when filename is specified

2011-04-06 Spring Zhang <email address hidden>

 Change name SimpleHTTPServer to ResultUploader

2011-04-06 Spring Zhang <email address hidden>

 use LAVA_RESULT_DIR/panda01 like directory as uploading dir on server

2011-04-06 Spring Zhang <email address hidden>

 move serial log handling to another commit

2011-04-05 Spring Zhang <email address hidden>

 merge from mainline r22

2011-04-05 Spring Zhang <email address hidden>

 attach serial log in conmux log directory to json bundle file content

2011-04-05 Spring Zhang <email address hidden>

 add bundles uploading

2011-04-05 Spring Zhang <email address hidden>

 Add simple uploading HTTP server code

2011-04-05 Spring Zhang <email address hidden>

 define the upload routine

2011-03-31 Spring Zhang <email address hidden>

 push all test result bundle to l-c server

2011-03-31 Spring Zhang <email address hidden>

 reboot to master image

2011-03-29 Spring Zhang <email address hidden>

 delete unnecessary abrek test suite intallation in example job

2011-03-28 Spring Zhang <email address hidden>

 remove error handle code temporarily

2011-03-28 Spring Zhang <email address hidden>

 1. rename remote_pathname to pathname to align with xmlrpc api
 2. add stderr for some print
 3. delete default pathname "/anonymous/"

2011-03-25 Spring Zhang <email address hidden>

 add install_abrek command in example job definition file

2011-03-25 Spring Zhang <email address hidden>

 delete simple test code

2011-03-25 Spring Zhang <email address hidden>

 merge from mainline r19

2011-03-25 Spring Zhang <email address hidden>

 1. define a new constant LAVA_RESULT_DIR, and do corresponding modification in related files.
 2. implement cmd_submit_results, refer to the code in lc-tool.

2011-03-24 Spring Zhang <email address hidden>

 merge from mainline r18

2011-03-22 Spring Zhang <email address hidden>

 add a simple temp test

2011-04-08 Paul Larson <email address hidden>

 update top level structure of lava

2011-04-08 Paul Larson <email address hidden>

 update .testr.conf

2011-04-08 Michael-Doyle Hudson <email address hidden>

 re-merge fix from trunk

2011-04-08 Michael-Doyle Hudson <email address hidden>

 some more

2011-04-08 Michael-Doyle Hudson <email address hidden>

 fix scheduler imports

2011-04-08 Michael-Doyle Hudson <email address hidden>

 fix dispatcher imports

2011-04-08 Michael-Doyle Hudson <email address hidden>

 start the rearrangement

2011-04-08 Michael-Doyle Hudson <email address hidden>

 merge enable-admin

2011-04-08 Paul Larson <email address hidden>

 Hi, this branch enables the admin interface for the scheduler
 application. Creating a superuser for yourself locally when using OpenID
 is a bit tedious, but I've included a helper and instructions how to do
 it in the README.

2011-04-08 Michael-Doyle Hudson <email address hidden>

 merge print removal from trunk

2011-04-08 Michael-Doyle Hudson <email address hidden>

 oops, meant to delete this!

2011-04-08 Michael-Doyle Hudson <email address hidden>

 add a final newline back

2011-04-08 Michael-Doyle Hudson <email address hidden>

 update Makefile to run syncdb; update README

2011-04-08 Michael-Doyle Hudson <email address hidden>

 add a command for turning a user into a superuser

2011-04-08 Michael-Doyle Hudson <email address hidden>

 add the admin urls

2011-04-08 Michael-Doyle Hudson <email address hidden>

 move the logout "page" to root, send user back to / when they log out

2011-04-08 Michael-Doyle Hudson <email address hidden>

 allow the user to log out

2011-04-08 Michael-Doyle Hudson <email address hidden>

 add python-openid to requirements.txt

2011-04-07 Paul Larson <email address hidden>

 enable login with openid

2011-04-07 Paul Larson <email address hidden>

 Support logout

2011-04-07 Paul Larson <email address hidden>

 Add python-openid

2011-04-07 Michael-Doyle Hudson <email address hidden>

 enable logging in with openid, make a base template and show who is logged in there on it

2011-04-06 Paul Larson <email address hidden>

 Use virtualenv to install the python dependencies and reorganize
 entrypoints a bit.

2011-04-07 Michael Hudson <email address hidden>

 Add a README

2011-04-07 Michael Hudson <email address hidden>

 absolutize more module names

2011-04-07 Michael Hudson <email address hidden>

 use full name for scheduler_app

2011-04-07 Michael Hudson <email address hidden>

 start to use virtualenv & other top level rearrangements

2011-04-01 Paul Larson <email address hidden>

 add a dispatcher.run_job() to actually do the work, so that it can be
 called from the outside by things like the scheduler

2011-04-01 Paul Larson <email address hidden>

 Add init for top level

2011-03-30 Paul Larson <email address hidden>

 docstring for run_job()

2011-03-30 Paul Larson <email address hidden>

 extract the bits that actually run the actions into
 dispatcher.run_job(), and have lava-dispatcher call that. This will
 better support letting something else, like the scheduler daemon call
 run_job directly

2011-03-30 Paul Larson <email address hidden>

 rename lava dir to dispatcher

2011-03-25 Paul Larson <email address hidden>

 Move test for mx51evk out, and a few other minor changes

2011-03-24 Loïc Minier <email address hidden>

 Avoid repeating self.client, self.tarball_dir.

2011-03-24 Loïc Minier <email address hidden>

 Track boot and root partition numbers in Board classes rather than
 special-casing the code.

2011-03-24 Loïc Minier <email address hidden>

 Use safer machine parseable output from parted; supported at least in lucid's
 parted and later.

2011-03-24 Loïc Minier <email address hidden>

 Explicitly return None when no partition is found.

2011-03-24 Loïc Minier <email address hidden>

 Abbreviating "print" as "p" isn't supported in natty's parted anymore.

2011-03-25 Paul Larson <email address hidden>

 Some minor fixes for issues found in testing

2011-03-23 Paul Larson <email address hidden>

 Add another possible response from network up check

2011-03-23 Paul Larson <email address hidden>

 import start of scheduler code

2011-03-23 Paul Larson <email address hidden>

 Cleanup some unused imports

2011-03-23 Mirsad Vojnikovic <email address hidden>

 Removed Device name field, added start_time field in TestJob model, changed to linaro_django_jsonfield, updated TEST_SUITE_CHOICES

2011-03-23 Mirsad Vojnikovic <email address hidden>

 Merge from main branch

2011-03-22 Paul Larson <email address hidden>

 Move default prompt matching lines out to config.py, and fix test image
 one to match latest test images

2011-03-21 Mirsad Vojnikovic <email address hidden>

 Updated after first review

2011-03-21 Mirsad Vojnikovic <email address hidden>

 Merge from main branch

2011-03-13 Mirsad Vojnikovic <email address hidden>

 Scheduler with models

2011-03-22 Paul Larson <email address hidden>

 Add support for installing and running tests with Abrek

2011-03-22 Spring Zhang <email address hidden>

 fix umount /mnt/root/dev error

2011-03-18 Spring Zhang <email address hidden>

 Use right /dev mount method

2011-03-18 Spring Zhang <email address hidden>

 1. Backup test image config and restore
 2. Do a clean up on test image after abrek deployment
 3. Enhance based on comments

2011-03-18 Spring Zhang <email address hidden>

 clean code in cmd_test_abrek

2011-03-18 Spring Zhang <email address hidden>

 Move cmd_deploy_abrek to cmd_install_abrek
 1. stop cron service to avoid dialog when installing python-distutils-extra
 2. install test suite after abrek deployment

2011-03-17 Spring Zhang <email address hidden>

 finish command sequences of deploying abrek to test image

2011-03-17 Spring Zhang <email address hidden>

 Initialise action cmd_deploy_abrek for deploy abrek to test image by chroot

2011-03-15 Spring Zhang <email address hidden>

 merge from mainline r15

2011-03-15 Spring Zhang <email address hidden>

 Modification refer to comments
 1. abrek will install in master image
 2. pexpect will issue timeout exception, no need to check return value

2011-03-09 Spring Zhang <email address hidden>

 Implement action cmd_test_abrek to: install_test_suite() and test_abrek()

2011-03-09 Spring Zhang <email address hidden>

 Add return value in run_shell_command

2011-03-18 Paul Larson <email address hidden>

 deploy command now generates images, tarballs, and deploys them to
 supported systems

2011-03-16 Paul Larson <email address hidden>

 add x bit

2011-03-16 Paul Larson <email address hidden>

 urlparse.urljoin is dumb

2011-03-16 Paul Larson <email address hidden>

 Fix permissions so that image host directory can be read remotely

2011-03-16 Paul Larson <email address hidden>

 Actually call deploy methods

2011-03-16 Paul Larson <email address hidden>

 Add LAVA_IMAGE_URL config

2011-03-16 Paul Larson <email address hidden>

 Add some error handling

2011-03-16 Paul Larson <email address hidden>

 typo

2011-03-15 Paul Larson <email address hidden>

 strip-components is no longer needed in the extract

2011-03-15 Paul Larson <email address hidden>

 Fill in method to create an image and generate tarballs

2011-03-15 Paul Larson <email address hidden>

 Add some extra config data

2011-03-15 Paul Larson <email address hidden>

 add self, oops

2011-03-15 Paul Larson <email address hidden>

 Added a method for downloading things

2011-03-15 Paul Larson <email address hidden>

 Add a deploy method to get the offset of a specified partition using
 parted

2011-03-11 Loïc Minier <email address hidden>

 Merge lp:~qzhang/lava/remove-hardcode; moves hardcoding to lava.config and
 define board data more cleanly; also adds testsuite. Modified to:
 - drop useless change_uboot_cmds()
 - ignore /.testrepository/

2011-03-11 Spring Zhang <email address hidden>

 Merge loic's change on comments from lp:~lool/lava/config r21..30, thanks loic

2011-03-08 Spring Zhang <email address hidden>

 Implement board classes instead of board array indices

2011-03-07 Spring Zhang <email address hidden>

 1. Add some methods for class BOARD_CFG and LAVA_SERVER_CFG
 2. Remove unused variables
 3. Drop main() in module

2011-03-05 Spring Zhang <email address hidden>

 merge Loic's unit test for remove-hardcode

 Loïc Minier 2011-03-03 Add testrepository config file.
 Loïc Minier 2011-03-03 Add sample config tests -- obviously a bit weird as they test static data.

2011-03-03 Loïc Minier <email address hidden>

 Add testrepository config file.

2011-03-03 Loïc Minier <email address hidden>

 Add sample config tests -- obviously a bit weird as they test static data.

2011-03-03 Spring Zhang <email address hidden>

 Move all configurations to module lava.config

2011-03-03 Spring Zhang <email address hidden>

 Merge from main branch r13
 Paul Larson 2011-03-02 [merge] Move code for checking the network connection into the client module
 Paul Larson 2011-03-02 Raise an exception when the network fails to come up rather than
 Paul Larson 2011-03-01 Adjust ping timeout
 Paul Larson 2011-03-01 Fix up some issues with ping
 Paul Larson 2011-02-25 Fix missing string
 Paul Larson 2011-02-25 move code for checking whether or not the network is up to the client
 Loïc Minier 2011-03-02 Fix missing "params =" assignment; thanks Spring Zhang.

2011-03-02 Spring Zhang <email address hidden>

 Move hardcode to a module, keep the ability to load more configurations

2011-03-02 Spring Zhang <email address hidden>

 1. fix params lost in lava-dispatch
 2. fix error in LavaClient:
 print "deploying on %s" % self.client.target
 AttributeError: LavaClient instance has no attribute 'target'

2011-03-07 Paul Larson <email address hidden>

 Add configuration examples and documentation for local testing

2011-03-07 Paul Larson <email address hidden>

 Switch to using sg instead of udev rule

2011-03-07 Paul Larson <email address hidden>

 change console command to conmux-console

2011-03-07 Paul Larson <email address hidden>

 A few more updates to QUICKSTART

2011-03-04 Paul Larson <email address hidden>

 Add instructions for setting up conmux for local development to QUICKSTART

2011-03-02 Paul Larson <email address hidden>

 Move code for checking the network connection into the client module

2011-03-02 Paul Larson <email address hidden>

 Raise an exception when the network fails to come up rather than
 returning an error, and remove an unintentional checkin

2011-03-01 Paul Larson <email address hidden>

 Adjust ping timeout

2011-03-01 Paul Larson <email address hidden>

 Fix up some issues with ping

2011-02-25 Paul Larson <email address hidden>

 Fix missing string

2011-02-25 Paul Larson <email address hidden>

 move code for checking whether or not the network is up to the client

2011-03-02 Loïc Minier <email address hidden>

 Fix missing "params =" assignment; thanks Spring Zhang.

2011-02-28 Paul Larson <email address hidden>

 Merge some quickstart documentation and add --help

2011-02-26 Loïc Minier <email address hidden>

 Add quickstart with random notes to get started.

2011-02-26 Loïc Minier <email address hidden>

 Add sample JSON file from the spec.

2011-02-26 Loïc Minier <email address hidden>

 Test sys.argv's length and output usage information when it's too short or when
 --help is passed.

2011-02-28 Paul Larson <email address hidden>

 Merge some misc cleanups

2011-02-26 Loïc Minier <email address hidden>

 Small simplification of the handling of the default parameters value.

2011-02-26 Loïc Minier <email address hidden>

 Drop unused identifier "id" as the expect() return value isn't checked there.

2011-02-26 Loïc Minier <email address hidden>

 Drop useless try/except/raise construct.

2011-02-26 Loïc Minier <email address hidden>

 Add missing definition of expected response (master_str).

2011-02-24 Paul Larson <email address hidden>

 Checkin simplified dispatcher starting point

2011-02-24 Paul Larson <email address hidden>

 remove previous code

2011-02-21 Zygmunt Krynicki <email address hidden>

 More work on overwatch interfaces and initial tests

2011-02-18 Zygmunt Krynicki <email address hidden>

 Split overwatch.interfaces into a package

2011-02-18 Zygmunt Krynicki <email address hidden>

 Fix typo in function name

2011-02-18 Zygmunt Krynicki <email address hidden>

 Add BaseOverwatchInterface and test for BaseOverwatchDriver and BaseOverwatchInterface

2011-02-18 Zygmunt Krynicki <email address hidden>

 Add interfaecs for tests and dashboard. Improve interface APIs.

2011-02-18 Zygmunt Krynicki <email address hidden>

 Add work-in-progress dispatcher interface

2011-02-17 Zygmunt Krynicki <email address hidden>

 Add desktop driver and simple IShellControl implementation based on ssh

2011-02-17 Zygmunt Krynicki <email address hidden>

 Add ISerialControl interface

 This interface can be used to send commands to a device and get a Popen-like
 behavior.

2011-02-15 Zygmunt Krynicki <email address hidden>

 Add initial version of serial controller

2011-02-15 Zygmunt Krynicki <email address hidden>

 Intial work on overwatch drivers and tests

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add test case that checks Driver.get_overwatch() works for the dummy driver

 This test is very easy to write and does not require mocking the pkg_resources
 API. A few more tests are still needed to cover two possible failures.

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add dummy overwatch driver.

 This driver is used by default by all devices unless another driver is
 specified. It does not implement any additional interfaces so from LAVA's point
 of view the device cannot be controlled in any way but conforms to the driver
 API.

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add base class overwatch drivers

 This base class implements the driver interface and simplifies effort required
 to develop real drivers. The lava.overwatch.drivers package will be also used
 by all official drivers that are maintained inside the tree.

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add overwatch driver interface

 This interface allows both first and third party python modules to ship
 additional drivers that will enrich the LAVA stack.

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add setup.py and re-create project directory.

 Unfortunately to package a django project I need to have a top-level package
 with all the files, otherwise modules like settings, urls and manage would
 pollute top-level python namespace.

2011-02-11 Zygmunt Krynicki <email address hidden>

 Make Device.device_type optional by allowing null values

2011-02-11 Zygmunt Krynicki <email address hidden>

 Remove dummy tests generated by django-admin

2011-02-11 Zygmunt Krynicki <email address hidden>

 Add overwatch_driver and overwatch_config to Device model.

 Both of those fields allow to implement the get_overwatch() method that gives
 programmatic control over the device.

2011-02-10 Zygmunt Krynicki <email address hidden>

 Merge overwach application with the ovlue of the device repository

2011-02-10 Zygmunt Krynicki <email address hidden>

 Rename overwatch.models.DeviceClass to DeviceType

 Existing migratino edited in-place as branch did not land yet

2011-02-10 Zygmunt Krynicki <email address hidden>

 Make manage.py executable

2011-02-10 Zygmunt Krynicki <email address hidden>

 Increase maximum length of DeviceClass.name to 64

 Again as before, since this branch did not land yet I edited the initial
 migration and the model to avoid excessive migration steps.

2011-02-10 Zygmunt Krynicki <email address hidden>

 Don't use Test in model names.

 Following the advice of Paul Larson I have limited the usage of 'Test'. I did
 not use migrations for this (in fact I edited the old migration) as this branch
 did not land yet.

2011-02-10 Zygmunt Krynicki <email address hidden>

 Move parasitic_cone contents to the root directory.

 The old directory was just a "place" I was using to drive new development and
 as Paul Larson noted it's not really necessary. The code was therefore moved
 to the top-level directory.

 In addition due to the way django imports applications and projects I had to
 move lava to a different directory not to cause import failures (you cannot
 have a project called the same way as an existing module or package). I
 therefore moved the directory to liblava.

2011-02-09 Zygmunt Krynicki <email address hidden>

 Add TestDevice and TestDeviceClass models.

 TestDevice instance will be necessary for each device addressable by other
 components of the LAVA stack. In practice each device in the "test lab" that
 can be used to perform tests will have an entry like that.

 TestDeviceClass is used to represent equivalent devices. The actual devices can
 be configured differently at any given time, the intent of this model is to
 bind devices that are identical by hardware. It is currently assumed that all
 test devices can be reconfigured for the purpose of the actual test. In the
 future we may introduce another model that would help to represent situations
 where a specific device (of a common class) has some additional modifications,
 or is hooked to some specialized external measurement tools that cannot be
 easily (and automatically) moved to other devices of this class. Currently this
 is not supported.

2011-02-09 Zygmunt Krynicki <email address hidden>

 Add overwatch and south to INSTALLED_APPLICATIONS

2011-02-09 Zygmunt Krynicki <email address hidden>

 Use simple sqlite3 database backend

2011-02-09 Zygmunt Krynicki <email address hidden>

 Add the overwatch application to parasitic cone.

 Overwatch will be responsible for looking after devices and will expose
 services that can alter their state. Overwatch will store the registry of all
 known devices and will provide an entry point for pluggable Overwatch drivers
 specific to each device class and possibly specific setup. Overwatch drivers
 will be able to expose a set of implemented interfaces that can be accessed
 from other parts of the LAVA stack. Planned interfaces are boot control,
 power/reboot control, shell control and more.

 Overwatch will run both as django application with simple front-end as well as
 a celery task worker. The second mode will be used to talk to the rest of the
 message queue interconnected systems. Currently at least the following
 standalone systems are planned: serial line monitor, power brick controller,
 human-assisted reboot service, abrek test dispatcher. Each of those programs
 can run on different host, usually strictly bound to the physical interconnect
 to test devices (aka "the boards"). Each of those components are also
 asynchronous and can come and go as needed.

2011-02-09 Zygmunt Krynicki <email address hidden>

 Add parasitic cone project

 Parasitic cone will help lava flow and form a nice volcano!

2011-01-31 Paul Larson <email address hidden>

 Small bug fixes

2011-01-30 Paul Larson <email address hidden>

 Small bug fixes, fix typo in beagle uboot command, and soft reboot
 should detect kernel start messages before looking for the command line
 again.

2011-01-26 Paul Larson <email address hidden>

 add support for detecting uboot, and booting test images

2011-01-26 Paul Larson <email address hidden>

 Make board type mandatory.

2011-01-24 Paul Larson <email address hidden>

 Add support for detecting uboot, and booting to test images for a few
 boards.

2011-01-21 Paul Larson <email address hidden>

 minor fixes from review, and added __init__.py

2011-01-20 Paul Larson <email address hidden>

 Simple python interface for using conmux

2 blueprints and 0 bugs targeted

Blueprint Priority Assignee Delivery
Support Android in Lava Support Android in Lava 5 Essential Paul Larson  11 Implemented
Reports showing board and image boot status for all hwpacks and images Reports showing board and image boot status for all hwpacks and images 4 High Zygmunt Krynicki  11 Implemented
This milestone contains Public information
Everyone can see this information.