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

Jonathan Dowland jdowland at openjdk.org
Sun Dec 11 13:27:03 UTC 2022


On Fri, 11 Nov 2022 16:25:29 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

>> 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - 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!

wake up

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

PR: https://git.openjdk.org/jdk8u-dev/pull/124


More information about the jdk8u-dev mailing list