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

fix: prevent random failures in agent_status_check #244

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

vchepkov
Copy link
Contributor

The list of files in /proc/[0-9]*/cmdline can change as processes start or terminate between the Dir.glob and File.read operations

Please check off the steps below as you complete each step

  • Put the Jira ticket or Github issue number in parentheses in the Title e.g. (SUP-XXXX) Add Super Duper State Check
  • Update the Jira ticket status to Ready for Review if there is one
  • Review any CI failures and fix issues

@vchepkov vchepkov requested a review from a team as a code owner November 24, 2024 14:12
@vchepkov
Copy link
Contributor Author

fixes #243

The list of files in /proc/[0-9]*/cmdline can change as processes start or terminate between the Dir.glob and File.read operations
@vchepkov
Copy link
Contributor Author

I don't think my change caused tests failures, seems like "pre-existing condition"

@MartyEwings MartyEwings added the bug Something isn't working label Nov 25, 2024
Copy link
Collaborator

@MartyEwings MartyEwings left a comment

Choose a reason for hiding this comment

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

Minor change, and tests failing to memory issues in the CI runner (and also also sles12 has since been removed)

@MartyEwings MartyEwings merged commit 6a3adee into puppetlabs:main Nov 25, 2024
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants