#Test Results (version 2)
#Thu Jul 11 18:25:31 CEST 2024
#-----testdescription-----
$file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java
$root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg
keywords=othervm driver
library=/test/lib
requires=systemd.support
run=USER_SPECIFIED build HelloSystemd jdk.test.whitebox.WhiteBox\nUSER_SPECIFIED driver jdk.test.lib.helpers.ClassFileInstaller -jar whitebox.jar jdk.test.whitebox.WhiteBox\nUSER_SPECIFIED main/othervm -Xbootclasspath/a\:whitebox.jar -XX\:+UnlockDiagnosticVMOptions -XX\:+WhiteBoxAPI SystemdMemoryAwarenessTest\n
source=SystemdMemoryAwarenessTest.java
title=Memory/CPU awareness test for JDK-under-test inside a systemd slice.

#-----environment-----

#-----testresult-----
description=file\:/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java
elapsed=4024 0\:00\:04.024
end=Thu Jul 11 18\:25\:31 CEST 2024
environment=regtest
execStatus=Passed. Execution successful
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=f39-p1
javatestOS=Linux 6.9.6-100.fc39.x86_64 (amd64)
javatestVersion=6.0-ea+b24-2024-06-18-${BUILT_FROM_COMMIT}
jtregVersion=jtreg 7.4 dev 0
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build compile compile build compile driver build compile main
start=Thu Jul 11 18\:25\:27 CEST 2024
test=containers/systemd/SystemdMemoryAwarenessTest.java
testJDK=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk
testJDK_OS=[name\:Linux,arch\:amd64,version\:6.9.6-100.fc39.x86_64,family\:linux,simple_arch\:x64,simple_version\:6.9,processors\:12,maxMemory\:67164057600,maxSwap\:8589930496]
testJDK_os.arch=amd64
testJDK_os.name=Linux
testJDK_os.version=6.9.6-100.fc39.x86_64
totalTime=4026
user.name=root
work=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/containers/systemd

#section:script_messages
----------messages:(7/501)----------
JDK under test: /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk
openjdk version "24-internal" 2025-03-18
OpenJDK Runtime Environment (build 24-internal-adhoc.sgehwolf.jdk-jdk)
OpenJDK 64-Bit Server VM (build 24-internal-adhoc.sgehwolf.jdk-jdk, mixed mode, sharing)
Library /test/lib; kind: packages
   source directory: /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib
   class directory: /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib

#section:build
----------messages:(9/343)----------
command: build HelloSystemd jdk.test.whitebox.WhiteBox
reason: User specified action: run build HelloSystemd jdk.test.whitebox.WhiteBox 
started: Thu Jul 11 18:25:27 CEST 2024
Library /test/lib:
  compile: jdk.test.whitebox.WhiteBox
Test directory:
  compile: HelloSystemd
finished: Thu Jul 11 18:25:28 CEST 2024
elapsed time (seconds): 1.253
result: Passed. Build successful

#section:compile
----------messages:(6/274)----------
command: compile /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib/jdk/test/whitebox/WhiteBox.java
reason: .class file out of date or does not exist
started: Thu Jul 11 18:25:27 CEST 2024
Mode: othervm
finished: Thu Jul 11 18:25:27 CEST 2024
elapsed time (seconds): 0.784
----------configuration:(4/180)----------
javac compilation environment
  source path: /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib
  class path:  /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib

----------rerun:(26/2247)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/javac \\
        -J-Djdk.test.docker.image.name=fedora \\
        -J-Djdk.test.docker.image.version=39 \\
        -J-Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -J-Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dtest.timeout.factor=1.0 \\
        -J-Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -J-Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -J-Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -J-Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -J-Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -d /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -sourcepath /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -classpath /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib/jdk/test/whitebox/WhiteBox.java
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:compile
----------messages:(6/289)----------
command: compile /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/HelloSystemd.java
reason: .class file out of date or does not exist
started: Thu Jul 11 18:25:27 CEST 2024
Mode: othervm
finished: Thu Jul 11 18:25:28 CEST 2024
elapsed time (seconds): 0.465
----------configuration:(7/493)----------
javac compilation environment
  source path: /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd
               /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib
  class path:  /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd
               /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d
               /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib

