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

Matthias Baesken mbaesken at openjdk.org
Wed Jul 24 14:13:31 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.

Hello, any input on this ?
Currently the situation with the jtreg tests is not good when running ubsan-enabled binaries .

So we have to check for ubsan (see the PR for an example) or install  ubsan into the docker (or podman or ...) container .

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

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


More information about the hotspot-dev mailing list