lp:~soren/autotest/autotest.liveediting
- Get this branch:
- bzr branch lp:~soren/autotest/autotest.liveediting
Branch merges
Branch information
Recent revisions
- 3884. By Soren Hansen
-
First, primitive stab at providing "live editing" of steps files. Adds a button to the stepmaker gui to load a step from the existing steps file.
- 3882. By Soren Hansen
-
Pass the correct option to enable the usb tablet. (ie. -usbdevice tablet rather than -usbtablet)
- 3880. By Soren Hansen
-
Parameterise the use of the tablet, and handle it in steps and stepmaker when sending the events.
Add more recent Ubuntu to kvm_tests.cfg
- 3877. By showard
-
Make drone_manager track running processes counts using only the information passed in from the scheduler. Currently it also uses process counts derived from "ps", but that is an unreliable source of information. This improves accuracy and consistency and gives us full control over the process.
This involves a few primary changes:
* made the drone_manager track process counts with each PidfileId
* added method declare_process_ count() for the scheduler to indicate the process count of a pidfile ID during recovery (in other cases, the DroneManager gets that info in execute_process()) Doing this involved some extensive refactorings. Because the scheduler now needs to declare process counts during recovery, and because the AgentTasks are the entities that know about process counts, it made sense to move the bulk of the recovery process to the AgentTasks. Changes for this include:
* converted a bunch of AgentTask instance variables to abstract methods, and added overriding implementations in subclasses as necessary
* added methods register_necessary_ pidfiles( ) and recover() to AgentTasks, allowing them to perform recovery for themselves. got rid of the recover_ run_monitor( ) argument to AgentTasks as a result.
* changed recovery code to delegate most of the work to the AgentTasks. The flow now looks like this: create all AgentTasks, call them to register pidfiles, call DroneManager to refresh pidfile contents, call AgentTasks to recover themselves, perform extra cleanup and error checking. This simplified the Dispatcher somewhat, in my opinion, though there's room for more simplification.Other changes include:
* removed DroneManager.get_process_ for(), which was unused, as well as related code (include the DroneManager. _processes structure)
* moved logic from HostQueueEntry.handle_ host_failure to SpecialAgentTas k._fail_ queue_entry. That was the only call site.
And some other bug fixes:
* eliminated some extra state from QueueTask
* fixed models.HostQueueEntry. execution_ path(). It was returning the wrong value, but it was never used.
* eliminated some big chunks from monitor_db_unittest. These broke from the refactorings described above and I deemed it not worthwhile to fix them up for the new code. I checked and the total coverage was unaffected by deleting these chunks. Signed-off-by: Steve Howard <email address hidden>
- 3876. By lmr
-
KVM test: subtest block_hotplug: Fixup pci_test_cmd in config file
RHEL-4.8 is still using 'hd[a-z]' as harddisk device name. This patch
adds 'h' to regular expression in command `pci_test_cmd'.Signed-off-by: Yolkfull Chow <email address hidden>
- 3875. By lmr
-
server/autotest.py: Fix of an undefined variable bug
In server/autotest.py, there's an undefined variable
autodir under the the function get_install_dir.This patch fixes the issue
Signed-off-by: Steve Howard <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:autotest