Spdk/test/setup
Michal Berger 327f69ea41 test/setup: Account for reserved and surplus hugepages
In some occasions the total number of available hugepages increases
by the account of reserved and/or surplus hugepages allocated by the
kernel. This affects the test where it ends up with bigger number of
hugepages then actually requested via setup.sh.

Hugepages overcommitting is disabled under CI nodes, however, this
issue spontaneously appears regardless. To rectify, add the extra
hugepages while checking the expected number + some debug to see the
state of meminfo in case the test still fails.

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: If30a422240045ac188a9175eeab7210351eb34a6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13826
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-08-09 14:38:30 +00:00
..
acl.sh autotest: Skip use of any zoned nvme devices 2021-12-06 08:34:46 +00:00
common.sh test/setup: Account for reserved and surplus hugepages 2022-08-09 14:38:30 +00:00
devices.sh scripts/setup: Skip devices which have any valid data present 2022-04-06 07:21:17 +00:00
driver.sh test/setup: Check if correct driver is in use 2021-03-29 07:24:14 +00:00
hugepages.sh test/setup: Account for reserved and surplus hugepages 2022-08-09 14:38:30 +00:00
test-setup.sh test/setup: Add tests for different block devices' setups 2021-03-29 07:24:14 +00:00