Bug 1889633
| Summary: | openshift4-cnf-tests | hugepages are not detected properly when requested in several NUMA nodes | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Alberto Losada <alosadag> | |
| Component: | CNF Platform Validation | Assignee: | Federico Paolinelli <fpaoline> | |
| Status: | CLOSED ERRATA | QA Contact: | Nikita <nkononov> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.6 | CC: | alukiano, aos-bugs, fpaoline, mmckiern, tradej | |
| Target Milestone: | --- | |||
| Target Release: | 4.7.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Known Issue | ||
| Doc Text: |
Cause:
Check under incorrect sys file for the amount of total and free number of hugepages.
Consequence:
The test fails when it runs on an environment with multiple NUMA nodes and a user asked to allocate hugepages on the specific NUMA node.
Workaround (if any):
It possible to skip the specific test via the ginkgo --skip parameter or just ignore the test result.
Result:
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1890087 (view as bug list) | Environment: | ||
| Last Closed: | 2021-09-28 10:27:39 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1890087 | |||
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 |
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