lp:~mwhudson/lava-dispatcher/bug-900990

Created by Michael Hudson-Doyle and last modified
Get this branch:
bzr branch lp:~mwhudson/lava-dispatcher/bug-900990
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Hudson-Doyle
Project:
LAVA Dispatcher
Status:
Merged

Recent revisions

178. By Michael Hudson-Doyle

thanks paul

177. By Michael Hudson-Doyle

this is torture

176. By Michael Hudson-Doyle

grr tar does not autodecompress from stdin

175. By Michael Hudson-Doyle

stoopid

174. By Michael Hudson-Doyle

factor downloading a tarball to the board into a separate function, that fails if something goes wrong

173. By Michael Hudson-Doyle

make some error messages more explicit

172. By Michael Hudson-Doyle

use the context's config rather than reading it again in _install_lava_test

171. By Zygmunt Krynicki

Automatically override configuration inside virtualenv

170. By Michael Hudson-Doyle

silly mistake

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
This branch contains Public information 
Everyone can see this information.