RFR: 8333144: docker tests do not work when ubsan is configured
David Holmes
dholmes at openjdk.org
Thu Jul 25 01:57:34 UTC 2024
On Wed, 26 Jun 2024 13:32:32 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Currently when we run with ubsan - enabled binaries (configure option --enable-ubsan, see [JDK-8298448](https://bugs.openjdk.org/browse/JDK-8298448)), the docker tests do not work.
>
> We find this in the test output
>
> [STDOUT]
> /jdk/bin/java: error while loading shared libraries: libubsan.so.1: cannot open shared object file: No such file or directory
>
> The container where the test is executed does not contain the ubsan package; we might skip the test in this case.
On the one hand this seems like a "Dr Dr it hurts when I do this" kind of problem. On the other hand it only affects the docker testing so I'm inclined to let it in, even though it is a bit of a blunt instrument (what if ubsan is installed in the container and someone wants to run with it enabled there?).
-------------
PR Review: https://git.openjdk.org/jdk/pull/19907#pullrequestreview-2198111143
More information about the hotspot-dev
mailing list