[jdk8u-dev] RFR: 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111 [v4]
Jonathan Dowland
jdowland at openjdk.org
Fri Nov 11 16:25:29 UTC 2022
> This is a back port of 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
> for jdk8u-dev as part of an effort to backport support for Cgroups V2.
>
> The intention is for this PR to depend upon [8231111: 2Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy](https://github.com/openjdk/jdk8u-dev/pull/121), which in turn depends upon [8206456: [TESTBUG] docker jtreg tests fail on systems without cpuset.effective_cpus / cpuset.effective_mems](https://github.com/openjdk/jdk8u-dev/pull/123), both of which are dependencies for this patch-set.
>
> This backport is one commit on top of pr/121. It does not apply clean after path unshuffling: some of the patch contexts around `MetricsMemoryTester.java`, `MetricsTesterCgroupV1.java` and `MetricsTesterCgroupV2.java` differ due to changes made in pr/121 to adjust for jdk8u-dev support (replacing `Arrays.compare` with `Arrays.equals`)
>
> I'll report back testing results to this PR, I have to untangle them a bit first.
Jonathan Dowland has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
- 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
Reviewed-by: mdoerr
Backport-of: c92adf41587767e9c5c8e116cfaeb375d36928aa
- Don't pass --add-exports to jdk8u java inside docker
These are JDK9+ module specific parameters.
- 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
When the kernel doesn't support swap limits, expect host values instead.
Reviewed-by: sgehwolf
Backport-of: fb5132254d834ba01a4b65ce64143843e83c674e
- Update file path in comment
- Severin's test fixes. Thanks!
-------------
Changes: https://git.openjdk.org/jdk8u-dev/pull/124/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=124&range=03
Stats: 225 lines in 10 files changed: 105 ins; 32 del; 88 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/124.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/124/head:pull/124
PR: https://git.openjdk.org/jdk8u-dev/pull/124
More information about the jdk8u-dev
mailing list