-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test #1
test #1
Commits on Oct 4, 2023
-
fix invalid read on disconnecting anonymous node
Fixes: eclipse-bluechi#591 When an anonymous node has been disconnected in the controller and the cleanup has been done, a log statement was made afterwards. This statement differed based on the node name. Since the node instance has been cleaned up (freed), but not set to NULL, valgrind reported this as an invalid read. Moved the log statements accordingly. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 787686e - Browse repository at this point
Copy the full SHA 787686eView commit details
Commits on Oct 9, 2023
-
fixed api description for register method
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20f2f2b - Browse repository at this point
Copy the full SHA 20f2f2bView commit details
Commits on Oct 10, 2023
-
extend getting started documentation
The getting started page now provides a guide to setup BlueChi for single and multiple nodes. Also, examples on how to use BlueChi have been added - from getting information using bluechictl to a full example of how to use BlueChi's proxy service feature. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed2c761 - Browse repository at this point
Copy the full SHA ed2c761View commit details -
Rename bluechi RPM to bluechi-controller (eclipse-bluechi#597)
Renames bluechi RPM to bluechi-controller, which better describes the content of the package. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce7e325 - Browse repository at this point
Copy the full SHA ce7e325View commit details
Commits on Oct 11, 2023
-
Move snapshot COPR repo under centos-sig-automotive group
Moves bluechi snapshot builds from mperina/hirte-snapshot repo to @centos-sig-automotive/bluechi-snapshot repo. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f3785f - Browse repository at this point
Copy the full SHA 8f3785fView commit details -
In the error cases in this function a file descriptor is getting leaked, use steal_fd and cleanup_fd to alleviate this. Found by gcc's -fanalyzer. Signed-off-by: Eric Curtin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5439cc - Browse repository at this point
Copy the full SHA e5439ccView commit details -
Containerize RPM build to ensure CentOS-Stream9 RPMs
Add skipper environment configuration Skip git config operation when running the containerized build Add strato-skipper to the requirements.txt file Update the tests README Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1aa265 - Browse repository at this point
Copy the full SHA e1aa265View commit details
Commits on Oct 13, 2023
-
split getting started page into multiple subpages (eclipse-bluechi#605)
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 473d67b - Browse repository at this point
Copy the full SHA 473d67bView commit details
Commits on Oct 16, 2023
-
update architecture overview diagram
The current architecture overview of BlueChi uses bluechi instead of bluechi-controller. Since the diagram wasn't in the drawio xml, it has been recreated. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59c2281 - Browse repository at this point
Copy the full SHA 59c2281View commit details -
move the architecture overview to a dedicated section
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 66e8e8d - Browse repository at this point
Copy the full SHA 66e8e8dView commit details -
exclude drawio xml for diagrams from spdx check
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5680150 - Browse repository at this point
Copy the full SHA 5680150View commit details
Commits on Oct 19, 2023
-
Fixes: eclipse-bluechi#566 Adds the missing api examples for rust on how to use BlueChi's D-Bus API. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca99e2e - Browse repository at this point
Copy the full SHA ca99e2eView commit details -
Get gcda and gcno files from containers.
[WIP] When running tmt gcda and gcno files are created. This files necessary for later code coverage. So before the container destroyed we need to extract this files to the local machine. Related: eclipse-bluechi#397 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2cf7de - Browse repository at this point
Copy the full SHA a2cf7deView commit details -
Added arguments for meson so the gcda files will be saved in /var/tmp/bluechi-coverage. Also bluechi.spec.in will add the /var/tmp/bluechi-coverage. Signed-off-by: Artiom Divak <[email protected]> Add path for gcda files Added arguments for meson so the gcda files will be saved in /var/tmp/bluechi-coverage. Also bluechi.spec.in will add the /var/tmp/bluechi-coverage. Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fff3fce - Browse repository at this point
Copy the full SHA fff3fceView commit details -
Add test case IDs to increase tracebility
Each test case should have unique UUID to help with traceability of test runs. With UUID for each test case, it is easier to follow trends in stability over time. Signed-off-by: Pavol Brilla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b7306 - Browse repository at this point
Copy the full SHA 86b7306View commit details -
thanks this makes sense Co-authored-by: Michael Engel <[email protected]> Signed-off-by: Pavol Brilla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44ed7e6 - Browse repository at this point
Copy the full SHA 44ed7e6View commit details -
Remove integration tests specific network setup
We were setting up specific network range for integration tests, but we were not using it directly within any test. So we can remove that specific network setup and rely on the default. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2306a3f - Browse repository at this point
Copy the full SHA 2306a3fView commit details -
Suggest to use -v option when running integration tests
Running integration tests with `-v` option provides nice summary with each test execution time and result at the end of the run, so we should suggest using this option everywhere in the documentation. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28e7391 - Browse repository at this point
Copy the full SHA 28e7391View commit details -
Use shell to indicate that code block should use shell syntax
Use only `shell` to indicate that code block should use shell syntax highlighting. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f02b8dd - Browse repository at this point
Copy the full SHA f02b8ddView commit details -
Fix inconsistencies in env variables for integration tests
1. Mention all environment variables, which are used within integration tests and could be changed by users, in `tests/plans/tier0.fmf` 2. Mention using `-e` to change environment variable value for an integration tests run in the documentation Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7983f09 - Browse repository at this point
Copy the full SHA 7983f09View commit details
Commits on Oct 23, 2023
-
improve some error messages returned by dbus api
Signed-off-by: Iiqbal2000 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17c21ef - Browse repository at this point
Copy the full SHA 17c21efView commit details -
Simplify installation of bluechi-coverage package in tests
When we build RPMs with coverage support (which we do only when we want to generate code coverage report), it's easier to add bluechi-coverage RPM as a dependency to other RPMs than passing coverage support to the container file and installing bluechi-coverage RPM according to the coverage support enablement. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48f4a85 - Browse repository at this point
Copy the full SHA 48f4a85View commit details
Commits on Oct 24, 2023
-
FFI: initial bluechi-tester tool
BlueChi Tester, its purpose is to create tests that can disrupt or diminish the functionality of the BlueChi controller. Signed-off-by: Douglas Schilling Landgraf <[email protected]> Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afa547f - Browse repository at this point
Copy the full SHA afa547fView commit details -
added option for building with static analysis
Related to: eclipse-bluechi#604 Added the gcc option -fanalyzer as configurable meson option (default: false) to ensure higher code quality. Default is set to false and no integration into CI is done since it can also result in false-positives. Therefore, the developer has to decide which issue to tackle. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for baafeaf - Browse repository at this point
Copy the full SHA baafeafView commit details -
added integration test for measuring start time of unit
Fixes: eclipse-bluechi#415 Added an integration test to validate that collecting metrics for the start time of a unit works as expected. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e99a5c - Browse repository at this point
Copy the full SHA 2e99a5cView commit details -
defined metrics object path as constant in python bindings
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 623e0b9 - Browse repository at this point
Copy the full SHA 623e0b9View commit details -
added step for checking integration test IDs
In order to ensure every integration test has an ID linked to it, a CI step executes a dry run for the generation and checks the result. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cecc21c - Browse repository at this point
Copy the full SHA cecc21cView commit details
Commits on Oct 27, 2023
-
fix issues detected by gcc -fanalyzer option
Fixes: eclipse-bluechi#604 Fixed detected issues or suppressed warnings for false-positives that couldn't be fixed. In addition, the -fanalyzer option has been enabled in the CI for the build and running unit tests. The clang-tidy unknown warning option has been disabled, too. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 907ccb9 - Browse repository at this point
Copy the full SHA 907ccb9View commit details -
enable -fanalyzers malloc leak detection
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7345d7f - Browse repository at this point
Copy the full SHA 7345d7fView commit details
Commits on Oct 30, 2023
-
Introduce clang/LLVM to build-base
clang/LLVM is an alternate C compiler that is commonly used in Linux and other operating systems. It has useful tooling and helps keep the code portable. Other projects that use this toolchain include Chromium, Linux kernel and virtually all Rust projects use LLVM backend. Signed-off-by: Eric Curtin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 456e12f - Browse repository at this point
Copy the full SHA 456e12fView commit details -
Agent - Save ManagerAddress in context and use in ensure
The value of ManagerAddress was being overridden upon connection failure Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 571d918 - Browse repository at this point
Copy the full SHA 571d918View commit details -
Some changes were made to account for unused variables the LLVM toolchain found, it also did not recognize the gcc-specific warnings turned off by the pragma statements, so tell clang to just ignore those. Signed-off-by: Eric Curtin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4160074 - Browse repository at this point
Copy the full SHA 4160074View commit details
Commits on Nov 1, 2023
-
extend documentation of proxy services
Changed the section name to cross-node dependencies and added an introducing index page to it. Reworked the proxy service example and explanation as well as added the limitations of this feature. In addition, a how-to subsection was created. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aebfb5c - Browse repository at this point
Copy the full SHA aebfb5cView commit details
Commits on Nov 3, 2023
-
switch to hashmap.c in eclipse-bluechi organization
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03ee2a2 - Browse repository at this point
Copy the full SHA 03ee2a2View commit details
Commits on Nov 7, 2023
-
re-enable proxy service fails on execstart integration test
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38161fc - Browse repository at this point
Copy the full SHA 38161fcView commit details -
replaced ExecStart= with ExecStop= in [email protected]
By using ExecStop= instead of ExecStart= a race condition is avoided that leads systemd to send a SIGTERM signal to the dep service, resulting in it being in a failed state. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f65493e - Browse repository at this point
Copy the full SHA f65493eView commit details
Commits on Nov 8, 2023
-
changed Conflicts= to be not supported in documentation
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e02469 - Browse repository at this point
Copy the full SHA 3e02469View commit details
Commits on Nov 9, 2023
-
add integration test for automatic unsubscribe
Fixes: eclipse-bluechi#413 Adds an integration test to verify that unsubscribe is automatically called as soon as the consumer stops the connection (the event loop, in this case). Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74f7ef0 - Browse repository at this point
Copy the full SHA 74f7ef0View commit details -
removed const qualifier for sub_id in unsubscribe
The const qualifier for the sub_id prevented the value from being changed, so an unsubscribe call would fail since the subscription with ID 0 could not be found. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf4e7ef - Browse repository at this point
Copy the full SHA bf4e7efView commit details -
Remove unneeded --arch parameter in test container builds
Passing `--arch` parameter to `podman build` in `tests/scripts/tests-setup.sh` is no longer needed after eclipse-bluechi#441 being merged. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50bd361 - Browse repository at this point
Copy the full SHA 50bd361View commit details -
Introduce support for packit builds
- Adapt our RPM build scripts to be usable in packit - Add support to build RPMs for the most important architectures when PR is added/updated - Add support to build RPMs for all supported platforms and save produced RPMs into our COPR repository Fixes: eclipse-bluechi#452 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47549c1 - Browse repository at this point
Copy the full SHA 47549c1View commit details -
Introduce support for packit testing farm
- Adapt our integration tests to be executable by packit in the testing farm - Add support to execute integration tests after RPMs are built when PR is added/updated Fixes: eclipse-bluechi#452 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb5e10f - Browse repository at this point
Copy the full SHA cb5e10fView commit details -
Aligns build targets for bluechi-snapshot packit builds
Aligns build targets for bluechi-snapshot packit builds with the build targets we were using with `make srpm` builds prior packit integration. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6dd1d2 - Browse repository at this point
Copy the full SHA e6dd1d2View commit details -
fix race condition for [email protected]
There is a potential race condition for ExecStart in [email protected] when a stop signal is sent and the ExecStart= command is still running. This leads systemd to send a SIGTERM signal to the template service. Therefore, SIGTERM needs to be an acceptable exit status, otherwise the service transitions to a failed state. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1570f53 - Browse repository at this point
Copy the full SHA 1570f53View commit details -
setting pointers to NULL after free Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b72be6f - Browse repository at this point
Copy the full SHA b72be6fView commit details
Commits on Nov 10, 2023
-
move version to dedicated script and enhanve -v cli option
Fixes: eclipse-bluechi#454 Moves the project version and release to a dedicated script and uses it in meson. It also extends the -v cli option of all binaries so that the release (incl. the commit hash for nightly builds) is included. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 646307a - Browse repository at this point
Copy the full SHA 646307aView commit details
Commits on Nov 13, 2023
-
graceful node shutdown when manager destroyed
Added graceful node_shutdown function that is called before node_unref which goes over outstanding requests and cancels them. This fixes a memory leak when bluechi-controller service is stopped via bluechi-controller itself Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 790ceb5 - Browse repository at this point
Copy the full SHA 790ceb5View commit details -
move marking cloned directory as safe from scripts to CI
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d814604 - Browse repository at this point
Copy the full SHA d814604View commit details -
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58b1c5e - Browse repository at this point
Copy the full SHA 58b1c5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ec2e1a - Browse repository at this point
Copy the full SHA 4ec2e1aView commit details -
mark cloned project directory as safe for git
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11acd4e - Browse repository at this point
Copy the full SHA 11acd4eView commit details
Commits on Nov 14, 2023
-
change hashmap.c version to v0.7.0 and remove warnings from hashmap l…
…ib by casting raw pointers to each original object Signed-off-by: Iiqbal2000 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab8a3f7 - Browse repository at this point
Copy the full SHA ab8a3f7View commit details -
Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25a02e1 - Browse repository at this point
Copy the full SHA 25a02e1View commit details
Commits on Nov 15, 2023
-
Add label to basic integration test packit job
New label to the regular packit test job, in addition to the existing `valgrind` one. The labels allow triggering a single job or a group of jobs manually. In our case: `/packit test --labels standard` - runs the regular test job `/packit test --labels valgrind` - runs the valgrind test job `/packit test` - runs both (all the) tests Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b06157 - Browse repository at this point
Copy the full SHA 2b06157View commit details -
send monitor signals only to peer
Relates to: eclipse-bluechi#187 When a peer creates a monitor, events matching its subscriptions should be sent only to that peer. Currently, this is only implemented for the unit properties changed signal - the other events are broadcasted so that others receive those signals as well. This commit changes the events for UnitNew, UnitRemoved and UnitStateChanged to be only sent to the peer that created the monitor. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3be9069 - Browse repository at this point
Copy the full SHA 3be9069View commit details -
added log statements when sending monitor signals fail
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df97dcd - Browse repository at this point
Copy the full SHA df97dcdView commit details -
move RELEASE variable outside of function
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8baf0cd - Browse repository at this point
Copy the full SHA 8baf0cdView commit details -
updated maintainer README with the latest release changes
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64b868c - Browse repository at this point
Copy the full SHA 64b868cView commit details
Commits on Nov 16, 2023
-
Fix remaining URLs pointing to containers/bluechi
Fix remaining URLs pointing to container/bluechi to point to eclipse-bluechi/bluechi Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e6281 - Browse repository at this point
Copy the full SHA 67e6281View commit details -
refactored build and push script for base images
Split build and push into two distinct functions. Also, renamed functions and added an parameter check. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9edaa2d - Browse repository at this point
Copy the full SHA 9edaa2dView commit details -
added github workflow for building and pushing base images
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89937d7 - Browse repository at this point
Copy the full SHA 89937d7View commit details -
make all build-scripts executable
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 843317a - Browse repository at this point
Copy the full SHA 843317aView commit details
Commits on Nov 17, 2023
-
log error when at least one list units request fails
Relates to: eclipse-bluechi#567 eclipse-bluechi#568 When list units for all nodes is run and the requests are submitted, it might happen that one of those is failing. Previously, this led to a failure when reading the message for the node where the request failed - which got propagated to the caller. Now, an additional error log in BlueChi is made and the error code is extracted from the sd_bus_message. Also removes the top-most error print in the client to avoid printing errors twice. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 180e3c5 - Browse repository at this point
Copy the full SHA 180e3c5View commit details
Commits on Nov 25, 2023
-
added infinite loop option to bluechi-tester
Relates to: eclipse-bluechi#648 In order to continuously send signals to bluechi-controller a value of 0 in --numbersignals can be used for running in an infinite loop. In addition, the paramters for the JobDone signal have been fixed so that a valid JobDone signal is sent. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d482ee - Browse repository at this point
Copy the full SHA 1d482eeView commit details
Commits on Nov 29, 2023
-
Force python-rich installation for podman-py
Fixes containers/podman-py#350 by forcing installation of python-rich dependency, which is missing in podman-py 4.8.0.post1 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55312a0 - Browse repository at this point
Copy the full SHA 55312a0View commit details
Commits on Dec 7, 2023
-
extended monitor API by adding and removing peers
Relates to: eclipse-bluechi#187 Monitor signals are only sent to the creator of the monitor. The new Peer API enables to add and remove additional listener on the same monitor with its subscriptions. A user with sufficient priviledges to make methods calls to BlueChi's API can add and remove peers. The processes for the peers can be run by a different user with no access to BlueChi's API, but will still be able to receive events if added by a privileged process. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f22a0e - Browse repository at this point
Copy the full SHA 6f22a0eView commit details
Commits on Dec 8, 2023
-
Add lcov to integration-test-base container
Adds lcov to integration-test-base container, because lcov will be required to generate code coverage report from integration tests run. Related-to: eclipse-bluechi#397 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17d5ac1 - Browse repository at this point
Copy the full SHA 17d5ac1View commit details -
added integration test shutdown for bluechi
Relates to: eclipse-bluechi#397 In order to finalize all data - journal and valgrind logs and code coverage files - a shutdown step has been introduced that stops the bluechi components in all container. Also, error logs have been added in the run routine that should help debugging test failures. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71533d2 - Browse repository at this point
Copy the full SHA 71533d2View commit details -
Add failure message to PR if after merge build fails
Adds a failure message to PR as a new comment, if packit build fails after merge of the PR. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e436f07 - Browse repository at this point
Copy the full SHA e436f07View commit details -
added intregration tests for AddPeer on Monitor API
Relates to: eclipse-bluechi#187 Added integration tests to validate that the implemented API for adding and removing peers on monitors works as expected. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fa3755 - Browse repository at this point
Copy the full SHA 5fa3755View commit details -
prevent a monitoring peer to be added more than once
In order to prevent duplicated signals being sent to a peer, the add peer method checks for the bus id and rejects if it can be found. This also applies to the owner of the monitor. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 369bf12 - Browse repository at this point
Copy the full SHA 369bf12View commit details -
fix memory leak when assembling monitoring signals
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92d1fc9 - Browse repository at this point
Copy the full SHA 92d1fc9View commit details
Commits on Dec 11, 2023
-
removed unused sdbus error variable
In some of the proxy monitors send function an error variable had been declared, but not used (due to an async method call). These can safely be removed. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa60204 - Browse repository at this point
Copy the full SHA fa60204View commit details -
fix CI check for apispec changes
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a1c0f3 - Browse repository at this point
Copy the full SHA 2a1c0f3View commit details
Commits on Dec 12, 2023
-
Docs: Add Securing BlueChi with mTLS and double proxy
Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 849ee28 - Browse repository at this point
Copy the full SHA 849ee28View commit details
Commits on Dec 13, 2023
-
documentation: move images to asset directory
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4193d2b - Browse repository at this point
Copy the full SHA 4193d2bView commit details -
add documentation about monitoring
Relates to: eclipse-bluechi#187 Added documentation about monitors, virtual events and the recently introduced peer listener API. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48fd221 - Browse repository at this point
Copy the full SHA 48fd221View commit details
Commits on Dec 14, 2023
-
Get Info file file from each container of each test. This info files will be merged with lcov command. Fixes: eclipse-bluechi#397 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 001a0af - Browse repository at this point
Copy the full SHA 001a0afView commit details -
Added finish step script to make html from info files
Running script when WITH_COVERAGE is 1. This script will run after all tests and will get an html report for the coverage from all the info files. Fixes: eclipse-bluechi#397 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e2d93e - Browse repository at this point
Copy the full SHA 8e2d93eView commit details -
Adds logging to gathering code coverage artifacts
Related-to: eclipse-bluechi#397 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfb7055 - Browse repository at this point
Copy the full SHA cfb7055View commit details -
- Adds plain (just a chihuahua), horizontal and vertical variants of the logo - Adds vertical variant to README.md Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd40316 - Browse repository at this point
Copy the full SHA fd40316View commit details -
Use horizontal logo for README.md
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74a1b87 - Browse repository at this point
Copy the full SHA 74a1b87View commit details -
Add BlueChi logo for the organization on GH
Adds BlueChi vertical logo in 100x100 size to be used as a logo for Eclipse BlueChi organization and repo on GitHub. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc7ee68 - Browse repository at this point
Copy the full SHA cc7ee68View commit details
Commits on Dec 15, 2023
-
Add logo for social media preview on GH
Adds horizontal logo sized to 1280x469 for social media preview on GitHub. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c63e57 - Browse repository at this point
Copy the full SHA 9c63e57View commit details -
Fix typo in social media logo file name
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49e3edb - Browse repository at this point
Copy the full SHA 49e3edbView commit details -
wait a bit after controller has stopped
Relates to: eclipse-bluechi#668 By waiting a bit, e.g. 1s, after the controller has stopped the agent will fail to reconnect at least one time - testing the perpetual retry to connect to the controller again. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7b2272 - Browse repository at this point
Copy the full SHA f7b2272View commit details
Commits on Dec 20, 2023
-
enable quicker tcp error notification
Fixes: eclipse-bluechi#652 Relates to: eclipse-bluechi#648 When a connection between controller and agent is esablished and is dropped later, e.g. removing the cable from the agent, the disconnect is properly detected by the keepalive mechanism. However, the keepalive takes a while to detect this (based on the KEEPCNT of the system). If any command is issued during that time frame, tcp will try to retransmit the data. Eventually, retransmitting will be stopped and ICMP packets for host not reachable emitted. The keepalive is not used then, which results in the connection between agent and controller to be broken but not closed - a disconnect is not detected. By setting the IP_RECVERR socket option, errors such as the ICMP host not reachable error will be delivered to the upper layer (systemd event loop in our case) so that it can handle it. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b572dad - Browse repository at this point
Copy the full SHA b572dadView commit details -
Relates to: eclipse-bluechi#652 For systems with less robust network, always enabling IP_RECV_ERR might result in unnecessary disconnects and a less robust BlueChi setup. Therefore, a configuration setting was introduced to enable or disable this option depending on the current needs. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 924e153 - Browse repository at this point
Copy the full SHA 924e153View commit details
Commits on Dec 21, 2023
-
Log test execution and code coverage collection times
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50be4d1 - Browse repository at this point
Copy the full SHA 50be4d1View commit details -
Align pytest execution for code coverage with integration tests
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f54ba1c - Browse repository at this point
Copy the full SHA f54ba1cView commit details -
Generate coverage info files within containers
Perform all processing around generating code coverage info file within relevant container to improve performance. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccf1a64 - Browse repository at this point
Copy the full SHA ccf1a64View commit details -
added TCP KeepAlive options to configuration
Fixes: eclipse-bluechi#674 Relates to: eclipse-bluechi#652 In order to enable users of BlueChi to tweak its networking behavior, the TCP KeepAlive options - which were set anyway to internally defined defaults - are made configurable. In addition, a new struct has been introduced to bundle socket related options. Also, parts of the bus utils which are related to socket functionality were moved to the respective socket source files. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52cf38a - Browse repository at this point
Copy the full SHA 52cf38aView commit details
Commits on Dec 22, 2023
-
Add debug logging to bluechi_test.command module
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af412e5 - Browse repository at this point
Copy the full SHA af412e5View commit details -
Optimize generating code coverage report
1. Gather info files from all tests into a list and then run lcov to merge those info files into a single file only once 2. Use Python API to gather info files 3. Store generated info file as a part of the integration tests result Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 482b029 - Browse repository at this point
Copy the full SHA 482b029View commit details
Commits on Jan 3, 2024
-
added tmt serial no. to container name
Added TMT serial number to container names in order to prevent cascading failures when containers from previous tests aren't properly cleaned up. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76f803e - Browse repository at this point
Copy the full SHA 76f803eView commit details
Commits on Jan 4, 2024
-
fix check of return from agent_starts
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 833d06e - Browse repository at this point
Copy the full SHA 833d06eView commit details -
check for proxy service list being empty instead of NULL
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5176ef3 - Browse repository at this point
Copy the full SHA 5176ef3View commit details -
Test for cmd -c option for agent and controller
Test if cmd -c option with invalid conf will set the status of agent and controller to failed status. Related-to: eclipse-bluechi#668 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e19b4d4 - Browse repository at this point
Copy the full SHA e19b4d4View commit details -
Fixes: eclipse-bluechi#682 The D-Bus method Shutdown was added in the early days of the project and has never been used to this day. The use case of this method is also not clear. So in order to keep the API of BlueChi as lean as possible, lets remove the Shutdown method. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 340acc9 - Browse repository at this point
Copy the full SHA 340acc9View commit details -
disable llvm-include-order rule for clang-tidy
clang-format and clang-tidy seem to both evaluate the include order, but with a different set of rules. For example, clang-format would apply #include method-unit-actions.h #include client.h while clang-tidy would sort them in reverse - and error on the other. Since this is a formatting task, lets disable the include order rule in clang-tidy. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93bfea1 - Browse repository at this point
Copy the full SHA 93bfea1View commit details
Commits on Jan 5, 2024
-
Add array of structures aligning to .clang-format
Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbcd280 - Browse repository at this point
Copy the full SHA cbcd280View commit details
Commits on Jan 8, 2024
-
bluechictl: introduce Method and Command structures
This introduces a new way to define and handle command line interface focusing on simplicity of adding and handling new methods and new options for each method separately. Introducing two new structures: Method and Command, and a set of functions to manage them. client/main.c shows how to define and use these. Also, Command interface can handle separate help outputs for each method, which can be introduced later. Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e6ed4f - Browse repository at this point
Copy the full SHA 7e6ed4fView commit details -
add a comment for each PR about test coverage
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab78631 - Browse repository at this point
Copy the full SHA ab78631View commit details -
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82f7cb5 - Browse repository at this point
Copy the full SHA 82f7cb5View commit details -
bluechictl: add flags to enable and disable commands
Adding the following flags: enable: `--force`, `--runtime` and `--no-reload` disable: `--runtime` and `--no-reload` Removed the short `-f` option for `--filter` option, since `-f` is more common for --force than for filter Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3c2485 - Browse repository at this point
Copy the full SHA e3c2485View commit details
Commits on Jan 9, 2024
-
Introduced shutdown hook running before exiting event loop
Fixes: eclipse-bluechi#686 Relates to: eclipse-bluechi#681 A shutdown hook function has been introduced that is executed right before exiting the event loop. By doing so, the agent and controller are able to perform final shutdown actions such as emitting signals. It uses the agent_stop and manager_stop functions for both applications to perform these tasks and applies asserts in the unref functions to cross-check that all lists, e.g. for nodes or jobs, have been cleared. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30f63e9 - Browse repository at this point
Copy the full SHA 30f63e9View commit details
Commits on Jan 10, 2024
-
Add lsof for integration-test-base
lsof needed to check if port connected inside controller/agent container. Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1dcff62 - Browse repository at this point
Copy the full SHA 1dcff62View commit details -
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9302abd - Browse repository at this point
Copy the full SHA 9302abdView commit details -
added status property on manager interface
Fixes: eclipse-bluechi#603 Added a status property on the manager interface to express the current status of the overall system - all nodes managed by the controller. It also emits a signal if this state changes, e.g. from online to degraded. Node (dis-)connects that don't lead to a state change do not trigger this signal. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbf6516 - Browse repository at this point
Copy the full SHA cbf6516View commit details
Commits on Jan 11, 2024
-
use polling instead of sleep for checking processed events
In the integration tests for the system status, the events processed by the monitor should be continuously be pulled and evaluated (with proper logs) instead of simply waiting a fixed amount of time. This makes the tests less brittle on slower infrastructure. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a2ed1b - Browse repository at this point
Copy the full SHA 9a2ed1bView commit details
Commits on Jan 15, 2024
-
Test for -c option check if port is change
Added an option to add open ports for spawned containers. And also added a test to check if conf file change with -c option will change the ports for agent and ctrl. Related-to: eclipse-bluechi#668 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed15bd5 - Browse repository at this point
Copy the full SHA ed15bd5View commit details
Commits on Jan 16, 2024
-
Configuration parameters prefix - replace Manager with Controller
Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9121e0 - Browse repository at this point
Copy the full SHA c9121e0View commit details -
Fix reference to other MD file
Co-authored-by: Michael Engel <[email protected]> Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00089a6 - Browse repository at this point
Copy the full SHA 00089a6View commit details -
bluechictl: status command to show nodes list
In this commit we remove the `bluechictl monitor node-connection` functionality and move it to `bluechictl status`, slightly expanding it. `bluechictl status` will print the list of nodes with their status and when it was last seen. `bluechictl status node` will print the same for for the node `node` Also adding `-w/--watch` flag to `bluechictl status` command, allowing to continuously monitor the node/nodes status (like the original `bluechictl monitor node-connection` Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5176eb - Browse repository at this point
Copy the full SHA c5176ebView commit details -
bluechictl: doc updates for latest option changes
Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ebc2b3 - Browse repository at this point
Copy the full SHA 7ebc2b3View commit details
Commits on Jan 17, 2024
-
copy gcno files into dedictated directories
By copying the gcno files into the dedicated directories naming collisions are avoided which, in turn, results in missing coverage for those overwritten files. This also applies to moving the .gcda files into those dedicated project directories, e.g. libbluechi, during the collection of these files. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13f022d - Browse repository at this point
Copy the full SHA 13f022dView commit details
Commits on Jan 18, 2024
-
Rename Manager -> Controller (eclipse-bluechi#712)
Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2cd879 - Browse repository at this point
Copy the full SHA f2cd879View commit details
Commits on Jan 19, 2024
-
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 843aa0b - Browse repository at this point
Copy the full SHA 843aa0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 521af98 - Browse repository at this point
Copy the full SHA 521af98View commit details -
fixed workflow for publishing to pypi
Install missing python3-gobject dependency. Also, remove check for diff for now since the generator produces unordered output, e.g. the functions and classes might be in different order. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cf1f26 - Browse repository at this point
Copy the full SHA 9cf1f26View commit details
Commits on Jan 22, 2024
-
Add Fedora spec changes to upstream
Add spec file changes, which were performed in Fedora, to upstream spec file, so there are less differencies between them. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfce842 - Browse repository at this point
Copy the full SHA cfce842View commit details
Commits on Jan 23, 2024
-
Retrieve the version from script
The workflow variable github.ref_name contains the tag name, which is in the form of v*.*.*. In the rpm spec file, however, we expect the format *.*.*. Therefore, lets change the format in the github workflow by using the string returned from the version script, e.g. 0.8.0 Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b54fb6a - Browse repository at this point
Copy the full SHA b54fb6aView commit details -
removed unused function from libbluechi
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44e15cc - Browse repository at this point
Copy the full SHA 44e15ccView commit details
Commits on Jan 26, 2024
-
Merge the info file inside the container
To avoid lcov version differences generated info files will be copied to the container and only then merged. This will avoid using the lcov installed on the host and will prevent lcov version differences. Related:eclipse-bluechi#713 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a44d2ab - Browse repository at this point
Copy the full SHA a44d2abView commit details
Commits on Jan 30, 2024
-
Add unit test code coverage to integration test coverage report
Unit tests are executed during RPM build phase, so we need to add .gcda files from unit test execution into bluechi-coverage package to be able to create unified unit and integration test coverage report as a part of integration test execution. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74fce01 - Browse repository at this point
Copy the full SHA 74fce01View commit details -
Remove unit test coverage report from unit-tests workflow
Unit tests are executed as a part of RPM build. Also we run integration tests with code coverage report as a part if integration-tests workflow, so there is no need to run coverage report for unit tests in unit-tests workflow. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21bc266 - Browse repository at this point
Copy the full SHA 21bc266View commit details
Commits on Jan 31, 2024
-
remove unit test file coverage
Remove coverage for unit test files like libbluechi/test/common/list_test.c from the generated HTML coverage info and report. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f47bbc - Browse repository at this point
Copy the full SHA 1f47bbcView commit details -
Ordered output for python bindings generator
Fixes: eclipse-bluechi#716 It orders the interfaces as well as its methods, signals and properties by name so that the generated output is deterministic. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0284d7 - Browse repository at this point
Copy the full SHA c0284d7View commit details
Commits on Feb 5, 2024
-
Add LogLevel and LogTarget properties for controller and agent
Adding LogLevel and LogTarget properties for controller and agent. This property's status will be visible via sdbus API. Relatd: eclipse-bluechi#726 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3db4f79 - Browse repository at this point
Copy the full SHA 3db4f79View commit details
Commits on Feb 7, 2024
-
cleanup controller when start fails
Fixes: eclipse-bluechi#730 When controller_start fails, the cleanup in controller_stop still needs to be executed to remove all initialized nodes. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c70696 - Browse repository at this point
Copy the full SHA 0c70696View commit details
Commits on Feb 8, 2024
-
On 06.02.2024 the tmt version 1.31 was released. It adds a new preparation task (at least in our setup), which fails. Pinning it to 1.30 for now. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfea83b - Browse repository at this point
Copy the full SHA bfea83bView commit details -
doc: add information about firewall in the docs
Add documentation to users regarding firewalld and iptables for BlueChi. Fixes: eclipse-bluechi#648 Signed-off-by: Douglas Schilling Landgraf <[email protected]> Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb49730 - Browse repository at this point
Copy the full SHA bb49730View commit details
Commits on Feb 12, 2024
-
Test for loglevel for controller and agent
Testing if log level will change if SetLoglevel function will be use with bluechictl in container and agent. Loglevel will be set to DEBUG and then to INFO. After that the service will be stoped and the journal will be checked. Reletad:eclipse-bluechi#668 Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8791c8d - Browse repository at this point
Copy the full SHA 8791c8dView commit details -
Bluechi will crush if non valid loglevel used
If bluchictl setloglevel feature is used with invalide loglevel bluechi will crush. It caused by invalid input for bc_log_errorf. Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78df211 - Browse repository at this point
Copy the full SHA 78df211View commit details -
Tests set-loglevel with invalid input
Added test for set-loglevel with invalid input (like INF) for controller and agent. Signed-off-by: Artiom Divak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfd3c60 - Browse repository at this point
Copy the full SHA cfd3c60View commit details
Commits on Feb 13, 2024
-
Report to test coverage to Coveralls
Signed-off-by: Ygal Blum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a57dff - Browse repository at this point
Copy the full SHA 7a57dffView commit details -
Add code coverage badge to README.md
Adds coveralls.io badge to README.md to show code coverage status. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c669df - Browse repository at this point
Copy the full SHA 6c669dfView commit details -
Don't use string literals as value for boolean options
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2d9ee0 - Browse repository at this point
Copy the full SHA d2d9ee0View commit details -
Rename build option
man
towith_man_pages
1. Renames build option `man` to `with_man_pages` 2. Changes the type of the option from `combo` to `boolean` 3. Add documentation for this option to README.developer.md Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7286cb - Browse repository at this point
Copy the full SHA e7286cbView commit details -
Use boolean type for
with_coverage
build optionUse boolean type instead of combo for `with_coverage` build option Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f47fba0 - Browse repository at this point
Copy the full SHA f47fba0View commit details -
Remove unneeded empty lines in selinux/meson.build
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 249e092 - Browse repository at this point
Copy the full SHA 249e092View commit details
Commits on Feb 14, 2024
-
Relates to: eclipse-bluechi#678 The parse functions agent_parse_config and controller_parse_config initialize the config, set default values there, load configuration from all sources and sets the loaded values to the agent/controller fields. This is a bit much, therefore, split setting the values out to a dedicated function. In addition to a smaller, easier to read function it also simplifies writing unit tests. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a0d7a2 - Browse repository at this point
Copy the full SHA 3a0d7a2View commit details -
added unit tests for setting values
Relates to: eclipse-bluechi#678 Added unit tests for the previously split out function to set the values from the loaded configuration to the agent/controller fields. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5899b1b - Browse repository at this point
Copy the full SHA 5899b1bView commit details -
Two leaks are fixed: - agent_unref did not free the peer_socket_options - unit_infos was allocated twice Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d61fc6 - Browse repository at this point
Copy the full SHA 4d61fc6View commit details -
exclude new agent and controller tests from integration test coverage
Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06ca91f - Browse repository at this point
Copy the full SHA 06ca91fView commit details -
changed naming for container to machine
Relates to: eclipse-bluechi#662 Preparation work for multihost support by exchanging the term container with machine in classes and functions in the integration tests. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11e7f7c - Browse repository at this point
Copy the full SHA 11e7f7cView commit details -
skip creating coverage report when no info file is found
It can happen that provisioning, preparing or executing the integration tests fails, e.g. failed to pull the container image due to an infra outage. The finish step of tmt, however, always gets executed. In order to avoid failing the finish step, check for existing .info files and skip if none are found. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5890b89 - Browse repository at this point
Copy the full SHA 5890b89View commit details -
Update GH actions to latest releases
Updates GH actions to latest releases to fix following warning: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 ``` Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb834e1 - Browse repository at this point
Copy the full SHA cb834e1View commit details
Commits on Feb 15, 2024
-
introduced a client class in integration tests
Relates to: eclipse-bluechi#662 Introduce a client class in integration tests to add an abstraction layer between tests and the used provision method - containerized or multiple hosts connected to via SSH. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01ccc68 - Browse repository at this point
Copy the full SHA 01ccc68View commit details -
load config from cli option as part of load complete config
Relates to: eclipse-bluechi#678 Moved loading the config file specified by CLI option to the function loading the complete config and updated unit tests accordingly. This way loading configuration from all sources is encapsulated in a single function. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b717af6 - Browse repository at this point
Copy the full SHA b717af6View commit details -
Fix warning about changelog date
Fixes following warning: warning: bogus date in %changelog: Mon Jan 17 2024 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60be1a6 - Browse repository at this point
Copy the full SHA 60be1a6View commit details -
Generate coverage info file for unit test during package build
Prior to the patch .gcda files from unit tests execution are packaged into bluechi-coverage and later merged with integration test .gcda file to create unified code coverage report. As a part of this patch we generate code coverage info file for unit tests and package this info into bluechi-coverage, which simplifies generating unified code coverage report. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8fba28 - Browse repository at this point
Copy the full SHA e8fba28View commit details -
dedicated classes for systemctl and bluechictl commands
Relates to: eclipse-bluechi#662 Further preparatory work for multihost testing. Encapsulate commands for systemctl and bluechictl in dedicated classes, increasing the reusability and readability. An instance of the systemctl class is provided by both, controller and agent machine. Only the controller can use bluechictl, however. Signed-off-by: Michael Engel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3068b3f - Browse repository at this point
Copy the full SHA 3068b3fView commit details
Commits on Feb 20, 2024
-
Force urllib3 log level to INFO
urllib3 logs in DEBUG level contains too much information, which we don't need in integration tests, so let's force th level to INFO Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 529020f - Browse repository at this point
Copy the full SHA 529020fView commit details -
Fixing multiline string notation for loggging
bluchictl and systemctl modules contains multiline string using backslash which added unnecessary white spaces: ... finished with result '0' and output: Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e326357 - Browse repository at this point
Copy the full SHA e326357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 702b5e7 - Browse repository at this point
Copy the full SHA 702b5e7View commit details -
Improves logging in code coverage process
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8738b92 - Browse repository at this point
Copy the full SHA 8738b92View commit details -
Use DEBUG log level in GH CI integration tests run
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1bba6a - Browse repository at this point
Copy the full SHA e1bba6aView commit details -
Test validity of -h/--help option
Tests, bluechi-controller, bluechi-agent and bluechictl provides both short (-h) and long (--help) option and those options provides some content. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5965128 - Browse repository at this point
Copy the full SHA 5965128View commit details -
Test validity of -v/--version option
Tests, that bluechi-controller, bluechi-agent and bluechi-ctl contains -v and --version options and that the version returned aligns with RPM package version. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76c6d4f - Browse repository at this point
Copy the full SHA 76c6d4fView commit details -
Align RPM release with release reported by command line tools
Make sure, that RPM release for snapshot builds is properly passed to the build, so this release can be reported correctly in command line tools. Fixes: eclipse-bluechi#753 Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2327958 - Browse repository at this point
Copy the full SHA 2327958View commit details
Commits on Feb 21, 2024
-
Add test for disable service in bluechictl
We have a test to verify bluechictl can enable disabled service. This commit also add test if bluechictl can disable enabled service. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a770b66 - Browse repository at this point
Copy the full SHA a770b66View commit details
Commits on Feb 22, 2024
-
Test metrics enable and then disable
Adds an integration test which checks that metrics are enabled and disabled correctly back-and-forth Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9eb9eb0 - Browse repository at this point
Copy the full SHA 9eb9eb0View commit details -
metrics: nullify metrics_slot on agent when disabling
Signed-off-by: Mark Kemel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ff9217 - Browse repository at this point
Copy the full SHA 1ff9217View commit details -
Test if bluechictl version is aligned with RPM version
Tests if bluechictl version aligns with the version provided by RPM package. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4119ba9 - Browse repository at this point
Copy the full SHA 4119ba9View commit details
Commits on Feb 23, 2024
-
Remove unused command_ref method
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cff1d82 - Browse repository at this point
Copy the full SHA cff1d82View commit details -
Add verification of operation result for systemctl stop
systemctl stop will fail only if service doesn't exist or if it's prohibited to stop the service. To detect, that for example service crash during stop operation, we need to check Result property of the service after stop operation. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a226c23 - Browse repository at this point
Copy the full SHA a226c23View commit details -
Use SystemCtl class in test.py module
Adds usage of SystemCtl class in test.py module, which allows additional logging and also detection of stop service failures. Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3161761 - Browse repository at this point
Copy the full SHA 3161761View commit details -
Fail the test if there is an error stopping bluechi services or gathe…
…ring logs Bluechi services are being stopped at the end of each test to be able to collect logs or code coverage data. If bluechi service was stopped with failure (for example due to core-dump), we need to fail the test. Also if there is an error during logs gathering, we should fail the test.
Configuration menu - View commit details
-
Copy full SHA for 9aae53d - Browse repository at this point
Copy the full SHA 9aae53dView commit details -
Fix memory deallocation issue in node_method_set_log_level()
Signed-off-by: Martin Perina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f869b8a - Browse repository at this point
Copy the full SHA f869b8aView commit details
Commits on Feb 27, 2024
-
Add APIs to set controller host, port and address for Agent
This adds public APIs to set controller host, port and address to the bluechi-agent. Because it's possible to change the host, port and address used by agent to connect controller on the fly using these APIs, the agent can reconnect to controller of new node without restarting when the node of working bluechi controller is changed. If reconnect is true, try to reconnect to new bluechi-controller right now. Signed-off-by: Joonyoung Shim <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0aa31fe - Browse repository at this point
Copy the full SHA 0aa31feView commit details