Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: 6d637c7be0f651dd9d47300d089e1152177aa192
https://github.com/tribe29/checkmk/commit/6d637c7be0f651dd9d47300d089e11521…
Author: Andreas Boesl <andreas.boesl(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
A .werks/14193
M cmk/gui/views/painter/v0/base.py
Log Message:
-----------
14193 FIX Customize view: Fixed invalid title for 'SLA - Service specific
painter'
The title of the service specific painter was displayed as <tt>The last 4
hours</tt>.
Change-Id: Ibeb6aba9fcca41a4755ab3e01e6af835c275681e
Commit: b1085e312b855d4ff79395beea86127aae1d6c87
https://github.com/tribe29/checkmk/commit/b1085e312b855d4ff79395beea86127aa…
Author: René Slowenski <rene.slowenski(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/conftest.py
M tests/testlib/site.py
A tests/update/__init__.py
A tests/update/conftest.py
A tests/update/test_update.py
Log Message:
-----------
Initial scaffold of update test suite
Change-Id: I6ce7bd066c9fd998389640e54e7cab5598ff637e
Commit: bd3227a5de847a97ff43a3e16ed959fa814956e0
https://github.com/tribe29/checkmk/commit/bd3227a5de847a97ff43a3e16ed959fa8…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Parametrize cmk base version in test_update
We here retrieve the test site via a pytest fixture and we parametrize
such fixture with the cmk base version. In this way, it will be easy to
extend the cmk-base-versions list to be used in the test.
Change-Id: Ibd1fcac87921f0dc5c1632737e094fb7920eddcc
Commit: 44b25b755c0cc248c2d0baafd4861c16877087ff
https://github.com/tribe29/checkmk/commit/44b25b755c0cc248c2d0baafd4861c168…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Implement test-site update in test_update
Change-Id: I416bf883b1001e8d4c701eeb1bd58ebd15fe062b
Commit: ff89d203a0f21c8a9ec9ae92f74fc992a1e914d4
https://github.com/tribe29/checkmk/commit/ff89d203a0f21c8a9ec9ae92f74fc992a…
Author: René Slowenski <rene.slowenski(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/testlib/site.py
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Fixed site creation & version handling
+Base site creation + update_site do now use CMKVersion objects
+Cleaned SiteFactory (not using os.environ anymore)
+Corrected some logging statements that used format strings
(which is not recommended in this place)
Change-Id: Ia077cad2f662e639327333cc688bfee522ff6290
Commit: 9c0e96f4303f258fb7234abba63c4cf7432359ad
https://github.com/tribe29/checkmk/commit/9c0e96f4303f258fb7234abba63c4cf74…
Author: René Slowenski <rene.slowenski(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/testlib/site.py
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Extended update tests
Added password reset, version checks and host data retrieval
Change-Id: Ie4b162ba593b3105e0ee19e83bf1bbc95eb64c63
Commit: 6214287d062165d8cd2034133dcce9b560f73c54
https://github.com/tribe29/checkmk/commit/6214287d062165d8cd2034133dcce9b56…
Author: René Slowenski <rene.slowenski(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Fixed logger statement and added missing docstring
Change-Id: Ib6a07664903088fd9f7fe80407b79453287f22ec
Commit: df583fcf0ccc15b636cbde80bdb42162173c81b4
https://github.com/tribe29/checkmk/commit/df583fcf0ccc15b636cbde80bdb421621…
Author: René Slowenski <rene.slowenski(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Added version/compatibility assertions
MIN_VERSION added to the BaseVersion class to specify the minimum
version for a fully supported update which can merge the config.
The environment variable "MIN_VERSION" can be exported in the test
environment to override the default value in conftest.py.
Based on the value of MIN_VERSION, trying to update lower versions
will be expected to fail while updating equal or higher versions
will be expected to pass. This way we can do positive and negative
checks in one go with ease.
Change-Id: I69b09a40d30bcb55bf875e22279e6e2586314b80
Commit: 3d13da3ee1e6b4dfc50e5c6744eb6a62fd80668b
https://github.com/tribe29/checkmk/commit/3d13da3ee1e6b4dfc50e5c6744eb6a62f…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/testlib/openapi_session.py
M tests/testlib/version.py
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Create host and perform service discovery on test_update
We here introduce API requests to create a new host and perform a
service discovery in such host for the test_update site.
In order to perform Service Discovery via API for CMK versions
< 2.2.0, we need to re-introduce old code in the testlib module taken
from the 2.1.0 branch.
Change-Id: Id95d11931b43f371181947caef4d48f348b7cfe1
Commit: 766ac673d0087ccd82b5f43c89b73680cf392106
https://github.com/tribe29/checkmk/commit/766ac673d0087ccd82b5f43c89b73680c…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
Log Message:
-----------
Define base-version test params as list of strings
We here define the base-version list to be used in test-update as list
of strings to increase readability.
Change-Id: Idaa256fd428b898d9d8a325dbf4183cbbd457291
Commit: 48439a0871faaa0ac189a26599401bff4edf9b0a
https://github.com/tribe29/checkmk/commit/48439a0871faaa0ac189a26599401bff4…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Retrieve and assert services' status in test-update
We here retrieve all services' status and we assert tha the total number
of services does not change inbetween the update process.
Change-Id: I1635069019d7c2d33158b84debe828f8ef3de6ef
Commit: 75c4fe5ce06d42dac881d23a93be10a7ebe8b542
https://github.com/tribe29/checkmk/commit/75c4fe5ce06d42dac881d23a93be10a7e…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/test_update.py
Log Message:
-----------
Activate changes after update process in test_update
Change-Id: I6cc0293f58be8b6d940e23b1a21504cbd3bd0108
Commit: d65e42dd98d954d0a759fc36e9d22b5cd729ea26
https://github.com/tribe29/checkmk/commit/d65e42dd98d954d0a759fc36e9d22b5cd…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Assert services' status in test_update
We here expand test_update to assert the number of 'OK' services does
not decreases after the update process.
Change-Id: I5c8b8836bc517b3f6c66667dd0897f89151aabc8
Commit: cf0aebc67f866df2f9cf4f63701508153dcf4197
https://github.com/tribe29/checkmk/commit/cf0aebc67f866df2f9cf4f63701508153…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
Log Message:
-----------
Avoid hard-coded site name in data-retrieval method
We here use site.id instead of hard-coding the site name in
get_host_data method.
Change-Id: I39e872ef299ffeeadee9969e509a105933618901
Commit: d1bda08108ab97ed75d9d733de0b1634fc089932
https://github.com/tribe29/checkmk/commit/d1bda08108ab97ed75d9d733de0b1634f…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/update/conftest.py
M tests/update/test_update.py
Log Message:
-----------
Install agent in test-update
Bake and install the agent inside test-update.
Service-discovery and services' status retrieval is performed using the
agent-controller-daemon, in order to make it work in a dockerized
environment.
Change-Id: Ib9db82c625b90c8bc5e7f13249bbf5bcd571e8e2
Commit: f36011cb9c210423eea949e640d2a51f8d7525d3
https://github.com/tribe29/checkmk/commit/f36011cb9c210423eea949e640d2a51f8…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M tests/testlib/openapi_session.py
Log Message:
-----------
Fix discover_services in openapi_session module
Not defining a CMK version in the discover-services method is currently
leading to an error due to the impossibility to compare the versions as
strings.
This change fixes it.
Change-Id: I7528088b32a67a9698d50f352e5537d9f7f70d12
Commit: 5d41040bd5b8f301ec1839be54f3670ec3fe6385
https://github.com/tribe29/checkmk/commit/5d41040bd5b8f301ec1839be54f3670ec…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
A buildscripts/scripts/utils/test-update.groovy
M tests/Makefile
Log Message:
-----------
Dockerize test_update
Inside the repo root folder, you can now run the dockerized
test_update via:
make -C tests test-update-docker
Change-Id: I4de5b24a49da8e149d9ae0052171903ee4426bee
Commit: 362bb292e579986adb04e8277c4b654315bc9609
https://github.com/tribe29/checkmk/commit/362bb292e579986adb04e8277c4b65431…
Author: Matteo Stifano <matteo.stifano(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
A buildscripts/scripts/test-update.groovy
R buildscripts/scripts/utils/test-update.groovy
Log Message:
-----------
Modify test-update.groovy to use the daily build
Our aim is to make test-update run once a day with the daily build as
target-version. To do so, we adapt the groovy file accordingly.
Change-Id: Iff70208e345dcf0de7da07fd7de00229c0564db4
Commit: 2d4a256d42550ef65c07abf4f7dcbd012072a91d
https://github.com/tribe29/checkmk/commit/2d4a256d42550ef65c07abf4f7dcbd012…
Author: Andreas Boesl <andreas.boesl(a)tribe29.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M cmk/gui/node_visualization.py
Log Message:
-----------
update for WK14191
Change-Id: Icebbb6f295562f559a499b650cd270429355419a
Compare:
https://github.com/tribe29/checkmk/compare/aa5c02c19d5c...2d4a256d4255