8377562: [CRaC] Add better logging to RemoteJmxTest#295
8377562: [CRaC] Add better logging to RemoteJmxTest#295TimPushkin wants to merge 9 commits intoopenjdk:cracfrom
Conversation
|
👋 Welcome back tpushkin! A progress list of the required criteria for merging this PR into |
|
@TimPushkin This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
I had just a quick peek on the changes, but while at it, could you consider to always capture the output (but Also, I don't like the |
|
Ok, I'll think of a better interface. BTW, the test failures on linux-x64 are not from this change. I cannot reproduce them locally but in CI they also occur on the main branch: https://github.com/TimPushkin/crac/actions/runs/21992337569. Looks like something is wrong with the linux-x64 environment in CI. |
|
The remaining test failures should be fixed by #296 |
Done. I was a bit hesitant because without capturing the output would still be redirected to test process'es stdout (i.e. it would be visible in the test crash log) which should be more efficient than capturing+printing. But since capturing is actually the default it is probably efficient enough for tests and we get uniform formatting this way.
I considered this but I personally do not like the alternatives:
I am not completely against (2) and can go that way if you prefer, but to me |
rvansa
left a comment
There was a problem hiding this comment.
If it were not for the default check of the exit status I would go with 3) (return OA from doRestore() & friends) but while the toAnalyze suffix still seems awkward to me ('analysis' is rather pompous word for string match) I won't have objections.
Minor comments below.
|
/integrate |
|
@TimPushkin Pushed as commit 056fceb. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Makes. Refactors CRaC tests to make coordination with exec process simpler and more robust.RemoteJmxTestlog stderr of the child processProgress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/crac.git pull/295/head:pull/295$ git checkout pull/295Update a local copy of the PR:
$ git checkout pull/295$ git pull https://git.openjdk.org/crac.git pull/295/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 295View PR using the GUI difftool:
$ git pr show -t 295Using diff file
Download this PR as a diff file:
https://git.openjdk.org/crac/pull/295.diff
Using Webrev
Link to Webrev Comment