-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 13
-
Fix Version/s: 13
-
Component/s: infrastructure
-
Labels:
-
Subcomponent:
-
Resolved In Build:b16
-
CPU:x86
-
OS: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
-