Bug 2115802

Summary: Minor test fixes related to getting updated profile and checking kubeletconfiguration
Product: OpenShift Container Platform Reporter: Niranjan Mallapadi Raghavender <mniranja>
Component: Performance Addon OperatorAssignee: Martin Sivák <msivak>
Status: CLOSED ERRATA QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11   
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:54:29 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:

Description Niranjan Mallapadi Raghavender 2022-08-05 12:28:54 UTC
Description of problem:
Minor test fixes related to getting updated profile and checking kubeletconfiguration 


Version-Release number of selected component (if applicable):
4.11.0-rc.7-


How reproducible:

Currently the following E2E test cases are failing 

[test_id:28440]Verifies that nodeSelector can be updated in performance profile 


• Failure [360.302 seconds]
 [rfe_id:28761][performance] Updating parameters in performance profile
 /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:36
   Updating of nodeSelector parameter and node labels
   /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:422
     [test_id:28440]Verifies that nodeSelector can be updated in performance profile [It]
     /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:444
 
     Expected
         <string>: kind: KubeletConfiguration
         apiVersion: kubelet.config.k8s.io/v1beta1
         authentication:
           x509:
             clientCAFile: /etc/kubernetes/kubelet-ca.crt
           anonymous:
             enabled: false
         cgroupDriver: systemd
         cgroupRoot: /
         clusterDNS:
           - 172.30.0.10
         clusterDomain: cluster.local
         containerLogMaxSize: 50Mi
         maxPods: 250
         kubeAPIQPS: 50
         kubeAPIBurst: 100
         podPidsLimit: 4096
         rotateCertificates: true
         serializeImagePulls: false
         staticPodPath: /etc/kubernetes/manifests
         systemCgroups: /system.slice
         systemReserved:
           ephemeral-storage: 1Gi
         featureGates:
           APIPriorityAndFairness: true
           RotateKubeletServerCertificate: true
           DownwardAPIHugePages: true
           PodSecurity: true
           CSIMigrationAWS: false
           CSIMigrationAzureFile: false
           CSIMigrationGCE: false
           CSIMigrationvSphere: false
         serverTLSBootstrap: true
         tlsMinVersion: VersionTLS12
         tlsCipherSuites:
           - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
           - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
           - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
           - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
           - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
           - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
     to contain substring
         <string>: topologyManagerPolicy


 • Failure [0.046 seconds]
 [rfe_id:28761][performance] Updating parameters in performance profile
 /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:36
   Updating of nodeSelector parameter and node labels
   /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:422
     [test_id:28440]Verifies that nodeSelector can be updated in performance profile [It]
     /home/jenkins/workspace/CNF/cnf-compute-4.11/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go:444
 
     Unexpected error:
         <*errors.StatusError | 0xc0005b8500>: {
             ErrStatus: {
                 TypeMeta: {Kind: "", APIVersion: ""},
                 ListMeta: {
                     SelfLink: "",
                     ResourceVersion: "",
                     Continue: "",
                     RemainingItemCount: nil,
                 },
                 Status: "Failure",
                 Message: "Operation cannot be fulfilled on nodes \"ocp411422083-worker-2.libvirt.lab.eng.tlv2.redhat.com\": the object has been modified; please apply your changes to the latest version and try again",
                 Reason: "Conflict",
                 Details: {
                     Name: "ocp411422083-worker-2.libvirt.lab.eng.tlv2.redhat.com",
                     Group: "",
                     Kind: "nodes",
                     UID: "",
                     Causes: nil,
                     RetryAfterSeconds: 0,
                 },
                 Code: 409,
             },
         }
         Operation cannot be fulfilled on nodes "ocp411422083-worker-2.libvirt.lab.eng.tlv2.redhat.com": the object has been modified; please apply your changes to the latest version and try again
     occurred

Comment 5 errata-xmlrpc 2023-01-17 19:54:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:7399