Directory "tmp" not found: creating -------------------------------------------------- TEST: serviceability/sa/TestJmapCoreMetaspace.java TEST JDK: /hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 6.48 seconds messages: command: build TestJmapCore reason: Named class compiled on demand started: Tue Jun 17 15:56:39 CST 2025 Test directory: compile: TestJmapCore finished: Tue Jun 17 15:56:45 CST 2025 elapsed time (seconds): 6.48 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 6.369 seconds messages: command: compile /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java reason: .class file out of date or does not exist started: Tue Jun 17 15:56:39 CST 2025 Mode: othervm Process id: 168795 finished: Tue Jun 17 15:56:45 CST 2025 elapsed time (seconds): 6.369 configuration: javac compilation environment source path: /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa /hygonjdk/yansendao/git/jdk/test/lib class path: /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa /hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d /hygonjdk/yansendao/git/jdk/tmp/classes/test/lib rerun: cd /hygonjdk/yansendao/git/jdk/tmp/scratch && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/999/bus \ DISPLAY=:7 \ HOME=/hygonjdk/yansendao \ LANG=C.UTF-8 \ LD_LIBRARY_PATH=/hygonjdk/yansendao/software/jdk/tools/hsdis \ PATH=/bin:/usr/bin:/usr/sbin \ XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop \ XDG_RUNTIME_DIR=/run/user/999 \ XDG_SESSION_CLASS=user \ XDG_SESSION_ID=135 \ XDG_SESSION_TYPE=tty \ /hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-Dtest.vm.opts= \ -J-Dtest.tool.vm.opts= \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=1.0 \ -J-Dtest.root=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg \ -J-Dtest.name=serviceability/sa/TestJmapCoreMetaspace.java \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa/TestJmapCoreMetaspace.java \ -J-Dtest.main.class=TestJmapCoreMetaspace \ -J-Dtest.src=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa \ -J-Dtest.src.path=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/test/lib \ -J-Dtest.classes=/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d \ -J-Dtest.class.path=/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d:/hygonjdk/yansendao/git/jdk/tmp/classes/test/lib \ -d /hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d \ -sourcepath /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/test/lib \ -classpath /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d:/hygonjdk/yansendao/git/jdk/tmp/classes/test/lib /hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java STDOUT: STDERR: ACTION: driver -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Output doesn't contain the location of core file.: expected true, was false REASON: User specified action: run driver/timeout=480 TestJmapCore run metaspace TIME: 5.821 seconds messages: command: driver TestJmapCore run metaspace reason: User specified action: run driver/timeout=480 TestJmapCore run metaspace started: Tue Jun 17 15:56:45 CST 2025 Mode: othervm Process id: 168850 finished: Tue Jun 17 15:56:51 CST 2025 elapsed time (seconds): 5.821 configuration: STDOUT: Command line: [/hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java -cp /hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d:/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/tmp/classes/test/lib:/hygonjdk/yansendao/git/jdk/test/lib:/hygonjdk/yansendao/software/jdk/jtreg-7.5/lib/javatest.jar:/hygonjdk/yansendao/software/jdk/jtreg-7.5/lib/jtreg.jar -XX:+CreateCoredumpOnCrash -Xmx512m -XX:MaxMetaspaceSize=64m -XX:+CrashOnOutOfMemoryError --show-version -XX:-AlwaysPreTouch TestJmapCore metaspace ] [2025-06-17T07:56:45.975675916Z] Gathering output for process 168883 [2025-06-17T07:56:46.016715228Z] Waiting for completion for process 168883 [2025-06-17T07:56:46.017075768Z] Waiting for completion finished for process 168883 Output and diagnostic info for process 168883 was saved into 'pid-168883-output.log' Run test with ulimit -c: default [2025-06-17T07:56:46.055729660Z] Gathering output for process 168887 [2025-06-17T07:56:46.057913810Z] Waiting for completion for process 168887 [2025-06-17T07:56:51.543886321Z] Waiting for completion finished for process 168887 Output and diagnostic info for process 168887 was saved into 'pid-168887-output.log' crashOutputString = [openjdk 26-internal 2026-03-17 OpenJDK Runtime Environment (build 26-internal-9aeacf2d) OpenJDK 64-Bit Server VM (build 26-internal-9aeacf2d, mixed mode, sharing) Aborting due to java.lang.OutOfMemoryError: Metaspace # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (debug.cpp:282), pid=168887, tid=168890 # fatal error: OutOfMemory encountered: Metaspace # # JRE version: OpenJDK Runtime Environment (26.0) (build 26-internal-9aeacf2d) # Java VM: OpenJDK 64-Bit Server VM (26-internal-9aeacf2d, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /hygonjdk/yansendao/git/jdk/tmp/scratch/hs_err_pid168887.log ] STDERR: java.lang.RuntimeException: Output doesn't contain the location of core file.: expected true, was false at jdk.test.lib.Asserts.fail(Asserts.java:715) at jdk.test.lib.Asserts.assertTrue(Asserts.java:545) at jdk.test.lib.util.CoreUtils.parseCoreFileLocationFromOutput(CoreUtils.java:211) at jdk.test.lib.util.CoreUtils.getCoreFileLocation(CoreUtils.java:108) at TestJmapCore.test(TestJmapCore.java:86) at TestJmapCore.main(TestJmapCore.java:70) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1474) JavaTest Message: Test threw exception: java.lang.RuntimeException: Output doesn't contain the location of core file.: expected true, was false JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Output doesn't contain the location of core file.: expected true, was false rerun: cd /hygonjdk/yansendao/git/jdk/tmp/scratch && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/999/bus \ DISPLAY=:7 \ HOME=/hygonjdk/yansendao \ LANG=C.UTF-8 \ LD_LIBRARY_PATH=/hygonjdk/yansendao/software/jdk/tools/hsdis \ PATH=/bin:/usr/bin:/usr/sbin \ XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop \ XDG_RUNTIME_DIR=/run/user/999 \ XDG_SESSION_CLASS=user \ XDG_SESSION_ID=135 \ XDG_SESSION_TYPE=tty \ CLASSPATH=/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d:/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/tmp/classes/test/lib:/hygonjdk/yansendao/git/jdk/test/lib:/hygonjdk/yansendao/software/jdk/jtreg-7.5/lib/javatest.jar:/hygonjdk/yansendao/software/jdk/jtreg-7.5/lib/jtreg.jar \ /hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts= \ -Dtest.tool.vm.opts= \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/hygonjdk/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=1.0 \ -Dtest.root=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg \ -Dtest.name=serviceability/sa/TestJmapCoreMetaspace.java \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa/TestJmapCoreMetaspace.java \ -Dtest.main.class=TestJmapCoreMetaspace \ -Dtest.src=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa \ -Dtest.src.path=/hygonjdk/yansendao/git/jdk/test/hotspot/jtreg/serviceability/sa:/hygonjdk/yansendao/git/jdk/test/lib \ -Dtest.classes=/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d \ -Dtest.class.path=/hygonjdk/yansendao/git/jdk/tmp/classes/serviceability/sa/TestJmapCoreMetaspace.d:/hygonjdk/yansendao/git/jdk/tmp/classes/test/lib \ com.sun.javatest.regtest.agent.MainWrapper /hygonjdk/yansendao/git/jdk/tmp/serviceability/sa/TestJmapCoreMetaspace.d/driver.0.jta run metaspace TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Output doesn't contain the location of core file.: expected true, was false -------------------------------------------------- Test results: failed: 1 Results written to /hygonjdk/yansendao/git/jdk/tmp