JDK-8221342 : [TESTBUG] Generate Dockerfile for docker testing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11.0.3,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-22
  • Updated: 2024-06-04
  • Resolved: 2019-03-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 8 Other
11.0.12-oracleFixed 13 b14Fixed 8u371Fixed openjdk8u282Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Currently we have a number of static Dockerfiles used for testing HotSpot and JDK features in Docker container environment. This results in duplication, and restricts flexibility of defining the specifics in Dockerfile, such as FROM platform.

Generating Dockerfile used by tests in DockerTestUtils test library will solve these issues.
Comments
Fixed. My apologies.
22-10-2020

Fix Request (OpenJDK 8u) Please approve this test-only fix for OpenJDK 8u. The patch didn't apply cleanly and an RFR has been opened and got acked by Paul Hohensee and Andrew Hughes. This is one of a series of test code patches so as to make running container tests easier (for example for JDK-8203357). Risk should be fairly low as it's only changing test code. RFR(s): Started here: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-August/012594.html Concluded here: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-October/012784.html webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8221342/jdk8/02/
22-10-2020

Again, you don't mention my review :-(
22-10-2020

Fix Request (OpenJDK 11u): Please approve backporting this test-only change to JDK 11 which simplifies running docker tests on non-Oracle Linux platforms (like Ubuntu/Fedora). This aids in performing easier regression testing on JDK 11u. Risk is rather minimal as it's been in use in jdk head for a couple of months without issues. The patch applies as-is from JDK 13 once JDK-8220313 has been backported too.
15-07-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/dae71635cc3a User: mseledtsov Date: 2019-03-26 20:25:39 +0000
26-03-2019

WebRev: http://cr.openjdk.java.net/~mseledtsov/8221342.01/ Testing: rm -Rf JT*; jtreg -v1 test/hotspot/jtreg/runtime/containers/docker/ dk/jdk/internal/platform/docker/ All PASS rm -Rf JT*; jtreg -v1 -Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest test/hotspot/jtreg/runtime/containers/docker/ dk/jdk/internal/platform/docker/ All PASS Also ran the image interactively to make sure it is based on ubuntu
22-03-2019