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
JDK-8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist #9153
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@MBaesken This change now passes all automated pre-integration checks. 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 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
Do we want to fix it in JDK20 only (not 19)? "Bugs of any priority whose fixes only affect tests, or test-problem lists, or documentation may be fixed in RDP 1 and RDP 2." https://openjdk.org/jeps/3#rdp-1 |
/integrate |
I think we can backport it if needed. |
Going to push as commit 444a0d9.
Your commit was automatically rebased without conflicts. |
When running test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java on ubuntu 21.10 or 22 , this test looks for a named value "nr_periods" in the file /sys/fs/cgroup/..../cpu.stat . However this metric is not always present, which leads to an AIOOB exception.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9153/head:pull/9153
$ git checkout pull/9153
Update a local copy of the PR:
$ git checkout pull/9153
$ git pull https://git.openjdk.org/jdk pull/9153/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9153
View PR using the GUI difftool:
$ git pr show -t 9153
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9153.diff