An error occurred fetching the project authors.
- 05 Feb, 2021 1 commit
-
-
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.
-
- 29 Jan, 2021 1 commit
-
-
Łukasz Nowak authored
By using a late instance creation, it's possible to escape requirement of the cluster being fully instantiated by default, so it's possible to test various interesting corner cases.
-
- 27 Jan, 2021 1 commit
-
-
Łukasz Nowak authored
-
- 26 Jan, 2021 3 commits
-
-
Łukasz Nowak authored
Since "caddy-frontend: Switch monitor ports to internal use" monitor ports are internal usage only and this test is obsolete.
-
Łukasz Nowak authored
The public-ipv4 comes from the historical usage of the system, but since new implementation came into place it was never needed, so now it's time to say goodbye. Test has been updated to do in-house mimic of the used IP to access.
-
Łukasz Nowak authored
Since recent change the virtualhostroot-https-port and virtualhostroot-http-port are casted to integer during configuration generation so it's require to validate this input and reject incorrect values.
-
- 19 Jan, 2021 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Thanks to work on TrafficServer bug 7425 it was possible to understand correctly the switches and setup ATS to SlapOS CDN needs. max_stale_age with negative_revalidating_enabled is used to simulate stale-if-error and negative_revalidating_lifetime is set to 0, as Expires header provided by this switch is needless in SlapOS case. Tests are updated to follow the real use case, by rewriting ATS configuration to meet times required for the test to finish in reasonable time.
-
- 15 Jan, 2021 1 commit
-
-
Łukasz Nowak authored
-
- 31 Dec, 2020 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 15 Dec, 2020 1 commit
-
-
Łukasz Nowak authored
Since haproxy does non-HTTP style checks to the python provided backend it started to emit a lot of logs about broken pipe, which are not important in context of testing and shall be silenced.
-
- 10 Nov, 2020 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Just running test.py with ip and port allows to expose the internal testing backend. IPv4 and IPv6 are supported.
-
Łukasz Nowak authored
By default there is no sense to play with software type, since it's fixed in slapos.testing.testcase.
-
- 09 Nov, 2020 1 commit
-
-
Łukasz Nowak authored
slapos.cookbook:softwaretype tends to lowercase keys in each section, which has been undetected due to using lowercase references of slaves in the tests. By restructuring information in the sections, and putting slave references inside of dumped part of information, now the slave reference case is kept. Also real care was taken to stabilise published lists by sorting them, as it also slipped, that they could be unstable. Tests has been updated to catch this issue, also other tests were fixed, as they had wrong assertions.
-
- 20 Oct, 2020 4 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Thanks to this, it's much easier to find relevant configuration, and also logs are becoming much more informative.
-
Łukasz Nowak authored
Avoid creating needless entries and minimise needless newlines, and reflect this in test data, as in such case no backend_log is created, as nothing is configured on backend Haproxy level.
-
Łukasz Nowak authored
-
- 09 Oct, 2020 1 commit
-
-
Łukasz Nowak authored
Be nice test and clean up your own mess.
-
- 05 Oct, 2020 2 commits
-
-
Łukasz Nowak authored
It has to be ensured, that parameters are correctly passed to the partitions.
-
Łukasz Nowak authored
Each node allows for global statistic access for full backend-haproxy, which is exposed using special frontend, and then transferred back to the master partition, so that the administrator can access it.
-
- 30 Sep, 2020 1 commit
-
-
Łukasz Nowak authored
Changes: * traffic_cop was removed, so use traffic_manager directly * logging.config was changed to logging.yaml * made records.config and storage.config similar to original files * proxy.config.admin.synthetic_port option was removed * proxy.config.process_manager.mgmt_port option was removed * test: ignore traffic.out in logs * test: update ATS version * pqsn field was removed and replaced with shn, so follow upstream: https://github.com/apache/trafficserver/commit/b0969c91ebc52b37f4c3195ec17d4d0c1c18650c * add a test to prove squid.log working, as upgrade resulted with not created file
-
- 29 Sep, 2020 1 commit
-
-
Łukasz Nowak authored
Copied part of gowork.install:command to activate GO111MODULES and also the [caddy] section is minimised, as the whole build happnes in proper place.
-
- 25 Sep, 2020 1 commit
-
-
Łukasz Nowak authored
As there might be some reasons why the instance is not found explain what to in each case.
-
- 24 Sep, 2020 1 commit
-
-
Łukasz Nowak authored
By using regular expressions, matching exact host names up to the optional port and putting wildcard matches in the end, the Haproxy acl rules will allow to direct request to correct backend.
-
- 15 Sep, 2020 2 commits
-
-
Łukasz Nowak authored
By using nginx it's possible to set it up to expose logs nicely with the real frontend. furl is used to rewrite URL from the frontend to add proper username and password information.
-
Łukasz Nowak authored
pyflaked
-
- 24 Aug, 2020 1 commit
-
-
Jérome Perrin authored
-
- 30 Jul, 2020 2 commits
-
-
Łukasz Nowak authored
Backend logs are exposed as usual access and error logs. By using rsyslogd templates and regex filtering, the rsyslogd reacts itself and creates needed files per each slave which accesses it. Thanks to this, it's configuration is static from point of view of SlapOS profiles, and can be generated once. As the rsyslogd configuration became fully special to backend-haproxy, the rsyslogd template filename and its references has been correctly renamed.
-
Łukasz Nowak authored
The logrotate folder also serves as an publication folder for logs, so be sure that logs are linked there.
-
- 27 Jul, 2020 1 commit
-
-
Łukasz Nowak authored
ATS was upgraded from 7.1.6 to 7.1.11
-
- 17 Jul, 2020 7 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Despite the new system does not support promise failing scenarios, use a simple way to have such configurations in late way and massively test various important cases for rejection, error reporting and similar.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
By default do not offer authentication certificate, the switch authenticate-to-backend can be used on cluster or slave level to control this feature.
-