RFR: JDK-8325876: crashes in docker container tests on Linuxppc64le Power8 machines

Matthias Baesken mbaesken at openjdk.org
Thu Feb 15 15:44:54 UTC 2024


On Thu, 15 Feb 2024 08:55:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We noticed recently crashes in docker container tests on **Linuxppc64le Power8** machines. Those tests use 'ubuntu ppc64le latest' for the container.
> The crash looks like this :
> 
> containers/docker/TestContainerInfo.java
> 
> 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGILL (0x4) at pc=0x00007fffa18cfc50, pid=1, tid=7
> #
> # JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23-internal-adhoc.jenkinsi.jdk)
> # Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.jenkinsi.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-ppc64le)
> # Problematic frame:
> # C [libz.so.1+0xfc50] inflateReset+0x60
> #
> # Core dump will be written. Default location: //core.1
> #
> # An error report file with more information is saved as:
> # //hs_err_pid1.log
> 
> 
> 
> However 'ubuntu ppc64le latest' (and even 'ubuntu ppc64le 22.04') does not work any more on **Power8** machines.
> See https://ubuntu.com/download/server/power : "Starting with Ubuntu 22.04 LTS, POWER9 and POWER10 processors are supported.
> The support for POWER8 ends with Ubuntu 21.10, respectively Ubuntu 20.04 LTS, which is still supported for several years."
> 
> So we should consider changing the image on Linux ppc64le to avoid unwanted crashes.

We could also add a comment here


flags-cflags.m4-809-      elif test "x$FLAGS_CPU" = xppc64le; then
flags-cflags.m4-810-        # Little endian machine uses ELFv2 ABI.
flags-cflags.m4-811-        # Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
flags-cflags.m4:812:        $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"


The comment can point to the Ubuntu docker usage and state that we can switch to a higher Ubuntu version once we change the mcpu flag .

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

PR Comment: https://git.openjdk.org/jdk/pull/17867#issuecomment-1946355281


More information about the hotspot-runtime-dev mailing list