- 26 Aug, 2020 2 commits
-
-
Jérome Perrin authored
section to install dependencies of slapos.toolbox using slapos libraries
-
Jérome Perrin authored
section to install dependencies of slapos.cookbook using slapos libraries
-
- 25 Aug, 2020 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
ERP5 software release has some support for mariadb slow queries: - run `pt-query-digest` daily - check that the number of slow queries and the slowest slow query do not exceed some thresholds defined as instance parameters but this had issues: - the daily `pt-query-digest` reports where kept as not-compressed text files, which over time takes quite a lot of disk space - the threshold detection was not working, since strings and floats were compared - see nexedi/slapos.toolbox!83 This uses new techniques in software release testing from nexedi/slapos.core!245, we use [faketime] to simulate running crontabs and promises at a specific time in the future, so that we can assert the exact expected behaviour of crontab scripts. [faketime]: https://github.com/wolfcw/libfaketime See merge request nexedi/slapos!801
-
Łukasz Nowak authored
-
Jérome Perrin authored
Since this version introduces a dependency on backports.lzma we had to explicitly install backports.lzma in a slapos compliant way before installing slapos.toolbox, because installing the egg needs xz-utils. For slapos-sr-testing it's also a version up of backports.lzma to 0.14.0
-
- 24 Aug, 2020 5 commits
-
-
Łukasz Nowak authored
Fixes problems with massive hosting and backend leaking to other definitions.
-
Jérome Perrin authored
Starting from slapos.toolbox 0.110, this promise will report error if the the amount of slow queries is over the threshold - before this version due to bug in slapos.toolbox it was not - to keep this behavior and prevent too many errors with this promise that is still in early stages of development, we disable this promise unless it is explicitly requested in instance parameters.
-
Jérome Perrin authored
These reports are large, no need to keep them as text
-
Jérome Perrin authored
introduce test utilities to check crontabs using faketime and use it to check that we produce full dumps of mariadb.
-
Jérome Perrin authored
-
- 21 Aug, 2020 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
so that we can simulate running at a later time, to check backups, crontabs etc
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit 2c539421. this prevented partially committing files (using git add -p), since it was running git add on the full file in pre commit hook.
-
Jérome Perrin authored
changes inside component where not checked because of this typo
-
- 20 Aug, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 19 Aug, 2020 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 18 Aug, 2020 1 commit
-
-
Julien Muchembled authored
-
- 14 Aug, 2020 7 commits
-
-
Łukasz Nowak authored
The development of this component happened in environment which had a lot of libraries available.
-
Jérome Perrin authored
powerdns uses a socket named pdns.controlsocket in socket-dir ( https://doc.powerdns.com/authoritative/running.html#control-socket ) We sometimes see errors on test nodes that this path is too long: Aug 13 20:54:10 Unable to open controlsocket, path '/srv/slapgrid/slappart13/srv/testnode/cvr/inst/test0-0/tmp/inst/pdns1/var/run/pdns-socket/pdns.controlsocket' is not a valid UNIX socket path. Instead of using "var/run/pdns-socket", put the socket in "var/run", which should be short enough.
-
Łukasz Nowak authored
As cpu-count and ram-size can be setup freely by the user, the cpu-max-count and ram-max-size shall follow it. Otherwise it generates hard to track issues with starting VMs.
-
Łukasz Nowak authored
The image-url-list parameter is passed-thru only if it's present in the original request, as the default instance differentiates correctly between parameter existence or emptiness (or being None).
-
Łukasz Nowak authored
Downloadable images are enabled when key image-url-list (described in instance-kvm-input-schema.json) is present. Images are downloaded outside of partition processing, as this can take a lot of time by template/image-download-controller.py Configuration is checked and cleaned up by template/image-download-config-creator.py Promises are used for: * checking if the current configuration from the request has been processed * checking status of configuration generation, image download process and checksum validity Details about errors are exposed by using monitor stack provided HTTP server, so that user is able to take informed decision about how to fix the problem.
-
Łukasz Nowak authored
Wait even longer, as in some environments downloading big files takes a lot of time which can lead to unstable test results. Note: On fast environments the max won't be reached, so in such case the test speed won't be affected.
-
Łukasz Nowak authored
-
- 13 Aug, 2020 2 commits
-
-
Łukasz Nowak authored
Interesting HTTP server from https://h2o.examp1e.net/
-
Łukasz Nowak authored
Some tests are checking deeply that bootstrap script works correctly inside if prepared VM, but those prepared VMs are big chunks of data to be fetched, so it's required to wait quite long.
-
- 12 Aug, 2020 1 commit
-
-
Rafael Monnerat authored
This contains data for running tests on Upgrade
-
- 11 Aug, 2020 1 commit
-
-
Julien Muchembled authored
-
- 10 Aug, 2020 1 commit
-
-
Łukasz Nowak authored
-
- 07 Aug, 2020 6 commits
-
-
Thomas Gambier authored
This reverts 80af2841 and b4f83dd0. We will force to compile gcc only in the machine preparing the source but not in the OBS machines actually compiling the packages.
-
Thomas Gambier authored
-
Thomas Gambier authored
The PYTHON variable is used in Makefile (https://gitlab.gnome.org/GNOME/glib/-/blob/2.58.3/glib/Makefile.am#L463) to generate the shebang for script gtester-report. With component/defaults.cfg, we have PYTHON=python2.7 so the shebang become '#!python2.7' which is an error for building a package on Fedora/SUSE: [ 3269s] *** ERROR: ./opt/slapos/parts/glib/bin/gtester-report has shebang which doesn't start with '/' (python2.7) The simplest solution is to remove this tester script as it is not needed and have been removed in newer version of glib already. This patch can thus be reverted when upgrading glib version.
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Jérome Perrin authored
Introduce an [editorconfig] configuration file to tell developer editors that we want an empty line at end of file. After making softwares and component uses a buildout.hash.cfg file, run [eclint] fix to apply the style. eclint is also added in the commit hooks (that one can install with `npm install` from the root of this repository) [editorconfig]: https://editorconfig.org/ [eclint]: https://github.com/jedmao/eclint See merge request nexedi/slapos!757
-
- 06 Aug, 2020 1 commit
-
-
Łukasz Nowak authored
-
- 05 Aug, 2020 1 commit
-
-
Julien Muchembled authored
-