Invalid board being passed to hqe_completion_count
Reported by
jrbarnette@chromium.org,
Jul 20 2016
|
|||||
Issue description
Looking at this URL:
http://shortn/_BgvWUMu2nH
You see that the reporting of the hqe_completion_count
metric on cautotest stopped dead some time last night.
Looking in the scheduler logs on cautotest, you find
complaints like this:
MonitoringInvalidFieldTypeError: Metric "chromeos/autotest/scheduler/hqe_completion_count" was given field "board" with invalid value "None" (<type 'NoneType'>).
Host objects with no 'board' setting have shown up in
special tasks, too.
I'm not quite sure of what's causing this, but we need to
go fiddle with this so that we get better data.
,
Jul 21 2016
We should fix the exception asap, by adding a str(...) around the offending code. This exception can cause the entire process to not send data to monarch.
,
Jul 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/3aa7e12f633964fd63a4e5f7eb4794b2380f2e4a commit 3aa7e12f633964fd63a4e5f7eb4794b2380f2e4a Author: Richard Barnette <jrbarnette@chromium.org> Date: Wed Jul 20 19:32:38 2016 [autotest] Stop sending `None` for board in HQE completion metric. It's possible for a host object to have a 'board' setting of `None`. The root cause of that behavior isn't known. Until then, this change changes the value reported from `None` to an empty string. BUG= chromium:629872 TEST=None Change-Id: I7b61f2d2e9e71f0287b861042d67951fd53a6df0 Reviewed-on: https://chromium-review.googlesource.com/361992 Commit-Ready: Richard Barnette <jrbarnette@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Dan Shi <dshi@google.com> [modify] https://crrev.com/3aa7e12f633964fd63a4e5f7eb4794b2380f2e4a/scheduler/scheduler_models.py
,
Jul 27 2016
,
Aug 29 2016
,
Aug 29 2016
bulk verified |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by jrbarnette@chromium.org
, Jul 20 2016Labels: -Pri-3 Pri-1
Status: Available (was: Unconfirmed)