Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: ffea7b631bfd2d4a0d78a57cbeaebb47112bfbee
https://github.com/tribe29/checkmk/commit/ffea7b631bfd2d4a0d78a57cbeaebb471…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M agents/Makefile
M agents/cmk-agent-ctl/.cargo/config.toml
M scripts/find-rust-files
Log Message:
-----------
agent controller: Build static binary with musl
Also add .cargo/config.toml to files which trigger the Rust CI.
Change-Id: I2ac37d2b3ff1f40ca1d09445a9764a86ba06b2c3
Commit: c7bcf3135f391da73bcab8ce8b30b13a2ef44c61
https://github.com/tribe29/checkmk/commit/c7bcf3135f391da73bcab8ce8b30b13a2…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M agents/cmk-agent-ctl/Cargo.lock
M agents/cmk-agent-ctl/Cargo.toml
M agents/cmk-agent-ctl/src/monitoring_data.rs
M agents/cmk-agent-ctl/src/pull.rs
Log Message:
-----------
cmk-agent-ctl: Move async agent data functions to trait
This simplifies the interface of some functions in pull.rs
and will facilitate testing
Change-Id: Ibeda3bbaf2febfc8a3c976f2c4727499bdb3053d
Commit: f8b99a97c60d49687a87ca20503a383db8b388c9
https://github.com/tribe29/checkmk/commit/f8b99a97c60d49687a87ca20503a383db…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M agents/cmk-agent-ctl/src/pull.rs
Log Message:
-----------
cmk-agent-ctl: Always refresh allow-legacy-pull state
Change-Id: I418f673158165d02785c8ee68f70fa44029f33f9
Compare: https://github.com/tribe29/checkmk/compare/87a72c089e0f...f8b99a97c60d
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 87a72c089e0f665e6a7437f7695beea1b1725301
https://github.com/tribe29/checkmk/commit/87a72c089e0f665e6a7437f7695beea1b…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/base/agent_based/inventory/_tree_aggregator.py
M cmk/base/events.py
M cmk/base/ip_lookup.py
M cmk/core_helpers/_base.py
R tests/testlib/debug_utils.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/base/agent_based/test_data_provider_sections_parser.py
M tests/unit/cmk/base/sources/test_cmd_caching.py
M tests/unit/cmk/base/test_base_crash_reporting.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/cmk/snmplib/test_snmp_scan.py
M tests/unit/cmk/utils/test_debug.py
M tests/unit/cmk/utils/test_store.py
M tests/unit/conftest.py
Log Message:
-----------
Run tests in debug mode by default
This should avoid hiding programming errors that would otherwise raise
an exception.
CMK-9861
Change-Id: I9a1ec75f013abe948082c05a45d7ff84661a3e6d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 41dba4d264bfa11b79b9bd65ccfbd437802e6731
https://github.com/tribe29/checkmk/commit/41dba4d264bfa11b79b9bd65ccfbd4378…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/utils/test_store.py
Log Message:
-----------
Fix test_store
The code tests the non-debug mode even though the debug
mode is *a lot more* expressive... At least, this patch
makes that explicit.
CMK-9861
Change-Id: I424fa3d74afe537393bc34f19d2b7ca9adba49ee
Commit: 2f1fbcf8c423d89e3b47f2023c34882b947bb897
https://github.com/tribe29/checkmk/commit/2f1fbcf8c423d89e3b47f2023c34882b9…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/base/ip_lookup.py
M tests/unit/cmk/base/test_ip_lookup.py
Log Message:
-----------
Fix ip_lookup
Explicitly catch MKIPAddressLookupError before the broad except. What
code and test do is anyone's guess.
CMK-9861
Change-Id: Id17a0ce0765ba3772245a4b8baed123ac14993e8
Commit: b1f9cb46b2fde2dfecee87baec245a807044aad2
https://github.com/tribe29/checkmk/commit/b1f9cb46b2fde2dfecee87baec245a807…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/base/agent_based/test_data_provider_sections_parser.py
Log Message:
-----------
Fix SectionsParser tests
Make dependence on debug mode explicit.
CMK-9861
Change-Id: I7017bde359390d57a47a10a21377833a63733802
Commit: 69297227cc02cb52ff3a35cc50db9cc32340c2b2
https://github.com/tribe29/checkmk/commit/69297227cc02cb52ff3a35cc50db9cc32…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/base/agent_based/inventory/_tree_aggregator.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
Log Message:
-----------
Fix test_aggregator_raises_collision
Explicitly disable debug + comment.
CMK-9861
Change-Id: Ic39718a3432d2936dc527e468b99eb917547ab36
Commit: 14d3a9448b59f79a6bb86973bbf5558285c39a9e
https://github.com/tribe29/checkmk/commit/14d3a9448b59f79a6bb86973bbf555828…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/base/test_base_crash_reporting.py
Log Message:
-----------
Fix crash reporting tests
No-op code would crash the tests, so let us get rid of that!
CMK-9861
Change-Id: If93b45428ccf3e61a1138aba800d55ca19dccf24
Commit: 21d5195d2676df034a98ca5abf62be6f13df8abe
https://github.com/tribe29/checkmk/commit/21d5195d2676df034a98ca5abf62be6f1…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/base/events.py
M tests/unit/cmk/base/test_events.py
Log Message:
-----------
events: Fix code based on the expectation from the test
CMK-9861
Change-Id: Ie2b9a679f79ad759681be53ce6951ec023748a1b
Commit: 0210bf01997379284487e3245b3f8507342ff377
https://github.com/tribe29/checkmk/commit/0210bf01997379284487e3245b3f85073…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
R tests/testlib/debug_utils.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/sources/test_cmd_caching.py
M tests/unit/conftest.py
Log Message:
-----------
Remove obsolete cmk_debug_enabled context manager
Is has been obsoleted by the fixture that enables debug mode
every test.
CMK-9861
Change-Id: I3a5515cd0dba9c6999d9488aa9f8c2426d96bc38
Compare: https://github.com/tribe29/checkmk/compare/13ed3981a434...0210bf019973
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 13ed3981a434680835014ea0aea615ee35c22800
https://github.com/tribe29/checkmk/commit/13ed3981a434680835014ea0aea615ee3…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M agents/cmk-agent-ctl/Cargo.lock
M agents/cmk-agent-ctl/Cargo.toml
M agents/cmk-agent-ctl/src/monitoring_data.rs
M agents/cmk-agent-ctl/src/pull.rs
Log Message:
-----------
cmk-agent-ctl: Move async agent data functions to trait
This simplifies the interface of some functions in pull.rs
and will facilitate testing
Change-Id: Ibeda3bbaf2febfc8a3c976f2c4727499bdb3053d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c06bc76c297203bcd11cf547ff6794b9763629b8
https://github.com/tribe29/checkmk/commit/c06bc76c297203bcd11cf547ff6794b97…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/base/agent_based/test_data_provider_sections_parser.py
M tests/unit/cmk/base/test_base_crash_reporting.py
M tests/unit/cmk/base/test_events.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/cmk/core_helpers/test_fetchers.py
M tests/unit/cmk/snmplib/test_snmp_scan.py
M tests/unit/cmk/utils/test_debug.py
M tests/unit/cmk/utils/test_store.py
M tests/unit/conftest.py
Log Message:
-----------
Skip tests that fail in debug mode
We must run the tests in debug mode by default in order
to let programming errors raise exceptions during the tests.
CMK-9861
Change-Id: I9a1ec75f013abe948082c05a45d7ff84661a3e6d
Commit: ad39eeaa75943446d09f492fedece59138962b7f
https://github.com/tribe29/checkmk/commit/ad39eeaa75943446d09f492fedece5913…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/utils/test_debug.py
Log Message:
-----------
Fix `test_debug`
Make these tests actual unit tests following the AAA pattern.
CMK-9861
Change-Id: I207da29f6a79ff644d58f75384ffb139aaa7b85b
Commit: 3fda66f9bb148e4e867d01ebbe60c6a3d9b7ab31
https://github.com/tribe29/checkmk/commit/3fda66f9bb148e4e867d01ebbe60c6a3d…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M tests/unit/cmk/snmplib/test_snmp_scan.py
Log Message:
-----------
test_snmp_scan: Return default value from mock
CMK-9861
Change-Id: I63a8165b740607a4c844624279f2d13ba0355c6c
Commit: bba967aab64b24751bbd2797432f4ce76ed59f33
https://github.com/tribe29/checkmk/commit/bba967aab64b24751bbd2797432f4ce76…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/core_helpers/_base.py
M tests/unit/cmk/core_helpers/test_fetchers.py
Log Message:
-----------
Fix base fetcher exception handling
Re-raising or packing in the result monad really is good enough.
CMK-9861
Change-Id: If21b6db09b54ebe866239dbb52801f8dbcd27987
Compare: https://github.com/tribe29/checkmk/compare/0d53564dc9e7...bba967aab64b
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 1a499cae84d2e5dee3cc0efdff1b5b71fcd58f4c
https://github.com/tribe29/checkmk/commit/1a499cae84d2e5dee3cc0efdff1b5b71f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M cmk/core_helpers/_markers.py
M cmk/core_helpers/agent.py
M tests/unit/cmk/core_helpers/test_parsers.py
Log Message:
-----------
Make errors visible in parser + fix
`cmk.utils.debug.debug_mode` must be set explicitly for the unit tests
or the errors might no be visible. This is what happened in the agent
parser.
This patch properly sets debug mode and fixes code and tests until they
are green again. We added some more tests on the way.
CMK-9820
Change-Id: I6886b87604da1f5d62982a70d5e696373f6a5086
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 8d2d0b7c34e0a3e6c6ac394c2b0e8a6c0a8ceafb
https://github.com/tribe29/checkmk/commit/8d2d0b7c34e0a3e6c6ac394c2b0e8a6c0…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M buildscripts/docker_image_aliases/IMAGE_TESTING/Dockerfile
M buildscripts/docker_image_aliases/IMAGE_TESTING/meta.yml
Log Message:
-----------
Update IMAGE_TESTING after rebuild of ubuntu-20.04
... in order to have musl for rust available
Change-Id: I168c62c762a0edb956506d23c7736c0550e13071