-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
None
-
- cat /etc/os-release ; uname -a
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Linux iZbp12z0onf9pjopz8t75iZ 5.4.0-171-generic #189-Ubuntu SMP Fri Jan 5 14:23:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release ; uname -a NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal Linux iZbp12z0onf9pjopz8t75iZ 5.4.0-171-generic #189-Ubuntu SMP Fri Jan 5 14:23:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux - cat /etc/os-release ; uname -a
-
x86
-
linux
When the test jdk is linux x86(32bit) jdk, containers/docker/TestMemoryWithCgroupV1.java fails
test command:
jtreg -v:fail,error -nr -w tmp test/hotspot/jtreg/containers/docker/TestMemoryWithCgroupV1.java
result:
STDERR:
stdout: [exec /jdk/bin/java: no such file or directory
];
stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
at jdk.test.lib.containers.docker.Common.run(Common.java:108)
at TestMemoryWithCgroupV1.testMemoryLimitWithSwappiness(TestMemoryWithCgroupV1.java:84)
at TestMemoryWithCgroupV1.main(TestMemoryWithCgroupV1.java:61)
The linux x86(32bit) jdk needs 32bit runtime on linux x86_64 OS system.
# file tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java
tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=09c46112fc9b2f425a52ba97798be4fb2dd3b0bf, for GNU/Linux 3.2.0, not stripped
# ldd tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java
linux-gate.so.1 (0xf7f75000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7f43000)
libjli.so => /tmp/tone/run/jtreg/jdk-repo/tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/../lib/libjli.so (0xf7f31000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7f0e000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7f08000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d19000)
/lib/ld-linux.so.2 (0xf7f77000)
test command:
jtreg -v:fail,error -nr -w tmp test/hotspot/jtreg/containers/docker/TestMemoryWithCgroupV1.java
result:
STDERR:
stdout: [exec /jdk/bin/java: no such file or directory
];
stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
at jdk.test.lib.containers.docker.Common.run(Common.java:108)
at TestMemoryWithCgroupV1.testMemoryLimitWithSwappiness(TestMemoryWithCgroupV1.java:84)
at TestMemoryWithCgroupV1.main(TestMemoryWithCgroupV1.java:61)
The linux x86(32bit) jdk needs 32bit runtime on linux x86_64 OS system.
# file tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java
tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=09c46112fc9b2f425a52ba97798be4fb2dd3b0bf, for GNU/Linux 3.2.0, not stripped
# ldd tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/java
linux-gate.so.1 (0xf7f75000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7f43000)
libjli.so => /tmp/tone/run/jtreg/jdk-repo/tmp/scratch/jdk-internal-test-containers-docker-TestMemoryWithCgroupV1-memory/jdk/bin/../lib/libjli.so (0xf7f31000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7f0e000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7f08000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d19000)
/lib/ld-linux.so.2 (0xf7f77000)