lp:~mwhudson/lava-dispatcher/bug-900990
- Get this branch:
- bzr branch lp:~mwhudson/lava-dispatcher/bug-900990
Branch merges
- Paul Larson (community): Approve
-
Diff: 75 lines (+20/-18)1 file modifiedlava_dispatcher/client/master.py (+20/-18)
Related bugs
Bug #900990: android deploy does not fail if untar fails | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 174. By Michael Hudson-Doyle
-
factor downloading a tarball to the board into a separate function, that fails if something goes wrong
- 172. By Michael Hudson-Doyle
-
use the context's config rather than reading it again in _install_lava_test
- 169. By Michael Hudson-Doyle
-
Major refactoring of how the dispatcher deploys images and communicates with
the device being tested.* One major change is the commands are executed in 'sessions', for example:
with client.
tester_ session( ) as session:
session. run('ls' ) This will ensure the system is booted into the test partition and run()
wraps up the "run a shell command, optionally looking for a particular
response and wait for the next prompt" functionality we use in a number
of places.* Another major change is to move the details of deployment to client methods.
Nothing outside of the LavaMasterImageClient implementation of thse methods
assumes the existence of a master image now.* Finally, add an experimental client subclass that builds an image and tests
it for qemu.The QEMU support is probably a bit fragile and specific to beagle currently,
but that should be easy to change. The support for testing on master image
based boards should work as before.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lava-dispatcher