Hide Forgot
Description of problem: cnf-tests suite did not pass the test where verifies hugepages configured in the server against the ones requested in the performance profile CR. Version-Release number of selected component (if applicable): quay.io/openshift-kni/cnf-tests:latest How reproducible: Steps to Reproduce: 1. Install the performance addon operator 2. Configure the performanceprofile requesting hugepages distributed across two or more NUMA nodes 3. Run cnf-tests Actual results: • Failure [9.086 seconds] [performance]Hugepages /go/src/github.com/openshift-kni/cnf-features-deploy/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/hugepages.go:28 [rfe_id:27369]when NUMA node specified /go/src/github.com/openshift-kni/cnf-features-deploy/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/hugepages.go:52 [test_id:27752][crit:high][vendor:cnf-qe][level:acceptance] should be allocated on the specifed NUMA node [It] /go/src/github.com/openshift-kni/cnf-features-deploy/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/hugepages.go:53 The number of available hugepages should be equal to the number in performance profile Expected <int32>: 16 to equal <int32>: 8 Expected results: The total amount of hugepages is 16 distributed. They are requested 8 GB in 2 NUMA nodes. This is actually the performanceprofile CR: hugepages: defaultHugepagesSize: 1G pages: - count: 8 node: 0 size: 1G - count: 8 node: 1 size: 1G  Additional info: background information regarding distributing hugepages along NUMA nodes: https://github.com/openshift-kni/performance-addon-operators/issues/279
Martin: assigning it to you since this is on the performance side
Yeah, the test does not expect NUMA separation it seems. This code compares the total per-size with the requests that are per NUMA node: https://github.com/openshift-kni/performance-addon-operators/blob/master/functests/1_performance/hugepages.go#L54
PR with test fix: https://github.com/openshift-kni/performance-addon-operators/pull/412
Verified fix - test works well