RFR: 8360518: Docker tests do not work when asan is configured
SendaoYan
syan at openjdk.org
Thu Jun 26 12:35:29 UTC 2025
On Wed, 25 Jun 2025 14:09:42 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> When the address sanitizer ASAN is configured, we run into errors in the docker tests.
> Example hotspot/jtreg/containers/docker/DockerBasicTest.java :
>
> [STDOUT]
> /jdk/bin/java: error while loading shared libraries: libasan.so.8: cannot open shared object file: No such file or directory
>
> Reason is that the asan-enabled binaries need additional dependencies and those are not available in the current docker/container setups.
> Maybe we should skip those tests when asan is enabled.
Should we should copy the dependent files such as libasan.so.8 to docker images when build it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25980#issuecomment-3006718477
More information about the serviceability-dev
mailing list