lp:~david-schwarz/lava-dispatcher/multi_target_2011.09

Created by David Schwarz and last modified
Get this branch:
bzr branch lp:~david-schwarz/lava-dispatcher/multi_target_2011.09
Only David Schwarz can upload to this branch. If you are David Schwarz please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
David Schwarz
Project:
LAVA Dispatcher
Status:
Development

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.

126. By Paul Larson

Release 0.3.1

125. By Yongqin Liu

fix leak of job_name setting

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

123. By Yongqin Liu

merge for MATER_STR not defined problem

122. By Michael Hudson-Doyle

copy device_type from job data to result metadata if present

121. By Paul Larson

release 0.3.0

120. By Paul Larson

Add LAVA_TEST_URL config option for specifying where to install
lava-test from

119. By Paul Larson

Merge python logging branch from ChiThu

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lava-dispatcher
This branch contains Public information 
Everyone can see this information.

Subscribers