-
Notifications
You must be signed in to change notification settings - Fork 58
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
Increase default timeout to 60s #94
Conversation
Related: it seems this PR https://github.com/Tracktion/pluginval/pull/81/files removed "closure" that all tests have finished. It used to say "Time taken to run all tests: 52 secs" and now there's nothing to confirm everything went well unless verbose logging is on, which seems unideal. Not sure what happened the UnitRunner's "All tests completed" though... |
Hmm, it seems the timeout gets reset after resultsUpdated and in the longer tests like Maybe this change isn't needed (at least until I look more deeply into where the timeouts are occurring...) |
This is what I'm see regularly on my macOS strictness level 10 builds, it bails out somewhere in the fuzz testing...
Even after manually increasing "timeout-ms" it seems to be a problem... not quite sure how to best diagnose... |
The "Time taken to run all tests: 52 secs" was changed to verbose due to another FR to support snapshot testing. I think that was a mistake. It should probably keep the "All tests completed message" but just add the time as a verbose message just after? You can always log the time of a process on posix using The timeout should reset after any output or logging message. I'm not sure why a fuzz test is taking longer than that? For the auval and validator tests in non-verbose mode that don't output logs whilst processing, they should probably manually reset the timeout in their run loop where they grab the output from the process. |
Ok, not sure how/why or if it's coincidence, but my macOS CI finally completed with the increased default timeout (but not with
I'll leave this open while I get a few more data points... |
Some additional points:
Basically, I'm almost certain pluginval is killing itself, but given there's no logging and it's a kill -9, it's almost impossible to discern the "why" |
Closing this. It wasn't a timeout, but a crash swallowed by custom crash handling code on macOS, clarified in #98 |
Waiting for green build here: https://github.com/sudara/pluginval/actions/runs/2944471209
This PR bumps the default timeout to 60s from 30s.
I'm seeing pluginval regularly killed in CI (sometimes with exit code 137) — it seems to regularly take over 30s to complete at strictness level 10, especially on macOS. 30s seems too optimistic for real-world plugins, especially now with the additional auval stuff added.
Pluginval's own pluginval runs are taking longer than 30s (on somewhat trivial plugins) (not totally sure, but i think they might be getting killed before succeeding too, I'm not seeing that final summary that with "All tests completed," the timing info, etc)