Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-3015

Minor test fixes related to getting updated profile and checking kubeletconfiguration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • None
    • 4.11.z
    • None

    Description

      This bug is a backport clone of [Bugzilla Bug 2115802](https://bugzilla.redhat.com/show_bug.cgi?id=2115802). The following is the description of the original bug:

      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

      Attachments

        Issue Links

          Activity

            People

              msivak@redhat.com Martin Sivak
              openshift-crt-jira-prow OpenShift Prow Bot
              Mallapadi Niranjan Mallapadi Niranjan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: