RFR: 8333144: docker tests do not work when ubsan is configured [v4]

Thomas Stuefe stuefe at openjdk.org
Fri Aug 2 06:27:32 UTC 2024


On Thu, 1 Aug 2024 07:31:07 GMT, Matthias Baesken <mbaesken 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.

Okay, thanks Matthias

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19907#issuecomment-2264652502


More information about the hotspot-dev mailing list