DiagnoseMe: Enforce Servo MAC format and check uninitialized state

Enforce 88:54:1F OUI prefix validation for Servo V4.1 MAC address in
both backend and GUI. Disable Functional Testing card if MAC or
Serial is invalid, and fail console tests if device reports an
uninitialized MAC.

BUG=b:538099956
TEST=Verified unit tests and MAC validation logic

Change-Id: I580b2ff2b589c78165bff08aebb1bc034c167f1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hwtools/diagnoseme/+/8158511
Reviewed-by: Michał Headcrab Barnaś <barnas@google.com>
Tested-by: Łukasz Hajec <hajec@google.com>
Reviewed-by: 488603086791@cloudbuild.gserviceaccount.com <488603086791@cloudbuild.gserviceaccount.com>
Commit-Queue: Łukasz Hajec <hajec@google.com>
Commit-Queue: Michał Headcrab Barnaś <barnas@google.com>
6 files changed
tree: 27007ca8b9ecb36215087a4df2039ac9f5851637
  1. .vscode/
  2. development_environment/
  3. dockerfiles/
  4. hooks/
  5. src/
  6. test_server/
  7. .angulardoc.json
  8. .coveragerc
  9. .dockerignore
  10. .gcloudignore
  11. .gitignore
  12. .isort.cfg
  13. .pre-commit-config.yaml
  14. DIR_METADATA
  15. factory_tests.md
  16. GEMINI.md
  17. LICENCE
  18. navbar.md
  19. OWNERS
  20. PRESUBMIT.cfg
  21. push.sh
  22. pylintrc
  23. pyproject.toml
  24. pytest.ini
  25. README.md
README.md

DiagnoseMe

DiagnoseMe is a front end GUI tool to aid in the provisioning, testing and repairing of HWTools products.

Designed to allow non developers access to the same tools and processes with little training.