Download project files

How do I verify a download?


110 of 20 releases

2013.01 release from the trunk series released 2013-01-31

Release information
Changelog:

2013-01-29 Andy Doan <email address hidden>

 testdef_meta data has not yet been approved in our bundle format

 we need to release today but we aren't yet ready to include the
 proposed update to the bundle format. For now, I'm just backing
 out the part of revno 548 that added this information to the bundle

2013-01-29 Andy Doan <email address hidden>

 release-0.32

 2013.01

2013-01-29 Senthil Kumaran <email address hidden>

 Merge add-on-to-testdef-yaml branch which adds additional metadata parameters
 to test definition YAML format.

2013-01-29 Senthil Kumaran <email address hidden>

 Bring up-to-date with trunk.

2013-01-28 Senthil Kumaran <email address hidden>

 Bring up-to-date with trunk.

2013-01-28 Senthil Kumaran <email address hidden>

 Fix comment to add description about new testdef_metadata file.

2013-01-28 Senthil Kumaran <email address hidden>

 Ensure testdef metadata is attached to each test run and avoid adding it
 to context.

2013-01-23 Senthil Kumaran <email address hidden>

 Make certain test definition metadata parameters to be a list in YAML.

2013-01-22 Senthil Kumaran <email address hidden>

 Bring up-to-date with trunk.

2013-01-22 Senthil Kumaran <email address hidden>

 _get_testdef_info does not belong to a class anymore, hence get rid of self.

2013-01-22 Senthil Kumaran <email address hidden>

 Make the function call which gets metadata from testdef really functional.

2013-01-22 Senthil Kumaran <email address hidden>

 Rename the repo revision attribute name, since revision is already used as
 an attribute in bundle stream format.

2013-01-22 Senthil Kumaran <email address hidden>

 Bring up-to-date with trunk.

2013-01-21 Senthil Kumaran <email address hidden>

 Add metadata to context, which can then be pulled by Test Definition model.

2013-01-28 Andy Doan <email address hidden>

 fix support for boot_options in master.py

 this is a regression from past functionality when code was merged
 to boot_options.py. Its still a confusing hack, but we'll fix for
 real another day.

2013-01-28 Andy Doan <email address hidden>

 fix boot_options support for master.py

 I was seeing a problem when trying to add a new boot_cmds_fdt option
 for snowball boards. Basically, booting ubuntu images worked. Booting
 ubuntu images with fdt worked, eg:

 {
 "command": "boot_linaro_image",
 "parameters": {
 "options": ["boot_cmds=boot_cmds_fdt"]
 }
 }

 However, booting android images failed. This is because the boot_options
 function was overriding boot_cmds to be "boot_cmds" since its default
 in the config file.

 This change allows us to specify a runtime default that takes
 precedence over the statically configured default.

2013-01-28 Andy Doan <email address hidden>

 fix some pylint warnings

2013-01-28 Andy Doan <email address hidden>

 sdmux fixes found while stress testing

2013-01-28 Andy Doan <email address hidden>

 fix some issues from testing sdmux

 1) sometime python has opened files and not flushed them to disk. This
 flushes the buffers so umount will succeed on first try and not print
 a warning

 2) add a couple of sleeps to sdmux.sh. this seems to make things
 more reliable - possibly helps avoid something racy.

2013-01-28 Andy Doan <email address hidden>

 set hostname in linux based images to device-configs hostname

 this was requested by the cbuild guys to help them build better
 reports based on where the job actually ran.

2013-01-28 Michael Hudson-Doyle <email address hidden>

 add an --output-dir argument for the dispatcher to put structured data in

2013-01-24 Michael Hudson-Doyle <email address hidden>

 shuffle

2013-01-24 Michael Hudson-Doyle <email address hidden>

 mismerge

2013-01-24 Michael Hudson-Doyle <email address hidden>

 merge trunk

2013-01-24 Michael Hudson-Doyle <email address hidden>

 backport some stuff from my gone-off-the-rails experimental branch

2013-01-24 Michael Hudson-Doyle <email address hidden>

 small fix

2013-01-15 Michael Hudson-Doyle <email address hidden>

 add an --output-dir option, and put the dashboard put result in there

2013-01-23 Antonio Terceiro <email address hidden>

 Galaxy Nexus support.

 This merge introduces support for the Galaxy Nexus, using fastboot for image
 flashing and adb for interaction with Android.

2013-01-23 Antonio Terceiro <email address hidden>

 sync from trunk

2013-01-21 Antonio Terceiro <email address hidden>

 Better explanation for nexus_working_directory

2013-01-21 Antonio Terceiro <email address hidden>

 Add some debug logging

2013-01-21 Antonio Terceiro <email address hidden>

 Name revealling intention: s/_powered_on/_booted/

2013-01-21 Antonio Terceiro <email address hidden>

 address more review comments

 - removed sudo from config file. I assume the user running the dispatcher has
 the proper permissions
 - removed _make_filesystem_readwrite - not needed anymore
 - implemented fastboot detection
 - added timeout to all calls. Default: 10 minutes

2013-01-21 Antonio Terceiro <email address hidden>

 Clarify intent of some methods

2013-01-21 Antonio Terceiro <email address hidden>

 minor changes to doc

2013-01-21 Antonio Terceiro <email address hidden>

 remove spaces around = in keyword argument

2013-01-21 Antonio Terceiro <email address hidden>

 sync from trunk

2013-01-18 Antonio Terceiro <email address hidden>

 Require deploy before power_on()

2013-01-18 Antonio Terceiro <email address hidden>

 Separate all required API methods from private implementation methods

 private methods marked with _ and moved to below the public API

2013-01-15 Antonio Terceiro <email address hidden>

 No crazy stuff, I guess

 All of the required fixes were merged into trunk before

2013-01-15 Antonio Terceiro <email address hidden>

 Missed reference to reboot method

2013-01-15 Antonio Terceiro <email address hidden>

 Extract Methods

2013-01-15 Antonio Terceiro <email address hidden>

 power_off is not viable

2013-01-15 Antonio Terceiro <email address hidden>

 sync from trunk

2013-01-14 Antonio Terceiro <email address hidden>

 merge wait-for-prompt branch for testing

2013-01-04 Antonio Terceiro <email address hidden>

 sync from better command line handling branch

2013-01-04 Antonio Terceiro <email address hidden>

 Replay fix done in the lava-test-shell-nexus-aosp branch

2013-01-04 Antonio Terceiro <email address hidden>

 sync from trunk

2013-01-03 Antonio Terceiro <email address hidden>

 I don't believe that extract_tarball and get_test_data_attachment will be useful

2013-01-03 Antonio Terceiro <email address hidden>

 sync from trunk

2013-01-02 Antonio Terceiro <email address hidden>

 merge latest lava-android-test changes

2013-01-02 Antonio Terceiro <email address hidden>

 sync from trunk

2012-12-21 Antonio Terceiro <email address hidden>

 merge changes required to make lava-android-test work

2012-12-20 Antonio Terceiro <email address hidden>

 oops - missed changes to default config

2012-12-20 Antonio Terceiro <email address hidden>

 Use the working dir (renamed from image dir) also for pulling data out of the device

2012-12-20 Antonio Terceiro <email address hidden>

 Get version number from configured adb_command

2012-12-20 Antonio Terceiro <email address hidden>

 using `lava dispatch --target DEVICE` here

2012-12-20 Antonio Terceiro <email address hidden>

 sync from trunk

2012-12-20 Antonio Terceiro <email address hidden>

 Allow overriding the image directory.

 This is useful when running the dispatcher inside the VM, but can also support
 the use case where the dispatcher is on a machine and the phone is physically
 plugged to another.

2012-12-20 Antonio Terceiro <email address hidden>

 Extract method

2012-12-19 Antonio Terceiro <email address hidden>

 finish fixes for running lava-test-runner in the foreground

2012-12-19 Antonio Terceiro <email address hidden>

 revert earlier change that broke things.

2012-12-19 Antonio Terceiro <email address hidden>

 fix argument handling in lava-test-*-attach

2012-12-19 Antonio Terceiro <email address hidden>

 grrr - fix reference to undefined variable

2012-12-19 Antonio Terceiro <email address hidden>

 more lava-test-runner stdin usage fixes

2012-12-19 Antonio Terceiro <email address hidden>

 remove /etc/ cleanup hack and do not ignore unexisting directory when pulling (create it before pulling instead)

2012-12-19 Antonio Terceiro <email address hidden>

 sync with trunk

2012-12-19 Antonio Terceiro <email address hidden>

 Run lava-test-runner in the background; drop mkfifo binary

2012-12-19 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-18 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-18 Antonio Terceiro <email address hidden>

 Do not expect that `read -t` will ever work

2012-12-18 Antonio Terceiro <email address hidden>

 Remove `-t N` from read calls.

 BTW I've just found out that `read -t N < FIFO` does not work at all.

2012-12-18 Antonio Terceiro <email address hidden>

 file_system already implemented

2012-12-18 Antonio Terceiro <email address hidden>

 Do not send output to /dev/console

2012-12-18 Antonio Terceiro <email address hidden>

 Log commands run on host when in debug mode

2012-12-16 Antonio Terceiro <email address hidden>

 Fix lava_test_shell bin directory location

2012-12-16 Antonio Terceiro <email address hidden>

 Install custom-made mkfifo binary

2012-12-16 Antonio Terceiro <email address hidden>

 use shell builtin type instead of which

 which is not present in AOSP

2012-12-14 Antonio Terceiro <email address hidden>

 mark pending work

2012-12-13 Antonio Terceiro <email address hidden>

 Also remove `sleep 15` from lava-test-runner-ubuntu

2012-12-13 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-13 Antonio Terceiro <email address hidden>

 oops, forgot to actually echo the line to stdout

2012-12-12 Antonio Terceiro <email address hidden>

 Chenges to make lava-test-runner run on the nexus

2012-12-12 Antonio Terceiro <email address hidden>

 turn the device on if it's not already.

 This makes it possible to use lava_test_shell the way it is supposed to (i.e. not requiring to explicitly run boot_linaro*_image before).

2012-12-12 Antonio Terceiro <email address hidden>

 AOSP does not have `tee` :-/

2012-12-12 Antonio Terceiro <email address hidden>

 Need to mark make_filesystem_readwrite as a context manager

2012-12-12 Antonio Terceiro <email address hidden>

 Fixes trying to make lava-test-shell work on the Nexus

 exec > /dev/console in special does not really help because we only have `adb
 shell` and not access to an actual console.

2012-12-12 Antonio Terceiro <email address hidden>

 sanitize terminfo hack

2012-12-11 Antonio Terceiro <email address hidden>

 fix example config

2012-12-11 Antonio Terceiro <email address hidden>

 missing import statement

2012-12-11 Antonio Terceiro <email address hidden>

 oops, another embarassing bug

2012-12-11 Antonio Terceiro <email address hidden>

 oops - previously commented code had a syntax error

2012-12-11 Antonio Terceiro <email address hidden>

 implement file_system() API

 With this I got lava-test-shell pretty much working. I still need to do more
 tests, though.

2012-12-10 Antonio Terceiro <email address hidden>

 Implement get_device_version

2012-12-07 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-06 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-05 Antonio Terceiro <email address hidden>

 only accepts .img files. that's all the android team need.

2012-12-05 Antonio Terceiro <email address hidden>

 no need to erase partitions just before they are reflashed

2012-12-05 Antonio Terceiro <email address hidden>

 recent trunk changes

2012-12-03 Antonio Terceiro <email address hidden>

 merge recent trunk updates

