New issue
Advanced search Search tips

Issue 716011 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Add a garbage collection cron job to clean up incomplete or invalid analysis runs

Project Member Reported by emso@chromium.org, Apr 27 2017

Issue description

A failure in the pipeline can cause the tracking of a job to be incomplete. Add a cron job that reviews the state of the service and cleans up any inconsistencies. This can include tasks that have been left in a pending state for too long.

For instance, if for some reason the pubsub notification from swarming can't get through because an unexpected permissions issue, then the run for the task will be left in running mode.
 

Comment 1 by emso@chromium.org, Apr 27 2017

Labels: Pri-2 Type-Feature
There are already some example cases where something happened, leaving run state for some run incomplete and unfinished:
https://tricium-dev.appspot.com/run/5642383161032704
https://gerrit-review.googlesource.com/c/gerrit/+/168232/1
Components: Infra>Platform>Tricium
Components: -Infra>CodeAnalysis
Labels: -Tricium
Summary: Add a garbage collection cron job to clean up incomplete or invalid analysis runs (was: Add garbage collection cron job)
Labels: -Pri-2 Pri-3

Sign in to add a comment