-
Bug
-
Resolution: Duplicate
-
P4
-
13
-
generic
-
linux
The error log
-----------------------------------------------
[COMMAND]
docker run --tty=true --rm --memory 100m jdk-internal:test-memory /jdk/bin/java -Xlog:os+container=trace -XX:MaxRAMPercentage=4 -version
[ELAPSED: 1 ms]
[STDERR]
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[STDOUT]
Error: dl failure on line 603
Error: failed /jdk/lib/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /jdk/lib/server/libjvm.so)
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
>> jtreg:test/hotspot/jtreg/runtime/containers 6 1 5 0 <<
==============================
TEST FAILURE
-----------------------------------------------
The issue can be fixed by
-----------------------------------------------
diff -r ce78fac1f6d5 test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest
--- a/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 01:49:27 2019 +0100
+++ b/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 15:44:39 2019 +0800
@@ -1,4 +1,4 @@
-FROM oraclelinux:7.6
+FROM fedora:29
MAINTAINER mikhailo.seledtsov@oracle.com
COPY /jdk /jdk
-----------------------------------------------
-----------------------------------------------
[COMMAND]
docker run --tty=true --rm --memory 100m jdk-internal:test-memory /jdk/bin/java -Xlog:os+container=trace -XX:MaxRAMPercentage=4 -version
[ELAPSED: 1 ms]
[STDERR]
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[STDOUT]
Error: dl failure on line 603
Error: failed /jdk/lib/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /jdk/lib/server/libjvm.so)
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
>> jtreg:test/hotspot/jtreg/runtime/containers 6 1 5 0 <<
==============================
TEST FAILURE
-----------------------------------------------
The issue can be fixed by
-----------------------------------------------
diff -r ce78fac1f6d5 test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest
--- a/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 01:49:27 2019 +0100
+++ b/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 15:44:39 2019 +0800
@@ -1,4 +1,4 @@
-FROM oraclelinux:7.6
+FROM fedora:29
MAINTAINER mikhailo.seledtsov@oracle.com
COPY /jdk /jdk
-----------------------------------------------
- duplicates
-
JDK-8221342 [TESTBUG] Generate Dockerfile for docker testing
- Resolved
- relates to
-
JDK-8221342 [TESTBUG] Generate Dockerfile for docker testing
- Resolved