-
Bug
-
Resolution: Duplicate
-
P4
-
11, 12, 13
-
x86_64
-
linux_ubuntu
The following test failed due to an exception on Linux X64
in the fastdebug config using jdk11+19 bits:
jdk/jfr/startupargs/TestMemoryOptions.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
'release' or 'slowdebug' bits runs.
Here is a snippet from the log file:
----------System.err:(26/1420)----------
stdout: [[0.533s][error][arguments] Value specified for option "numglobalbuffers" is 1
[0.533s][error][arguments] This value is lower than the minimum required number 2
Error occurred during initialization of VM
Failure when starting JFR on_vm_start
];
stderr: []
exitValue = 139
java.lang.RuntimeException: Expected to get exit value of [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
at jdk.jfr.startupargs.TestMemoryOptions$Driver.launchTestVM(TestMemoryOptions.java:514)
at jdk.jfr.startupargs.TestMemoryOptions$Driver.runTestCase(TestMemoryOptions.java:519)
at jdk.jfr.startupargs.TestMemoryOptions.main(TestMemoryOptions.java:649)
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:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [1]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [1]
----------rerun:(31/3789)*----------
The test case is expected to fail with an exit code of "1", but instead failed
with an exit code of "139". That exit code make me wonder if the test crashed,
but the test run directories show no sign of that:
$ ls build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions*
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.jtr
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions:
environment.html environment.log
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.d:
compile.0.jta main.1.jta
in the fastdebug config using jdk11+19 bits:
jdk/jfr/startupargs/TestMemoryOptions.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
'release' or 'slowdebug' bits runs.
Here is a snippet from the log file:
----------System.err:(26/1420)----------
stdout: [[0.533s][error][arguments] Value specified for option "numglobalbuffers" is 1
[0.533s][error][arguments] This value is lower than the minimum required number 2
Error occurred during initialization of VM
Failure when starting JFR on_vm_start
];
stderr: []
exitValue = 139
java.lang.RuntimeException: Expected to get exit value of [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
at jdk.jfr.startupargs.TestMemoryOptions$Driver.launchTestVM(TestMemoryOptions.java:514)
at jdk.jfr.startupargs.TestMemoryOptions$Driver.runTestCase(TestMemoryOptions.java:519)
at jdk.jfr.startupargs.TestMemoryOptions.main(TestMemoryOptions.java:649)
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:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [1]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [1]
----------rerun:(31/3789)*----------
The test case is expected to fail with an exit code of "1", but instead failed
with an exit code of "139". That exit code make me wonder if the test crashed,
but the test run directories show no sign of that:
$ ls build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions*
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.jtr
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions:
environment.html environment.log
build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.d:
compile.0.jta main.1.jta
- duplicates
-
JDK-8214685 Passing illegal value for JFR startupargs causes SEGV or errors
- Open
- relates to
-
JDK-8214685 Passing illegal value for JFR startupargs causes SEGV or errors
- Open