KPET: Maximize host use
As a CKI maintainer I want to maximize the use of a host by tests once it was allocated and set up by Beaker, as I want to reduce the impact of queuing and setup time on the overall test response time, and I want to reduce load on the host pool to have more hosts available.
I want to reserve as few hosts as possible, but not less than required to hit the total duration target. Therefore I want tests to be distributed among several hosts, including having multi-host tests share hosts with other multi-host tests, if possible. However, for the start I would be OK with just having tests being equally distributed (quantity-wise) among the minimum number of hosts, and I can wait for another ticket to be submitted and done, covering time-based host scheduling.
This is done when:
- KPET is distributing tests equally, quantity-wise, among all requested hosts matching host type regex, and doesn't produce test task order making multi-host tests lockup or break
JIRA ticket created by @spbnick