----------rerun:(26/2569)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/javac \\
        -J-Djdk.test.docker.image.name=fedora \\
        -J-Djdk.test.docker.image.version=39 \\
        -J-Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -J-Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dtest.timeout.factor=1.0 \\
        -J-Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -J-Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -J-Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -J-Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -J-Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -d /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -sourcepath /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -classpath /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/HelloSystemd.java
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(7/273)----------
command: build jdk.test.lib.helpers.ClassFileInstaller
reason: Named class compiled on demand
started: Thu Jul 11 18:25:28 CEST 2024
Library /test/lib:
  compile: jdk.test.lib.helpers.ClassFileInstaller
finished: Thu Jul 11 18:25:29 CEST 2024
elapsed time (seconds): 0.629
result: Passed. Build successful

#section:compile
----------messages:(6/287)----------
command: compile /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib/jdk/test/lib/helpers/ClassFileInstaller.java
reason: .class file out of date or does not exist
started: Thu Jul 11 18:25:28 CEST 2024
Mode: othervm
finished: Thu Jul 11 18:25:29 CEST 2024
elapsed time (seconds): 0.629
----------configuration:(5/301)----------
javac compilation environment
  source path: /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib
  class path:  /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d
               /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib

----------rerun:(26/2366)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/javac \\
        -J-Djdk.test.docker.image.name=fedora \\
        -J-Djdk.test.docker.image.version=39 \\
        -J-Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -J-Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dtest.timeout.factor=1.0 \\
        -J-Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -J-Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -J-Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -J-Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -J-Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -d /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -sourcepath /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -classpath /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib/jdk/test/lib/helpers/ClassFileInstaller.java
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:driver
----------messages:(6/351)----------
command: driver jdk.test.lib.helpers.ClassFileInstaller -jar whitebox.jar jdk.test.whitebox.WhiteBox
reason: User specified action: run driver jdk.test.lib.helpers.ClassFileInstaller -jar whitebox.jar jdk.test.whitebox.WhiteBox 
started: Thu Jul 11 18:25:29 CEST 2024
Mode: othervm
finished: Thu Jul 11 18:25:29 CEST 2024
elapsed time (seconds): 0.09
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(1/15)----------
STATUS:Passed.
----------rerun:(25/2471)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
CLASSPATH=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib:/disk/openjdk/upstream-sources/jtreg-7.4+1/lib/jtreg.jar \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/java \\
        -Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        -Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -Dtest.timeout.factor=1.0 \\
        -Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -Djdk.test.docker.image.name=fedora \\
        -Djdk.test.docker.image.version=39 \\
        com.sun.javatest.regtest.agent.MainWrapper /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/containers/systemd/SystemdMemoryAwarenessTest.d/driver.0.jta -jar whitebox.jar jdk.test.whitebox.WhiteBox
result: Passed. Execution successful

#section:build
----------messages:(7/243)----------
command: build SystemdMemoryAwarenessTest
reason: Named class compiled on demand
started: Thu Jul 11 18:25:29 CEST 2024
Test directory:
  compile: SystemdMemoryAwarenessTest
finished: Thu Jul 11 18:25:30 CEST 2024
elapsed time (seconds): 1.24
result: Passed. Build successful

#section:compile
----------messages:(6/302)----------
command: compile /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java
reason: .class file out of date or does not exist
started: Thu Jul 11 18:25:29 CEST 2024
Mode: othervm
finished: Thu Jul 11 18:25:30 CEST 2024
elapsed time (seconds): 1.24
----------configuration:(7/493)----------
javac compilation environment
  source path: /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd
               /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib
  class path:  /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd
               /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d
               /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib

----------rerun:(26/2583)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/javac \\
        -J-Djdk.test.docker.image.name=fedora \\
        -J-Djdk.test.docker.image.version=39 \\
        -J-Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -J-Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -J-Dtest.timeout.factor=1.0 \\
        -J-Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -J-Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -J-Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -J-Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -J-Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -J-Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -d /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -sourcepath /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -classpath /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib /disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java
----------System.out:(0/0)----------
----------System.err:(2/172)----------
Note: /disk/openjdk/upstream-sources/git/jdk-jdk/test/lib/jdk/test/lib/Asserts.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
result: Passed. Compilation successful

#section:main
----------messages:(6/419)----------
command: main -Xbootclasspath/a:whitebox.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SystemdMemoryAwarenessTest
reason: User specified action: run main/othervm -Xbootclasspath/a:whitebox.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SystemdMemoryAwarenessTest 
started: Thu Jul 11 18:25:30 CEST 2024
Mode: othervm [/othervm specified]
finished: Thu Jul 11 18:25:31 CEST 2024
elapsed time (seconds): 0.761
----------configuration:(0/0)----------
----------System.out:(75/6327)----------
DEBUG: Running test with a CPU limit of 2
[COMMAND]
systemctl daemon-reload 
[2024-07-11T16:25:30.489666673Z] Gathering output for process 162259
[STDERR]

[STDOUT]

Full child process STDOUT was saved to systemd-stdout-162259.log
[2024-07-11T16:25:31.059124382Z] Waiting for completion for process 162259
[2024-07-11T16:25:31.059342547Z] Waiting for completion finished for process 162259
[COMMAND]
systemctl restart jdk_internal_SystemdMemoryAwarenessTest-cpu.slice 
[2024-07-11T16:25:31.061209555Z] Gathering output for process 162435
[STDERR]

[STDOUT]

Full child process STDOUT was saved to systemd-stdout-162435.log
[2024-07-11T16:25:31.074004206Z] Waiting for completion for process 162435
[2024-07-11T16:25:31.074091271Z] Waiting for completion finished for process 162435
[COMMAND]
systemd-run --slice jdk_internal_SystemdMemoryAwarenessTest-cpu.slice --scope /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/java -Xlog:os+container=trace -cp /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d HelloSystemd 
[2024-07-11T16:25:31.075482995Z] Gathering output for process 162438
[STDERR]
Running scope as unit: run-r509a201e055242e4bdfdade8189dd2c9.scope

[STDOUT]
[0.000s][trace][os,container] OSContainer::init: Initializing Container Support
[0.000s][debug][os,container] Detected optional pids controller entry in /proc/cgroups
[0.001s][debug][os,container] Detected cgroups hybrid or legacy hierarchy, using cgroups v1 controllers
[0.001s][trace][os,container] Adjusting v1 controller path for memory: /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/run-r509a201e055242e4bdfdade8189dd2c9.scope
[0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/run-r509a201e055242e4bdfdade8189dd2c9.scope/memory.limit_in_bytes
[0.001s][trace][os,container] Memory Limit is: 9223372036854771712
[0.001s][debug][os,container] container memory limit ignored: 9223372036854771712, using host value 67164057600
[0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/memory.limit_in_bytes
[0.001s][trace][os,container] Memory Limit is: 9223372036854771712
[0.001s][debug][os,container] container memory limit ignored: 9223372036854771712, using host value 67164057600
[0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.limit_in_bytes
[0.001s][trace][os,container] Memory Limit is: 1048576000
[0.001s][trace][os,container] Adjusted v1 controller path for memory to: /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice
[0.001s][trace][os,container] Adjusting v1 controller path for cpu: /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice
[0.001s][trace][os,container] Path to /cpu.cfs_quota_us is /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/cpu.cfs_quota_us
[0.001s][trace][os,container] CPU Quota is: 200000
[0.001s][trace][os,container] Path to /cpu.cfs_period_us is /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/cpu.cfs_period_us
[0.001s][trace][os,container] CPU Period is: 100000
[0.001s][trace][os,container] CPU Quota count based on quota/period: 2
[0.001s][trace][os,container] OSContainer::active_processor_count: 2
[0.001s][trace][os,container] Lowest limit for cpu at leaf: /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice
[0.001s][trace][os,container] total physical memory: 67164057600
[0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.limit_in_bytes
[0.001s][trace][os,container] Memory Limit is: 1048576000
[0.001s][debug][os,container] OSContainer::init: is_containerized() = true because either a cpu or a memory limit is present
[0.001s][trace][os,container] Path to /cpu.cfs_quota_us is /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/cpu.cfs_quota_us
[0.001s][trace][os,container] CPU Quota is: 200000
[0.001s][trace][os,container] Path to /cpu.cfs_period_us is /sys/fs/cgroup/cpu,cpuacct/jdk_internal_SystemdMemoryAwarenessTest.slice/jdk_internal_SystemdMemoryAwarenessTest-cpu.slice/cpu.cfs_period_us
[0.001s][trace][os,container] CPU Period is: 100000
[0.001s][trace][os,container] CPU Quota count based on quota/period: 2
[0.001s][trace][os,container] OSContainer::active_processor_count: 2
[0.001s][trace][os,container] CgroupSubsystem::active_processor_count (cached): 2
[0.002s][trace][os,container] CgroupSubsystem::active_processor_count (cached): 2
[0.013s][trace][os,container] CgroupSubsystem::active_processor_count (cached): 2
[0.016s][trace][os,container] Path to /memory.usage_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.usage_in_bytes
[0.016s][trace][os,container] Memory Usage is: 17022976
[0.017s][trace][os,container] Path to /memory.usage_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.usage_in_bytes
[0.017s][trace][os,container] Memory Usage is: 17547264
[0.017s][trace][os,container] Path to /memory.usage_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.usage_in_bytes
[0.017s][trace][os,container] Memory Usage is: 17547264
[0.018s][trace][os,container] Path to /memory.usage_in_bytes is /sys/fs/cgroup/memory/jdk_internal_SystemdMemoryAwarenessTest.slice/memory.usage_in_bytes
[0.018s][trace][os,container] Memory Usage is: 17547264
Hello Systemd

Full child process STDOUT was saved to systemd-stdout-162438.log
[2024-07-11T16:25:31.123735720Z] Waiting for completion for process 162438
[2024-07-11T16:25:31.123853201Z] Waiting for completion finished for process 162438
----------System.err:(1/15)----------
STATUS:Passed.
----------rerun:(28/2536)*----------
cd /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/scratch && \\
DISPLAY=:0 \\
HOME=/root \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin:/usr/sbin \\
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share \\
CLASSPATH=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib:/disk/openjdk/upstream-sources/jtreg-7.4+1/lib/jtreg.jar \\
    /disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk/bin/java \\
        -Dtest.vm.opts='-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=39' \\
        -Dtest.tool.vm.opts='-J-Djdk.test.docker.image.name=fedora -J-Djdk.test.docker.image.version=39' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        -Dtest.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -Dcompile.jdk=/disk/openjdk/upstream-sources/git/jdk-jdk/./build/linux-x86_64-server-release/images/jdk \\
        -Dtest.timeout.factor=1.0 \\
        -Dtest.root=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg \\
        -Dtest.name=containers/systemd/SystemdMemoryAwarenessTest.java \\
        -Dtest.file=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd/SystemdMemoryAwarenessTest.java \\
        -Dtest.src=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd \\
        -Dtest.src.path=/disk/openjdk/upstream-sources/git/jdk-jdk/test/hotspot/jtreg/containers/systemd:/disk/openjdk/upstream-sources/git/jdk-jdk/test/lib \\
        -Dtest.classes=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d \\
        -Dtest.class.path=/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/containers/systemd/SystemdMemoryAwarenessTest.d:/disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/classes/test/lib \\
        -Djdk.test.docker.image.name=fedora \\
        -Djdk.test.docker.image.version=39 \\
        -Xbootclasspath/a:whitebox.jar \\
        -XX:+UnlockDiagnosticVMOptions \\
        -XX:+WhiteBoxAPI \\
        com.sun.javatest.regtest.agent.MainWrapper /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/containers/systemd/SystemdMemoryAwarenessTest.d/main.1.jta
result: Passed. Execution successful


test result: Passed. Execution successful