-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b16
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8229928 | 11.0.5 | Jie Fu | P4 | Resolved | Fixed | b05 |
The docker tests with default parameters may fail on the os newer than oraclelinux 7.6.
For example, it is passed on Ubuntu 16.04 but failed on Ubuntu 18.04 with
------------------------------
make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker"
------------------------------
To run these tests correctly, the correct docker image parameters are required on Ubuntu 18.04 by using "JAVA_OPTIONS".
------------------------------
make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
------------------------------
It would be helpful to add these comments.
For example, it is passed on Ubuntu 16.04 but failed on Ubuntu 18.04 with
------------------------------
make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker"
------------------------------
To run these tests correctly, the correct docker image parameters are required on Ubuntu 18.04 by using "JAVA_OPTIONS".
------------------------------
make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
------------------------------
It would be helpful to add these comments.
- backported by
-
JDK-8229928 Add notes for docker tests in the test doc
- Resolved