[autotest] Update suite control file to use "components" in bug template.

Get rid of 'Cr-' labels.

BUG=None
TEST=presubmit hook

Change-Id: I1cf250e09acbb49aed245f223f8f88a91802e39e
Reviewed-on: https://chromium-review.googlesource.com/344292
Commit-Ready: Fang Deng <fdeng@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
diff --git a/test_suites/control.au b/test_suites/control.au
index 84d5b1d..81c4777 100644
--- a/test_suites/control.au
+++ b/test_suites/control.au
@@ -41,7 +41,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Internals-Installer'],
+    'components': ['Internals>Installer'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.cellular_mbim_compliance b/test_suites/control.cellular_mbim_compliance
index 64d06e2..9c05e0e 100644
--- a/test_suites/control.cellular_mbim_compliance
+++ b/test_suites/control.cellular_mbim_compliance
@@ -27,7 +27,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_audio b/test_suites/control.chameleon_audio
index d62ee47..710fa8e 100644
--- a/test_suites/control.chameleon_audio
+++ b/test_suites/control.chameleon_audio
@@ -37,7 +37,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Audio', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Audio'],
     'owner': 'cychiang@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_audio_nightly b/test_suites/control.chameleon_audio_nightly
index 8510182..4a0c139 100644
--- a/test_suites/control.chameleon_audio_nightly
+++ b/test_suites/control.chameleon_audio_nightly
@@ -37,7 +37,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Audio', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Audio'],
     'owner': 'cychiang@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_audio_perbuild b/test_suites/control.chameleon_audio_perbuild
index 574a54f..b5facbd 100644
--- a/test_suites/control.chameleon_audio_perbuild
+++ b/test_suites/control.chameleon_audio_perbuild
@@ -37,7 +37,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Audio', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Audio'],
     'owner': 'cychiang@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_dp b/test_suites/control.chameleon_dp
index c8aa439..a015e70 100644
--- a/test_suites/control.chameleon_dp
+++ b/test_suites/control.chameleon_dp
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_dp_hdmi b/test_suites/control.chameleon_dp_hdmi
index e389dbe..fb1769a 100644
--- a/test_suites/control.chameleon_dp_hdmi
+++ b/test_suites/control.chameleon_dp_hdmi
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_dp_hdmi_stress b/test_suites/control.chameleon_dp_hdmi_stress
index d72e858..fadbc87 100644
--- a/test_suites/control.chameleon_dp_hdmi_stress
+++ b/test_suites/control.chameleon_dp_hdmi_stress
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_dp_stress b/test_suites/control.chameleon_dp_stress
index 035eda2..f9529c1 100644
--- a/test_suites/control.chameleon_dp_stress
+++ b/test_suites/control.chameleon_dp_stress
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_hdmi b/test_suites/control.chameleon_hdmi
index 035458b..3e6d0fa 100644
--- a/test_suites/control.chameleon_hdmi
+++ b/test_suites/control.chameleon_hdmi
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_hdmi_nightly b/test_suites/control.chameleon_hdmi_nightly
index 96ee006..5321e70 100644
--- a/test_suites/control.chameleon_hdmi_nightly
+++ b/test_suites/control.chameleon_hdmi_nightly
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_hdmi_perbuild b/test_suites/control.chameleon_hdmi_perbuild
index 652fc66..61277f1 100644
--- a/test_suites/control.chameleon_hdmi_perbuild
+++ b/test_suites/control.chameleon_hdmi_perbuild
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.chameleon_hdmi_stress b/test_suites/control.chameleon_hdmi_stress
index 2dd6a38..b5879e3 100644
--- a/test_suites/control.chameleon_hdmi_stress
+++ b/test_suites/control.chameleon_hdmi_stress
@@ -33,7 +33,8 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel-Graphics', 'Chameleon'],
+    'labels': ['OS-Chrome', 'Chameleon'],
+    'components': ['OS>Kernel>Graphics'],
     'owner': 'kalin@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.kernel_daily_benchmarks b/test_suites/control.kernel_daily_benchmarks
index af79c2c..3833b26 100644
--- a/test_suites/control.kernel_daily_benchmarks
+++ b/test_suites/control.kernel_daily_benchmarks
@@ -29,7 +29,8 @@
 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
 
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Os-Kernel', 'OS-Chrome', 'kernel_daily_benchmarks'],
+    'labels': ['OS-Chrome', 'kernel_daily_benchmarks'],
+    'components': ['OS>Kernel'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.kernel_usb b/test_suites/control.kernel_usb
index d2c98c8..ef8c800 100644
--- a/test_suites/control.kernel_usb
+++ b/test_suites/control.kernel_usb
@@ -34,7 +34,8 @@
 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
 
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Cr-OS-Kernel', 'KernelUsb-Bug'],
+    'labels': ['OS-Chrome', 'KernelUsb-Bug'],
+    'components': ['OS>Kernel'],
     'owner': 'kalin@chromium.org',
 }
 
