vpd: Check VPD after boot to ensure it's still readable

The script reads the RW_VPD contents, checks if the read
is successful and if the data are contained in the output
from dump_vpd_log. The results of the check are sent to
UMA metrics. Changes in output format from dump_vpd_log
might break this script.

BUG=chromium:659029
TEST=manually tested in console.

Change-Id: Ifa41ffd5a50421e3fed4ebc3fbd97d7ed2597479
Reviewed-on: https://chromium-review.googlesource.com/403909
Commit-Ready: Igor <igorcov@chromium.org>
Tested-by: Igor <igorcov@chromium.org>
Tested-by: Thiemo Nagel <tnagel@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Thiemo Nagel <tnagel@chromium.org>
2 files changed
tree: 150110981af67a12f27a0f5b24e20009b8784f1e
  1. include/
  2. init/
  3. lib/
  4. tests/
  5. util/
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README
  10. vpd.c