- 11 Oct, 2021 1 commit
-
-
Julien Muchembled authored
Adapt all promise sections to changes in plugin promise recipe.
-
- 08 Oct, 2021 2 commits
-
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
Add port-listening promises for all sources found in fluentd configuration file
-
- 10 Aug, 2021 1 commit
-
-
Xavier Thompson authored
If `only-sr` is not provided, all the SR tests should run. Fixes merge request !1011
-
- 02 Jul, 2021 1 commit
-
-
Xavier Thompson authored
The two following instance parameters now exist: - `only-sr`: a list of software releases names to test - `unittest-args`: a list of arguments for unittest By default: - all software releases are tested - the unittest arguments are ["discover", "-v"] Single values are accepted even if they are not in a list.
-
- 23 Mar, 2021 1 commit
-
-
Kirill Smelkov authored
slapos-testing, slapos-sr-testing: Don't duplicate instance.cfg prologue that is already provided by stack/nxdtest/instance.cfg This software releases switched to nxdtest in 1536ad2e (software/slapos-testing: use nxdtest) and 3a1e5628 (software/slapos-sr-testing: use nxdtest). So there is no longer need to duplicate that standard instance prologue that is provided by stack/nxdtest/instance.cfg: https://lab.nexedi.com/nexedi/slapos/blob/0803b816/stack/nxdtest/instance.cfg.in#L1-8 /reviewed-by @jerome /reviewed-on !94
-
- 21 Mar, 2021 1 commit
-
-
Julien Muchembled authored
This may lead to weird like ...//... or worse: here, the [gcc] part of the tested SR will do "os.path.dirname('/usr/bin/')" (when using system gcc), causing ${gcc:prefix} to be invalid ('/usr/bin' instead of '/usr') and most sharable parts will rebuild (different [gcc] signature).
-
- 27 Nov, 2020 1 commit
-
-
Jérome Perrin authored
Change to run all tests with python -m unittest, which will allow us to remove workaround for the $PYTHONPATH set by setup.py test. For this we use `[python-interpreter]` which uses pygolang.main to behave like a "normal" python interpreter with eggs available, but without the usual problems of interpreters generated by zc.recipe.eggs - it supports all command line flags and have current directory in sys.path. Tests now have an explicit name, that we set to the software name as before, and the special test dynamically checking all profiles json schemas (part of slapos.cookbook egg, at the root of slapos repository),is named json-schemas. It is also changed to run as default tests in python2 and python3, not only in extras for python2.
-
- 28 Sep, 2020 1 commit
-
-
Łukasz Nowak authored
It's useful for some tests to use.
-
- 21 Aug, 2020 1 commit
-
-
Jérome Perrin authored
so that we can simulate running at a later time, to check backups, crontabs etc
-
- 05 Aug, 2020 1 commit
-
-
Jérome Perrin authored
Using an script to set the environment is easier to use, but the main reason is that if we want to be able to use shared part from outer slapos (like when using in theia or slaprunner), the working directory for test must be contained in the instance directory of the outer slapos, so that when we run slapos node prune in the outer slapos this command can see that shared parts are used.
-
- 22 Jun, 2020 1 commit
-
-
Łukasz Nowak authored
QUIC is not used at all, and became superseded by HTTP/3
-
- 10 Mar, 2020 1 commit
-
-
Bryton Lacquement authored
-
- 05 Mar, 2020 1 commit
-
-
Alain Takoudjou authored
-
- 03 Feb, 2020 1 commit
-
-
Jérome Perrin authored
-
- 05 Dec, 2019 1 commit
-
-
Jérome Perrin authored
-
- 30 Aug, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 28 Aug, 2019 1 commit
-
-
Jérome Perrin authored
-
- 26 Jul, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 25 May, 2019 1 commit
-
-
Łukasz Nowak authored
-
- 09 Mar, 2019 1 commit
-
-
Rafael Monnerat authored
-
- 07 Feb, 2019 1 commit
-
-
Łukasz Nowak authored
-
- 22 Jan, 2019 1 commit
-
-
Jérome Perrin authored
-
- 20 Dec, 2018 1 commit
-
-
Łukasz Nowak authored
Since some software releases have unit tests, it is good idea to run the tests for each commit on slapos branch. This SR follow slapos-testing SR in a way how tests are grouped and run. Fixed erp5.util is used to expose good test suite names.
-
- 12 Dec, 2018 1 commit
-
-
Łukasz Nowak authored
Those values are free to be used by tests in order to obtain working IPv4 and IPv6 addresses or other parameters fetched during test node instantiation. Note that old-style keys (like LOCAL_IPV4 and LOCAL_IPV6) are kept for backward compatibility. /reviewed-on !471
-
- 05 Dec, 2018 1 commit
-
-
Łukasz Nowak authored
-
- 27 Nov, 2018 1 commit
-
-
Łukasz Nowak authored
-
- 23 Nov, 2018 2 commits
-
-
Łukasz Nowak authored
Problem has been found, and as this mode emits a lot of data with test result disable it.
-
Łukasz Nowak authored
It will allow to track behaviour of the test on various test nodes.
-
- 02 Sep, 2018 1 commit
-
-
Jérome Perrin authored
-
- 28 Jun, 2018 1 commit
-
-
Łukasz Nowak authored
-
- 22 Jun, 2018 1 commit
-
-
Vincent Pelletier authored
Filename is split as an URL path, and joined in OS-dependent manner. Remove corresponding comment in all buildout.hash.cfg files.
-
- 04 Apr, 2018 1 commit
-
-
Jérome Perrin authored
Instead of letting `python setup.py test` install the depencies, use buildout way of installing the eggs. This software use `interpreter` recipe of `zc.recipe.egg` to install a python with all eggs pre-installed. This is a way to get all the dependencies at install time instead of getting them at run time from pypi when running `python setup.py test`. `erp5.util.testsuite` has been extended to support a parameter to specify which python interpreter to use. One issue is that this way of installing eggs by buildout cause chicken and egg problem: cloning repository containing `slapos.recipe.cmmi` needs git, and to compiling git needs `slapos.recipe.cmmi`. The consequence of this is that re-running software will install too many parts again. One solution for this would be to clone `slapos.recipe.cmmi` with a `git` command provided by testnode or system package. Another solution would be to not install `slapos.recipe.cmmi` develop egg, simply install the egg from it's current pypi version while installing the software (running tests will be from the git checkout anyway). For now this is open issue. Another point of attention is that `python setup.py test` install the requirements listed in `test_requires`, but `zc.recipe.egg` does not provide a way of installing these. Some of our packages have `[test]` entrypoints, in this case, the software installs the test entrypoints. For others, we install the eggs. Other improvements: * use a simple `slapos.recipe:wrapper` instead of `slapos.cookbook:egg_test` * fix the typo in repository name erp5-util-repository -> erp5.util-repository ( this mean we will have to fix the test suites in nexedi ERP5 ) * document "what is this software" and a scenario of how this software can be used to develop slapos eggs. * switch to buildout-hash.cfg for easier template hash management.
-
- 28 Mar, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 27 Mar, 2018 1 commit
-
-
Alain Takoudjou authored
monitor: move scripts wrapper and logrotate conf to buildout, uses some new promises from slapos.toolbox monitor was updated in slapos.toolbox to not generate promise launcher scripts anymore. All generated scripts are now in buildout. Monitor promise run script is removed from cron, slapgrid is used to run promises. Replace some old promises by the new ones from slapos.toolbox. Cleanup monitor configuration. Monitor report and monitor-promises directory are now obsolete.
-
- 16 Mar, 2018 1 commit
-
-
Julien Muchembled authored
-
- 12 Feb, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 01 Feb, 2018 1 commit
-
-
Yusei Tahara authored
stack/monitor: Create srv/monitor/private/monitor-log directory. It is specified by slapos.monitor.monitor.Monitoring.
-
- 31 Jan, 2018 2 commits
-
-
Yusei Tahara authored
stack/monitor: Add a random delay of maximum 60 seconds to all monitor cron jobs to avoid high load at the first second of every minute.
-
Yusei Tahara authored
This reverts commit ee8e3fb2.
-