diff --git a/test_suites/control.network3g b/test_suites/control.network3g
index 64f1c93..efe5568 100644
--- a/test_suites/control.network3g
+++ b/test_suites/control.network3g
@@ -28,7 +28,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.network3g_att b/test_suites/control.network3g_att
index 971e10d..d487f41 100644
--- a/test_suites/control.network3g_att
+++ b/test_suites/control.network3g_att
@@ -28,7 +28,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.network3g_pseudomodem b/test_suites/control.network3g_pseudomodem
index c7a613e..0ffcbed 100644
--- a/test_suites/control.network3g_pseudomodem
+++ b/test_suites/control.network3g_pseudomodem
@@ -32,7 +32,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': 'armansito@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.network3g_tmobile b/test_suites/control.network3g_tmobile
index fdc7226..4c8bbc5 100644
--- a/test_suites/control.network3g_tmobile
+++ b/test_suites/control.network3g_tmobile
@@ -28,7 +28,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.network3g_verizon b/test_suites/control.network3g_verizon
index e8b2ba3..aa878a0 100644
--- a/test_suites/control.network3g_verizon
+++ b/test_suites/control.network3g_verizon
@@ -28,7 +28,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.network_nightly b/test_suites/control.network_nightly
index 6017478..829d64b 100644
--- a/test_suites/control.network_nightly
+++ b/test_suites/control.network_nightly
@@ -31,7 +31,8 @@
 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
 
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Type-Bug-Regression', 'Cr-OS-Systems-Network'],
+    'labels': ['OS-Chrome', 'Type-Bug-Regression'],
+    'components': ['OS>Systems>Network'],
     'owner': '',
     'status': 'Untriaged',
     'summary': None,
diff --git a/test_suites/control.network_ui b/test_suites/control.network_ui
index 785fbbd..19c82e2 100644
--- a/test_suites/control.network_ui
+++ b/test_suites/control.network_ui
@@ -33,7 +33,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': 'armansito@chromium.org',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.paygen_au_beta b/test_suites/control.paygen_au_beta
index b404743..de72bad 100644
--- a/test_suites/control.paygen_au_beta
+++ b/test_suites/control.paygen_au_beta
@@ -45,7 +45,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Internals-Installer'],
+    'components': ['Internals>Installer'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.paygen_au_canary b/test_suites/control.paygen_au_canary
index f8aa87b..d5dcdf4 100644
--- a/test_suites/control.paygen_au_canary
+++ b/test_suites/control.paygen_au_canary
@@ -45,7 +45,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Internals-Installer'],
+    'components': ['Internals>Installer'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.paygen_au_dev b/test_suites/control.paygen_au_dev
index c8c3ca6..c1894c0 100644
--- a/test_suites/control.paygen_au_dev
+++ b/test_suites/control.paygen_au_dev
@@ -45,7 +45,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Internals-Installer'],
+    'components': ['Internals>Installer'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.paygen_au_stable b/test_suites/control.paygen_au_stable
index 68f6893..3dc3f98 100644
--- a/test_suites/control.paygen_au_stable
+++ b/test_suites/control.paygen_au_stable
@@ -45,7 +45,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-Internals-Installer'],
+    'components': ['Internals>Installer'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.power_daily b/test_suites/control.power_daily
index 8889d7f..ba84f94 100644
--- a/test_suites/control.power_daily
+++ b/test_suites/control.power_daily
@@ -26,7 +26,8 @@
 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
 
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Type-Bug', 'Cr-OS-Kernel-Power'],
+    'labels': ['OS-Chrome', 'Type-Bug'],
+    'components': ['OS>Kernel>Power'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.power_requirements b/test_suites/control.power_requirements
index ff45397..33b8840 100644
--- a/test_suites/control.power_requirements
+++ b/test_suites/control.power_requirements
@@ -27,7 +27,8 @@
 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
 
 _BUG_TEMPLATE = {
-    'labels': ['OS-Chrome', 'Type-Bug', 'Cr-OS-Kernel-Power'],
+    'labels': ['OS-Chrome', 'Type-Bug'],
+    'components': ['OS>Kernel>Power'],
     'owner': '',
     'status': None,
     'summary': None,
diff --git a/test_suites/control.wimax b/test_suites/control.wimax
index bfbe81e..4b46f97 100644
--- a/test_suites/control.wimax
+++ b/test_suites/control.wimax
@@ -37,7 +37,7 @@
 # filing bugs on tests that are a part of this suite. If left unspecified
 # the bug filer will fallback to it's defaults.
 _BUG_TEMPLATE = {
-    'labels': ['Cr-OS-Systems-Mobile'],
+    'components': ['OS>Systems>Mobile'],
     'owner': 'benchan@chromium.org',
     'status': None,
     'summary': None,