Add support for software instanciation.
Reuse erp5.util.taskdistribution for better TaskDistributionTool integration (adds a dependency, removes 2 entry points): it is possible to create several test agents with same configuration, each testing a subset of the entire test suite. Especially useful if/when test agents gets the extra task of monitoring commits on software releases, and they locally build & instanciate the SR they test. Use a medium-lived process rather than a short-lived one, to drop state loading & saving complexity. Allow a single test agent to run several concurrent tests. Cleanup pidfile, even when exceptions occur. Factorise code used to test each step. Rework configuration file layout, to better use magic "[DEFAULT]" section. Take keys & certs from configuration file, allowing for per-test certs. Remove the need for storing using login & password by reusing x509 auth.
Showing with 496 additions and 367 deletions