2012-11-30 Antonio Terceiro <email address hidden>

 merge from trunk

2012-11-28 Antonio Terceiro <email address hidden>

 make android boot procedures conditional

2012-11-27 Antonio Terceiro <email address hidden>

 another TODO item

2012-11-27 Antonio Terceiro <email address hidden>

 add TODO items

2012-11-27 Antonio Terceiro <email address hidden>

 properly set PS1

 This makes the following boot test job run successfully:

 {
 "timeout": 18000,
 "job_name": "nexus-boot-test",
 "device_type": "nexus",
 "target": "nexus01",
 "image_type": "android",
 "logging_level": "DEBUG",
 "actions": [
 {
 "command": "deploy_linaro_android_image",
 "parameters": {
 "data": "file:///home/terceiro/src/lava/images/nexus/userdata.img",
 "system": "file:///home/terceiro/src/lava/images/nexus/system.img",
 "boot": "file:///home/terceiro/src/lava/images/nexus/boot.img"
 }
 },
 {
 "command": "boot_linaro_android_image"
 }
 ]
 }

2012-11-27 Antonio Terceiro <email address hidden>

 re-use adb command line creation function

 that function will be extended in the future to cope with multiple
 devices plugged in (i.e. adding the serial number parameter to the
 adb/fastboot command line)

2012-11-27 Antonio Terceiro <email address hidden>

 Skip dev board setup when it's not necessary

2012-11-27 Antonio Terceiro <email address hidden>

 merge trunk into local branch

2012-11-26 Antonio Terceiro <email address hidden>

 download images *before* rebooting device

2012-11-26 Antonio Terceiro <email address hidden>

 move retrieve_results method to LavaClient, as it is supposed to be a client method

2012-11-26 Antonio Terceiro <email address hidden>

 merge recent changes

2012-11-26 Antonio Terceiro <email address hidden>

 Fix indentation (4 spaces)

2012-11-26 Antonio Terceiro <email address hidden>

 we don't want to disable ADB over USB for the Nexus

2012-11-26 Antonio Terceiro <email address hidden>

 very basic Nexus device implementation.

 flashing images and booting kind of work, but the boot_linaro_android_image
 action does not complete successfully yet - investigating

2013-01-22 Andy Doan <email address hidden>

 release-0.31.2

2013-01-22 Andy Doan <email address hidden>

 ensure device isn't power_on before calling power_on

2013-01-22 Andy Doan <email address hidden>

 ensure device isn't power_on before calling power_on

2013-01-23 Michael Hudson-Doyle <email address hidden>

 this is a hack, but work around rtsm.log attachment breakage

2013-01-22 Michael Hudson-Doyle <email address hidden>

 post release bump

2013-01-22 Michael Hudson-Doyle <email address hidden>

 release 0.31.1

2013-01-22 Yongqin Liu <email address hidden>

 merge the fix of error [FastModelTarget object has no attribute client]

2013-01-22 Yongqin Liu <email address hidden>

 fix failure of using self.client.context.logfile_read in FastModelTarget

 http://validation.linaro.org/lava-server/scheduler/job/45661/log_file
 File "/srv/lava/.cache/eggs/lava_dispatcher-0.31-py2.7.egg/lava_dispatcher/device/fastmodel.py", line 203, in power_on
 logfile=self.client.context.logfile_read,
 AttributeError: 'FastModelTarget' object has no attribute 'client'

2013-01-22 Michael Hudson-Doyle <email address hidden>

 post release bump

2013-01-22 Michael Hudson-Doyle <email address hidden>

 release 0.31

2013-01-22 Michael Hudson-Doyle <email address hidden>

 remove attempt to attach serial log to lava test run (which has been broken for months anyway)

2013-01-17 Michael Hudson-Doyle <email address hidden>

 set logfile_read before creating the client

2013-01-17 Michael Hudson-Doyle <email address hidden>

 remove the sio attributes, the SerialIO class, some things that wrote to sio for no good reason at all and the attempt to attach the serial output to the lava test run, which has been broken for weeks anyway

2013-01-22 Michael Hudson-Doyle <email address hidden>

 make config README less confusing

2013-01-17 Michael Hudson-Doyle <email address hidden>

 remove information about non-instance deployments

2013-01-21 Yongqin Liu <email address hidden>

 change to use Launcher information in logcat to check the display of home screen

2013-01-19 Yongqin Liu <email address hidden>

 fix according to review comment

2013-01-18 Yongqin Liu <email address hidden>

 set the android_boot_prompt_timeout to the max value

 so the we will wait a long time for the bad case,
 but for the good case, this will not waste time.

2013-01-18 Yongqin Liu <email address hidden>

 change to only use launcher message to check the display of home screen

2013-01-17 Yongqin Liu <email address hidden>

 merge with trunk

2013-01-17 Yongqin Liu <email address hidden>

 adjust the timeout value of waiting launcher from logcat

 use try count times 5s

2013-01-16 Yongqin Liu <email address hidden>

 support android targets that don't have boot animation support

 this makes the property we check for more generic so new platforms can
 skip the boot animation by just checking "sys.boot_complete".
 and message "Displayed com.android.launcher/com.android.launcher2.Launcher"
 from logcat

2013-01-14 Yongqin Liu <email address hidden>

 fix the type of reponse

2013-01-14 Yongqin Liu <email address hidden>

 add support to check if the home screen is booted for fastmodel_v8 with using sys.boot_completed property

2013-01-17 Michael Hudson-Doyle <email address hidden>

 remove two lies

2013-01-15 Andy Doan <email address hidden>

 release-0.30

2013-01-15 Michael Hudson-Doyle <email address hidden>

 fill out log_lineno for lava-test-shell results so that the dashboard can link to the line in the log

2013-01-15 Michael Hudson-Doyle <email address hidden>

 merge trunk

2013-01-14 Michael Hudson-Doyle <email address hidden>

 fix

2013-01-14 Michael Hudson-Doyle <email address hidden>

 workaround for lava-test-shell not working on qemu

2013-01-14 Michael Hudson-Doyle <email address hidden>

 is this all that is required?

2013-01-14 Antonio Terceiro <email address hidden>

 wait for prompt properly in lava-test-shell

2013-01-14 Antonio Terceiro <email address hidden>

 Add wait_for_prompt method to the runner itself

2013-01-11 Andy Doan <email address hidden>

 make fastmodel device-type easier to override

 now you can simply specify the binary or the license file and not
 have to override anything else

2013-01-11 Andy Doan <email address hidden>

 update fastmodelv8 default config

 The latest model from ARM has new paths. Also, made it where its possible
 to override things like license_file in the device config so that users
 don't have to maintain their own version of the device-type file.

2013-01-11 Antonio Terceiro <email address hidden>

 lava-test-shell: keep a copy of the results directory + consistency fix in lava-test-runner for Ubuntu

2013-01-09 Antonio Terceiro <email address hidden>

 fix comment as well :-p

2013-01-09 Antonio Terceiro <email address hidden>

 s/./-/

2013-01-09 Antonio Terceiro <email address hidden>

 move results directory away

2013-01-08 Antonio Terceiro <email address hidden>

 sync from tunk

2013-01-07 Antonio Terceiro <email address hidden>

 Do not remove results directory from target

 This makes it easier to do a post-mortem analysis in the target

2013-01-07 Antonio Terceiro <email address hidden>

 Remove missing manipulation of standard input. This breaks running lava-test-runner in the foreground

2013-01-10 Andy Doan <email address hidden>

 hack around some configglue warnings

2013-01-09 Andy Doan <email address hidden>

 post release bump

2013-01-09 Andy Doan <email address hidden>

 release-0.29.1

 revno 494.1.1 deleted two files but forgot to remove them from
 setup.py

2013-01-09 Andy Doan <email address hidden>

 release-0.29

2013-01-08 Yongqin Liu <email address hidden>

 update the possible_partitions_files and sdcard_mountpoint_path according to http://review.android.git.linaro.org/#change,3213,patchset=1

2013-01-08 Yongqin Liu <email address hidden>

 redefine the sdcard_mountpoint_path to /mnt/sdcard

2013-01-06 Yongqin Liu <email address hidden>

 update for the changing of partition file to fstab.omap4pandaboard on pandaboard

2013-01-04 Andy Doan <email address hidden>

 sdmux support

2013-01-03 Andy Doan <email address hidden>

 address code review comments

2012-12-30 Andy Doan <email address hidden>

 add android support to sdmux device

2012-12-29 Andy Doan <email address hidden>

 add sdmux device type support

 This adds an sd mux device implementation to the dispatcher. Details
 of the sd-mux can be found at:

 http://people.linaro.org/~doanac/sdmux/

 Configuration of an sd-mux target looks like:

 # sd-mux to a panda
 device_type = panda
 hard_reset_command = /usr/local/bin/panda_reset.sh
 connection_command = telnet 192.168.0.101 2001

 # new attributes required for an sd-mux target
 client_type = sdmux
 sdmux_id = 2-1.1
 sdmux_version = 1.1
 power_on_cmd = /usr/local/bin/pdu_power.sh 1 1
 power_off_cmd = /usr/local/bin/pdu_power.sh 1 0

 NOTE: the sdmux_version field is optional

2012-12-28 Andy Doan <email address hidden>

 move serial console connection logic to helper function

 This logic is generally useful and isn't specific to a master
 image. This move will make the upcoming sdmux implementation easier

2013-01-04 Antonio Terceiro <email address hidden>

 Better handling of target devices on command line

 If the job file does not specify a target device and no target was specified on
 the command line, print an error message instead of crashing with KeyError.

2013-01-04 Antonio Terceiro <email address hidden>

 Make lava-test-shell work with the Galaxy Nexus + AOSP

 This involves dropping the assumption that the connection to the device is a
 serial connection that can read from /dev/console. In the Nexus, and in other
 consumer devices, the only connection available to the device without hardware
 tinkering is `adb shell`. Because of this we cannot, we cannot run the
 lava-test-shell command in the background and redirect its output to
 /dev/console; instead, we have to run it in the foreground and make sure that
 stdin/stdout are properly handled.

 Additionally, some points where the lava-test-shell scripts were assuming a
 shell more capable than the one in AOSP had to be reworked. Two notable cases
 where the usage of `read -t` (-t is not in POSIX, and not so widely
 implemented) and of mkfifo (AOSP does not include a mkfifo binary).

2013-01-04 Antonio Terceiro <email address hidden>

 Revert change to default timeout in lava_test_shell's run()

 This was fixed by Michael Hudson-Doyle yesterday.

2013-01-03 Antonio Terceiro <email address hidden>

 sync from trunk

2012-12-20 Antonio Terceiro <email address hidden>

 sync from trunk

2012-12-19 Antonio Terceiro <email address hidden>

 sync from nexus branch

2012-12-19 Antonio Terceiro <email address hidden>

 sync from trunk

2012-12-19 Antonio Terceiro <email address hidden>

 trunk updates

2012-12-17 Antonio Terceiro <email address hidden>

 forgot to merge the static mkfifo binary here

2012-12-16 Antonio Terceiro <email address hidden>

 replay fix in nexus branch

2012-12-16 Antonio Terceiro <email address hidden>

 update from nexus branch

2012-12-13 Antonio Terceiro <email address hidden>

 Changes required to run lava-test-shell on the AOSP build for the Nexus

 This branch contains the changes rebased against the current trunk. Full
 history is available on ~terceiro/lava-dispatcher/nexus

2013-01-03 Antonio Terceiro <email address hidden>

 Adapt lava_android_test code to work with the Galaxy Nexus

2013-01-02 Antonio Terceiro <email address hidden>

 enable either TCP or USB, never both. And bail out if neither was selected

2013-01-02 Antonio Terceiro <email address hidden>

 sync with trunk

2012-12-21 Antonio Terceiro <email address hidden>

 Do not assume ADB over TCP unconditionally

2013-01-03 Michael Hudson-Doyle <email address hidden>

 handle timeout being unspecified (i.e. -1) properly in the lava_test_shell action

2013-01-02 Antonio Terceiro <email address hidden>

 Add --target parameter to `lava dispatch`

2012-12-20 Antonio Terceiro <email address hidden>

 Allow to specify target in the cmdline when calling `lava dispatch`

2012-12-21 Yongqin Liu <email address hidden>

 fix the typo of defaulti in fastmodel_v8.conf

2012-12-20 Andy Doan <email address hidden>

 enable networking for fastmodel_v8 model

2012-12-19 Andy Doan <email address hidden>

 fix aep and shell hooks signal hander post-processing logic

 revno 507 left out the part of shellhooks logic that ensured the
 test case id would be preserved. This does the same thing w/o
 requiring the extra call to os.mkdir

2012-12-20 Michael Hudson-Doyle <email address hidden>

 post release bump

File Description Downloads
download icon lava-dispatcher-0.32.1-2013.01.tar.gz (md5, sig) Source release 520
last downloaded 7 days ago
Total downloads: 520

2012.12 release from the trunk series released 2012-12-20

Release information
Changelog:

* improve android partition mount logic
* some bug fixes for signals
* fixed some configglue related warnings
* add a new "lava devices" command
* lava-test-shell related fixes
* various lava-test-shell bug fixes
* signal handlers can be implemented as shell scripts
* sync on device-types that were actually in use in the lab
* allow more options about what an android 'boot' means
* improve uinitrd logic for master.py and android
* improve serial console input delay
* bug fix: include lava-test-run-attach
* add support for ARM Energy Probe
* Replace all usage of shutil.rmtree with a shell call to `rm -rf`
* lava-test-case should not return non-zero exit code for --shell false

File Description Downloads
download icon lava-dispatcher-0.28.tar.gz (md5, sig) lava-dispatcher 2012.12 release 1,769
last downloaded 6 days ago
Total downloads: 1,769

2012.11 release from the trunk series released 2012-11-27

Release information
Changelog:

2012-11-27 Andy Doan <email address hidden>

 release-0.23

2012-11-27 Senthil Kumaran <email address hidden>

 Trivial documentation fix. s/python list of strings/list of strings/

2012-11-27 Michael Hudson-Doyle <email address hidden>

 support for host-side handling of signals sent from the DUT

2012-11-23 Michael Hudson-Doyle <email address hidden>

 oops

2012-11-23 Michael Hudson-Doyle <email address hidden>

 a couple of docstrings

2012-11-23 Michael Hudson-Doyle <email address hidden>

 more robust and informative handler loading

2012-11-23 Michael Hudson-Doyle <email address hidden>

 minor self-review

2012-11-23 Michael Hudson-Doyle <email address hidden>

 write up specifying a handler

2012-11-23 Michael Hudson-Doyle <email address hidden>

 moar docs

2012-11-23 Michael Hudson-Doyle <email address hidden>

 remove prints

2012-11-23 Michael Hudson-Doyle <email address hidden>

 grrr things end, not stop in this world

2012-11-23 Michael Hudson-Doyle <email address hidden>

 actual useful log messages (sometimes)

2012-11-23 Michael Hudson-Doyle <email address hidden>

 * add a SimpleSignalHandler class
 * work on docs some
 * protection against exceptions from handlers

2012-11-22 Michael Hudson-Doyle <email address hidden>

 more docs

2012-11-22 Michael Hudson-Doyle <email address hidden>

 start to add documentation

2012-11-22 Michael Hudson-Doyle <email address hidden>

 document sleep 15 hack, add it to android

2012-11-22 Michael Hudson-Doyle <email address hidden>

 add some warnings in cases of mis-matched data

2012-11-22 Michael Hudson-Doyle <email address hidden>

 ffs2

2012-11-22 Michael Hudson-Doyle <email address hidden>

 ffs

2012-11-22 Michael Hudson-Doyle <email address hidden>

 fix some whitespace funnies

2012-11-22 Michael Hudson-Doyle <email address hidden>

 updates and fixes to developer docs

2012-11-22 Michael Hudson-Doyle <email address hidden>

 fix quite a few merge funnies

2012-11-22 Michael Hudson-Doyle <email address hidden>

 merge trunk, with possibly correct conflict resolution

2012-11-21 Michael Hudson-Doyle <email address hidden>

 doh

2012-11-21 Michael Hudson-Doyle <email address hidden>

 BZR_HOME trick for getting the testdef

2012-11-21 Michael Hudson-Doyle <email address hidden>

 aaargh

2012-11-21 Michael Hudson-Doyle <email address hidden>

 attempt to generate bundles that deserialize

2012-11-21 Michael Hudson-Doyle <email address hidden>

 one more stupid

2012-11-21 Michael Hudson-Doyle <email address hidden>

 that this is needed is terribly obscure

2012-11-21 Michael Hudson-Doyle <email address hidden>

 ahem

2012-11-21 Michael Hudson-Doyle <email address hidden>

 doh

2012-11-21 Michael Hudson-Doyle <email address hidden>

 record software source info about repo testdef came from

2012-11-21 Michael Hudson-Doyle <email address hidden>

 use new uuid pre-allocation to add sw_source info from testdef to bundle again. ugly

2012-11-21 Michael Hudson-Doyle <email address hidden>

 allocate uuids when installing tests and use that to find the handlers to call postprocess_test_run on

2012-11-21 Michael Hudson-Doyle <email address hidden>

 self review

2012-11-21 Michael Hudson-Doyle <email address hidden>

 .

2012-11-21 Michael Hudson-Doyle <email address hidden>

 merge ../testdef-from-repo/

2012-11-21 Michael Hudson-Doyle <email address hidden>

 merge ../more-obvious-json-disk-bundle-equivalence/

2012-11-21 Michael Hudson-Doyle <email address hidden>

 merge testdef-from-repo again

2012-11-21 Michael Hudson-Doyle <email address hidden>

 merge more-obvious-json-disk-bundle-equivalence

2012-11-21 Michael Hudson-Doyle <email address hidden>

 even more tidying

2012-11-21 Michael Hudson-Doyle <email address hidden>

 one more

2012-11-21 Michael Hudson-Doyle <email address hidden>

 remove mounds of debugging prints and not-yet-ready stuff

2012-11-21 Michael Hudson-Doyle <email address hidden>

 finally! the AddDuration hook works

2012-11-21 Michael Hudson-Doyle <email address hidden>

 ffs

2012-11-21 Michael Hudson-Doyle <email address hidden>

 misc fixes and a hack

2012-11-21 Michael Hudson-Doyle <email address hidden>

 idiot hudson

2012-11-21 Michael Hudson-Doyle <email address hidden>

 yay dash

2012-11-21 Michael Hudson-Doyle <email address hidden>

 workarounds and shuffling

2012-11-21 Michael Hudson-Doyle <email address hidden>

 aaaaaargh

2012-11-20 Michael Hudson-Doyle <email address hidden>

 trivial fixes

2012-11-20 Michael Hudson-Doyle <email address hidden>

 maybe this is a better start

2012-11-20 Michael Hudson-Doyle <email address hidden>

 even more flailing

2012-11-20 Michael Hudson-Doyle <email address hidden>

 more flailing

2012-11-20 Michael Hudson-Doyle <email address hidden>

 not-even-run-once support for loading a signal handler

2012-11-20 Michael Hudson-Doyle <email address hidden>

 mondo refactoring of how testdefs are loaded

2012-11-20 Michael Hudson-Doyle <email address hidden>

 merge testdef-from-repo, probably needs fixes as i have forgotten how all of this works

2012-11-20 Michael Hudson-Doyle <email address hidden>

 merge trunk, via more-obvious-json-disk-bundle-equivalence

2012-11-19 Michael Hudson-Doyle <email address hidden>

 move signal code into new lava-test-case

2012-11-19 Michael Hudson-Doyle <email address hidden>

 merge more-obvious-json-disk-bundle-equivalence

2012-11-09 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-11-09 Michael Hudson-Doyle <email address hidden>

 fix

2012-11-08 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-10-24 Michael Hudson-Doyle <email address hidden>

 stuff

2012-10-24 Michael Hudson-Doyle <email address hidden>

 fixes

2012-10-24 Michael Hudson-Doyle <email address hidden>

 debugging++

2012-10-24 Michael Hudson-Doyle <email address hidden>

 merge fix from trunk

2012-10-24 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-10-24 Michael Hudson-Doyle <email address hidden>

 this looks like it might improve debugging

2012-10-10 Michael Hudson-Doyle <email address hidden>

 run analyze & report (if the other stuff works yet, which i doubt)

2012-10-10 Michael Hudson-Doyle <email address hidden>

 mwhudson fails at upstart

2012-10-10 Michael Hudson-Doyle <email address hidden>

 blug

2012-10-10 Michael Hudson-Doyle <email address hidden>

 fixes

2012-10-10 Michael Hudson-Doyle <email address hidden>

 wait for networking before running lava-test-runner

2012-10-10 Michael Hudson-Doyle <email address hidden>

 start on a ds5 implementation

2012-10-10 Michael Hudson-Doyle <email address hidden>

 grar, more simple fixes

2012-10-10 Michael Hudson-Doyle <email address hidden>

 assorted trivial fixes

2012-10-10 Michael Hudson-Doyle <email address hidden>

 depredations to move complexity out of action code into a signal handler base class

2012-10-10 Michael Hudson-Doyle <email address hidden>

 more

2012-10-10 Michael Hudson-Doyle <email address hidden>

 stuff from andy

2012-11-26 Antonio Terceiro <email address hidden>

 initialize variable to avoid exceptions when handling a KeyboardInterrupt (i.e. ctrl-C)

2012-11-24 Antonio Terceiro <email address hidden>

 initialize variable to avoid exceptions when handling a KeyboardInterrupt (i.e.
 ctrl-C)

2012-11-26 Yongqin Liu <email address hidden>

 Clean the console ouput of telnet command, so that the telnet process will not consume the CPU usage when run CTS test

2012-11-22 Yongqin Liu <email address hidden>

 change to sleep 5 seconds according to the review comment

2012-11-22 Yongqin Liu <email address hidden>

 delete the daemon setting in join method

2012-11-22 Yongqin Liu <email address hidden>

 merge with trunk

2012-11-22 Yongqin Liu <email address hidden>

 delete the drain method in utils

2012-11-22 Yongqin Liu <email address hidden>

 change to use empty_buffer instead of run

2012-11-21 Yongqin Liu <email address hidden>

 move the definition of DrainConsoleOutput from lava_android_test.py to utils.py

2012-11-20 Yongqin Liu <email address hidden>

 fix the assing value typo in __init__ of DrainConsoleOuput

2012-11-20 Yongqin Liu <email address hidden>

 change to use the threading.Thread class

2012-11-19 Yongqin Liu <email address hidden>

 merge with trunk

2012-11-19 Yongqin Liu <email address hidden>

 Add process for empty the output of console

2012-11-26 Senthil Kumaran <email address hidden>

 Update documentation for new job definition format which specifies pulling
 test definitions from bzr/git repositories.

2012-11-26 Senthil Kumaran <email address hidden>

 Link to developer documentation of lava test shell.

