diff --git a/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py b/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py index 6fdbad04..436290b4 100644 --- a/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py +++ b/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py @@ -658,6 +658,12 @@ class NUMALiveMigrationTest(BasePinningTest): pagesize_b = numaclient_b.get_pagesize() pages_b = numaclient_b.get_hugepages() + # Need hugepages + for pages_config in pages_a, pages_b: + for numa_cell, pages in pages_config.items(): + if pages['total'] == 0: + raise self.skipException('Hugepages required') + # Need at least 2 NUMA nodes per host if len(topo_a) < 2 or len(topo_b) < 2: raise self.skipException('At least 2 NUMA nodes per host required')