1. 05 Feb, 2021 3 commits
    • Łukasz Nowak's avatar
      98a6f51b
    • Łukasz Nowak's avatar
      98ce2644
    • Jérome Perrin's avatar
      software/*: version up urllib3, requests and dependencies · 340a7609
      Jérome Perrin authored
      Several softwares were using fixed versions, but versions are also defined in
      stack/slapos.cfg, so let's use from stack/slapos.cfg which will simplify
      version management.
      
      This urllib3 has visible changes for us, it no longer send the request path
      "as is", but normalizes the . and .. which is not what we want in
      caddy-frontend test, so we adjust the test to use prepared requests, which is
      the recommended approach for this kind of low level needs. Since prepared
      requests does not set default user agent "python-requests", tests checking that
      user agent is in log files have been adjusted to use a dedicated test user agent
      header.
      
      Another change is that certificates are now verified by default, so we adjust
      seleniumserver tests to disable certificate validation. jstestnode, already
      had a patch regarding certificate validation, because we wanted certificates
      to be validated before it was the default. We just update this patch a bit
      because we want to keep the optional behaviours of validating against a
      specific CA or to disable validation.
      340a7609
  2. 04 Feb, 2021 2 commits
  3. 03 Feb, 2021 3 commits
    • Łukasz Nowak's avatar
      0a4e1e23
    • Łukasz Nowak's avatar
      software/kvm: Test nat-rules · efbc92e2
      Łukasz Nowak authored
      Default and cluster are tested for the most expected usage.
      efbc92e2
    • Jérome Perrin's avatar
      software/erp5: fix flappy test_logrotate_and_slow_query_digest test · e2f02f38
      Jérome Perrin authored
      This test uses the default config of having mariadb log queries taking more
      than 1 second, then makes two slow queries and check that these two queries
      are logged and included in pt-query-digest report.
      
      Sometimes this test fail because there are more slow queries than the two
      expected, in the snapshots, we can see that reports also contain:
      
          SHOW TABLE STATUS FROM `mysql` LIKE 'time_zone_transition'\G
          SHOW CREATE TABLE `mysql`.`time_zone_transition`\G
      
      but these queries are not made by the test. They are probably made by
      mysql_upgrade script. Such queries can take more than 1 second sometimes
      and when they do the test fail because there are more slow queries than the
      expected.
      
      To prevent this kind of intermitent failures, make our test queries slower
      and configure mariadb to log queries after a longer delay (3 seconds).
      Hopefully these unrelated queries should not take more than 3 seconds.
      e2f02f38
  4. 01 Feb, 2021 2 commits
  5. 29 Jan, 2021 2 commits
  6. 28 Jan, 2021 3 commits
  7. 27 Jan, 2021 5 commits
  8. 26 Jan, 2021 8 commits
  9. 25 Jan, 2021 3 commits
  10. 22 Jan, 2021 1 commit
  11. 21 Jan, 2021 1 commit
    • Jérome Perrin's avatar
      software/erp5: Adjust apachedex promise for haproxy · e6087b7d
      Jérome Perrin authored
      Since bd3c2b18 (Remove httpd from ERP5 and use haproxy instead, 2020-12-14)
      timing in balancer access log files are in milliseconds, no longer in
      microseconds as they use to be with apache.
      
      We update apachedex to version 1.8, where it supports generating reports
      from access log files with milliseconds, as long as the expected format is
      passed with --logformat argument.
      
      We changed the default value of apachedex configuration to use the expected
      --logformat argument, but users with a custom apachedex config passed as
      instance parameters (monitor.apachedex-configuration) will have to update
      their request parameters, to also pass --logformat.
      Since this is breaking change, we take this opportunity to introduce another
      breaking change, this parameter is not longer a string with all arguments
      on the same line, which was problematic because these arguments contained
      quotes and backslashes. The arguments are now passed as a list of strings
      which will become the list of arguments passed to apachedex.
      
      This is implemented by generating an apachedex config file, which simplifies
      the generation of the wrapper. For this we also needed to upate
      slapos.toolbox.
      
      The same change is reflected to the overriden profiles in slapos-master,
      but for slapos-master we don't pass the --logformat argument, because
      slapos-master is using httpd, so the logs timings are still in microseconds.
      e6087b7d
  12. 20 Jan, 2021 2 commits
  13. 19 Jan, 2021 3 commits
  14. 18 Jan, 2021 1 commit
  15. 15 Jan, 2021 1 commit