We see containers/systemd/SystemdMemoryAwarenessTest.java failing on an system with Linux Ubuntu 22.04 (Linux x86_64) and one another with Linux RHEL 9.3 (ppc64le).
stdout
DEBUG: Running test with a CPU limit of 1
stderr
java.nio.file.FileAlreadyExistsException: /<ourhomedir>/.config/systemd/user/jdk_internal.slice.d
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:446)
at java.base/java.nio.file.Files.createDirectory(Files.java:700)
at jdk.test.lib.containers.systemd.SystemdTestUtils.buildSystemdSlices(SystemdTestUtils.java:138)
at jdk.test.lib.containers.systemd.SystemdTestUtils.buildAndRunSystemdJava(SystemdTestUtils.java:90)
at SystemdMemoryAwarenessTest.testHelloSystemd(SystemdMemoryAwarenessTest.java:69)
at SystemdMemoryAwarenessTest.main(SystemdMemoryAwarenessTest.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
The test was introduced with JDK-8333446