Bug 1946589

Summary: Performance CPU load balancing disabling test is failing when running cnf-tests in discovery mode
Product: OpenShift Container Platform Reporter: Sabina Aledort <saledort>
Component: CNF Platform ValidationAssignee: Swati Sehgal <swsehgal>
Status: CLOSED DUPLICATE QA Contact: Nikita <nkononov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-08 12:47:49 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:
Attachments:
Description Flags
functests-cn-ran-du.log
none
tests-artifacts
none
PAO must gather none

Description Sabina Aledort 2021-04-06 13:08:37 UTC
Description of problem:
Performance CPU load balancing disabling test is failing when running cnf-tests in discovery mode.

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-03-092337
CNF tests image: registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-19

How reproducible:
Run containerised tests in discovery mode against existing 4.8 clusters.

Steps to Reproduce:
Run containerised tests in discovery mode against existing 4.8 clusters for performance addon operator feature:

podman run -v /root/cnf_ci/cnf-internal-deploy/_cache/:/kubeconfig:Z -v /tmp/artifacts/cn-ran-du:/reports:Z -e CLEAN_PERFORMANCE_PROFILE=false -e CNF_TESTS_IMAGE=openshift4-cnf-tests:v4.8.0-19 -e DPDK_TESTS_IMAGE=dpdk-base:v4.8.0-2 -e IMAGE_REGISTRY=registry-proxy.engineering.redhat.com/rh-osbs/ -e KUBECONFIG=/kubeconfig/kubeconfig -e SCTPTEST_HAS_NON_CNF_WORKERS=false -e DISCOVERY_MODE=true -e NODES_SELECTOR=node-role.kubernetes.io/worker-duprofile= -e ROLE_WORKER_CNF=worker-duprofile -e LATENCY_TEST_RUN=false -e LATENCY_TEST_RUNTIME=600 -e OSLAT_MAXIMUM_LATENCY=200 registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-19 /usr/bin/test-run.sh -ginkgo.focus 'performance|ptp|sriov|sctp|dpdk|ovn' -junit /reports/ -report /reports/

Actual results:
• Failure [607.314 seconds]
[rfe_id:27363][performance] CPU Management
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/cpu_management.go:38
  when pod runs with the CPU load balancing runtime class
  /remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/cpu_management.go:208
    [test_id:32646] should disable CPU load balancing for CPU's used by the pod [It]
    /remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/cpu_management.go:272

    Unexpected error:
        <*errors.errorString | 0xc0002a4c10>: {
            s: "timed out waiting for the condition",
        }
        timed out waiting for the condition
    occurred

    /remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/1_performance/cpu_management.go:278

Expected results:
The test should pass.

Comment 1 Sabina Aledort 2021-04-06 13:10:57 UTC
Created attachment 1769564 [details]
functests-cn-ran-du.log

Comment 2 Sabina Aledort 2021-04-06 13:12:15 UTC
Created attachment 1769565 [details]
tests-artifacts

Comment 3 Martin Sivák 2021-04-08 09:00:14 UTC
I believe this is related to bug 1946584

Comment 4 Sabina Aledort 2021-04-08 11:43:19 UTC
Created attachment 1770213 [details]
PAO must gather

Comment 5 Swati Sehgal 2021-04-08 12:47:13 UTC
Right, Looks like we time out here waiting for the pod to be created as KubeletConfig was not applied. Looks like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1946584.

Comment 6 Swati Sehgal 2021-04-08 12:47:49 UTC

*** This bug has been marked as a duplicate of bug 1946584 ***