lp:~david-schwarz/lava-dispatcher/multi_target_2011.09
- Get this branch:
- bzr branch lp:~david-schwarz/lava-dispatcher/multi_target_2011.09
Branch merges
- Linaro Validation Team: Pending requested
- Paul Larson: Pending requested
-
Diff: 589 lines (+365/-88) (has conflicts)6 files modifiedlava-dispatch (+2/-0)
lava_dispatcher/__init__.py (+174/-49)
lava_dispatcher/actions/launch_control.py (+109/-34)
lava_dispatcher/actions/sync_to_label.py (+22/-0)
lava_dispatcher/sync.py (+47/-0)
lava_dispatcher/utils.py (+11/-5)
Related bugs
Related blueprints
Branch information
Recent revisions
- 128. By David Schwarz
-
multi-target: Enable management of multiple target machines
This patch modifies lava-dispatcher to allow it to manage tests
that require synchronized actions across multiple machines.The main thread launches a child thread for each target and then
waits for child threads to complete.Each child thread is given a list of actions constructed from the
json job file.Changes to job file format:
Multi-target jobs should include a "client_groups" attribute
containing one or more named groups of target machines, e.g.:"client_
groups" : [
{
"name": "target_group",
"target_ hosts": [
"host1" , "host2"
]
},
{
"name": "helper_group",
"target_ hosts": [
"host3"
]
}
]"target_hosts" lists may include ip addresses and ip address
ranges ("xxx.xxx.xxx.xxx- yyy.yyy. yyy.yyy" ). Each action in a multi-target job includes a list of target
groups, e.g.:"target_groups" = ["target_group", "helper_group"]
Synchronization may be written in the action implementations.
If job-script-level synchronization is desired, the provided
sync_to_label action will cause all members of all groups in
its "target_groups" list to wait for all other members to reach
that action before continuing.Both client- and server-side results for all clients are
collected and submitted by the "submit_results" action. - 127. By Paul Larson
-
Serialize calls to linaro-
media-create. This greatly improves
performance when multiple jobs are running in parallel. - 124. By Yongqin Liu
-
merge to trunk:
add combine process for submit_results_ on_host action
make 0xbench execute first befor monkey in job file
add busybox test to job file
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lava-dispatcher