2012-11-26 Senthil Kumaran <email address hidden>

 Update documentation for new job definition format which specifies pulling
 test definitions from bzr/git repositories.

2012-11-22 Michael Hudson-Doyle <email address hidden>

 merge lp:~rafaelmartins/lava-dispatcher/job-priority

2012-11-14 Rafael G. Martins <email address hidden>

 added priority field to the job json schema

2012-11-22 Michael Hudson-Doyle <email address hidden>

 a few lava_test_shell things:
 * Shuffle the layout of the results directory around on disk to make it more like a bundle
 * Adds a lava-test-case script that a test can use to record information about a test case.
 * Document the above and and the lava-test-case-attach script

2012-11-22 Michael Hudson-Doyle <email address hidden>

 log an error when we find an invalid measurement

2012-11-22 Michael Hudson-Doyle <email address hidden>

 lost a strip()

2012-11-22 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-11-22 Michael Hudson-Doyle <email address hidden>

 create helpers to make file access and directory listing tidier, and use them consistently

2012-11-22 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-11-21 Michael Hudson-Doyle <email address hidden>

 more tidying

2012-11-21 Michael Hudson-Doyle <email address hidden>

 self review

2012-11-21 Michael Hudson-Doyle <email address hidden>

 dash compat

2012-11-20 Michael Hudson-Doyle <email address hidden>

 merge trunk again

2012-11-20 Michael Hudson-Doyle <email address hidden>

 merge trunk, possibly even with correct conflict resolution

2012-11-20 Michael Hudson-Doyle <email address hidden>

 grammer

2012-11-19 Michael Hudson-Doyle <email address hidden>

 implement lava-test-case --shell and a silly bugfix

2012-11-19 Michael Hudson-Doyle <email address hidden>

 document lava-test-case --shell

2012-11-19 Michael Hudson-Doyle <email address hidden>

 declare dependency on linaro-dashboard-bundle

2012-11-19 Michael Hudson-Doyle <email address hidden>

 implement lava-test-case

2012-11-19 Michael Hudson-Doyle <email address hidden>

 document the not-yet-existing lava-test-case

2012-11-19 Michael Hudson-Doyle <email address hidden>

 start to document lava-test-case-attach

2012-11-19 Michael Hudson-Doyle <email address hidden>

 it works at least a bit now

2012-11-19 Michael Hudson-Doyle <email address hidden>

 assorted contact with reality stuff

2012-11-19 Michael Hudson-Doyle <email address hidden>

 read results from disk too

2012-11-19 Michael Hudson-Doyle <email address hidden>

 read test result attachments from new location. also read attributes

2012-11-19 Michael Hudson-Doyle <email address hidden>

 pick up test run attachments

2012-11-19 Michael Hudson-Doyle <email address hidden>

 update runner stuff (maybe)

2012-11-19 Michael Hudson-Doyle <email address hidden>

 update documentation

2012-11-22 Michael Hudson-Doyle <email address hidden>

 replicate BZR_HOME=/dev/null hack for getting a testdef from bzr

2012-11-21 Andy Doan <email address hidden>

 relocate error classes

2012-11-21 Andy Doan <email address hidden>

 fix some bad imports from previous error refactor

2012-11-20 Andy Doan <email address hidden>

 fix flake8 warnings for downloader.py

2012-11-20 Andy Doan <email address hidden>

 relocate error classes

 These classes really don't belong in base.py any longer. Its
 going to cause circular dependencies if we don't refactor them.

2012-11-21 Senthil Kumaran <email address hidden>

 Add ability to pull a bzr/git repo that includes the test definition YAML
 files.

2012-11-20 Senthil Kumaran <email address hidden>

 Code change as per review comments from mwhudson. Following are notable ones:

 1) Define the parameter schema for job which specifies the test definitions.
 2) Refactor _get_test_definition_from_*, which now got merged into
 _get_test_definition
 3) Use subprocess.check_call instead of subprocess.call
 4) Fix some indentation.

2012-11-16 Senthil Kumaran <email address hidden>

 Implement Andy's comments as follows:

 1) Do not use '.has_key()' on a dictionary, use 'in' instead.
 2) Remove the counter for directory naming, use timestamp value instead.

2012-11-15 Senthil Kumaran <email address hidden>

 The following changes are incorporated as per Andy's review comments:

 1) Remove testdefX
 2) Remove specifying 'files'
 3) Do not guess git/bzr repos
 4) Get rid of .get() syntax for accessing dictionary keys whereever possible
 5) Split code in _configure_target
 6) Copy all the files required for test to target directory (mwhudson) - no
 symlinks

2012-11-12 Senthil Kumaran <email address hidden>

 Add support to clone a specific revision in the repository which contains
 test definitions.

2012-11-12 Senthil Kumaran <email address hidden>

 Add support for pulling test definitions from bzr branches.

2012-11-12 Senthil Kumaran <email address hidden>

 Support defining multiple git repositories and many test definitions within
 the same repository. Also if testdef.yaml depends on a script to execute then
 maintain those scripts in the same repository and pull it during test run.

2012-11-12 Senthil Kumaran <email address hidden>

 Initial version which adds the ability to pull a bzr/git repo that includes
 the test definition YAML files.

2012-11-21 <email address hidden>

 Add support for specifying bDDootloader in json and defaulting to u_boot

2012-11-20 <email address hidden>

 Add support for bootloader in l-m-c

2012-11-20 Michael Hudson-Doyle <email address hidden>

 use linaro-dashboard-bundle classes to ensure the submitted bundle is both valid and in the latest format

2012-11-20 Michael Hudson-Doyle <email address hidden>

 fixes & use DocumentIO to write out the bundle too

2012-11-20 Michael Hudson-Doyle <email address hidden>

 validate and evolve documents before combining them

2012-11-20 Michael Hudson-Doyle <email address hidden>

 add lava-test-case-attach to sdist

2012-11-20 Michael Hudson-Doyle <email address hidden>

 add support for attaching files to test results from lava-test-shell tests

2012-11-20 Michael Hudson-Doyle <email address hidden>

 do not think this is needed any more

2012-11-20 Michael Hudson-Doyle <email address hidden>

 a different version of basename compat which works on openembedded too

2012-11-19 Michael Hudson-Doyle <email address hidden>

 x-platform shell funnies

2012-11-16 Michael Hudson-Doyle <email address hidden>

 remove debugging

2012-11-16 Michael Hudson-Doyle <email address hidden>

 improve naming a bit

2012-11-16 Michael Hudson-Doyle <email address hidden>

 newline at end of file

2012-11-16 Michael Hudson-Doyle <email address hidden>

 explain each file/directory a bit

2012-11-16 Michael Hudson-Doyle <email address hidden>

 documentation on how lava-test-shell is implemented

2012-11-16 Michael Hudson-Doyle <email address hidden>

 final fixes

2012-11-16 Michael Hudson-Doyle <email address hidden>

 assorted progress, still does not work though

2012-11-16 Michael Hudson-Doyle <email address hidden>

 this might allow a test case to attach files to test results (target side)

2012-11-16 Michael Hudson-Doyle <email address hidden>

 merge make-1.5-format-bundles

2012-11-09 Michael Hudson-Doyle <email address hidden>

 generate 1.5 format bundles

2012-11-19 Andy Doan <email address hidden>

 post release bump

2012-11-19 Andy Doan <email address hidden>

 release-0.22

2012-11-19 Senthil Kumaran <email address hidden>

 [Bug #1079642] Fix for test definitions which does not have a parse pattern.

2012-11-19 Senthil Kumaran <email address hidden>

 Fix a small typo in the parse pattern and add more default result values.

2012-11-19 Senthil Kumaran <email address hidden>

 [Bug #1079642] Give a default pattern to parse, if one is not specified in
 the test definition.

2012-11-16 Senthil Kumaran <email address hidden>

 [Bug #1079642 ] Fix for test definitions which does not have a parse pattern.

2012-11-16 Andy Doan <email address hidden>

 make fastmodel implementation more flexible

2012-11-15 Andy Doan <email address hidden>

 make fastmodel device type more flexible

 The current approach to fastmodel.py requires code changes as we
 use new types of models. In reality this can pretty much be driven
 via a smarter approach to our config files.

2012-11-15 Andy Doan <email address hidden>

 simplify the sync/power_off logic in device implementations

2012-11-15 Andy Doan <email address hidden>

 simplify the power_off logic for a target device

 The power_off logic was getting messy because its hard for the
 code to know how/when it can call sync. The previous commit allows
 us to not worry about the sync anymore.

 In addition, it was noticed that lava-test for fastmodel's could
 loose the file, so we call a sync there to be safe.

2012-11-15 Andy Doan <email address hidden>

 have lava-test-runners call sync before exit

 Our lava_test_shell action power's off the device right after
 the test runner exits. In many cases the files haven't been synced
 to the disk, so the results get lost. Let's just always do a sync
 from these runners to make this easier to manage.

2012-11-15 Andy Doan <email address hidden>

 lava-test-shell rename stdout.txt attachment to stdout.log

 just a minor nitpick

2012-11-15 Andy Doan <email address hidden>

 fix boot_options support

2012-11-14 Andy Doan <email address hidden>

 fix OE booting in master.py

 OE deployment_data needed a boot_cmd's default

2012-11-14 Andy Doan <email address hidden>

 convert master.py to use boot_options api

2012-11-14 Andy Doan <email address hidden>

 fix boot_options implementation

 The first stab was a bit dumb and tied directly to fastmodel. This
 decouples things more.

2012-11-14 Andy Doan <email address hidden>

 make boot options handling more flexible

 boot options are currently done in a pretty rigid way that don't allow
 for flexible value checking and requires code changes for updates.

 This change allows them to come in a more flexible manner via the
 device/device-type config file. It also includes changes to our
 fastmodel code as an example.

2012-11-14 Andy Doan <email address hidden>

 regression in boot options from new target work

 The boot options should be passed to the target implementation not
 the LavaClient.

2012-11-15 Antonio Terceiro <email address hidden>

 Provide default config value for boot_cmds_oe in device-defaults.conf

 Without this, whenever I run the unit tests I got several warnings like the
 following:

 WARNING:root:Device config for qemu01 is not valid:
 Configuration missing required options for section '__main__': boot_cmds_oe
 No option 'boot_cmds_oe' in section: '__main__'

2012-11-14 Andy Doan <email address hidden>

 add new extract_tarball API to target

2012-11-09 Andy Doan <email address hidden>

 convert as_master/extract code to use new target.extract_tarball

2012-11-09 Andy Doan <email address hidden>

 add new extract_tarball API to target.py

 As per https://bugs.launchpad.net/bugs/1075743 we need a way to extract
 big files on to targets.

2012-11-13 <email address hidden>

 Increase Android system deployment timeout due to slow VE A5

2012-11-13 <email address hidden>

 Increase Android system deploy timeout

2012-11-12 Andy Doan <email address hidden>

 requirements fix for readthedocs

 readthedocs now needs to know about the versiontools requirement:

 https://readthedocs.org/builds/lava-dispatcher/325263/

 I *think* this will fix the issue

2012-11-12 Andy Doan <email address hidden>

 update docs to automatically pull the version

2012-11-09 Andy Doan <email address hidden>

 update lava_test_shell docs for new YAML format

2012-11-09 Andy Doan <email address hidden>

 Run bzr branch with BZR_HOME=/dev/null

2012-11-08 Paul Sokolovsky <email address hidden>

 Run bzr branch with BZR_HOME=/dev/null to ensure well-known context.

 Otherwise, the behavior may depend on whether running user executed
 "bzr login" command, in which case bzr will try to access user's SSH keys,
 which may be not available, etc.

File Description Downloads
download icon lava-dispatcher-0.23-2012.11.tar.gz (md5, sig) Source release 1,421
last downloaded 24 weeks ago
Total downloads: 1,421

2012.10 release from the trunk series released 2012-10-25

Release information
Changelog:

2012-10-23 Andy Doan <email address hidden>

 string_to_list(boot_cmds) not working on older python

 The version of python we are running in production hits a problem
 related to our new use of configglue. configglue passes a value
 like "boot_cmds" as a unicode string. Our string_to_list implementation
 on control isn't able to convert this to a list.

2012-10-23 Andy Doan <email address hidden>

 post release bump

2012-10-22 Andy Doan <email address hidden>

 release-0.19.2

 fix openembedded file permission issue

2012-10-22 Andy Doan <email address hidden>

 release-0.19.1

 Two setup.py sdist issues:

 1) I forgot to check in the action lava-test-runner.init.d file
 2) setup.py wasn't pulling in lava_test_shell files

2012-10-22 Andy Doan <email address hidden>

 post release bump

2012-10-22 Andy Doan <email address hidden>

 release-0.19

 2012.10

2012-10-22 Andy Doan <email address hidden>

 fixes for lava-test-shell

2012-10-22 Andy Doan <email address hidden>

 move the workfile before the test starts

 This is a bit smarter than the initial approach of doing it afterwards

2012-10-19 Andy Doan <email address hidden>

 fix weird shutdown issue with lava-test-shell on fastmodel

 I hit a weird issue with lava-test-shell doing Ubuntu based
 FastModels. Even though we call sync, things weren't getting flushed
 to the sd.img file properly.

 This just adds a halt command to the _power_off logic to try and
 make sure things halt as cleanly as possible.

2012-10-18 Andy Doan <email address hidden>

 clean up the CommandRunner logic a bit in target.py

2012-10-18 Andy Doan <email address hidden>

 have lava-test-shell try and clean up after itself

 We want to try and remove our test-runner.conf file so that
 the job won't get executed on the next boot. This is needed in
 case a job file includes a lava_test action after the lava_test_shell
 action.

 In order to do this, the test-runner.conf can't be in /etc for android
 because this partition is mounted read-only. So everything has been
 moved to a read-write partition except for the etc stuff needed to
 launch our test-runner at startup.

2012-10-18 Andy Doan <email address hidden>

 fix dumb mistake from revno 408

2012-10-18 Andy Doan <email address hidden>

 fix dumb mistake from previous commit

2012-10-18 Andy Doan <email address hidden>

 fix health check regression for master images

 Target implementations must now always set self.deployment_data. We
 were missing logic to set this when we find cached tarballs for health
 jobs. This commit does two things:

 1. Add "data" to the tuple that gets cached. This data is flexible, but
 in practice is just "oe" or "ubuntu" to tell us which deployment_data
 is needed.

 2. Make tarballcache more resilient. This changes how tarballcache is
 set up. So current installations not including this new "data" file will
 need to re-generate their tarballs. While I was at it, I also fixed
 logic so that accidental deletion of say "boot.tgz" can be managed
 properly (ie - it will clear the cache and regenerate)

2012-10-17 Andy Doan <email address hidden>

 FastModel: add new support for foundation models

2012-10-17 Andy Doan <email address hidden>

 add oe data for lava_test_shell

 This adds an init.d approach that can work for OE images.

 TODO - this doesn't support a "deps" section in the test defintion.
 Can we do something like this for OE?

2012-10-17 Andy Doan <email address hidden>

 update our _customize_ubuntu logic

 We now have the need to customize OE images and also provide target
 data for them. We could require a flag in our job files to denote if
 its OE or Ubuntu. However, in practice our OE changes are pretty much
 standard linux stuff and our Ubuntu changes take deal with things like
 Dash/Upstart.

 This keys off the existence of /etc/debian_version to help make the
 determination.

2012-10-17 Andy Doan <email address hidden>

 minor change to get ricardos patch to run

 just a minor syntax thing

2012-10-17 Ricardo Salveti de Araujo <email address hidden>

 FastModel: adding support for the foundation model

2012-10-16 Andy Doan <email address hidden>

 all power_off logic requires a sync

 We missed a case where we weren't doing a sync before calling power_off.
 This was causing results for FastModels to not get flushed to disk.

2012-10-16 Andy Doan <email address hidden>

 regression with lava-test for fastmodel

 I'm not sure how this ever worked, but the recent juggling around
 of prompts has indicated an issue with the default timeout set
 for fastmodels. Any command that passes -1 as a timeout uses the
 default which was 90, and way too small to do something like run
 the bigLITTLE suite. This gets it to a sane value used by all
 other device types.

2012-10-16 Andy Doan <email address hidden>

 ensure fastmodel uses lo for network interface

 In the old implementation the client had a function,
 get_android_adb_interface. This doesn't work well with the new
 target approach. And we really already had a way of handling this
 just using the config for the model.

2012-10-16 Andy Doan <email address hidden>

 regression in fastmodel android from latest target refactor

 Somehow I missed the ping alias for fastmodels. I also re-did
 how we write this file. The logging_system way was a bit overkill

2012-10-17 Michael Hudson-Doyle <email address hidden>

 Change the setting of the shell prompts -- instead of setting it after the test
 image boots, just have deployment force the prompt to be what we want.

 Also make the master image code a bit more single-purpose.

2012-10-16 Michael Hudson-Doyle <email address hidden>

 cleanups

2012-10-16 Michael Hudson-Doyle <email address hidden>

 remove tester_hostname config option

2012-10-16 Michael Hudson-Doyle <email address hidden>

 remove another now gratuitous change

2012-10-16 Michael Hudson-Doyle <email address hidden>

 TesterCommandRunner no longer needs to inherit from NetworkCommandRunner

2012-10-16 Michael Hudson-Doyle <email address hidden>

 merge trunk

2012-10-16 Michael Hudson-Doyle <email address hidden>

 leave reliable_session alone for now

2012-10-16 Michael Hudson-Doyle <email address hidden>

 remove dead line

2012-10-16 Michael Hudson-Doyle <email address hidden>

 testing fixes

2012-10-15 Michael Hudson-Doyle <email address hidden>

 oops

2012-10-15 Michael Hudson-Doyle <email address hidden>

 make master_ip clearing work like trunk again

2012-10-15 Michael Hudson-Doyle <email address hidden>

 wait for device to boot in boot_linaro_image; wait for network in reliable_session()

2012-10-15 Michael Hudson-Doyle <email address hidden>

 pass image to _customize_ubuntu

2012-10-15 Michael Hudson-Doyle <email address hidden>

 remove debugging

2012-10-15 Michael Hudson-Doyle <email address hidden>

 remove _power_on/power_on split again

2012-10-15 Michael Hudson-Doyle <email address hidden>

 unrelated bug

2012-10-15 Michael Hudson-Doyle <email address hidden>

 set default shell PS1 when deploying ubuntu for realz this time

2012-10-15 Michael Hudson-Doyle <email address hidden>

 just plain set PS1 for ubuntu deployments too

2012-10-15 Michael Hudson-Doyle <email address hidden>

 push prompt setting into power_on()

2012-10-15 Michael Hudson-Doyle <email address hidden>

 quick 360 to always use deployment_data to determine PS1 to look for

2012-10-15 Michael Hudson-Doyle <email address hidden>

 not sure why i removed that

2012-10-15 Michael Hudson-Doyle <email address hidden>

 bugs found by andy's torture script

2012-10-12 Michael Hudson-Doyle <email address hidden>

 add a comment

2012-10-12 Michael Hudson-Doyle <email address hidden>

 stick INITIAL_TESTER_PS1 in the deployment data

2012-10-12 Michael Hudson-Doyle <email address hidden>

 fixes

2012-10-12 Michael Hudson-Doyle <email address hidden>

 missing some bits

2012-10-12 Michael Hudson-Doyle <email address hidden>

 * for ubuntu deployments, set /etc/hostname to the value of tester_hostname for the device
 * look for root@$tester_hostname on boot, then clobber an explicit PS1 out
 * for android, just clobber PS1 when configuring the image

2012-10-12 Michael Hudson-Doyle <email address hidden>

 trivialities

2012-10-12 Michael Hudson-Doyle <email address hidden>

 in_test_shell is a private method now

2012-10-12 Michael Hudson-Doyle <email address hidden>

 copy CommandRunner.run to MasterCommandRunner, remove some stupid bits

2012-10-12 Michael Hudson-Doyle <email address hidden>

 small drive by things

2012-10-12 Michael Hudson-Doyle <email address hidden>

 remove idiocy

2012-10-12 Michael Hudson-Doyle <email address hidden>

 have the deploy_* methods explicitly boot into the master image

2012-10-12 Michael Hudson-Doyle <email address hidden>

 restore setting of master_ip

2012-10-12 Michael Hudson-Doyle <email address hidden>

 just plain force the PS1 in the master image to be what we want, only look at the config value for the first prompt after boot

2012-10-15 Yongqin Liu <email address hidden>

 update the sed command for mount sdcard of android image with the mount point of /storage/sdcard0

2012-10-15 Yongqin Liu <email address hidden>

 update the sed command for sdcard mount

2012-10-15 Yongqin Liu <email address hidden>

 fix the typo of the calling _hard_reboot

2012-10-15 Yongqin Liu <email address hidden>

 fix type of calling of _hard_reboot

2012-10-10 Andy Doan <email address hidden>

 more documentation updates

2012-10-10 Andy Doan <email address hidden>

 update usage.rst page

2012-10-10 Andy Doan <email address hidden>

 doc fixes

 updated index page
 removed unuseful and hard to maintain pages: code.rst and todo.rst
 fixed configuration page to just show what it was pointing to

2012-10-10 Andy Doan <email address hidden>

 update our documentation

 This was getting pretty out of date. It also includes help on the newest
 lava_test_shell testing format.

2012-10-09 Michael Hudson-Doyle <email address hidden>

 fix MasterImageTarget.file_system to propagate deletes from host to target

2012-10-09 Michael Hudson-Doyle <email address hidden>

 idiot hudson

2012-10-09 Michael Hudson-Doyle <email address hidden>

 in MasterImageTarget.file_system, create the tarball from above the target directory
 and remove the target directory before untarring
 this makes file deletion propagate
 i changed the tarball location so that the permission bits of the target directory are hopefully preserved

2012-10-04 Andy Doan <email address hidden>

 support lava_test_shell action

2012-10-04 Andy Doan <email address hidden>

 more fixes for from code review

 improve some exception handling in the bundling logic

 be explicit about what files to copy to the test results

2012-10-03 Andy Doan <email address hidden>

 allow lava_test_shell to work off filesystem rather than tarfile

 This originally was done via a tarball because I wasn't sure how the
 testshell code would get to interact with the target device. however,
 now that we have a clear API there's no need for this hackery.

 Also make mem/cpu info not required. There's no strong reason to enfore
 this - ie its better to get what bundle results are avaiable than nothing
 at all.

2012-10-03 Andy Doan <email address hidden>

 fix minor comments from review

 * fix subprocess.check_call to not use shell in repo clones

 * iterate repos with less indentation

 * clean up docstrings

2012-10-03 Andy Doan <email address hidden>

 ensure lava-test-shell attachments are really copied

 The old code wasn't actually copying run.sh. We also should copy
 install.sh.

2012-10-03 Andy Doan <email address hidden>

 clean up code for jobs with multiple lava_test_shell actions

 The current code, just sort of worked by piling up the results across
 lava_test_shell actions and parsing them all each time. This puts
 each one in its own unique bundle file that the submit results logic
 can then work with.

2012-10-03 Andy Doan <email address hidden>

 allow action to handle multiple testdef urls

 The lava_test_shell code had this logic already, but the action didn't.
 This changes the action to accept an array of URLs. This implied some
 fixes to badness in the code:

 * making the /lava/tests/<testname> handle repeats by now using an
 index so its /lava/tests/01_testname, etc

 * configure_target decides the name of the test install directory,
 explains how the target's path and the hosts path can differ, and
 then passes this path to its functions.

2012-10-03 Andy Doan <email address hidden>

 fix lava-test-shell interpreter

 This started as /system/bin/mksh for android, then was hacked around
 by calling via "sh" in each runner. This allows the lava_test_shell
 action to determine the proper interpreter and allow us to call it
 properly in our scripts.

2012-10-02 Andy Doan <email address hidden>

 fix some bugs in the MP

2012-10-02 Andy Doan <email address hidden>

 add bundle building logic to lava_test_shell

 This adds the logic to take the test results from the lava-test-shell
 logic and produce a properly formatted lava-dashboard bundle

2012-10-02 Andy Doan <email address hidden>

 add install support to lava_test_shell

 This handles the install part of declarative test in the action.

2012-10-01 Andy Doan <email address hidden>

 add run support to lava_test_shell

 This adds logic to build the run.sh script based on the run section
 of the test definition

2012-10-01 Andy Doan <email address hidden>

 add notion of testdef to lava_test_shell action

 This adds a testdef_url and timeout to the parameters this action
 accepts. The testdef_url should point to a file that supports the
 lp:lava-test's "declarative test" model. The timeout value is how
 long in seconds the test will be given to run.

 This series just gets the testdef in place. The next few patches
 actually do something with this.

 An example declarative test would be:
 {
 "format": "Lava-Test Test Definition 1.0",
 "test_id": "passfail",
 "install": {
 "bzr-repos": ["lp:lava-test"],
 "git-repos": ["git://git.linaro.org/ubuntu/daily-prebuilt-images.git"],
 "steps": ["echo installing!"]
 },
 "run": {
 "steps": ["/bin/echo mem-stress-a7 : PASS"]
 },
 "parse": {
 "pattern": "(?P<test_case_id>.*-*)\\s+:\\s+(?P<result>(PASS|FAIL))",
 "fixupdict": {
 "PASS": "pass",
 "FAIL": "fail"
 }
 }
 }

2012-10-01 Andy Doan <email address hidden>

 include new lava-test-shell scripts

 These are the first stage for the basis of a more black box style approach
 to testing in LAVA. There are two scripts:

 * lava-test-runner(andrdoid/ubuntu): This script is intended to be
 launched near the end of the boot process. Its job is to find tests
 that have been configured to work. It does so by looking at the
 ${WORKFILE} for tests defined to run. Each test directory must
 include a "run.sh" file which is to be run by the lava-test-shell.

 The test runner also saves the information needed later on for the hardware
 and software context information that goes into a LAVA bundle.

 * lava-test-shell: This is super simple at the moment. Its responsible
 for executing the actual command. It streams stdout/stderr to both the
 serial console and to a file. Currently stderr is streamed to stdout.log
 and this should be fixed, but its a start. We also save the exit code
 for the process.

2012-10-01 Andy Doan <email address hidden>

 workaround bug in python's tarfile implementation

 Our version of python has an issue with unicode filenames in a tarball.
 We had old code that just shelled out to "tar -xzf" and that seems like
 the safest bet for the time being.

2012-10-01 Andy Doan <email address hidden>

 convert to using new device.target API for devices

 This converts the dispatcher over to using a more limited, well-defined
 approach for dealing with actual device types. It then keeps the "client"
 part of the implementation down to just what's required by current actions
 in the dispatcher.

2012-10-01 Andy Doan <email address hidden>

 code review updates

 This addresses review notes for the original MP.

 master.py:
 * ubuntu boot_cmds was set wrong
 * use == over "is" in file_system method
 * let SimpleHTTPServer pick its own port
 * fix regex for finding port number (pexpect uses non-greedy matching)

 device-defaults.conf:
 * we already gave soft_boot_cmd a default in config.py

 base.py:
 * use a common empty_buffer function
 * use " over ' for docstring and fix grammar

 target.py:
 * use " over ' for docstring
 * explain partition used for file_system method
 * increase the timeout for the "sync" command in power off to something
 larger, but still arbitrary

2012-09-30 Andy Doan <email address hidden>

 fix deployment data concept in Target

 The original approach in this patchset with a single dictionary
 was pretty clumsy. This approach allows other modules to register
 things in a more flexible way that makes accessing the information
 better.

2012-09-30 Andy Doan <email address hidden>

 create directory if missing on calls to target.file_system

 Create the target directory if the caller is depending on it existing

2012-09-30 Andy Doan <email address hidden>

 convert master client to target based

2012-09-30 Andy Doan <email address hidden>

 support android-deploy in master image device

2012-09-30 Andy Doan <email address hidden>

 add master device support for hwpack+rfs

 This adds in the logic to run l-m-c for Ubuntu images to the master
 image device implementation.

 Tested with snippet:

 from lava_dispatcher.device.master import MasterImageTarget
 from lava_dispatcher.config import get_config, get_device_config
 from lava_dispatcher.context import LavaContext
 config = get_config("lava-dispatcher", "/srv/lava/instances/staging/etc/lava-dispatcher")
 ctx = LavaContext('panda01', config, None, None)
 device_config = get_device_config('panda01', config.config_dir)
 target = MasterImageTarget(ctx, device_config)

 target.deploy_linaro('http://snapshots.linaro.org/precise/hwpacks/panda/304/hwpack_linaro-panda_20120921-304_armhf_supported.tar.gz', 'http://snapshots.linaro.org/precise/images/nano/412/linaro-precise-nano-20120921-412.tar.gz')

2012-09-30 Andy Doan <email address hidden>

 add pre-built flashing logic to master device

 This also introduces a new method (tarballcache) for manage our cached
 tarballs for health jobs. Our caching logic in the client's master.py
 was complex and could have race conditions. This simplifies things quite
 a bit and should actually work better.

 doanac's axiom: Those who devise their own synchronization algorithms
 are bound to lose the 'race'.

 testing done with script:

 from lava_dispatcher.device.master import MasterImageTarget
 from lava_dispatcher.config import get_config, get_device_config
 from lava_dispatcher.context import LavaContext

 config = get_config("lava-dispatcher", "/srv/lava/instances/staging/etc/lava-dispatcher")
 ctx = LavaContext('panda01', config, None, None)
 device_config = get_device_config('panda01', config.config_dir)
 target = MasterImageTarget(ctx, device_config)

 target.deploy_prebuilt('http://snapshots.linaro.org/precise/pre-built/lt-panda/292/lt-panda-precise_nano_20120720-292.img.gz')

2012-09-30 Andy Doan <email address hidden>

 implement file_system support in master image device

2012-09-30 Andy Doan <email address hidden>

 add on/off function to master image device

 This allows us to boot into the linaro image. It might make more
 sense to do the "deploy_image" patches before this, but they are hard
 to verify without boot support. So this was done first.

 These functions were copied from the old master.py client. However,
 the _boot_linaro_image logic was updated to support ubuntu/android in
 one function rather than two functions. This is done by introducing a
 new dictionary to the target device called "deployment_data". This is
 used to set per-deployment options. For example, when the deploy_*
 methods are implemented for master.py they will set the proper boot_cmds.

2012-09-30 Andy Doan <email address hidden>

 create masterimage target device skeleton

 this just gives us the ability to boot into the master image

2012-09-30 Andy Doan <email address hidden>

 make qemu device a generic client implementation

 Make the qemu client be based on the TargetBasedClient

2012-09-30 Andy Doan <email address hidden>

 make fastmodel device a generic client implementation

 The fastmodel client is now basically a generic shell that works with
 a Target object. This makes it totally generic so that new devices built
 completely on the Target API can still work with tradition actions in
 the dispatcher

 We also remove the old fastmodel_deploy action which was never used in
 production.

2012-09-30 Andy Doan <email address hidden>

 move test_data_attachment logic into target device

 This will be needed for target device implementations and is not specific
 to our traditional lava-test oriented clients

2012-09-30 Andy Doan <email address hidden>

 convert fastmodel code over to new target device interface

 This moves everything not needed by the traditional dispatcher client
 code into the device implementation.

2012-09-28 Andy Doan <email address hidden>

 add concept of a target device

 The lava-test-shell work allows us to have a much more narrow view about
 interacting with a target device. This commit defines the minimum interface
 required for a lava-test-shell based action:

 * power_on
 * power_off
 * deploy_* - deploy an image type to the target
 * file_sytem - allows interaction with the files on the target

2012-10-01 Andy Doan <email address hidden>

 configglue bug fixes found while doing fastmodel.py testing

2012-09-27 Andy Doan <email address hidden>

 configglue bug fix for fastmodel.py

2012-10-01 Andy Doan <email address hidden>

 ensure we delete the host_dir

2012-09-27 Andy Doan <email address hidden>

 ensure we delete the host_dir

 While doing the previous commit, I noticed that the temp directory
 created wasn't being deleted. Upon further investigation I noticed
 this also results in littering our /tmp directory with tons of result
 bundles from Android runs. This is a quick fix.

2012-09-27 Antonio Terceiro <email address hidden>

 do not set tester_hostname to empty string in default config

2012-09-27 Michael Hudson-Doyle <email address hidden>

 use configglue to define a schema for our configuration
 buyer beware: this may be a little disruptive, test before upgrading!

2012-09-26 Michael Hudson-Doyle <email address hidden>

 grr

2012-09-26 Michael Hudson-Doyle <email address hidden>

 no, there is always more

2012-09-26 Michael Hudson-Doyle <email address hidden>

 final (?) touches

2012-09-26 Michael Hudson-Doyle <email address hidden>

 even more mechanical progress

2012-09-26 Michael Hudson-Doyle <email address hidden>

 more

2012-09-26 Michael Hudson-Doyle <email address hidden>

 more mechanical progress

2012-09-26 Michael Hudson-Doyle <email address hidden>

 random progress

2012-09-26 Michael Hudson-Doyle <email address hidden>

 more working

2012-09-26 Michael Hudson-Doyle <email address hidden>

 works a little bit now

2012-09-26 Michael Hudson-Doyle <email address hidden>

 kill stupid config accessors

2012-09-26 Michael Hudson-Doyle <email address hidden>

 return config objects that support access by attributes

2012-09-25 Michael Hudson-Doyle <email address hidden>

 sort schema, mark a couple of types

2012-09-25 Michael Hudson-Doyle <email address hidden>

 kill name arg to get_config

2012-09-25 Michael Hudson-Doyle <email address hidden>

 mostly mechanically create schema for devices and the overall config

2012-09-24 Andy Doan <email address hidden>

 post release bump

2012-09-24 Andy Doan <email address hidden>

 release-0.18

 2012.09

2012-09-21 Michael Hudson-Doyle <email address hidden>

 do not explode if /etc/resolv.conf is missing in the testrootfs

2012-09-20 Michael Hudson-Doyle <email address hidden>

 cheap hack to not die if /etc/resolv.conf is not present when setting up chroot partition

2012-09-21 Michael Hudson-Doyle <email address hidden>

 remove never-used features that claimed to support testing ubuntu and android images with custom kernels

2012-09-07 Michael Hudson-Doyle <email address hidden>

 kill equivalent feature for android

2012-09-07 Michael Hudson-Doyle <email address hidden>

 brutally slay code and docs (!) to do with kernel matrix feature

2012-09-19 Antonio Terceiro <email address hidden>

 Use qemu-system-arm by default

 People who are trying architectures other than ARM can still override that in
 their configuration if needed

File Description Downloads
download icon lava-dispatcher-0.19.3-2012.10.tar.gz (md5, sig) Source release 1,194
last downloaded 73 weeks ago
Total downloads: 1,194

2012.09 release from the trunk series released 2012-09-24

Release information
Changelog:

2012-09-24 Andy Doan <email address hidden>

 release-0.18

 2012.09

2012-09-21 Michael Hudson-Doyle <email address hidden>

 do not explode if /etc/resolv.conf is missing in the testrootfs

2012-09-20 Michael Hudson-Doyle <email address hidden>

 cheap hack to not die if /etc/resolv.conf is not present when setting up chroot partition

2012-09-21 Michael Hudson-Doyle <email address hidden>

 remove never-used features that claimed to support testing ubuntu and android images with custom kernels

2012-09-07 Michael Hudson-Doyle <email address hidden>

 kill equivalent feature for android

2012-09-07 Michael Hudson-Doyle <email address hidden>

 brutally slay code and docs (!) to do with kernel matrix feature

2012-09-19 Antonio Terceiro <email address hidden>

 Use qemu-system-arm by default

 People who are trying architectures other than ARM can still override that in
 their configuration if needed.

File Description Downloads
download icon lava-dispatcher-0.18-2012.09.tar.gz (md5, sig) Source release 603
last downloaded 64 weeks ago
Total downloads: 603

2012.08 release from the trunk series released 2012-08-28

Release information
Changelog:

2012-08-27 Andy Doan <email address hidden>

 release-0.17

 2012.08

2012-08-27 Andy Doan <email address hidden>

 support for boot testing an openembedded image

2012-08-27 Andy Doan <email address hidden>

 as per review comments - check for dpkg-divert before just calling it

2012-08-24 Andy Doan <email address hidden>

 support for boot testing an openembedded image

 This is a small change to allow boot testing an openembedded image. We
 needed to ignore the dpkg-divert failure and also allow the job file to
 specify an alternative set of boot commands since the OE images don't
 use and initrd.

 The way you can test this is by submitting a job whose boot action is:

 {
 "command": "boot_linaro_image",
 "parameters": {
 "options": ["boot_cmds=boot_cmds_oe"]
 }
 } },

 then ensure you have the proper boot_cmds_oe conf set up for your
 device-type.

2012-08-24 Andy Doan <email address hidden>

 add a URL mapping feature

 This allows the dispatcher's downloading code to be able to override
 a URL given to it with another. For example, you might get a job
 that wants to download a file:
 http://blah/root.img

 This could be overriden to be file:///root.img

 You can specify one or more mappings in:

 <INSTANCE>/etc/lava-dispatcher/urlmappings.txt

 An example:

 ^https:\/\/.*\/precise\/restricted, scp://<email address hidden>/precise/restricted/
 ^https:\/\/.*\/~linaro-android-restricted\/, scp://<email address hidden>/android/~linaro-android-restricted/

 these take URLs that are protected by OpenID (not supported in the downloader)
 and replaces them with an SCP based URL

2012-08-24 Andy Doan <email address hidden>

 fixes to dispatcher for ubuntu fastmodel support

2012-08-23 Andy Doan <email address hidden>

 fix error message pexpect draining logic

 This dumps a warning every time and is only a problem if we get
 exceptions that aren't from "select"

2012-08-23 Andy Doan <email address hidden>

 allow configurable boot_linaro_image timeouts

 The fastmodel's take about 500 seconds to boot rather than 300

2012-08-23 Andy Doan <email address hidden>

 move adb check for fastmodel to android boot logic

 There's no need doing this check if we are doing ubuntu testing

2012-08-23 Andy Doan <email address hidden>

 make the pexpect closes happen in one place for fastmodel

2012-08-23 Andy Doan <email address hidden>

 ensure fastmodel filesystem has been synced before shutdown

 I encountered a bug while testing ubuntu images with lava-test-run
 actions. The timeline of events was roughly:

 1) boot
 2) lava-test-install
 3) lava-test-run
 - the last part of this action writes the .bundle to disk in the
 target
 4) shutdown
 5) retrieve-results

 The problem was the the .bundle from 3 wasn't getting synced to disk
 before 4 occurred. This then caused action 5 to not see the file it
 needed.

2012-08-22 Andy Doan <email address hidden>

 use proper codepage streams for all fastmodel processes

2012-08-15 Andy Doan <email address hidden>

 split up disable adb over USB from restart adb

2012-08-14 Alexander Sack <email address hidden>

 split up disable adb over USB from restart adb functionality and only restart networking if self.enable_network_after_boot_android is set

2012-08-14 Alexander Sack <email address hidden>

 disable enable_network_after_boot_android for device-types/fastmodel.conf

2012-08-09 Alexander Sack <email address hidden>

 disble enable_network_after_boot_android for device-types/fastmodel.conf

2012-08-13 Andy Doan <email address hidden>

 don't run linaro-android-media-create with sudo

2012-08-10 Alexander Sack <email address hidden>

 don't run linaro-android-media-create with sudo in lmc_utils.py

 Running lamc as sudo makes no sense:
 1. lamc uses sudo on its own; hence, its not needed
 2. for lamc run as root it obviously isn't needed either

2012-08-10 Andy Doan <email address hidden>

 fix invalid comment in fastmodel

 revno 360.2.2 forget to remove the comment attached to the code

2012-08-10 Alexander Sack <email address hidden>

 workaround fix for TIME_WAIT fast model bustage as discussed in: https://bugs.launchpad.net/lava-dispatcher/+bug/1034809

 here we wait till TIME_WAIT is gone, which will fix that we sometimes cant connect adb after rebooting fastmodel.

 see https://code.launchpad.net/~asac/lava-dispatcher/logged-commands-getstatusoutput-wrapper-util/+merge/119029 for prereq merge proposal.

2012-08-10 Andy Doan <email address hidden>

 fix some disablesuspend issues with fastmodel

2012-08-08 Andy Doan <email address hidden>

 allow timeout for disablesuspend to be configurable

 I ran into an issue where newer FM builds require a longer timeout
 for the disablesuspend script to complete. Rather than getting stuck
 in a hole where we always do code changes for this, it should just
 be configurable.

2012-08-08 Andy Doan <email address hidden>

 allow config.getint to take a default value

2012-08-08 Andy Doan <email address hidden>

 fix disablesuspend path for fastmodels

 This never worked and we were lucky because there's a default version
 included in the FM android build.

2012-08-02 Andy Doan <email address hidden>

 release-0.16

2012-08-02 Andy Doan <email address hidden>

 fix syntax error from revno 362

2012-08-02 Andy Doan <email address hidden>

 allow clients to recieve custom boot options

2012-08-01 Andy Doan <email address hidden>

 fix issue where all schema now require parameters

 This allows old actions that didn't specify a parameters section to
 still work.

2012-07-27 Andy Doan <email address hidden>

 allow fastmodel client to support configurable boot options

 The new options this supports are:

 * motherboard.smsc_91c111.enabled (default=1)
 * motherboard.hostbridge.userNetworking (default=1)
 * coretile.cache_state_modelled (default=0)
 * coretile.cluster0.cpu0.semihosting-enable (default=1)

 example json for this is:
 "actions": [
 {
 "command": "boot_linaro_image",
 "parameters": {
 "options": [
 "motherboard.hostbridge.userNetworking=0",
 "coretile.cache_state_modelled=1"
 ]
 }
 }

2012-07-27 Andy Doan <email address hidden>

 allow boot actions to take options

 This adds support to pass boot options to client implementations. The
 options are specific to the client and its implementation/validation rules

2012-08-02 Andy Doan <email address hidden>

 import attachment support for client implementations

2012-07-31 Andy Doan <email address hidden>

 clean up and document fastmodel draining function

2012-07-31 Andy Doan <email address hidden>

 allow rtsm log attachments for fastmodel client

2012-07-31 Andy Doan <email address hidden>

 improve attachment support for client implementations

 The original code was basically designed to only add stdout.log as an
 attachment to the lava_results bundle. This takes a more generic
 approach so that clients can extend this if needed

2012-08-02 Andy Doan <email address hidden>

 allow test image hostname to be configurable

2012-08-02 Spring Zhang <email address hidden>

 include bug fix info

2012-08-02 Spring Zhang <email address hidden>

 Provide test image hostname custom option

2012-08-02 Spring Zhang <email address hidden>

 Use apt-get -o to specify proxy instead of configuration file to reduce proxy setting issue

2012-08-01 Spring Zhang <email address hidden>

 delete dash in member name

2012-07-31 Spring Zhang <email address hidden>

 Use apt-get option -o instead of configuration file

2012-07-27 Andy Doan <email address hidden>

 use wget --no-cert to deal with https downloads

2012-07-27 Abner Silva <email address hidden>

 In order to get the client/master.py working with https hosts a new flag
 was added to each wget command execution: --no-check-certificate

2012-07-27 Andy Doan <email address hidden>

 fastmodel-ubuntu-support

2012-07-23 Andy Doan <email address hidden>

 cleanup of results direction now handled in atexit logic

 The new get_www_scratch_dir (and download_image) logic for deleting
 directories upon exit means we don't have to delete this here.

2012-07-23 Andy Doan <email address hidden>

 make installation of lava-test optional for lava-test-install action

 installing lava-test is not simple and on FastModel's it takes a long time.
 Additionally, linaro images now have this pre-installed. Let's make the
 installation of the lava-test package itself optional

2012-07-23 Andy Doan <email address hidden>

 add result gathering logic for fastmodel client

 results are gathered from the target image using this function
 in the dispatcher

2012-07-23 Andy Doan <email address hidden>

 make FM axf extraction logic common

2012-07-23 Andy Doan <email address hidden>

 add lmc support for ubuntu images to fastmodel

 NOTE: revno 353.1.2 accidentally added the lmc function. This was a
 mistake made when I merged that.

2012-07-23 Alexander Sack <email address hidden>

 add missing colon (:) when setting up fastmodel android prompt

2012-07-23 Spring Zhang <email address hidden>

 Delete temporarily added proxy echo commands

2012-07-19 Spring Zhang <email address hidden>

 Revert r335 delete proxy echo commands

2012-07-22 Andy Doan <email address hidden>

 post release bump

2012-07-22 Andy Doan <email address hidden>

 release-0.15.2

 2012.07

File Description Downloads
download icon lava-dispatcher-0.17-2012.08.tar.gz (md5, sig) Source release 829
last downloaded 78 weeks ago
Total downloads: 829

2012.07 release from the trunk series released 2012-07-22

Release information
Release notes:

2012-07-22 Andy Doan <andy.doan@linaro.org>

 release-0.15.2

 2012.07

2012-07-22 Andy Doan <andy.doan@linaro.org>

 fix remaining bugs with temp dirs and download logic

2012-07-21 Andy Doan <andy.doan@linaro.org>

 remove old download function

 this is no longer used in code and has been replaced by download_image

2012-07-21 Andy Doan <andy.doan@linaro.org>

 convert master client to use download_image

 download_image has better functionality than the old download function. This
 converts the master image client to using it

2012-07-21 Andy Doan <andy.doan@linaro.org>

 update lmc-utils to use download_image logic

 The download_image function is an improvement over the original
 download function and fixes a TODO in the lmc-utils code

2012-07-21 Andy Doan <andy.d...

File Description Downloads
download icon lava-dispatcher-0.15.2-2012.07.tar.gz (md5, sig) source 940
last downloaded 70 weeks ago
Total downloads: 940

2012.06 release from the trunk series released 2012-06-28

Release information
Changelog:

2012-06-28 Andy Doan <email address hidden>

 release 0.14

 2012.06

2012-06-27 Andy Doan <email address hidden>

 Suppress warnings about timestamps being in the future

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

 Suppress warnings about timestamps being in the future when deploying tarballs to boards

2012-06-27 Spring Zhang <email address hidden>

 Display proxy setting to confirm if some error related with proxy config file

2012-06-26 Spring Zhang <email address hidden>

 Echo the content of 30proxy to see if the proxy setting is right

 http://validation.linaro.org/lava-server/scheduler/job/23133/log_file
 error:
 E: Syntax error /etc/apt/apt.conf.d/30proxy:4: Extra junk at end of file
 export http_proxy=http://1 92.168.1.10:3128/
 Acquire::http::proxy "http: //192.168.1.10:3128/"

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

 make passing timeout in respsones to CommandRunner.run do something more useful

2012-06-26 Michael Hudson-Doyle <email address hidden>

 if TIMEOUT is one of the expected responses in CommandRunner.run, just return immediately

2012-06-26 Andy Doan <email address hidden>

 support linaro-android-media-create in fastmodel client

2012-06-25 Andy Doan <email address hidden>

 A subtle change in flock and linaro-android-media-create

 I've encountered an issue where fastmodel's don't run well from a root
 user account. We normally run this part of the dispatcher as root so
 that things like linaro-media-create work properly. The best hack I've
 found so far is to run the fast model dispatcher as a non-root user,
 and create an /etc/sudoers file like:

 %admin ALL=NOPASSWD: /usr/bin/linaro-android-media-create

 This change just makes the sudoers entry smaller so it doesn't include
 the flock stuff

2012-06-25 Andy Doan <email address hidden>

 add support for deploy_linaro_android_image to fastmodel

 This allows users to send us a boot.tar.bz2, system.tar.bz2, and
 userdata.tar.bz2 file and we'll generate an image via l-a-m-c

2012-06-25 Andy Doan <email address hidden>

 update downloader to optionally decompress

 For android images, we don't want to decompress them as we download, because
 they are expected to be compressed by l-a-m-c.

2012-06-25 Andy Doan <email address hidden>

 fix android support for fast models

2012-06-25 Andy Doan <email address hidden>

 improve handling of enable_network_after_boot_android

 As per code review, this makes this option work better as a real
 boolean and gives it a proper default value

2012-06-22 Andy Doan <email address hidden>

 update fastmodel client for proper android support

 base.py:
 * don't assume the default network interface is used for ADB. In
 the case of fast model's it has to be a bridged "lo" device.

 * don't attempt to get ip in get_default_nic_ip. we already have
 code to get the IP address in the _enable_network function

 * the sleep between check_device_state needed to be a bit bigger

 * the wait for home screen had to be increased

 * option support for enable_network_after_boot_android was always
 returning true based on how it was written

 fastmodel.py
 * fastmodels must use loopback for adb which requires setting
 the userNetPorts when launching the process

 * ping doesn't in user mode network, so we fake this out

2012-06-22 Michael Hudson-Doyle <email address hidden>

 preserve the port in the dashboard url when building the MemoryAuthBackend for submission

2012-06-21 Andy Doan <email address hidden>

 merge fastmodel boot support

2012-06-20 Andy Doan <email address hidden>

 code review update for guessing android/ubuntu

 The code review noted the ugliness of how the code guessed if
 the image was android or ubuntu. This adds an attribute to the
 deploy_fastmodel_action to handle this

2012-06-19 Andy Doan <email address hidden>

 fix fastmodel issues for android boot

 There were two issues keeping and android boot action from working:

 1) The _sim_procs stdout pipe was getting full. We weren't calling
 the "interact()" function on pexpect which drains the pipe. This wasn't
 a problem (yet) for ubuntu images because its sim process isn't as
 verbose.

 2) PS1 needs to be set properly

