DescriptionAdd support for an --image flag to atest.
This enables creating jobs from the CLI that use autoserv to install a new OS image before running the requested test.
This was not added to the database like the reboot before/reboot after flags to maintain backward compatibility and avoid any changes to the database schema.
Also it is not working as a pure parameterized job as the current implementation is not 100% complete and would require more work to finish. And since mixed jobs are not allowed it would also mean moving existing control file jobs to parameterized jobs.
So the implementation of adding a parameterized id to control jobs and using a known test to hold the OS image path is the most straight forward of the options.
Change-Id: I77cdda0c50c222a4c594da2626a71fa55f5957cb
BUG=chromium-os:11486
TEST=Manual testing using atest cli to create jobs with --image parameters and verifying the value is passed to autoserv.
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=5a8c6ad
Patch Set 1 #
Total comments: 17
Patch Set 2 : Code review fixes. #Patch Set 3 : More code review fixes. #
Total comments: 13
Patch Set 4 : Code review fixes to models.py and rpc_interface.py. #
Total comments: 1
Patch Set 5 : Fixing missing 'self.' in commented out parameters. #
Messages
Total messages: 9 (0 generated)
|