The following test failed in the JDK22 CI:
sun/tools/jstatd/TestJstatdExternalRegistry.java
Here's a snippet from the log file:
#section:main
----------messages:(7/255)----------
command: main TestJstatdExternalRegistry
reason: User specified action: run main/timeout=60 TestJstatdExternalRegistry
started: Sat Nov 18 14:35:53 GMT 2023
Mode: agentvm
Agent id: 16
finished: Sat Nov 18 14:36:56 GMT 2023
elapsed time (seconds): 62.743
----------configuration:(14/1956)----------
<snip>
Start jstat:
[/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+25-1958/macosx-x64-debug.jdk/jdk-22/fastdebug/bin/jstat -J-XX:+UsePerfData -gcutil 43306@jpg-mac-x64-021.us.oracle.com:60889 250 5]
[2023-11-18T14:36:50.300003Z] Gathering output for process 43331
[2023-11-18T14:36:53.689419Z] Waiting for completion for process 43331
[2023-11-18T14:36:53.689656Z] Waiting for completion finished for process 43331
Output and diagnostic info for process 43331 was saved into 'pid-43331-output.log'
S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
[2023-11-18T14:36:53.690891Z] Waiting for completion for process 43331
[2023-11-18T14:36:53.691007Z] Waiting for completion finished for process 43331
ProcessThread.stopProcess() will kill process
[2023-11-18T14:36:56.280452Z] Waiting for completion for process 43306
[2023-11-18T14:36:56.280745Z] Waiting for completion finished for process 43306
--- ProcessLog ---
cmd: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+25-1958/macosx-x64-debug.jdk/jdk-22/fastdebug/bin/jstatd -J-Xmx768m -J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-x64/jdk-21_macos-x64_bin.tar.gz/jdk-21.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S17872/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8120e412-de39-4d9f-a776-1091dcde8193/runs/9b550ee9-4a8e-48d9-a039-6481e6850b4a/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp -J-ea -J-esa -J-XX:+UsePerfData -p60889 -nr
exitvalue: 143
stderr:
stdout: jstatd started (bound to //:60889/JStatRemoteHost)
----------System.err:(23/1120)----------
stdout: [jstatd started (bound to //:60877/JStatRemoteHost)
];
stderr: []
exitValue = 143
java.lang.RuntimeException: Not a percentage. value: 200.00 percentage: 200.0: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:634)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at JstatGCUtilParser$GcStatistics.verify(JstatGCUtilParser.java:113)
at JstatGCUtilParser.parse(JstatGCUtilParser.java:149)
at JstatdTest.verifyJstatOutput(JstatdTest.java:207)
at JstatdTest.runToolsAndVerify(JstatdTest.java:215)
at JstatdTest.runTest(JstatdTest.java:350)
at JstatdTest.doTest(JstatdTest.java:317)
at TestJstatdExternalRegistry.main(TestJstatdExternalRegistry.java:40)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Not a percentage. value: 200.00 percentage: 200.0: expected true, was false
sun/tools/jstatd/TestJstatdExternalRegistry.java
Here's a snippet from the log file:
#section:main
----------messages:(7/255)----------
command: main TestJstatdExternalRegistry
reason: User specified action: run main/timeout=60 TestJstatdExternalRegistry
started: Sat Nov 18 14:35:53 GMT 2023
Mode: agentvm
Agent id: 16
finished: Sat Nov 18 14:36:56 GMT 2023
elapsed time (seconds): 62.743
----------configuration:(14/1956)----------
<snip>
Start jstat:
[/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+25-1958/macosx-x64-debug.jdk/jdk-22/fastdebug/bin/jstat -J-XX:+UsePerfData -gcutil 43306@jpg-mac-x64-021.us.oracle.com:60889 250 5]
[2023-11-18T14:36:50.300003Z] Gathering output for process 43331
[2023-11-18T14:36:53.689419Z] Waiting for completion for process 43331
[2023-11-18T14:36:53.689656Z] Waiting for completion finished for process 43331
Output and diagnostic info for process 43331 was saved into 'pid-43331-output.log'
S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
- 100.00 200.00 67.54 93.21 75.23 28 1.942 0 0.000 8 0.016 1.958
[2023-11-18T14:36:53.690891Z] Waiting for completion for process 43331
[2023-11-18T14:36:53.691007Z] Waiting for completion finished for process 43331
ProcessThread.stopProcess() will kill process
[2023-11-18T14:36:56.280452Z] Waiting for completion for process 43306
[2023-11-18T14:36:56.280745Z] Waiting for completion finished for process 43306
--- ProcessLog ---
cmd: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+25-1958/macosx-x64-debug.jdk/jdk-22/fastdebug/bin/jstatd -J-Xmx768m -J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-x64/jdk-21_macos-x64_bin.tar.gz/jdk-21.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S17872/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8120e412-de39-4d9f-a776-1091dcde8193/runs/9b550ee9-4a8e-48d9-a039-6481e6850b4a/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp -J-ea -J-esa -J-XX:+UsePerfData -p60889 -nr
exitvalue: 143
stderr:
stdout: jstatd started (bound to //:60889/JStatRemoteHost)
----------System.err:(23/1120)----------
stdout: [jstatd started (bound to //:60877/JStatRemoteHost)
];
stderr: []
exitValue = 143
java.lang.RuntimeException: Not a percentage. value: 200.00 percentage: 200.0: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:634)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at JstatGCUtilParser$GcStatistics.verify(JstatGCUtilParser.java:113)
at JstatGCUtilParser.parse(JstatGCUtilParser.java:149)
at JstatdTest.verifyJstatOutput(JstatdTest.java:207)
at JstatdTest.runToolsAndVerify(JstatdTest.java:215)
at JstatdTest.runTest(JstatdTest.java:350)
at JstatdTest.doTest(JstatdTest.java:317)
at TestJstatdExternalRegistry.main(TestJstatdExternalRegistry.java:40)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Not a percentage. value: 200.00 percentage: 200.0: expected true, was false
- relates to
-
JDK-8291081 Some sun/tools/jstatd/TestJstatd* tests fail with "Not a percentage\: 68.31\: expected true, was false"
-
- Resolved
-