> Hi all, > > Test jdk/internal/platform/cgroup/TestCgroupMetrics.java report fails when > the cpuset unmounted. The details shows in jbs issue. I think it's better to > check the 'cpu period' or 'cpuset' available or not before run the releated > tests. > > Change has been verified locally. Test-fix only, no risk. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision: - Merge branch 'openjdk:master' into jbs8374364 - Merge branch 'openjdk:master' into jbs8374364 - Merge branch 'openjdk:master' into jbs8374364 - Merge branch 'openjdk:master' into jbs8374364 - Update comment "If cgroups is not configured, the test is skipped." which suggestion from @dholmes-ora Co-authored-by: David Holmes <[email protected]> - Update copyright year for test/lib/jdk/test/lib/containers/cgroup/MetricsTesterCgroupV1.java - Check cpu period and cpuset avaialable before test - Fix year - Move DockerTestUtils.checkCanTestDocker() inside MetricsTester - 8374364: TestCgroupMetrics.java fails when docker service unavailable ------------- Changes: - all: https://git.openjdk.org/jdk/pull/28996/files - new: https://git.openjdk.org/jdk/pull/28996/files/2a1b372b..8a09a7b7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=07-08 Stats: 42740 lines in 1031 files changed: 20832 ins; 17210 del; 4698 mod Patch: https://git.openjdk.org/jdk/pull/28996.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28996/head:pull/28996 PR: https://git.openjdk.org/jdk/pull/28996
