[jdk8u-dev] RFR: 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111 [v6]

Jonathan Dowland jdowland at openjdk.org
Tue Dec 13 09:07:03 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 one commit:

  8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
  
  Reviewed-by: mdoerr
  Backport-of: c92adf41587767e9c5c8e116cfaeb375d36928aa

-------------

Changes: https://git.openjdk.org/jdk8u-dev/pull/124/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=124&range=05
  Stats: 145 lines in 5 files changed: 46 ins; 28 del; 71 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