Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f358e463d2d8c0362157acd6eca97f9ad2ea4cbc
https://github.com/tribe29/checkmk/commit/f358e463d2d8c0362157acd6eca97f9ad…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M tests-py3/Makefile
Log Message:
-----------
Python 3: mypy: Exclude bakery plugins
Change-Id: I743c90fe53234285d586bca344d8ec64cd4020dc
Commit: e4c953520f66f65e6baf78637e0a1bae29683e2d
https://github.com/tribe29/checkmk/commit/e4c953520f66f65e6baf78637e0a1bae2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
A buildscripts/scripts/test-integration-single.jenkins
M tests-py3/Makefile
R tests-py3/gui_crawl/install-cmk.py
R tests-py3/gui_crawl/run-gui-crawl.py
A tests-py3/scripts/install-cmk.py
A tests-py3/scripts/run-dockerized.py
M tests/Makefile
M tests/testlib/containers.py
M tests/testlib/site.py
Log Message:
-----------
Containerize integration tests (prep for Python 3 port)
* Generalized the dockerization code of the GUI crawl test. It is now
used by the GUI crawl and the integration tests.
* The integration test can now be started just like the GUI crawl with
the following make targets:
make -C tests-py3 test-integration
Tests are executed right on the local system.
make -C tests-py3 test-integration
First a container is set-up to run the tests in the container context.
Change-Id: I1f16e172179e788e0a747bb1272506969a398be7
Commit: 47935615e970005c0dbe70ae40e5e8db49659db8
https://github.com/tribe29/checkmk/commit/47935615e970005c0dbe70ae40e5e8db4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M tests-py3/Makefile
R tests-py3/git/conftest.py
R tests-py3/gui_crawl/conftest.py
M tests-py3/gui_crawl/test_gui_crawl.py
M tests-py3/packaging/conftest.py
R tests-py3/pylint/conftest.py
A tests-py3/scripts/run-integration-test.py
M tests-py3/unit/conftest.py
M tests/conftest.py
A tests/integration/conftest.py
M tests/testlib/site.py
M tests/testlib/utils.py
M tests/unit/cmk/base/test_unit_automations.py
Log Message:
-----------
Simplify integration tests
* Extract initialization (setup and start) of integration test
from pytest world to dedicated script "run-integration-test.py"
* Integration test pytest is now only executed as site user
(after run-integration-test.py created the site and switched to
the site user context.
* This made it possible to move the site autouse fixture from base
test directory to tests/integration/conftest.py, which in turn
made it possible to remove the dummy site fixtures from the
different test type sub directories.
More simplifications will follow...
Change-Id: I36fa61fe1594d06bdc7099aa958ea7be9646b52a
Commit: e714c360922d40edcb2989c3947108cd02e67080
https://github.com/tribe29/checkmk/commit/e714c360922d40edcb2989c3947108cd0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M tests/integration/bin/test_mkbackup.py
M tests/testlib/__init__.py
M tests/testlib/site.py
M tests/testlib/utils.py
M tests/testlib/version.py
Log Message:
-----------
More integration test simplifications
* Now that all site related tests are containerized, all previously
introduced inter process locks can be removed. There is no parallel
site creation nor version installation performed in a single
container, so there is no need for locking.
* Version copying is not needed, since there is only a single test
run is performed in each container. The installed version is not
shared between different sites / test runs. It's totally fine to
patch the original version now.
Change-Id: Ie3b19f41eed531bb235a4f73a4de3586f1d87a8d
Commit: 3cb9dc0bcbb3a7974bc50073c3701716c2252316
https://github.com/tribe29/checkmk/commit/3cb9dc0bcbb3a7974bc50073c3701716c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M tests/testlib/containers.py
M tests/testlib/web_session.py
Log Message:
-----------
Improve venv handling of test containers
The virtual environment is created during image building and persisted
in the image now. The test containers can reuse them, but still try
to update them (in case the Pipfile has changed). This saves some test
startup time.
Change-Id: I0ed041677c2b1cf47a12283cf0d9c23719bed325
Commit: 56c6768d28e08f41e73c21073b1b8d2ffbe5cbd6
https://github.com/tribe29/checkmk/commit/56c6768d28e08f41e73c21073b1b8d2ff…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M omd/packages/python3-modules/python3-modules.make
M tests-py3/Makefile
M tests-py3/scripts/run-dockerized.py
M tests-py3/scripts/run-integration-test.py
M tests/testlib/containers.py
M virtual-envs/3.7/Pipfile
M virtual-envs/3.7/Pipfile.lock
Log Message:
-----------
Improve test container debugging
Using "make -C tests-py3 test-integration-docker-debug" it is now
possible to start a test container that is fully prepared for
manually executing all sort of tests.
Change-Id: I2c2a91351abcc058ae71c4db8e85713afb7fccb7
Commit: 6c0e830fe1f237c1fa8a7d1a73a6320811f5a16b
https://github.com/tribe29/checkmk/commit/6c0e830fe1f237c1fa8a7d1a73a632081…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M buildscripts/scripts/test-integration-single.jenkins
M tests-py3/scripts/run-integration-test.py
M tests/testlib/containers.py
Log Message:
-----------
Archive logs and xml report of pytest for jenkins
Also improve working with the containers offline on the way.
Change-Id: Id66048731cffe88e97722781b9c339667b4a6f85
Commit: 19d6fd6a6d89e466246320227824e76fdfb067ee
https://github.com/tribe29/checkmk/commit/19d6fd6a6d89e466246320227824e76fd…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M tests/testlib/site.py
Log Message:
-----------
Some minor linter fixes
Change-Id: I2013bc8b0c8e8942fcf5b5559ee3445d9dd38609
Compare:
https://github.com/tribe29/checkmk/compare/064bb65c702e...19d6fd6a6d89