RFR: 8333144: docker tests do not work when ubsan is configured [v4]
Matthias Baesken
mbaesken at openjdk.org
Fri Aug 2 06:17:36 UTC 2024
On Wed, 31 Jul 2024 14:07:46 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.
>
> Matthias Baesken has updated the pull request incrementally with two additional commits since the last revision:
>
> - remove method from WhiteBox.java
> - remove WB_isUbsanEnabled, fix test
Hi David, thanks for testing.
Thinking more about it, should I test in ` generateDockerFile ` for `baseImage` name containing ubuntu, so that people using a system property to set an own special image do not run into issues with the added `RUN apt-get install libubsan1` ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19907#issuecomment-2264640910
More information about the hotspot-dev
mailing list