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

Please add "started downloading..." and "done downloading" bot messages for isolate downloads #266

Open
rmistry opened this issue Jun 29, 2016 · 3 comments

Comments

@rmistry
Copy link
Contributor

rmistry commented Jun 29, 2016

For Skia when a new bot is brought online for the first time it spends a lot of time downloading things and populating its cache. This time can sometimes be more than the I/O timeout, in which case the bot then times out due to no output:
https://chromium-swarm.appspot.com/user/task/2fb117cc1aad5a10

It would be very useful to show some indication of what a bot is doing during this time. This would, I imagine, be useful for all swarming users. Maybe something like:
"""
Downloading isolates...
Done downloading!
"""

Optionally we could print out "Downloading isolates..." every X minutes or if you know how many are left to be downloaded "xyz isolates remaining...".

@mithro
Copy link
Contributor

mithro commented Jul 4, 2016

Printing out the number of files remaining to be downloaded (and maybe how many have been downloaded so far) every minute seems a pretty good idea.

@maruel
Copy link
Member

maruel commented Jul 12, 2016

The main reason I had avoided this is that I didn't want to "corrupt" the Swarming task stdout. That said, I agree something is needed. I'm open to all ideas. In the meantime is it possible for you to increase the I/O timeout for your tasks?

@rmistry
Copy link
Contributor Author

rmistry commented Jul 12, 2016

Yes, we had increased the IO timeout as a workaround. Showing an indication of what the bot is doing during this time would be very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants
@mithro @maruel @rmistry and others