diff --git a/microsoft/testsuites/core/azure_image_standard.py b/microsoft/testsuites/core/azure_image_standard.py index 84201a1fc2..464d8da3e6 100644 --- a/microsoft/testsuites/core/azure_image_standard.py +++ b/microsoft/testsuites/core/azure_image_standard.py @@ -320,7 +320,7 @@ def verify_grub(self, node: Node) -> None: 1. Get the output of command `rpm -q NetworkManager` and verify that network manager is not installed. """, - priority=1, + priority=3, requirement=simple_requirement(supported_platform_type=[AZURE, READY]), ) def verify_network_manager_not_installed(self, node: Node) -> None: @@ -482,7 +482,7 @@ def verify_dhcp_file_configuration(self, node: Node) -> None: 1. Read the `yum.conf` file and verify that "http_caching=packages" is present in the file. """, - priority=1, + priority=2, requirement=simple_requirement(supported_platform_type=[AZURE, READY]), ) def verify_yum_conf(self, node: Node) -> None: @@ -506,7 +506,7 @@ def verify_yum_conf(self, node: Node) -> None: 1. Verify that list of running process matching name of kvp daemon has length greater than zero. """, - priority=1, + priority=2, requirement=simple_requirement(supported_platform_type=[AZURE, READY]), ) def verify_hv_kvp_daemon_installed(self, node: Node) -> None: @@ -882,7 +882,7 @@ def verify_boot_error_fail_warnings(self, node: Node) -> None: 2. Pass with warning if not find it. 3. Pass with warning if the value is not between 0 and 180. """, - priority=1, + priority=2, requirement=simple_requirement(supported_platform_type=[AZURE, READY]), ) def verify_client_active_interval(self, node: Node) -> None: @@ -989,7 +989,7 @@ def verify_no_pre_exist_users(self, node: Node) -> None: 5. Verify 'WARNING: THIS IS A TEMPORARY DISK' contained in DATALOSS_WARNING_README.txt file. """, - priority=1, + priority=2, requirement=simple_requirement( disk=AzureDiskOptionSettings(has_resource_disk=True), supported_platform_type=[AZURE], diff --git a/microsoft/testsuites/core/cpu.py b/microsoft/testsuites/core/cpu.py index ebef88e597..17cd3e87f3 100644 --- a/microsoft/testsuites/core/cpu.py +++ b/microsoft/testsuites/core/cpu.py @@ -58,7 +58,7 @@ class CPU(TestSuite): 8 0 0 8 8 8 8 9 1 1 9 9 9 9 """, - priority=2, + priority=1, ) def verify_l3_cache(self, node: Node, log: Logger) -> None: cmdline = node.tools[Cat].run("/proc/cmdline").stdout @@ -107,7 +107,7 @@ def verify_l3_cache(self, node: Node, log: Logger) -> None: thread_per_core_count. 3. Judge whether the actual vCPU count equals to expected value. """, - priority=2, + priority=1, ) def verify_cpu_count(self, node: Node, log: Logger) -> None: lscpu = node.tools[Lscpu] diff --git a/microsoft/testsuites/core/gdb.py b/microsoft/testsuites/core/gdb.py index 282b76fc15..f3ec0426d8 100644 --- a/microsoft/testsuites/core/gdb.py +++ b/microsoft/testsuites/core/gdb.py @@ -40,7 +40,7 @@ class GDB(TestSuite): 3. expect to see 'Hello World![Inferior 1 (process 1869) exited normally]' from output """, - priority=1, + priority=2, ) def verify_gdb(self, node: Node) -> None: # copy hello.c into test machine diff --git a/microsoft/testsuites/core/hv_module.py b/microsoft/testsuites/core/hv_module.py index 024dd19608..22f3d1d816 100644 --- a/microsoft/testsuites/core/hv_module.py +++ b/microsoft/testsuites/core/hv_module.py @@ -43,7 +43,7 @@ class HvModule(TestSuite): matches with the Linux kernel release number. (Drivers loaded directly in to the kernel are skipped) """, - priority=1, + priority=2, ) def verify_lis_modules_version(self, node: Node) -> None: if not isinstance(node.os, Redhat): @@ -76,7 +76,7 @@ def verify_lis_modules_version(self, node: Node) -> None: 2. Find the path of initrd file 3. Use lsinitrd tool to check whether a necessary module is missing """, - priority=2, + priority=1, requirement=simple_requirement( unsupported_os=[BSD], ), diff --git a/microsoft/testsuites/core/provisioning.py b/microsoft/testsuites/core/provisioning.py index 03fa5181c4..96438eb049 100644 --- a/microsoft/testsuites/core/provisioning.py +++ b/microsoft/testsuites/core/provisioning.py @@ -167,7 +167,7 @@ def verify_deployment_provision_sriov( The test steps are almost the same as `smoke_test` except for executing reboot from Azure SDK. """, - priority=1, + priority=2, requirement=simple_requirement( environment_status=EnvironmentStatus.Deployed, supported_features=[SerialConsole, StartStop], @@ -190,7 +190,7 @@ def verify_reboot_in_platform( The test steps are almost the same as `smoke_test` except for executing stop then start from Azure SDK. """, - priority=2, + priority=1, requirement=simple_requirement( environment_status=EnvironmentStatus.Deployed, supported_features=[SerialConsole, StartStop], diff --git a/microsoft/testsuites/core/storage.py b/microsoft/testsuites/core/storage.py index a7621d4bd5..f74758fe97 100644 --- a/microsoft/testsuites/core/storage.py +++ b/microsoft/testsuites/core/storage.py @@ -65,7 +65,7 @@ class Storage(TestSuite): 2. Verify the timeout value for disk in `/sys/block//device/timeout` file is set to 300. """, - priority=1, + priority=2, requirement=simple_requirement(supported_platform_type=[AZURE]), ) def verify_disks_device_timeout_setting( diff --git a/microsoft/testsuites/kdump/kdumpcrash.py b/microsoft/testsuites/kdump/kdumpcrash.py index 51ef489857..69babfc11a 100644 --- a/microsoft/testsuites/kdump/kdumpcrash.py +++ b/microsoft/testsuites/kdump/kdumpcrash.py @@ -102,7 +102,7 @@ def verify_kdumpcrash_single_core( trigger kdump on the second cpu(cpu1), which is designed by a known issue. The test steps are same as `kdumpcrash_validate_single_core`. """, - priority=1, + priority=2, requirement=node_requirement( node=schema.NodeSpace( core_count=search_space.IntRange(min=2, max=8), @@ -134,7 +134,7 @@ def verify_kdumpcrash_on_random_cpu( trigger kdump on the 33th cpu(cpu32), which is designed by a known issue. The test steps are same as `kdumpcrash_validate_single_core`. """, - priority=1, + priority=2, requirement=node_requirement( node=schema.NodeSpace(core_count=search_space.IntRange(min=33, max=192)) ), diff --git a/microsoft/testsuites/lis/lissuite.py b/microsoft/testsuites/lis/lissuite.py index 12ab5c8403..a9d4abc9ca 100644 --- a/microsoft/testsuites/lis/lissuite.py +++ b/microsoft/testsuites/lis/lissuite.py @@ -50,7 +50,7 @@ class Lis(TestSuite): 3. For each rhel version (5,6,7), it downloads the header file and compares the LIS version in the header file with the LIS version installed """, - priority=1, + priority=2, ) def verify_lis_driver_version(self, node: Node, log: Logger) -> None: cat = node.tools[Cat] diff --git a/microsoft/testsuites/network/sriov.py b/microsoft/testsuites/network/sriov.py index 9abf980d6f..2b8aca6de9 100644 --- a/microsoft/testsuites/network/sriov.py +++ b/microsoft/testsuites/network/sriov.py @@ -444,7 +444,7 @@ def verify_sriov_provision_with_max_nics_stop_start_from_platform( 3. Remove sriov module, check network traffic through synthetic nic. 4. Load sriov module, check network traffic through VF. """, - priority=2, + priority=1, requirement=simple_requirement( min_count=2, min_nic_count=8, diff --git a/microsoft/testsuites/osu/osusuite.py b/microsoft/testsuites/osu/osusuite.py index 5cb5ce3fa6..b16a50df6b 100644 --- a/microsoft/testsuites/osu/osusuite.py +++ b/microsoft/testsuites/osu/osusuite.py @@ -54,7 +54,7 @@ class OSUTestSuite(TestSuite): requirement=simple_requirement( supported_features=[GpuEnabled(), SerialConsole], ), - priority=1, + priority=2, ) def perf_mpi_operations(self, node: Node, log: Logger, log_path: Path) -> None: _install_osu_mpi(node)