Commit Graph

59 Commits

Author SHA1 Message Date
Severin Gehwolf
dc8bc6c98c 8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
2023-06-02 08:58:20 +00:00
Severin Gehwolf
7f35389533 8302888: containers/docker/TestJcmd.java fails when run as root under podman
Reviewed-by: dholmes
2023-02-22 08:35:10 +00:00
Severin Gehwolf
e47e9ec05b 8300658: memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
Reviewed-by: jsjolen, iklam
2023-02-20 17:07:04 +00:00
Severin Gehwolf
53ae4c07fd 8300645: Handle julong values in logging of GET_CONTAINER_INFO macros
Reviewed-by: iklam
2023-02-16 10:08:54 +00:00
Severin Gehwolf
64ddf9536f 8299858: [Metrics] Swap memory limit reported incorrectly when too large
Reviewed-by: stuefe
2023-01-26 14:50:46 +00:00
Severin Gehwolf
3c61d5aa48 8300659: Refactor TestMemoryAwareness to use WhiteBox api for host values
Reviewed-by: mbaesken
2023-01-25 10:24:33 +00:00
Matthias Baesken
95d4db3a92 8299424: containers/docker/TestMemoryWithCgroupV1.java fails on SLES12 ppc64le when testing Memory and Swap Limit
Reviewed-by: mdoerr
2023-01-02 11:16:18 +00:00
Severin Gehwolf
3c4d5204ff 8296671: [JFR] jdk.ContainerConfiguration event should include host total memory
Reviewed-by: egahlin
2022-11-24 10:05:18 +00:00
Severin Gehwolf
6d83482a6b 8293540: [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
Reviewed-by: iklam
2022-09-30 08:44:10 +00:00
casparcwang
8f3bbe950f 8293472: Incorrect container resource limit detection if manual cgroup fs mounts present
Reviewed-by: sgehwolf, iklam
2022-09-15 08:47:05 +00:00
Jonathan Dowland
9a0d1e7ce8 8292541: [Metrics] Reported memory limit may exceed physical machine memory
Reviewed-by: stuefe, sgehwolf
2022-08-26 16:22:14 +00:00
Jonathan Dowland
f694f8a767 8292083: Detected container memory limit may exceed physical machine memory
Reviewed-by: sgehwolf, stuefe
2022-08-26 12:25:16 +00:00
Harold Seigel
db77227684 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags
Reviewed-by: dholmes, iklam, sgehwolf
2022-08-22 14:35:44 +00:00
Ioi Lam
84f23149e2 8286030: Avoid JVM crash when containers share the same /tmp dir
Reviewed-by: stuefe, sgehwolf
2022-07-18 04:10:08 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Severin Gehwolf
ac6be16519 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
Reviewed-by: sspitsyn
2022-07-06 08:24:47 +00:00
Matthias Baesken
d8f4e97bd3 8289146: containers/docker/TestMemoryWithCgroupV1.java fails on linux ppc64le machine with missing Memory and Swap Limit output
Reviewed-by: sgehwolf, mdoerr, iklam
2022-07-06 07:12:32 +00:00
Matthias Baesken
d51f4f471f 8287011: Improve container information
Reviewed-by: sgehwolf, stuefe
2022-06-22 10:36:16 +00:00
Ioi Lam
9ec27d0e9f 8287872: Disable concurrent execution of hotspot docker tests
Reviewed-by: mseledtsov, ccheung
2022-06-07 17:28:25 +00:00
Ioi Lam
67ecd30327 8287398: Allow concurrent execution of hotspot docker tests
Reviewed-by: shade, mseledtsov, sgehwolf
2022-06-01 15:51:47 +00:00
Ioi Lam
704b9a66bb 8287107: CgroupSubsystemFactory.setCgroupV2Path asserts with freezer controller
Reviewed-by: mseledtsov, sgehwolf
2022-05-26 04:16:45 +00:00
bobpengxie
46d208fb1c 8284950: CgroupV1 detection code should consider memory.swappiness
Reviewed-by: sgehwolf, iklam
2022-05-16 06:40:54 +00:00
Ioi Lam
e07fd395bd 8281181: Do not use CPU Shares to compute active processor count
Reviewed-by: dholmes, sgehwolf
2022-03-04 20:14:11 +00:00
Matthias Baesken
bb2e10ccea 8281274: deal with ActiveProcessorCount in os::Linux::print_container_info
Reviewed-by: stuefe, sgehwolf, dholmes, iklam
2022-02-09 11:33:16 +00:00
Severin Gehwolf
9180d9a2f9 8273216: JCMD does not work across container boundaries with Podman
Reviewed-by: mseledtsov, hseigel
2021-09-30 15:23:44 +00:00
Severin Gehwolf
94e31e5ca5 8274506: TestPids.java and TestPidsLimit.java fail with podman run as root
Reviewed-by: mbaesken, cjplummer
2021-09-30 08:53:31 +00:00
Matthias Baesken
d4546b6b36 8273526: Extend the OSContainer API pids controller with pids.current
Reviewed-by: sgehwolf, iklam
2021-09-16 07:08:19 +00:00
Mikhailo Seledtsov
7c26ddb575 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
Reviewed-by: hseigel, kevinw
2021-09-13 17:36:23 +00:00
Aleksey Shipilev
7d24a33421 8273318: Some containers/docker/TestJFREvents.java configs are running out of memory
Reviewed-by: ngasson, sgehwolf, mseledtsov
2021-09-08 07:43:28 +00:00
Mikhailo Seledtsov
ec63957f9d 8272398: Update DockerTestUtils.buildJdkDockerImage()
Reviewed-by: iignatyev, hseigel
2021-08-17 23:22:44 +00:00
Matthias Baesken
089e83bf1b 8266490: Extend the OSContainer API to support the pids controller of cgroups
Reviewed-by: sgehwolf, lucy
2021-08-10 07:40:21 +00:00
Igor Ignatyev
edca245d5a 8267917: mark hotspot containers tests which ignore external VM flags
Reviewed-by: mseledtsov, hseigel
2021-06-04 02:21:53 +00:00
Jaroslav Bachorik
ee2651b9e5 8203359: Container level resources events
Reviewed-by: sgehwolf, egahlin
2021-05-21 09:44:45 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Mikhailo Seledtsov
07061fc73a 8256417: Exclude TestJFRWithJMX test from running with PodMan
Reviewed-by: iignatyev
2021-02-26 16:21:12 +00:00
Harold Seigel
4df8abc200 8255787: Tag container tests that use cGroups with cgroups keyword
Reviewed-by: sspitsyn
2020-11-12 13:23:57 +00:00
Severin Gehwolf
42fc158991 8253939: [TESTBUG] Increase coverage of the cgroups detection code
Reviewed-by: shade, bobv
2020-10-28 18:54:02 +00:00
Severin Gehwolf
2bbf8a2a96 8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)
Reviewed-by: bobv, shade
2020-10-09 16:25:50 +00:00
Volker Simonis
0054c15f60 8253435: Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist
Reviewed-by: sgehwolf, bobv
2020-09-28 15:42:10 +00:00
Harold Seigel
0187567704 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 …
Reviewed-by: bobv, sgehwolf
2020-09-25 17:16:38 +00:00
Bob Vandette
76f0588aaf 8252359: HotSpot Not Identifying it is Running in a Container
Reviewed-by: sgehwolf
2020-09-03 13:50:11 +00:00
Severin Gehwolf
732d8865df 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: mbaesken, bobv, stuefe
2020-05-20 21:12:20 +02:00
Coleen Phillimore
e3be308329 8245260: Missing file header for test/hotspot/jtreg/containers/docker/TEST.properties
Reviewed-by: dcubed, hseigel
2020-05-21 16:45:55 -04:00
Igor Ignatyev
70e632d5ec 8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Severin Gehwolf
add18914fb 8239785: Cgroups: Incorrect detection logic on old systems in hotspot
Return NULL subsystem if no cgroup controllers are mounted.

Reviewed-by: bobv, mbaesken
2020-02-25 12:17:26 +01:00
Mikhailo Seledtsov
2596e83a34 8223217: [TESTBUG] Create JFR tests with JMX across container boundary
Created a new test for JFR over JMX across container boundary

Reviewed-by: egahlin, lmesnik
2020-02-21 13:01:20 -08:00
Mikhailo Seledtsov
214edaf9c2 8219999: TestJFREvents container test should not use jdk.CPUInformation event for container CPU values
Updated the testcase not to test jdk.CPUInformation

Reviewed-by: egahlin
2020-02-07 13:04:00 -08:00
Severin Gehwolf
d462a6b5c9 8230305: Cgroups v2: Container awareness
Implement Cgroups v2 container awareness in hotspot

Reviewed-by: bobv, dholmes
2019-11-07 17:11:59 +01:00
Matthias Baesken
44f7fe57a8 8236617: jtreg test containers/docker/TestMemoryAwareness.java fails after 8226575
Reviewed-by: bobv, clanger, mdoerr
2020-01-03 11:10:42 +01:00
Daniil Titov
7b82266a15 8226575: OperatingSystemMXBean should be made container aware
Reviewed-by: dholmes, bobv, mchung, sspitsyn
2019-12-11 19:20:57 -08:00