- 22 Jan, 2021 1 commit
-
-
Jérome Perrin authored
-
- 20 Jan, 2021 1 commit
-
-
Jérome Perrin authored
Arguments passed to apachedex are complex, they contain quotes, backslashes, spaces and they are propagated through several levels of buildout profiles and scripts. Simplify all this by relying on argparse ability of passing arguments from a file. Users of this tool are now expected to generate a config file and specify the path of this config file as an arguments.
-
- 11 Jan, 2021 1 commit
-
-
Julien Muchembled authored
This fixes division by 0.
-
- 11 Nov, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request !86
-
- 10 Nov, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Use shlex from standard library which splits arguments properly instead of implementing our own buggy version.
-
- 20 Oct, 2020 1 commit
-
-
Thomas Gambier authored
-
- 13 Oct, 2020 1 commit
-
-
Thomas Gambier authored
fixup for ecf144ee current_project variable is mandatory
-
- 18 Sep, 2020 1 commit
-
-
Jérome Perrin authored
"test_networkbench: increase resolution time tolerance" addresses [this](https://erp5.nexedi.net/test_result_module/20200911-8C18D791/14): ``` ====================================================================== FAIL: test_dnsbench_fail (slapos.test.test_networkbench.TestDNSBench) Test dns failure resolution ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart20/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/test/test_networkbench.py", line 66, in test_dnsbench_fail self.assertLess(info[3], 1) AssertionError: 2.0736539363861084 not less than 1 ``` "cpu load plugin: fix test and minor cleanups" addresses [this](https://erp5.nexedi.net/test_result_module/20200911-C444DB47/13): ``` ====================================================================== ERROR: test_check_cpu_load_run (slapos.test.promise.plugin.test_check_server_cpu_load.TestCheckServerCPULoad) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart9/srv/testnode/bvi/inst/test0-0/parts/slapos.toolbox/slapos/test/promise/plugin/test_check_server_cpu_load.py", line 48, in test_check_cpu_load_run self.launcher.run() File "/srv/slapgrid/slappart9/srv/testnode/bvi/soft/65dbbd3d11daa99cf78c9566a0a4798e/parts/slapos.core-repository/slapos/grid/promise/__init__.py", line 884, in run failed_promise_output)) PromiseError: Promise 'server-cpu-load-promise.py' failed with output: Error: Promise timed out after 0.5 seconds ``` Some more fixes are in slapos!809 See merge request !85
-
- 15 Sep, 2020 1 commit
-
-
Jérome Perrin authored
Sometimes it's not enough, as we can guess from the tests failures.
-
- 14 Sep, 2020 4 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
See merge request !84
-
Jérome Perrin authored
We don't really care how long DNS resolution took here, since we see cases where on test machines a name resolution takes more than one second, increase the minimal time to something higher to prevent such failures. Also remove not used commented out code.
-
Jérome Perrin authored
This test was failing randomly because it uses a timeout of 0.5 seconds, which is sometimes not enough to run commands. Increase the timeout to something large enough so that we don't have timeout failures when test machine is busy. Also simplify the whole thing by using python instead of parsing the output of processes.
-
- 11 Sep, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 10 Sep, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 09 Sep, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 25 Aug, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
- from now on we want the reports as .xz - fix type argument parsing which should make the promise effective now See merge request !83
-
- 24 Aug, 2020 1 commit
-
-
Jérome Perrin authored
this was not html. Also use os.path.join to manipulate paths
-
- 21 Aug, 2020 3 commits
-
-
Jérome Perrin authored
this program was comparing floats parsed from the report text and strings from arguments passed on the command line, so basically it was not doing what was intended.
-
Jérome Perrin authored
because pt-query-digest are text files that can be large, we should except that the users have compressed them.
-
Jérome Perrin authored
-
- 03 Jun, 2020 4 commits
-
-
Łukasz Nowak authored
See merge request !79
-
Łukasz Nowak authored
This reverts commit 87b96e1b.
-
Łukasz Nowak authored
This reverts commit 099295af.
-
Łukasz Nowak authored
This reverts commit a0aa8b35.
-
- 15 May, 2020 5 commits
-
-
Nicolas Wavrant authored
but read only as much as we expect to receive. It should make tests more stable
-
Nicolas Wavrant authored
As python3 only accept binary types for sockets
-
Nicolas Wavrant authored
Keep log file for debugging and use cleanup function to be sure to correctly stop services
-
Nicolas Wavrant authored
-
Jérome Perrin authored
-
- 04 May, 2020 3 commits
-
-
Nicolas Wavrant authored
to simplify the code
-
Nicolas Wavrant authored
See merge request !81
-
Nicolas Wavrant authored
-
- 30 Apr, 2020 2 commits
-
-
Rafael Monnerat authored
this should be used on testcase in future too, to always bootstrap with the same code-base. This depends this be released first: slapos!747 /cc @jerome @Nicolas See merge request !80
-
Rafael Monnerat authored
-
- 16 Apr, 2020 1 commit
-
-
Rafael Monnerat authored
The generation of the link and the verification were inconsistent, this commit normalize both. PS.: Software Links are deprecated, it should be removed in future, as it lost the goals
-