RFR: 8360518: Docker tests do not work when asan is configured

Matthias Baesken mbaesken at openjdk.org
Wed Jun 25 14:14:39 UTC 2025


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.

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

Commit messages:
 - JDK-8360518

Changes: https://git.openjdk.org/jdk/pull/25980/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25980&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360518
  Stats: 23 lines in 23 files changed: 23 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25980.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25980/head:pull/25980

PR: https://git.openjdk.org/jdk/pull/25980


More information about the hotspot-dev mailing list