Skip to content

8360518: Docker tests do not work when asan is configured #25980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/DockerBasicTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @test
* @summary Basic (sanity) test for JDK-under-test inside a docker image.
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/ShareTmpDir.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @key cgroups
* @summary Test for hsperfdata file name conflict when two containers share the same /tmp directory
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @build WaitForFlagFile
* @run driver ShareTmpDir
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestCPUAwareness.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @key cgroups
* @summary Test JVM's CPU resource awareness when running inside docker container
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.base/jdk.internal.platform
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestCPUSets.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @key cgroups
* @summary Test JVM's awareness of cpu sets (cpus and mems)
* @requires container.support
* @requires !vm.asan
* @requires (os.arch != "s390x")
* @library /test/lib
* @modules java.base/jdk.internal.misc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @summary Test container info for cgroup v2
* @key cgroups
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestJFREvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* Also make sure that PIDs are based on value provided by container,
* not by the host system.
* @requires (container.support & os.maxMemory >= 2g)
* @requires !vm.asan
* @modules java.base/jdk.internal.platform
* @library /test/lib
* @modules java.base/jdk.internal.misc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* the reported host ip and host name are correctly reported within
* the container.
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestJFRWithJMX.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @test
* @summary Test JFR recording controlled via JMX across container boundary.
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* namespace such as PID namespace, specific sub-directories, IPC and more.
* @requires container.support
* @requires vm.flagless
* @requires !vm.asan
* @modules java.base/jdk.internal.misc
* java.management
* jdk.jartool/sun.tools.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @key cgroups
* @summary Test container limits updating as they get updated at runtime without restart
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox LimitUpdateChecker
* @run driver jdk.test.lib.helpers.ClassFileInstaller -jar whitebox.jar jdk.test.whitebox.WhiteBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @test
* @key cgroups
* @requires os.family == "linux"
* @requires !vm.asan
* @modules java.base/jdk.internal.platform
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox PrintContainerInfo CheckOperatingSystemMXBean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @test
* @bug 8343191
* @requires os.family == "linux"
* @requires !vm.asan
* @modules java.base/jdk.internal.platform
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestMisc.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @test
* @summary Test miscellanous functionality related to JVM running in docker container
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/containers/docker/TestPids.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @key cgroups
* @summary Test JVM's awareness of pids controller
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand Down
1 change: 1 addition & 0 deletions test/jdk/jdk/internal/platform/docker/TestDockerBasic.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @summary Verify that -XshowSettings:system works
* @key cgroups
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @run main/timeout=360 TestDockerBasic
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @key cgroups
* @summary Test JDK Metrics class when running inside docker container
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @build MetricsCpuTester
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @key cgroups
* @summary Test JDK Metrics class when running inside docker container
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @build MetricsMemoryTester
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* @key cgroups
* @summary Cgroup v1 subsystem fails to set subsystem path
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @build MetricsMemoryTester
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @key cgroups
* @bug 8242480
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @build GetFreeSwapSpaceSize
* @run driver TestGetFreeSwapSpaceSize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @key cgroups
* @summary Test container limits updating as they get updated at runtime without restart
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @build LimitUpdateChecker
Expand Down
1 change: 1 addition & 0 deletions test/jdk/jdk/internal/platform/docker/TestPidsLimit.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @summary Test JDK Metrics class when running inside a docker container with limited pids
* @bug 8266490
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @build TestPidsLimit
* @run driver TestPidsLimit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @key cgroups
* @summary Test JDK Metrics class when running inside docker container
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @run main TestSystemMetrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @test
* @summary UseContainerSupport flag should reflect Metrics being available
* @requires container.support
* @requires !vm.asan
* @library /test/lib
* @modules java.base/jdk.internal.platform
* @build CheckUseContainerSupport
Expand Down