Details
Description
The following test timed out in the JDK17 CI:
jdk/jfr/startupargs/TestRepositoryPath.java
Here's a snippet from the log file:
elapsed=490413 0\:08\:10.413
<snip>
#section:main
----------messages:(7/540)----------
command: main -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
reason: User specified action: run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr
Timeout information:
--- Timeout information end.
elapsed time (seconds): 489.86
----------configuration:(3/38)----------
Boot Layer
add modules: jdk.jfr
----------System.out:(9/490)*----------
Started recording 1. No limit specified, using maxsize=250MB as default.
Use jcmd 42944 JFR.dump name=TestStartRecording filename=FILEPATH to copy recording data to file.
dot is T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\scratch\\0
Files in '.\\repo':
path: .\\repo\\2021_02_07_10_01_31_42944
path: .\\repo\\2021_02_07_10_01_31_42944\\2021_02_07_10_01_31.jfr
recordingPath: .\\repo\\2021_02_07_10_01_31_42944\\2021_02_07_10_01_31.jfr
Timeout refired 480 times
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(45/5701)*----------
<snip>
result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-17+9-607\windows-x64-debug.jdk\jdk-17\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 489848ms).
Based on "STATUS:Passed.", it looks like this test passed while
the timeout handler was running. The test took 8m 10s to execute
so it was barely longer than the total timeout value of 8 min/480 sec.
Perhaps this test needs a slightly longer default timeout value.
jdk/jfr/startupargs/TestRepositoryPath.java
Here's a snippet from the log file:
elapsed=490413 0\:08\:10.413
<snip>
#section:main
----------messages:(7/540)----------
command: main -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
reason: User specified action: run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr
Timeout information:
--- Timeout information end.
elapsed time (seconds): 489.86
----------configuration:(3/38)----------
Boot Layer
add modules: jdk.jfr
----------System.out:(9/490)*----------
Started recording 1. No limit specified, using maxsize=250MB as default.
Use jcmd 42944 JFR.dump name=TestStartRecording filename=FILEPATH to copy recording data to file.
dot is T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\scratch\\0
Files in '.\\repo':
path: .\\repo\\2021_02_07_10_01_31_42944
path: .\\repo\\2021_02_07_10_01_31_42944\\2021_02_07_10_01_31.jfr
recordingPath: .\\repo\\2021_02_07_10_01_31_42944\\2021_02_07_10_01_31.jfr
Timeout refired 480 times
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(45/5701)*----------
<snip>
result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-17+9-607\windows-x64-debug.jdk\jdk-17\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 489848ms).
Based on "STATUS:Passed.", it looks like this test passed while
the timeout handler was running. The test took 8m 10s to execute
so it was barely longer than the total timeout value of 8 min/480 sec.
Perhaps this test needs a slightly longer default timeout value.