Directory "tmp-jtreg-GcCauseTest01/index-210" not found: creating -------------------------------------------------- TEST: serviceability/tmtools/jstat/GcCauseTest01.java TEST JDK: /home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 7.289 seconds messages: command: build GcCauseTest01 reason: Named class compiled on demand started: Tue May 07 21:02:11 CST 2024 Test directory: compile: GcCauseTest01 finished: Tue May 07 21:02:18 CST 2024 elapsed time (seconds): 7.289 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 7.283 seconds messages: command: compile /home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest01.java reason: .class file out of date or does not exist started: Tue May 07 21:02:11 CST 2024 Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED Mode: othervm finished: Tue May 07 21:02:18 CST 2024 elapsed time (seconds): 7.283 configuration: javac compilation environment add modules: java.base add exports: java.base/jdk.internal.misc ALL-UNNAMED source path: /home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat /home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/share /home/yansendao/git/jdk/test/lib class path: /home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/share /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/test/lib rerun: cd /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/scratch && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/995/bus \ DISPLAY=:7 \ HOME=/home/yansendao \ LANG=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ XDG_RUNTIME_DIR=/run/user/995 \ XDG_SESSION_ID=686388 \ /home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-XX:TieredStopAtLevel=1 \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.root=/home/yansendao/git/jdk/test/hotspot/jtreg \ -J-Dtest.name=serviceability/tmtools/jstat/GcCauseTest01.java \ -J-Dtest.file=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest01.java \ -J-Dtest.src=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat \ -J-Dtest.src.path=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/share:/home/yansendao/git/jdk/test/lib \ -J-Dtest.classes=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d \ -J-Dtest.class.path=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/test/lib \ -J-Dtest.modules=java.base/jdk.internal.misc \ @/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/serviceability/tmtools/jstat/GcCauseTest01.d/compile.0.jta STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.022, YGCT = 0.0, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.0) REASON: User specified action: run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 TIME: 3.308 seconds messages: command: main -XX:+UsePerfData -Xmx128M GcCauseTest01 reason: User specified action: run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 started: Tue May 07 21:02:18 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED finished: Tue May 07 21:02:21 CST 2024 elapsed time (seconds): 3.308 configuration: Boot Layer add modules: java.base add exports: java.base/jdk.internal.misc ALL-UNNAMED STDOUT: [2024-05-07T13:02:21.041570145Z] started process 475088 [/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/jstat, -gc, 472830] with out/err redirected to './out.16185347906404964915.txt' and './err.16185347906404964915.txt' [2024-05-07T13:02:21.629251299Z] process 475088 finished with exit code = 0 Process output: Exit code: 0 stdout: S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT CGC CGCT GCT 0.0 0.0 0.0 0.0 24576.0 5079.1 106496.0 0.0 0.0 0.0 0.0 0.0 1 0.000 0 0.000 0 0.000 0.022 stderr: STDERR: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.022, YGCT = 0.0, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.0) at utils.JstatResults.assertThat(JstatResults.java:172) at utils.JstatGcCauseResults.assertConsistency(JstatGcCauseResults.java:94) at GcCauseTest01.main(GcCauseTest01.java:49) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1575) JavaTest Message: Test threw exception: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.022, YGCT = 0.0, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.0) JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.022, YGCT = 0.0, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.0) rerun: cd /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/scratch && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/995/bus \ DISPLAY=:7 \ HOME=/home/yansendao \ LANG=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ XDG_RUNTIME_DIR=/run/user/995 \ XDG_SESSION_ID=686388 \ CLASSPATH=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/test/lib:/home/yansendao/git/jdk/test/lib:/home/yansendao/software/jdk/jtreg-7/lib/javatest.jar:/home/yansendao/software/jdk/jtreg-7/lib/jtreg.jar \ /home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.root=/home/yansendao/git/jdk/test/hotspot/jtreg \ -Dtest.name=serviceability/tmtools/jstat/GcCauseTest01.java \ -Dtest.file=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest01.java \ -Dtest.src=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat \ -Dtest.src.path=/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/share:/home/yansendao/git/jdk/test/lib \ -Dtest.classes=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d \ -Dtest.class.path=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/classes/test/lib \ -Dtest.modules=java.base/jdk.internal.misc \ --add-modules java.base \ --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \ -Xcomp \ -XX:TieredStopAtLevel=1 \ -ea \ -esa \ -XX:+UsePerfData \ -Xmx128M \ com.sun.javatest.regtest.agent.MainWrapper /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210/serviceability/tmtools/jstat/GcCauseTest01.d/main.1.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.022, YGCT = 0.0, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.0) -------------------------------------------------- Test results: failed: 1 Results written to /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-210 Error: Some tests failed or other problems occurred.