Skip to content
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

added integration test shutdown for bluechi #657

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Dec 8, 2023

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.

/cc @ArtiomDivak
Without stopping the systemd service(s), the .gcda files aren't written so that the coverage collection can't find them and fails. This PR with the shutdown before collecting artifacts should ensure that the .gcda files are written and finalized.

Relates to: #397

@engelmi engelmi requested a review from mwperina December 8, 2023 13:20
@engelmi engelmi force-pushed the integration-tests-shutdown branch from 360960c to faf963a Compare December 8, 2023 13:20
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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]>
@engelmi engelmi force-pushed the integration-tests-shutdown branch from faf963a to eec9224 Compare December 8, 2023 13:31
@mwperina mwperina merged commit 71533d2 into eclipse-bluechi:main Dec 8, 2023
@engelmi engelmi deleted the integration-tests-shutdown branch February 28, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants