-
-
Notifications
You must be signed in to change notification settings - Fork 905
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
default thread timeout too short for CI #1339
Comments
cc: @dwhswenson |
Thanks for reporting and sorry for the hassle. Does that timeout not also means that clones or fetches can't take longer than that before assuming a hang? CC @Yobmod |
@sroet A PR would definitely be welcome, even though it would be good to understand it fully first. |
Hi, same on my CI-System, where fetches takes long time and 10 sec time-out are definitive to short. A default value of 60 sec for time-out are also fine for me. |
The failure @sroet linked to in OpenPathSampling is raised from within Autorelease, which includes a tool to test that the version listed in the code is reasonable based on the versions implied by tags in the repo. Autorelease uses GitPython (thanks for a great package for interacting with git from Python!), and the problem here is when it fetches the upstream to ensure it knows all tags. I use Autorelease on all my projects, and OpenPathSampling is the only one where this is a problem. I suspect this is because OpenPathSampling is a relatively large repository (both in clone size and in number of commits) -- though there are plenty of repos out there that are larger in each. In previous passing nightly builds, total time for the "Autorelease check" step in the OpenPathSampling GitHub actions runs varies widely: I've seen as long as 1m27s, but that seems like an outlier. ~15s is standard. For my smaller repos, the "Autorelease check" step takes more like 2-5 seconds. So a few thoughts:
|
Thanks for the elaborate explanation and for sharing your thoughts, I found them very insightful and helpful.
I am not so sure about that anymore. Even though I don't know every possible usage of it, I think that it could have been at its best if it would have stuck to executing git and parsing its output, but do that very, very well. GitPython today is a deeply flawed hybrid which wants to be git, and probably beyond fixable. For a start, I have yanked this release as the timeout, no matter how long, represents a breaking bug. It looks like there is a PR by now, maybe @dwhswenson could take a look at #1340 as well. Thank you. |
Since this morning our CI started failing with:
This seems a side effect of the timeout introduced by #1318
Could this time-out default to
60 s
instead (or be taken and propagated by thefetch
function)?I could make a PR if needed, with either of the two solutions
The text was updated successfully, but these errors were encountered: