1. 02 Aug, 2019 1 commit
  2. 27 Jun, 2019 1 commit
  3. 08 Apr, 2019 1 commit
  4. 03 Nov, 2017 1 commit
  5. 06 Jun, 2017 1 commit
    • Rafael Monnerat's avatar
      agent: Handle not found Software Installation · 45de1258
      Rafael Monnerat authored
        In distribution systems, it is possible that master didn't indexed the Software Installation
        when we check, this change will consider we don't know the state of the Software Installation on
        this stage. The code will retry later anyway.
      45de1258
  6. 05 Jun, 2017 1 commit
  7. 08 Mar, 2017 2 commits
  8. 05 Aug, 2016 2 commits
  9. 03 Mar, 2016 1 commit
  10. 30 Nov, 2015 3 commits
  11. 02 Sep, 2015 1 commit
    • Rafael Monnerat's avatar
      Fully reimplementation of Test Agent · 813f8853
      Rafael Monnerat authored
        - Get precise state of all software instances from a Hosting Subscription
        - Get the connection parameters from  all software instances from a Hosting Subscription
        - Get the instance parameters from all software instances from a Hosting Subscription
        - Move all API to connect slapos master to HAL implementation
        - Get the state of the Software Installation
        - Try to connect to monitoring tool in case of error.
        - Use TaskDistributor to determinate the tests (instead local file)
        - Use erp5.util and few erp5testnode features to determinate test revisions.
        - Download informations from the Task distributor instead use parameters (it makes implementation more flexible).
      813f8853
  12. 18 Dec, 2012 2 commits
  13. 13 Dec, 2012 5 commits
  14. 05 Dec, 2012 1 commit
  15. 11 Sep, 2012 2 commits
  16. 31 Aug, 2012 2 commits
  17. 15 Aug, 2012 1 commit
    • Rafael Monnerat's avatar
      Implement new parallel test approach · 9bc65393
      Rafael Monnerat authored
      The tests runs always 1 test per available computer (no more
      no less), this approach prevent pick several tests on the same
      machine which leads to timeouts and lack of resources (Disk) on
      some machines.
      9bc65393
  18. 14 Aug, 2012 2 commits
  19. 06 Aug, 2012 3 commits
    • Rafael Monnerat's avatar
      Retry on Network Failure · 417475a5
      Rafael Monnerat authored
      Network can be quite unreliable, so play safe retrying the method in case
      some exception related to network failure be raised. Usually they are
      related to timeout on SSLError and/or xmlrpclib timeouts.
      417475a5
    • Rafael Monnerat's avatar
      Increase the time between the checks. · c6a37624
      Rafael Monnerat authored
      Make test agent delay more time for 2 reasons:
      
        - slapgrid-cp/sr takes more them 1 min to run
        - The default periodicity on the servers are 5 min, so nothing happens in
              less them 5 minutes.
      
      This change also gives time for vifib master process the information with
      activities.
      c6a37624
    • Rafael Monnerat's avatar
      Add more verbose for Test Agent · e0f09a93
      Rafael Monnerat authored
      This changes improve the log readability in order to identify when a test
      start and stops (tears down.)
      e0f09a93
  20. 01 Aug, 2012 1 commit
  21. 05 Jul, 2012 1 commit
    • Vincent Pelletier's avatar
      Add support for software instanciation. · bce547ed
      Vincent Pelletier authored
      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.
      bce547ed
  22. 26 Jun, 2012 1 commit
  23. 21 Jun, 2012 2 commits
  24. 14 Jun, 2012 2 commits