Tag suites missing suite level tags
Changed:
Added Test Tags on suite level to the suites that did not have tags.
With the tags it's easy to run all the tests, except of ones in
particular suites.
Tested:
Ran robot, specified a directory (in another run it was top level
suite with --suite option), and passed a few --excluded with suite tags,
made sure the excluded suites did not run.
Change-Id: If902e4e26fb821e176037df39958ae161de6239e
Signed-off-by: Igor Kanyuka <ifelmail@gmail.com>
diff --git a/extended/obmc_boot_test.robot b/extended/obmc_boot_test.robot
index c82fa8a..669198b 100644
--- a/extended/obmc_boot_test.robot
+++ b/extended/obmc_boot_test.robot
@@ -3,6 +3,7 @@
Resource obmc_boot_test_resource.robot
+Test Tags Obmc_Boot
*** Test Cases ***
diff --git a/extended/standby_bmc.robot b/extended/standby_bmc.robot
index 2c27d20..f1a1050 100644
--- a/extended/standby_bmc.robot
+++ b/extended/standby_bmc.robot
@@ -24,6 +24,7 @@
# Force the test to timedout to prevent test hanging.
Test Timeout 10 minutes
+Test Tags Standby_BMC
*** Variables ***
${HOST_SETTING} /org/openbmc/settings/host0
diff --git a/extended/test_bmc_reset_loop.robot b/extended/test_bmc_reset_loop.robot
index c94ca28..ca7b90f 100644
--- a/extended/test_bmc_reset_loop.robot
+++ b/extended/test_bmc_reset_loop.robot
@@ -14,6 +14,8 @@
Test Teardown Test Teardown Execution
Suite Setup Suite Setup Execution
+Test Tags BMC_Reset_Loop
+
*** Variables ***
${LOOP_COUNT} ${50}
${CHECK_FOR_ERRORS} ${1}
diff --git a/extended/test_bmc_stress_buster.robot b/extended/test_bmc_stress_buster.robot
index ad5a71b..e6370f9 100644
--- a/extended/test_bmc_stress_buster.robot
+++ b/extended/test_bmc_stress_buster.robot
@@ -10,6 +10,8 @@
Test Teardown FFDC On Test Case Fail
+Test Tags BMC_Stress_Buster
+
***Variables***
# Caller can specify a value for the following using -v parms
diff --git a/extended/test_bmc_upload_stability.robot b/extended/test_bmc_upload_stability.robot
index cf2c0f0..ab3abd6 100755
--- a/extended/test_bmc_upload_stability.robot
+++ b/extended/test_bmc_upload_stability.robot
@@ -18,6 +18,7 @@
Test Teardown FFDC On Test Case Fail
+Test Tags BMC_Upload_Stability
*** Variables ****
diff --git a/gui/test/access_control/test_obmc_gui_certificate.robot b/gui/test/access_control/test_obmc_gui_certificate.robot
index b5b4cd2..9446340 100644
--- a/gui/test/access_control/test_obmc_gui_certificate.robot
+++ b/gui/test/access_control/test_obmc_gui_certificate.robot
@@ -9,6 +9,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Certificate
*** Variables ***
diff --git a/gui/test/access_control/test_obmc_gui_ldap.robot b/gui/test/access_control/test_obmc_gui_ldap.robot
index 4239824..7503156 100644
--- a/gui/test/access_control/test_obmc_gui_ldap.robot
+++ b/gui/test/access_control/test_obmc_gui_ldap.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_LDAP
*** Variables ***
diff --git a/gui/test/gui_header/test_obmc_gui_ip_refresh_check.robot b/gui/test/gui_header/test_obmc_gui_ip_refresh_check.robot
index 770ea84..9e83bd0 100644
--- a/gui/test/gui_header/test_obmc_gui_ip_refresh_check.robot
+++ b/gui/test/gui_header/test_obmc_gui_ip_refresh_check.robot
@@ -9,6 +9,7 @@
Suite Setup Launch Browser And Login OpenBMC GUI
Suite Teardown Close Browser
+Test Tags OBMC_GUI_IP_Refresh_Check
*** Variables ***
${xpath_bmc_ip} //*[contains(@class, "header__server-ip")]
diff --git a/gui/test/gui_header/test_obmc_gui_server_health.robot b/gui/test/gui_header/test_obmc_gui_server_health.robot
index 91629ad..b4f8f92 100644
--- a/gui/test/gui_header/test_obmc_gui_server_health.robot
+++ b/gui/test/gui_header/test_obmc_gui_server_health.robot
@@ -15,6 +15,8 @@
Test Setup Test Setup Execution
Test Teardown Test Teardown Execution
+Test Tags OBMC_GUI_Server_Health
+
*** Variables ***
${xpath_delete_remote_server} //*[@class="remote-logging-server"]//button[2]
diff --git a/gui/test/server_config/test_obmc_gui_date_and_time_settings.robot b/gui/test/server_config/test_obmc_gui_date_and_time_settings.robot
index eed9173..088c874 100644
--- a/gui/test/server_config/test_obmc_gui_date_and_time_settings.robot
+++ b/gui/test/server_config/test_obmc_gui_date_and_time_settings.robot
@@ -9,6 +9,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Date_And_Time_Settings
*** Variables ***
diff --git a/gui/test/server_config/test_obmc_gui_firmware_update.robot b/gui/test/server_config/test_obmc_gui_firmware_update.robot
index fc65bf2..8c86b43 100644
--- a/gui/test/server_config/test_obmc_gui_firmware_update.robot
+++ b/gui/test/server_config/test_obmc_gui_firmware_update.robot
@@ -10,6 +10,8 @@
Test Setup Test Setup Execution
Test Teardown Re-Launch GUI on Failure
+Test Tags OBMC_GUI_Firmware_Update
+
*** Variables ***
${xpath_select_server_config} //*[@id="nav__top-level"]/li[4]/button
${xpath_select_firmware} //a[@href='#/configuration/firmware']
diff --git a/gui/test/server_config/test_obmc_gui_network_settings.robot b/gui/test/server_config/test_obmc_gui_network_settings.robot
index 51a8773..680af81 100644
--- a/gui/test/server_config/test_obmc_gui_network_settings.robot
+++ b/gui/test/server_config/test_obmc_gui_network_settings.robot
@@ -9,6 +9,8 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Network_Settings
+
*** Variables ***
${xpath_select_server_configuration} //*[@id="nav__top-level"]/li[4]/button
diff --git a/gui/test/server_config/test_obmc_gui_snmp_settings.robot b/gui/test/server_config/test_obmc_gui_snmp_settings.robot
index 80e918f..70d7c63 100644
--- a/gui/test/server_config/test_obmc_gui_snmp_settings.robot
+++ b/gui/test/server_config/test_obmc_gui_snmp_settings.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_SNMP_Settings
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_manage_power_usage.robot b/gui/test/server_control/test_obmc_gui_manage_power_usage.robot
index 2302879..9459c02 100644
--- a/gui/test/server_control/test_obmc_gui_manage_power_usage.robot
+++ b/gui/test/server_control/test_obmc_gui_manage_power_usage.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Manage_Power_Usage
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_reboot_bmc.robot b/gui/test/server_control/test_obmc_gui_reboot_bmc.robot
index a26c46d..a65f0df 100644
--- a/gui/test/server_control/test_obmc_gui_reboot_bmc.robot
+++ b/gui/test/server_control/test_obmc_gui_reboot_bmc.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Reboot_BMC
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_server_led.robot b/gui/test/server_control/test_obmc_gui_server_led.robot
index ac0677f..50b2fe8 100644
--- a/gui/test/server_control/test_obmc_gui_server_led.robot
+++ b/gui/test/server_control/test_obmc_gui_server_led.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Server_Led
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_server_power_operations.robot b/gui/test/server_control/test_obmc_gui_server_power_operations.robot
index dad0332..d3c2e3e 100644
--- a/gui/test/server_control/test_obmc_gui_server_power_operations.robot
+++ b/gui/test/server_control/test_obmc_gui_server_power_operations.robot
@@ -7,6 +7,7 @@
Test Teardown Close Browser
+Test Tags OBMC_GUI_Server_Power_Operations
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_sol_console.robot b/gui/test/server_control/test_obmc_gui_sol_console.robot
index 1b92132..cab1a9a 100644
--- a/gui/test/server_control/test_obmc_gui_sol_console.robot
+++ b/gui/test/server_control/test_obmc_gui_sol_console.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_SOL_Console
*** Variables ***
diff --git a/gui/test/server_control/test_obmc_gui_virtual_media.robot b/gui/test/server_control/test_obmc_gui_virtual_media.robot
index e09d6d3..4fffc8c 100644
--- a/gui/test/server_control/test_obmc_gui_virtual_media.robot
+++ b/gui/test/server_control/test_obmc_gui_virtual_media.robot
@@ -8,6 +8,7 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Virtual_Media
*** Variables ***
diff --git a/gui/test/server_health/test_obmc_gui_hardware_status.robot b/gui/test/server_health/test_obmc_gui_hardware_status.robot
index 21a0b11..7ce7774 100644
--- a/gui/test/server_health/test_obmc_gui_hardware_status.robot
+++ b/gui/test/server_health/test_obmc_gui_hardware_status.robot
@@ -8,6 +8,8 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Hardware_Status
+
*** Variables ***
${xpath_select_server_health} //*[@id="nav__top-level"]/li[2]/button
diff --git a/gui/test/server_health/test_obmc_gui_sensors.robot b/gui/test/server_health/test_obmc_gui_sensors.robot
index 5575b89..03fae1c 100644
--- a/gui/test/server_health/test_obmc_gui_sensors.robot
+++ b/gui/test/server_health/test_obmc_gui_sensors.robot
@@ -8,6 +8,8 @@
Suite Teardown Close Browser
Test Setup Test Setup Execution
+Test Tags OBMC_GUI_Sensors
+
*** Variables ***
${xpath_select_server_health} //*[@id="nav__top-level"]/li[2]/button
${xpath_select_sensors} //a[@href='#/server-health/sensors-overview']
diff --git a/gui/test/server_overview/test_obmc_gui_server_overview.robot b/gui/test/server_overview/test_obmc_gui_server_overview.robot
index db921f5..6257e9a 100644
--- a/gui/test/server_overview/test_obmc_gui_server_overview.robot
+++ b/gui/test/server_overview/test_obmc_gui_server_overview.robot
@@ -7,6 +7,8 @@
Test Setup Test Setup Execution ${OBMC_PowerOff_state}
Test Teardown Test Teardown Execution
+Test Tags OBMC_GUI_Server_Overview
+
*** Variables ***
${xpath_select_overview_1} //*[@href="#/overview/server"]
${string_content} witherspoon
diff --git a/redfish/extended/test_bmc_dump.robot b/redfish/extended/test_bmc_dump.robot
index 694eeb8..699c3dd 100644
--- a/redfish/extended/test_bmc_dump.robot
+++ b/redfish/extended/test_bmc_dump.robot
@@ -14,6 +14,8 @@
Test Setup Open Connection And Log In
Test Teardown Test Teardown Execution
+Test Tags BMC_Dump
+
*** Test Cases ***
Verify Dump After Host Watchdog Error Injection
diff --git a/redfish/managers/test_bmc_network_protocol.robot b/redfish/managers/test_bmc_network_protocol.robot
index e1e68ec..ea771c1 100644
--- a/redfish/managers/test_bmc_network_protocol.robot
+++ b/redfish/managers/test_bmc_network_protocol.robot
@@ -10,6 +10,7 @@
Suite Setup Suite Setup Execution
Suite Teardown Suite Teardown Execution
+Test Tags BMC_Network_Protocol
*** Variables ***
diff --git a/redfish/managers/test_managers_bmc.robot b/redfish/managers/test_managers_bmc.robot
index 290a3ba..3c8e6f4 100644
--- a/redfish/managers/test_managers_bmc.robot
+++ b/redfish/managers/test_managers_bmc.robot
@@ -12,6 +12,7 @@
Test Setup Test Setup Execution
Test Teardown Test Teardown Execution
+Test Tags Managers_BMC
*** Variables ***
diff --git a/redfish/managers/test_multiple_interfaces.robot b/redfish/managers/test_multiple_interfaces.robot
index b0a70b9..5e50b5d 100644
--- a/redfish/managers/test_multiple_interfaces.robot
+++ b/redfish/managers/test_multiple_interfaces.robot
@@ -25,6 +25,8 @@
Test Teardown Run Keywords FFDC On Test Case Fail AND Redfish.Logout AND Redfish1.Logout
Suite Teardown Run Keywords Redfish1.Logout AND Redfish.Logout
+Test Tags Multiple_Interfaces
+
*** Variables ***
${cmd_prefix} ipmitool -I lanplus -C 17 -p 623 -U ${IPMI_USERNAME} -P ${IPMI_PASSWORD}
diff --git a/redfish/service_root/test_service_root_security.robot b/redfish/service_root/test_service_root_security.robot
index 12f12b9..61612ff 100644
--- a/redfish/service_root/test_service_root_security.robot
+++ b/redfish/service_root/test_service_root_security.robot
@@ -7,6 +7,8 @@
Test Teardown FFDC On Test Case Fail
Test Setup Printn
+Test Tags Service_Root_Secuirity
+
*** Variables ***
${LOGIN_SESSION_COUNT} ${50}
diff --git a/redfish/service_root/test_sessions_connection.robot b/redfish/service_root/test_sessions_connection.robot
index e371ddc..01f8328 100644
--- a/redfish/service_root/test_sessions_connection.robot
+++ b/redfish/service_root/test_sessions_connection.robot
@@ -10,6 +10,7 @@
Test Setup Printn
Test Teardown FFDC On Test Case Fail
+Test Tags Sessions_Connection
*** Variables ***
diff --git a/redfish/service_root/test_sessions_management.robot b/redfish/service_root/test_sessions_management.robot
index c933b54..ed2a938 100644
--- a/redfish/service_root/test_sessions_management.robot
+++ b/redfish/service_root/test_sessions_management.robot
@@ -10,6 +10,7 @@
Test Setup Printn
Test Teardown FFDC On Test Case Fail
+Test Tags Sessions_Management
*** Variables ***
diff --git a/redfish/systems/test_alternate_fan_settings.robot b/redfish/systems/test_alternate_fan_settings.robot
index 6212c6f..6157350 100755
--- a/redfish/systems/test_alternate_fan_settings.robot
+++ b/redfish/systems/test_alternate_fan_settings.robot
@@ -16,6 +16,7 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Alternate_Fan_Settings
*** Variables ***
diff --git a/redfish/systems/test_led_indicator_asserted.robot b/redfish/systems/test_led_indicator_asserted.robot
index df1f4da..e1ef718 100755
--- a/redfish/systems/test_led_indicator_asserted.robot
+++ b/redfish/systems/test_led_indicator_asserted.robot
@@ -16,6 +16,7 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Led_Indicator_Asserted
*** Test Cases ***
diff --git a/redfish/systems/test_power_control_metrics.robot b/redfish/systems/test_power_control_metrics.robot
index e922ac4..239a89f 100755
--- a/redfish/systems/test_power_control_metrics.robot
+++ b/redfish/systems/test_power_control_metrics.robot
@@ -11,6 +11,7 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Power_Control_Metrics
*** Test Cases ***
diff --git a/redfish/systems/test_power_operations.robot b/redfish/systems/test_power_operations.robot
index 91a9eca..31c1438 100644
--- a/redfish/systems/test_power_operations.robot
+++ b/redfish/systems/test_power_operations.robot
@@ -8,6 +8,8 @@
Test Setup Test Setup Execution
Test Teardown Test Teardown Execution
+Test Tags Power_Operations
+
*** Variables ***
# Extended code to check OCC state, power metric and others.
diff --git a/redfish/systems/test_power_voltage_readings.robot b/redfish/systems/test_power_voltage_readings.robot
index 157955f..e641864 100755
--- a/redfish/systems/test_power_voltage_readings.robot
+++ b/redfish/systems/test_power_voltage_readings.robot
@@ -11,6 +11,7 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Power_Voltage_Readings
*** Test Cases ***
diff --git a/redfish/systems/test_powersubsystem_settings.robot b/redfish/systems/test_powersubsystem_settings.robot
index c38dbe1..f6576d9 100755
--- a/redfish/systems/test_powersubsystem_settings.robot
+++ b/redfish/systems/test_powersubsystem_settings.robot
@@ -11,6 +11,8 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Powersubsystem_Settings
+
*** Variables ***
# Power Mode Settings
diff --git a/redfish/systems/test_powersupply_readings.robot b/redfish/systems/test_powersupply_readings.robot
index 4c67075..51abaea 100755
--- a/redfish/systems/test_powersupply_readings.robot
+++ b/redfish/systems/test_powersupply_readings.robot
@@ -11,6 +11,7 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Powersupply_Readings
*** Test Cases ***
diff --git a/redfish/systems/test_sensor_monitoring.robot b/redfish/systems/test_sensor_monitoring.robot
index 4115804..36dff79 100644
--- a/redfish/systems/test_sensor_monitoring.robot
+++ b/redfish/systems/test_sensor_monitoring.robot
@@ -9,6 +9,8 @@
Test Setup Test Setup Execution
Test Teardown Test Teardown Execution
+Test Tags Sensor_Monitoring
+
*** Variables ***
@{INVALID_SENSORS}
diff --git a/redfish/systems/test_systems_inventory.robot b/redfish/systems/test_systems_inventory.robot
index 9b940aa..7142790 100755
--- a/redfish/systems/test_systems_inventory.robot
+++ b/redfish/systems/test_systems_inventory.robot
@@ -11,6 +11,8 @@
Test Setup Printn
Test Teardown Test Teardown Execution
+Test Tags Systems_Inventory
+
*** Variables ***
# The passing criteria. Must have at least this many.
diff --git a/redfish/systems/test_thermal_ambient_temperatures.robot b/redfish/systems/test_thermal_ambient_temperatures.robot
index 1f29aad..8ac3289 100755
--- a/redfish/systems/test_thermal_ambient_temperatures.robot
+++ b/redfish/systems/test_thermal_ambient_temperatures.robot
@@ -14,6 +14,7 @@
Test Setup Redfish Purge Event Log
Test Teardown Test Teardown Execution
+Test Tags Thermal_Ambient_Temperatures
*** Test Cases ***
diff --git a/redfish/test_xit.robot b/redfish/test_xit.robot
index 318f1bf..132858d 100644
--- a/redfish/test_xit.robot
+++ b/redfish/test_xit.robot
@@ -7,6 +7,8 @@
Test Teardown Test Teardown Execution
+Test Tags Test_XIT
+
*** Variables ***
# Error strings to check from journald.
diff --git a/security/test_ssl.robot b/security/test_ssl.robot
index 3b74f05..1abc4ab 100644
--- a/security/test_ssl.robot
+++ b/security/test_ssl.robot
@@ -7,6 +7,8 @@
Resource ../lib/openbmc_ffdc.robot
Test Teardown FFDC On Test Case Fail
+Test Tags Test_SSL
+
*** Test Cases ***
Test SSL Connection
diff --git a/systest/collection/bmc_collect_esels.robot b/systest/collection/bmc_collect_esels.robot
index bbf35d2..55e436d 100644
--- a/systest/collection/bmc_collect_esels.robot
+++ b/systest/collection/bmc_collect_esels.robot
@@ -11,6 +11,8 @@
Suite Teardown Suite Teardown Execution
Test Setup Printn
+Test Tags BMC_Collect_Esels
+
*** Variables ***
${QUIET} ${1}
${error_logs_flagged_rest} Rest error log collection excluded
diff --git a/systest/collection/bmc_collect_sensors.robot b/systest/collection/bmc_collect_sensors.robot
index 7cac40f..b9c0fe8 100644
--- a/systest/collection/bmc_collect_sensors.robot
+++ b/systest/collection/bmc_collect_sensors.robot
@@ -13,6 +13,8 @@
Suite Teardown Suite Teardown Execution
Test Setup Printn
+Test Tags BMC_Collect_Sensors
+
*** Variables ***
${QUIET} ${1}
${sensors_values_rest} Rest sensors collection excluded
diff --git a/systest/collection/bmc_collect_vpd_and_hw_status.robot b/systest/collection/bmc_collect_vpd_and_hw_status.robot
index e2a19c5..cf003f3 100644
--- a/systest/collection/bmc_collect_vpd_and_hw_status.robot
+++ b/systest/collection/bmc_collect_vpd_and_hw_status.robot
@@ -11,6 +11,8 @@
Suite Teardown Suite Teardown Execution
Test Setup Printn
+Test Tags BMC_Collect_VPD_And_HW_Status
+
*** Variables ***
${QUIET} ${1}
${rest_collected_values} Rest collection excluded