Directory "tmp-jtreg-GcCauseTest01/index-7" 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.257 seconds messages: command: build GcCauseTest01 reason: Named class compiled on demand started: Tue May 07 21:00:54 CST 2024 Test directory: compile: GcCauseTest01 finished: Tue May 07 21:01:01 CST 2024 elapsed time (seconds): 7.257 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 7.238 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:00:54 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:01:01 CST 2024 elapsed time (seconds): 7.238 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-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/share /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/test/lib rerun: cd /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/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-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d \ -J-Dtest.class.path=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/test/lib \ -J-Dtest.modules=java.base/jdk.internal.misc \ @/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/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.044, YGCT = 0.028, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.028) REASON: User specified action: run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 TIME: 3.474 seconds messages: command: main -XX:+UsePerfData -Xmx128M GcCauseTest01 reason: User specified action: run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 started: Tue May 07 21:01:01 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:01:04 CST 2024 elapsed time (seconds): 3.474 configuration: Boot Layer add modules: java.base add exports: java.base/jdk.internal.misc ALL-UNNAMED STDOUT: [2024-05-07T13:01:03.740026629Z] started process 378299 [/home/yansendao/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/jstat, -gc, 376051] with out/err redirected to './out.10390659459810216295.txt' and './err.10390659459810216295.txt' [2024-05-07T13:01:04.519014486Z] process 378299 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 2048.0 0.0 1528.0 27648.0 0.0 101376.0 1072.8 1536.0 1415.9 256.0 199.4 1 0.028 0 0.000 1 0.000 0.044 stderr: STDERR: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.044, YGCT = 0.028, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.028) 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.044, YGCT = 0.028, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.028) JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: GCT != (YGCT + CGCT + FGCT) (GCT = 0.044, YGCT = 0.028, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.028) rerun: cd /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/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-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/jstat:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/test/hotspot/jtreg/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/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-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d \ -Dtest.class.path=/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/jstat/GcCauseTest01.d:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/classes/serviceability/tmtools/share:/home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7/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-7/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.044, YGCT = 0.028, CGCT = 0.0, FGCT = 0.0, (YCGT + CGCT + FGCT) = 0.028) -------------------------------------------------- Test results: failed: 1 Results written to /home/yansendao/git/jdk/tmp-jtreg-GcCauseTest01/index-7 Error: Some tests failed or other problems occurred.