Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-37181

[4.14] Tier1 test: DataImportCron Succeed garbage collecting sources when importing new ones [test_id:7406] with PVC sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • CNV v4.14.3
    • CNV v4.14.2
    • Storage Platform
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Storage Core Sprint 248
    • No

      Tier1 test fails once in 10-15 runs (failed once on HPP, 3 times on OCS)

      DataImportCron Succeed garbage collecting sources when importing new ones [test_id:7406] with PVC sources

      Version: 4.14.2

      Report Portal link - with statistics

      Jenkins link - with artifacts

      Two different kinds of failure:

      1:

      /home/jenkins/agent/workspace/test-cdi-cnv-4.14-ocs/containerized-data-importer/tests/dataimportcron_test.go:586
      Datavolume not in phase succeeded in time
      Unexpected error:
          <*errors.errorString | 0xc001119c30>: {
              s: "DataVolume datasource-test-92622a46a143 not in phase Succeeded within 4m30s, actual phase=",
          }
          DataVolume datasource-test-92622a46a143 not in phase Succeeded within 4m30s, actual phase=
      occurred
      /home/jenkins/agent/workspace/test-cdi-cnv-4.14-ocs/containerized-data-importer/tests/dataimportcron_test.go:128 

      2:

      /home/jenkins/agent/workspace/test-cdi-cnv-4.14-ocs/containerized-data-importer/tests/dataimportcron_test.go:595
      Expected
          <[]v1.PersistentVolumeClaim | len:5, cap:6>: [
              {
                  TypeMeta: {Kind: "", APIVersion: ""},
                  ObjectMeta: {
                      Name: "old-version-dv",
                      GenerateName: "",
                      Namespace: "cdi-e2e-tests-dataimportcron-func-test-hfm8t",
                      SelfLink: "",
                      UID: "9a26c67e-a97d-40f9-83ad-a5d09dbff868",
                      ResourceVersion: "1691234",
                      Generation: 0,
                      CreationTimestamp: {
                          Time: 2023-12-21T06:59:32Z,
                      },
                      DeletionTimestamp: nil,
                      DeletionGracePeriodSeconds: nil,
                      Labels: {
                          "app.kubernetes.io/version": "4.14.2",
                          "cdi.kubevirt.io/dataImportCron": "",
                          "alerts.k8s.io/KubePersistentVolumeFillingUp": "disabled",
                          "app": "containerized-data-importer",
                          "app.kubernetes.io/component": "storage",
                          "app.kubernetes.io/managed-by": "cdi-controller",
                          "app.kubernetes.io/part-of": "hyperconverged-cluster",
                      },
                      Annotations: {
                          "cdi.kubevirt.io/storage.contentType": "kubevirt",
                          "cdi.kubevirt.io/storage.usePopulator": "true",
                          "volume.kubernetes.io/storage-provisioner": "openshift-storage.rbd.csi.ceph.com",
                          "cdi.kubevirt.io/storage.condition.running": "false",
                          "cdi.kubevirt.io/storage.pod.restarts": "0",
                          "cdi.kubevirt.io/storage.populator.progress": "100.0%",
                          "pv.kubernetes.io/bind-completed": "yes",
                          "pv.kubernetes.io/bound-by-controller": "yes",
                          "cdi.kubevirt.io/storage.condition.running.message": "Import Complete",
                          "cdi.kubevirt.io/storage.condition.running.reason": "Completed",
                          "cdi.kubevirt.io/storage.deleteAfterCompletion": "false",
                          "cdi.kubevirt.io/storage.pod.phase": "Succeeded",
                          "cdi.kubevirt.io/storage.preallocation.requested": "false",
                          "volume.beta.kubernetes.io/storage-provisioner": "openshift-storage.rbd.csi.ceph.com",
                      },
                      OwnerReferences: [
                          {
                              APIVersion: "cdi.kubevirt.io/v1beta1",
                              Kind: "DataVolume",
                              Name: "old-version-dv",
                              UID: "03dcd076-ca63-4f94-aecf-6a399bb53d9d",
                              Controller: true,
                              BlockOwnerDeletion: true,
                          },
                      ],
                      Finalizers: [
                          "kubernetes.io/pvc-protection",
                      ],
                      ManagedFields: [
                          {
                              Manager: "kube-controller-manager",
                              Operation: "Update",
                              APIVersion: "v1",
                              Time: {
                                  Time: 2023-12-21T06:59:48Z,
                              },
                              FieldsType: "FieldsV1",
                              FieldsV1: {
                                  Raw: "{"f:metadata":{"f:annotations":{"f:pv.kubernetes.io/bind-completed":{},"f:pv.kubernetes.io/bound-by-controller":{},"f:volume.beta.kubernetes.io/storage-provisioner":{},"f:volume.kubernetes.io/storage-provisioner":{}}},"f:spec":{"f:volumeName":{}}}",
                              },
                              Subresource: "",
                          },
                          {
                              Manager: "kube-controller-manager",
                              Operation: "Update",
                              APIVersion: "v1",
                              Time: {
                                  Time: 2023-12-21T06:59:49Z,
                              },
                              FieldsType: "FieldsV1",
                              FieldsV1: {
                                  Raw: "{"f:status":{"f:accessModes":{},"f:c...
      Gomega truncated this representation as it exceeds 'format.MaxLength'.
      Consider having the object provide a custom 'GomegaStringer' representation
      or adjust the parameters in Gomega's 'format' package.
      Learn more here: https://onsi.github.io/gomega/#adjusting-output
      to have length 4
      /home/jenkins/agent/workspace/test-cdi-cnv-4.14-ocs/containerized-data-importer/tests/dataimportcron_test.go:518 

              agilboa@redhat.com Arnon Gilboa
              jpeimer@redhat.com Jenia Peimer
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: