- 03 Sep, 2018 13 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts 8f35ea4d It should no longer be needed because erp5.util should now have the fix from nexedi/erp5@97f3310e
-
Jérome Perrin authored
so that we don't have to escape % as %%
-
Julien Muchembled authored
Major change is that slapos compatible wrapper is no longer installed in parts/firefox/firefox-slapos , but directly as "firefox" in the buildout:bin-directory of the software profile. geckodriver is also in the same buildout:bin-directory. This way, softwares using this just need to add buildout:bin-directory to $PATH Adjust seleniumrunner and jstestnode for the changes Also drop unused firefox 45 Jérome changes from original 8cf6908df752b9e7632b2910ffc85027f1f4f22c : - name section [firefox-install], because including the version in section name means we have to also update section name when we update version. - use same version, the "versions up" will be separate commits. - now that seleniumrunner and jstestnode are using buildout.hash.cfg, md5sums are in separate files. Co-authored-by: Jérome Perrin <jerome@nexedi.com>
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Otherwise instanciation can finish too early.
-
Jérome Perrin authored
We don't want runUnitTest is to listen on 127.0.0.1, as it is not allowed for SlapOS instances, runUnitTest wrapper is extended to include `--zserver` with a pre-assigned ip:port. runTestSuite starts several test in parrallel (controlled by `--node_quantity` argument, which is passed by erp5testnode), so we need to make sure that we provide it with enough ip:port. For this, we extended runTestSuite with a `--zserver_address_list` argument and we generate a wrapper with a list of pre-assigned ip:ports. The length of this list is also controlled by `mariadb.test-database-amount` instance parameter (eventhough it's slightly different). Because zelenium tests needs to access this zserver over a secure origin (otherwise modern browser features such as service worker are not available), add an https proxy in the apache from the balancer partition. runUnitTest and runTestSuite have been extended with resp. `--zserver_frontend_url` and `--zserver_frontend_url_list` arguments and the URLs published by the balancer paritions are set in the wrappers. This introduces a circular depencency, balancer partition needs to know the address of the testrunners and zope partitions needs to know the URLs of the corresponding http proxies on the apache. This is is handled by `slapos.recipe:publish-early`: 1. request zope family with an empty `test-runner-apache-url-list`. zope is instanciated a first time. zope returns `test-runner-address-list` ( a list of (host, port) tuples ) 2. request balancer with `test-runner-address-list` balancer is instanciated. balancer returns `{{ family_name }}-test-runner-url-list` ( a list of apache URLs ), which are published in the root partition. 3. zope family is re-requested with updated`test-runner-apache-url-list` information instance-erp5.cfg.in template was also reorganised to move `[publish-early]` next to `[publish]` at the bottom of the file. Document the existing behavior that setting mariadb.test-database-amount to 0 disable the creation of testrunner.
-
Jérome Perrin authored
-
Jérome Perrin authored
`enable_authentication` parameter of `backend-list` was not documented.
-
Jérome Perrin authored
-
- 31 Aug, 2018 3 commits
-
-
Guillaume Hervier authored
This release should be now stable enough for release /reviewed-on nexedi/slapos!391
-
Łukasz Nowak authored
It is combination of requestoptional and serialised.
-
Łukasz Nowak authored
In order to avoid needless inheritance create JSONCodec and use it, also with renaming Serialised to RequestJSONEncoded. Also provide a test asserting that important log is seen in case if no expected return is set. Add testfixtures module to catch logging.
-
- 30 Aug, 2018 9 commits
-
-
Alain Takoudjou authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
if saucelabs_dict is present, then generate delegate runTestSuite to launch test with saucelab else default one is created
-
- 29 Aug, 2018 10 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
it clean up....
-
Rafael Monnerat authored
Up to some extent we would like to set diskcache=none and diskaio=native
-
Rafael Monnerat authored
-
Alain Takoudjou authored
This reverts commit 2c79bee1 because it depends on rdiff-backup version 1.3.4nxd4 which is not stable yet.
-
Alain Takoudjou authored
This reverts commit 9b3dfa01
-
Alain Takoudjou authored
On runner importer script, when updating database, set timeout to 5 seconds (same value as the default in python sqlite3 module: https://docs.python.org/2.7/library/sqlite3.html#sqlite3.connect). If database is locked by another process we wait a bit instead of raise immediately "database is locked". Importer script will raise if database is locked for more than 5 seconds. /reviewed-on nexedi/slapos!384
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Rafael Monnerat authored
-
- 28 Aug, 2018 3 commits
-
-
Romain Courteaud authored
-
Jérome Perrin authored
they are already pinned in stack/slapos.cfg
-
Jérome Perrin authored
When slapos.libnetworkcache is not installed, then shacache is not enabled, so SR will no longer build when there's a dead link. /reviewed on nexedi/slapos!379
-
- 27 Aug, 2018 2 commits
-
-
Klaus Wölfel authored
See https://www.erp5.com/group_section/forum/No-test-results-rtSJ3H4fpC /reviewed-on nexedi/slapos!382
-
Romain Courteaud authored
-