JDK-8255787 : Tag container tests that use cGroups with cgroups keyword
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-11-03
  • Updated: 2023-01-09
  • Resolved: 2020-11-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16 JDK 8
11.0.16Fixed 16 b25Fixed 8u371Fixed
Related Reports
Relates :  
Description
Some container tests use cGroups, while other test do not. This RFE is to tag such tests with "@key cgroups".

With advent of PodMan and cGroups v2 a specific environment and configuration is required, and it is important to know which tests use cGroups.

For instance, with RedHat 8.1 and Oracle Linux 8.1 cGroups will not work with 'rootless' containers. cGroups v2 does not come out-of-box and requires special setup.
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/1075 Date: 2022-05-09 08:06:20 +0000
09-05-2022

Fix request [11u] I would like to backport this so the same keywords are available in 11 and 17. After all, we keep improving the cgroup support in 11. No risk, only a test change.
09-05-2022

Changeset: 4df8abc2 Author: Harold Seigel <hseigel@openjdk.org> Date: 2020-11-12 13:23:57 +0000 URL: https://github.com/openjdk/jdk/commit/4df8abc2
12-11-2020