screen-recorder: ffmpeg is not gracefully killed when running on jenkins agent through ssh
Summary
ffmpeg is not gracefully killed when running on jenkins agent
Debug Info
Please provide the following information for bug reports:
- Operating system - macOS 13.5
- Ruby version - 3.2.1
- screen-recorder version -1.6.0
- Recorder parameters - ScreenRecorder::Desktop.new(output: “#{@video_file}.mkv”)
- Recorder log (
ffmpeg.log) file as a gist or on pastebin.com. - Set
ScreenRecorder.logger.level = Logger::DEBUG, run the recorder, and share the console output as a gist or on pastebin.com.
Expected Behavior
ffmpeg should be gracefully killed and a recording file is produced
Actual Behavior
ERROR - Forcefully killed ffmpeg. Recording failed!
I am suspecting the @process.io.stdin.puts 'q' line in the stop_ffmpeg cannot be run on the jenkins agent? If I run the job on the jenkins master, it works.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (8 by maintainers)
yes