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

Bugfix/#16953 test journalctl checking no load error #76

Conversation

ljblancoredborder
Copy link
Member

Test to check if journal has LoadError about chef. This is useful because some ruby modules need it, like redborder-cgroups. However, keep in mind this kind of tests can expend too much time. In this case, it's reading the whole journal of service chef-client

@ljblancoredborder ljblancoredborder added enhancement New feature or request help wanted Extra attention is needed size/S size/S labels Apr 30, 2024
@the-label-bot the-label-bot bot added kind/bug kind/bug and removed size/S size/S labels Apr 30, 2024
Copy link

the-label-bot bot commented Apr 30, 2024

The Label Bot has predicted the following:

Category Value Confidence Applied Label
Kind bug 0.671 ✔️
Size XS 0.997 ✔️

@the-label-bot the-label-bot bot added the size/XS size/XS label Apr 30, 2024
@jsotofernandez jsotofernandez requested a review from malvads May 6, 2024 12:00
Copy link
Member

@malvads malvads left a comment

Choose a reason for hiding this comment

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

I believe conducting such a generic test here, given its heavy processing requirements, is inappropriate. Moreover, loading all journal logs into memory is not recommended. Additionally, the generic nature of the test may lead to false positives.

We need another way to test this cases

@ljblancoredborder
Copy link
Member Author

I agree. I though exactly the same.

@JPeraltaNic JPeraltaNic closed this Jun 7, 2024
@ljblancoredborder ljblancoredborder deleted the bugfix/#16953_test_journalctl_checking_no_LoadError branch June 18, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed kind/bug kind/bug size/XS size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants