RFR: 8333144: docker tests do not work when ubsan is configured [v4]
Matthias Baesken
mbaesken at openjdk.org
Thu Aug 1 07:33:33 UTC 2024
On Thu, 1 Aug 2024 05:49:59 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Are we sure the images the tests use will always be Debian or Debian descendants? What about RHEL or Oracle Linux?
We use Ubuntu for the container test base image as default , see https://github.com/openjdk/jdk/blob/65646b5f81279a7fcef3ea04ef9894cf66f77a5a/test/lib/jdk/test/lib/containers/docker/DockerfileConfig.java#L47
To be more on the safe side (potentially the image can be switched with jdk.test.docker.image.name) we could add a check (and avoid adding the libubsan1 package if it is not ubuntu).
Regarding compatibility, I've seen no issues (and if you compile _without_ ubsan you would not reference the libubsan1 anyway). So it is for some special configuration.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19907#issuecomment-2262249578
More information about the hotspot-dev
mailing list