Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

[7.13.x](backport #1153) feat: check how many processes of a process are running in the host#1155

Merged
mdelapenya merged 3 commits into7.13.xfrom
mergify/bp/7.13.x/pr-1153
May 14, 2021
Merged

[7.13.x](backport #1153) feat: check how many processes of a process are running in the host#1155
mdelapenya merged 3 commits into7.13.xfrom
mergify/bp/7.13.x/pr-1153

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented May 10, 2021

This is an automatic backport of pull request #1153 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…1153)

* fix: use docker's stdcopy to separate stdout from stderr

This will allow removing the initial bytes when reading outputs from command
execution in a container

* feat: support checking the number of occurrences of a process in a container

It uses pgrep to get all pids for a process, and then iterates through them
to get the runnable status for each pid. If the process must be started
in the host, then it will check that the pid is in the S status (to skip
zombie processes)

* fix: check for only one filebeat instance

* fix: check for empty response when listing agent's workdir

(cherry picked from commit 78a0d49)
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented May 10, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #1155 updated

  • Start Time: 2021-05-14T18:33:04.513+0000

  • Duration: 24 min 43 sec

  • Commit: 521ab93

Test stats 🧪

Test Results
Failed 0
Passed 160
Skipped 0
Total 160

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 160
Skipped 0
Total 160

@mdelapenya
Copy link
Copy Markdown
Contributor

Will double check why the tests find only 1 filebeat instance in 7.13.x. Do not merge until resolution

@mdelapenya mdelapenya merged commit 294db5c into 7.13.x May 14, 2021
@mergify mergify bot deleted the mergify/bp/7.13.x/pr-1153 branch May 14, 2021 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants