-
Notifications
You must be signed in to change notification settings - Fork 142
8343191: Cgroup v1 subsystem fails to set subsystem path #2109
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
Conversation
👋 Welcome back lingjun-cg! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@lingjun-cg |
Webrevs
|
@lingjun-cg This isn't being recognized as a backport. That usually happens by using the correct PR title: |
Also the Fix request comment is insufficient. Please read: https://openjdk.org/projects/jdk-updates/approval.html |
This backport pull request has now been updated with issue from the original commit. |
|
/approval request Fix request [21u] I backport this for fix NPE when jdk.internal.platform.CgroupMetrics initializing and cannot get cpu count correctly with cgroupv1 on linux kernel 3.10 |
@lingjun-cg |
thanks. done |
updated |
There are follow-ups for this to prepare. Please prepare dependent PRs for those: JDK-8352926, JDK-8360533, JDK-8354475, JDK-8351382 |
Thanks for your review. Because the JDK-8352926, JDK-8360533, JDK-8354475, JDK-8351382 depends on current JDK-8343191, and the 4 JBS issues have dependency on each other, so I merge all of them into the current PR. Also there has a test failed: tools/javac/patterns/SOEDeeplyNestedBlocksTest.java |
Hi @lingjun-cg Yes, it's not nice to merge 5 changes into one, especially if the changes backport clean. The merged change will require a review, and that review will be unnecessary complex. If the follow up is a very simple change, and a bad bug like one that kills the build, you should include it right away. For other follow-ups, 1. inform in your approval comment that they are needed, and 2. backport them in a timely manner. Don't let us approvers discover such a situation!! Also, you need to test your backports much more thoroughly, you should have caught the problem with TestDockerMemoryMetricsSubgroup.java yourself. |
Hi @lingjun-cg |
Hi @sercher |
@lingjun-cg Have you submitted any of the dependencies yet?
Where is this list from? Are you backporting to JDK 21? Let me help you with this. |
@sercher Not yet;
The second PR is about container code refactor.
The third PR is about fix the bug "Cgroup v1 subsystem fails to set subsystem path"
|
This is unrelated to OpenJDK 21 effort. The current JDK-8343191 is backporting cleanly and all follow ups are clean. Let me sumbit the follow ups as dependent PRs as suggested by Götz and Severin. Once it's integrated you will take your time fixing the downsteam repository. |
Backport JDK-8343191 for fixing NPE when run with cgroupv1 on some older linux kernel(3.10). Application throw NPE when startup, and also cannot get correct cpu count in contianer.
The PR includes all test bug fix in these issues "JDK-8351382,JDK-8352926,JDK-8354475,JDK-8360533".
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2109/head:pull/2109
$ git checkout pull/2109
Update a local copy of the PR:
$ git checkout pull/2109
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2109/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2109
View PR using the GUI difftool:
$ git pr show -t 2109
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2109.diff
Using Webrev
Link to Webrev Comment