JDK-8208467 : jdk/jfr/jvm/TestJfrJavaBase.java fails intermittently on Linux-X64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2018-07-28
  • Updated: 2025-09-09
  • Resolved: 2018-12-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Description
The following test failed due to an exception on Linux X64
in the fastdebug config using jdk11+24 bits: 

jdk/jfr/jvm/TestJfrJavaBase.java

The test only failed in 1 of 3 'fastdebug' bits runs so I'm
tagging this bug as intermittent. It did not fail at all in the
'slowdebug' or 'release' bits runs.

Here is a snippet from the log file: 

----------System.out:(1/2021)----------
Command line: [/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java -cp /work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/jdk/jfr/jvm/TestJfrJavaBase.d:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/jdk/jdk/jfr/jvm:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/test/lib:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/lib:/work/local/jib-dcubed/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -Dtest.jdk=/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk --limit-modules java.base -cp /work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/jdk/jfr/jvm/TestJfrJavaBase.d:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/jdk/jdk/jfr/jvm:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/test/lib:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/lib:/work/local/jib-dcubed/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar jdk.jfr.jvm.TestJfrJavaBase runtest ]
----------System.err:(33/2527)----------
 stdout: [Command line: [/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java -cp /work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/jdk/jfr/jvm/TestJfrJavaBase.d:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/jdk/jdk/jfr/jvm:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/classes/13/test/lib:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/open/test/lib:/work/local/jib-dcubed/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:StartFlightRecording=dumponexit=true --limit-modules java.base -version ]
];
 stderr: [ stdout: [[0.737s][error][jfr,system] Module jdk.jfr not found.
[0.737s][error][jfr,system] Flight Recorder can not be enabled.
Error occurred during initialization of VM
Failure when starting JFR on_vm_start
];
 stderr: []
 exitValue = 139

Exception in thread "main" java.lang.RuntimeException: Expected to get exit value of [1]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
        at jdk.jfr.jvm.TestJfrJavaBase.main(TestJfrJavaBase.java:63)
]
 exitValue = 1

java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
        at jdk.jfr.jvm.TestJfrJavaBase.main(TestJfrJavaBase.java:58)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:834)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
----------rerun:(34/3861)*----------
Comments
I'm closing this as a duplicate of JDK-8214161. Please reopen if it happens again.
09-12-2018

Here are the logs for my jdk11+24 linux sightings: $ unzip -l jdk-11+24_linux.8208467.zip Archive: jdk-11+24_linux.8208467.zip Length Date Time Name --------- ---------- ----- ---- 16258 2018-07-28 03:20 jdk-11+24_2/TestJfrJavaBase.jtr.fastdebug --------- ------- 16258 1 file
28-07-2018