Configure Yardstick flavor to give more RAM to ARM instances 87/36287/1
authorAlexandru Nemes <alexandru.nemes@enea.com>
Mon, 19 Jun 2017 09:04:56 +0000 (12:04 +0300)
committerAlexandru Nemes <alexandru.nemes@enea.com>
Wed, 21 Jun 2017 08:22:06 +0000 (08:22 +0000)
Yardstick TC005 fails with errors that indicate low memory conditions:
"fio: error while loading shared libraries:
librbd.so.1: cannot map zero-fill pages"
Changing the yardstick flavor to give 1024MB of RAM instead of 512MB
made this test case work.

JIRA: ARMBAND-275

Change-Id: I2193802082c28edb20004964d2df3780eb5eccb7
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
(cherry picked from commit 5c8e38667e17059db1c62dd21f868966a6b2a519)

tests/ci/load_images.sh

index 2e22b83..0ebe9b7 100755 (executable)
@@ -225,7 +225,7 @@ create_nova_flavor()
         echo
         echo "========== Creating yardstick-flavor =========="
         # Create the nova flavor used by some sample test cases
-        openstack flavor create --id 100 --ram 512 --disk 3 --vcpus 1 yardstick-flavor
+        openstack flavor create --id 100 --ram 1024 --disk 3 --vcpus 1 yardstick-flavor
         # DPDK-enabled OVS requires guest memory to be backed by large pages
         if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
             openstack flavor set --property hw:mem_page_size=large yardstick-flavor