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

test(dm): show full result of ps on kill fail #5667

Merged
merged 4 commits into from
May 31, 2022

Conversation

D3Hunter
Copy link
Contributor

What problem does this PR solve?

Issue Number: ref #5089

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

`None`.

@ti-chi-bot
Copy link
Member

ti-chi-bot commented May 31, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • buchuitoudegou
  • lance6716

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added the release-note-none Denotes a PR that doesn't merit a release note. label May 31, 2022
@D3Hunter D3Hunter added the area/dm Issues or PRs related to DM. label May 31, 2022
@ti-chi-bot ti-chi-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 31, 2022
@@ -16,5 +16,5 @@ while [ $WAIT_COUNT -lt 120 ]; do
((WAIT_COUNT++))
done

echo "process $process didn't exit after 120 seconds, current processlist: $(pgrep $process)"
echo "process $process didn't exit after 120 seconds, current processlist: $(ps -ef | grep $process | grep -v 'grep')"
Copy link
Contributor

@lance6716 lance6716 May 31, 2022

Choose a reason for hiding this comment

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

maybe ps $process is enough.

Not sure if it's a busybox ps in CI that lacks lots of information 😂 we might keep current code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe ps $process is enough.

ps can't filter by name, has to grep

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label May 31, 2022
Copy link
Contributor

@buchuitoudegou buchuitoudegou left a comment

Choose a reason for hiding this comment

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

lgtm. It seems this PR isn't about to resolve the issue but rather probe the root cause when it happens again🤣

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 31, 2022
@D3Hunter
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 7e91fee

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label May 31, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #5667 (fa3d949) into master (fcea4d5) will increase coverage by 0.5964%.
The diff coverage is 57.4834%.

Flag Coverage Δ
cdc 62.0161% <62.6707%> (+0.8680%) ⬆️
dm 52.0374% <21.8750%> (-0.0053%) ⬇️
engine 58.7230% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master      #5667        +/-   ##
================================================
+ Coverage   56.0768%   56.6733%   +0.5964%     
================================================
  Files           535        676       +141     
  Lines         70143      79016      +8873     
================================================
+ Hits          39334      44781      +5447     
- Misses        27078      30039      +2961     
- Partials       3731       4196       +465     

@ti-chi-bot ti-chi-bot merged commit 2ccee24 into pingcap:master May 31, 2022
@D3Hunter D3Hunter deleted the show-whole-ps-result branch May 31, 2022 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dm Issues or PRs related to DM. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants