Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errno::EAGAIN: Resource temporarily unavailable #79

Closed
Rajagopalan-M opened this issue Sep 16, 2019 · 6 comments
Closed

Errno::EAGAIN: Resource temporarily unavailable #79

Rajagopalan-M opened this issue Sep 16, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Rajagopalan-M
Copy link

Rajagopalan-M commented Sep 16, 2019

Yesterday I was running 1000 testcases, it failed at 254 due to the following issue. Do you any clue as to why it happened?

Errno::EAGAIN: Resource temporarily unavailable - C:\ffmpeg\bin/ffprobe.EXE

  1. IDIT(KWI) Scenario1-EW EWPolicy_Test255
    Failure/Error: @Result = @obj.login.runTheTestCase @recorder

    Errno::EAGAIN:
    Resource temporarily unavailable - C:\ffmpeg\bin/ffprobe.EXE
    ./FrameWork/Browser/ExecuteTheTestCases.rb:33:in runTheTestCase' ./Ruby_test_spec.rb:206:in block (5 levels) in <top (required)>'

I have created gist out of your ffmpeg.log file

https://gist.github.com/Rajagopalan-M/28221fbe74491adcd21aa0e5e3ffefdf

@kapoorlakshya
Copy link
Owner

@Rajagopalan-M Based on the logs the recording (using ffmpeg) is successful, but ffprobe which is used to gather information about the video file is failing.

Does this error occur when you stop the recorder?

@Rajagopalan-M
Copy link
Author

I am not sure about this. But I have raised another error for the new chrome which occurs when I stop the recorder. I completely convinced that this too occurs when I stop the recorder.

@kapoorlakshya
Copy link
Owner

I skimmed through the code and looks like ffprobe is used when we stop the recorder (this line). I'll try to reproduce the issue and then update the stop method to rescue Errno::EAGAIN: Resource temporarily unavailable and retry up to 3 times.

@kapoorlakshya
Copy link
Owner

Thanks for reporting this! :)

@kapoorlakshya kapoorlakshya added the enhancement New feature or request label Oct 4, 2019
kapoorlakshya added a commit that referenced this issue Oct 12, 2019
@kapoorlakshya kapoorlakshya self-assigned this Oct 21, 2019
@kapoorlakshya
Copy link
Owner

Hi @Rajagopalan-M, I have released v1.3.1 with a fix for this. Give it a try and let me know if you run into any other problems.

@Rajagopalan-M
Copy link
Author

Rajagopalan-M commented Oct 21, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants