New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 683320 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----



Sign in to add a comment

Dead swarming bots on Sheriff-o-Matic don't match up with chromium-swarm?

Project Member Reported by zhangtiff@chromium.org, Jan 20 2017

Issue description

At the same time, on Sheriff-o-Matic, it showed the dead swarming bots as this: https://screenshot.googleplex.com/VDAEgBqrzHB (127 dead bots)


On chromium-swarm it said there were only 23 dead bots: https://screenshot.googleplex.com/ORYCsWct0MW 


In addition, the data on Sheriff-o-Matic for dead swarming bots seems to "flash". Moments before I took this screenshot, SoM showed closer to ~20 dead swarming bots. Then it changed to 100+ suddenly, then it flashed back to ~20, then back again. This is very confusing.  
 
Description: Show this description

Comment 2 by mar...@chromium.org, Jan 20 2017

Cc: smut@chromium.org
Most of the "flash" dead bots are MP managed. At worst we could ignore them.

Comment 3 by s...@google.com, Jan 20 2017

Dead bots might show up in the time after a bot is returned to Machine Provider but before the entity is deleted. Can we change the threshold so SoM only shows a bot that's been dead for at least a couple minutes?

We should identify legitimately dead MP bots but ignore "flash" dead MP bots.
Owner: zhangtiff@chromium.org
I see. That is useful to know. I want to cache the dead bots anyways so that Sheriff-o-Matic loads them faster. I think this should be doable. 

We could keep a list of new bots and old bots. Update the cache every 5 minutes or so with a new request for swarming bots. Store any bots currently in the bot list as "old" bots and store any that aren't as "new". API responses only return old bots. 
Status: Available (was: Untriaged)
 Issue 736912  has been merged into this issue.
Status: Archived (was: Available)
(The trooper tab is being shelved for now since troopering is constantly changing enough that I want to eventually look for a more robust/Monorial-centric solution to the same problems.)

Sign in to add a comment