Since upgrading Cryostat to JDK 25 in #1539, the smoketest's -XX:StartFlightRecording=filename=/tmp/,name=startup,settings=profile,disk=true,duration=30s behaves differently and not as intended. Previously, this recording would be automatically detected and registered as a RUNNING active recording, and Cryostat would set up a background job to update the database record at the expected completion time of the recording to emit the STOPPED event and automatically archive the recording. Now, Cryostat thinks the recording is an orphan (see RecordingHelper.java orphan recording handling) and deletes it, so its database record is never marked as STOPPED and it is never archived.
Since upgrading Cryostat to JDK 25 in #1539, the smoketest's
-XX:StartFlightRecording=filename=/tmp/,name=startup,settings=profile,disk=true,duration=30sbehaves differently and not as intended. Previously, this recording would be automatically detected and registered as a RUNNING active recording, and Cryostat would set up a background job to update the database record at the expected completion time of the recording to emit the STOPPED event and automatically archive the recording. Now, Cryostat thinks the recording is an orphan (see RecordingHelper.java orphan recording handling) and deletes it, so its database record is never marked as STOPPED and it is never archived.