2012-06-18 Andy Doan <email address hidden>

 add ability to boot an android image

 Android and Ubuntu can basically boot the same way. There's only
 a minor difference in how we customize the images.

2012-06-18 Andy Doan <email address hidden>

 support "reliable_session" function

 This is used by the lava-test install action.

2012-06-18 Andy Doan <email address hidden>

 simplify fastmodel deploy/boot

 fastmodel's don't have to have the kernel,initrd, and device tree
 specified. We can rely on the semi-hosting bootwrapper (axf file).
 This makes for a little less code.

 Also - the base client has a function called boot_linaro_image. We really
 just need to implement what's required of the function it calls
 _boot_linaro_image

2012-06-15 Andy Doan <email address hidden>

 basic boot support for fast model

 This includes the basic support to download a pre-built fast model
 image, run a deploy action, and then the boot action

2012-06-15 Andy Doan <email address hidden>

 ensure boot actions are only done for supported clients

 Not all clients can perform all boot actions. This will be more true
 when we add fast model support. Ideally this check should be done at
 the time of job submission, but this is a much easier way to add the
 sanity check right now

2012-06-15 Andy Doan <email address hidden>

 update to new downloader logic

 This new download streams content and decompresses on the fly. Its
 also built to handle SCP, HTTP, and local file.

 NOTE: other SCP alternatives were tried including paramiko, but their
 performance and/or code complexity were more than just shelling to ssh

2012-06-18 Andy Doan <email address hidden>

 updates for new downloader code and qemu

2012-06-13 Andy Doan <email address hidden>

 add a device-type example for qemu

2012-06-13 Andy Doan <email address hidden>

 update qemu client to work like other clients

 The qemu client didn't have logic for downloading images. So jobs
 only worked when the image was a local path.

2012-06-13 Andy Doan <email address hidden>

 create a common download_image function

 The qemu and future fast model clients both need this type of logic so
 lets move the logic from master.py into a common function.

 Additionally, I also discovered a bug while testing this code where
 the cache lock file wasn't getting deleted upon download errors which
 then caused subsequent jobs to wait around on the lock forever.

2012-06-18 Yongqin Liu <email address hidden>

 delete script lava-partition-disk

2012-06-18 Yongqin Liu <email address hidden>

 delete lava-partition-disk

2012-06-15 Michael Hudson-Doyle <email address hidden>

 post release bump

2012-06-15 Michael Hudson-Doyle <email address hidden>

 release 0.13

2012-06-15 Michael Hudson-Doyle <email address hidden>

 backfill changes

2012-06-14 Yongqin Liu <email address hidden>

 add the option parameter for the test_name method of lava_android_test_run command

2012-06-14 Yongqin Liu <email address hidden>

 add the option parameter for the test_name method of lava_android_test_run command

2012-06-14 Michael Hudson-Doyle <email address hidden>

 make lava-dispatch invoke lava dispatch, and make the latter's logging
 setup match the formers

2012-06-14 Michael Hudson-Doyle <email address hidden>

 take lava-dispatch away and replace it with a shell compatibility shim

2012-06-14 Michael Hudson-Doyle <email address hidden>

 do horrible things so the logging setup in "lava dispatch" works

2012-06-13 Yongqin Liu <email address hidden>

 merge with the branch that adding support for android test actions

2012-06-11 Yongqin Liu <email address hidden>

 make the last action not rebooted

2012-06-11 Yongqin Liu <email address hidden>

 modify sendcontrol to sendline

2012-06-08 Yongqin Liu <email address hidden>

 add clear source befor reboot the android session

2012-06-08 Yongqin Liu <email address hidden>

 raise exception when not found interrupt_boot_prompt

2012-06-07 Yongqin Liu <email address hidden>

 modify a bug for android install action

2012-06-07 Yongqin Liu <email address hidden>

 modify to use the TimeoutError

2012-06-06 Yongqin Liu <email address hidden>

 check the command and timeout value before add timeout to params

2012-06-06 Yongqin Liu <email address hidden>

 add reboot when timeout

2012-05-28 Yongqin Liu <email address hidden>

 add timeout for lava-android-test actions

2012-06-11 Andy Doan <email address hidden>

 download code fixes for proxy and cookies

2012-06-07 Andy Doan <email address hidden>

 add support for configurable cookies in download code

 Some LAVA deployments may need the ability to specify cookies in
 order to properly download images. This adds a simple mechanism
 that allows the cookies to be specified via .conf file

2012-06-07 Andy Doan <email address hidden>

 update *all* download code to use proxy

 we were still downloading pre-built images using our old caching
 logic rather than via our proxy support

2012-06-11 Yongqin Liu <email address hidden>

 increase the number of retry and decrease the wait time for _deploy_tarball_to_board method

2012-06-08 Yongqin Liu <email address hidden>

 increase the number of retry and decrease the wait time for _deploy_tarball_to_board method

2012-06-11 Michael Hudson-Doyle <email address hidden>

 add all repositories specified in the add_apt_repository command

2012-06-08 Luis Araujo <email address hidden>

 Add all the available apt repositories in the add_apt_repository lava-test command

2012-06-07 Michael Hudson-Doyle <email address hidden>

 post release bump

2012-06-07 Michael Hudson-Doyle <email address hidden>

 release 0.12

2012-06-06 Michael Hudson-Doyle <email address hidden>

 the hot key message does not actually indicate that the cyclades port is working, so do not wait for it

2012-06-06 Yongqin Liu <email address hidden>

 merge the branch that fix the timeout problem of wait_home_screen for android

File Description Downloads
download icon lava-dispatcher-0.14-2012.06.tar.gz (md5, sig) Source release 716
last downloaded 3 weeks ago
Total downloads: 716

2012.05 release from the trunk series released 2012-05-31

File Description Downloads
download icon lava-dispatcher-0.11.tar.gz (md5) LAVA Dispatcher 0.11 1,113
last downloaded 79 weeks ago
Total downloads: 1,113

2012.04 release from the trunk series released 2012-04-26

Release information
Changelog:

2012-04-25 Andy Doan <email address hidden>

        release-0.6 (2012.04)

2012-04-25 Andy Doan <email address hidden>

        merge cache-rootfs-boot-tarballs

2012-04-25 Le Chi Thu <email address hidden> <email address hidden>

        Remove race condition in tarballs caching

2012-04-19 Le Chi Thu <email address hidden> <email address hidden>

        Fixed a bug when cache the downloaded files

2012-04-17 Le Chi Thu <email address hidden> <email address hidden>

        Changed the method names. Cache file creation sync between lava-dispatcher instances.

2012-04-16 Le Chi Thu <email address hidden> <email address hidden>

        cache tarballs for job with image type

2012-04-20 Spring Zhang <email address hidden>

        Fix package dependency when lava-test install

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

        add keyring pkg dependence in lava-test install

2012-04-18 Michael Hudson-Doyle <email address hidden>

        allow overriding the command to stop the normal boot process and string to look for to know that the boot process has begun from the device config

2012-04-17 Abner Silva <email address hidden>

        Add two new device configuration options.

        interrupt_boot_command: Command to stop the normal boot process
        image_boot_msg: String to look for to know that the boot process has begun

File Description Downloads
download icon lava-dispatcher-0.6-2012.04.tar.gz (md5, sig) Source release 2,260
last downloaded 18 weeks ago
Total downloads: 2,260

110 of 20 releases