Bluetooth: Detect a BT hardware error

If a hardware error causes a bluetooth test to fail, this patch will
detect it and surface it to stainless to help expose the root cause.

This patch adds detection for intel and qca hardware failures, and other
chip manufacturers can be added as well, if such errors have a clear log
signature that we can detect

BUG=b:178604150
TEST=None

Change-Id: I0246a16d410a64f1d045677b71764855ad898e8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2670127
Reviewed-by: Yun-Hao Chung <howardchung@google.com>
Commit-Queue: Daniel Winkler <danielwinkler@google.com>
Tested-by: Daniel Winkler <danielwinkler@google.com>
diff --git a/server/cros/bluetooth/bluetooth_adapter_tests.py b/server/cros/bluetooth/bluetooth_adapter_tests.py
index c0287c1..cc4962c 100644
--- a/server/cros/bluetooth/bluetooth_adapter_tests.py
+++ b/server/cros/bluetooth/bluetooth_adapter_tests.py
@@ -99,6 +99,8 @@
 COMMON_FAILURES = {
         'Freeing adapter /org/bluez/hci': 'adapter_freed',
         '/var/spool/crash/bluetoothd': 'bluetoothd_crashed',
+        'btintel_hw_error': 'intel hardware error detected',
+        'qca_hw_error': 'qca hardware error detected',
 }
 
 # TODO(b/150898182) - Don't run some tests on tablet form factors