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

[Tier2] [Tracker] add retry mechanism to handle transient urllib3 errors causing test failures - after test was removed from gating

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • CNV v4.19.0, CNV v4.20.0
    • None
    • CNV Storage Sprint 279, CNV Storage Sprint 280
    • None

      test test_unprivileged_user_clone_dv_same_namespace_positive  is removed / in progress of removing it from gating becasue it fails and non stability, PR of removing it from gating 

       test fail because of urllib3 exception while trying to create DV

      failed on setup with "urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))"

      logs:

      https://reportportal-cnv.apps.dno.ocp-hub.prod.psi.redhat.com/ui/#cnv/launches/all/144976/?item0Params=filter.in.status%3DFAILED%26page.page%3D1

      https://jenkins-csb-cnvqe-main.dno.corp.redhat.com/job/test-pytest-cnv-4.19-storage-gating/219/testReport/tests.storage.restricted_namespace_cloning/test_restricted_namespace_cloning/test_unprivileged_user_clone_dv_same_namespace_positive__ocs_storagecluster_ceph_rbd_virtualization__namespace0_data_volume_multi_storage_scope_module0_permissions_datavolume_source0_dv_cloned_by_unprivileged_user_in_the_same_namespace0_/

      what need to try to do here is add retry mechanism for DataVolume creation to handle transient urllib3 errors causing test failures

      fix: 
      I started to address the issue in my PR

      https://github.com/RedHatQE/openshift-virtualization-tests/pull/2592

      continue adress https://github.com/RedHatQE/openshift-virtualization-tests/pull/2592

      (update) 

      there is  planning to add  retry mechanism in the wrapper code  for all various resources, so no need to add custome  retry mechanism for this specefic test.
      so my PR wil be on hold / closed  https://github.com/RedHatQE/openshift-virtualization-tests/pull/2592 , till retry mechanism is applied to wrapper, then we can continue to custom

      wrapper PR 
      https://github.com/RedHatQE/openshift-python-wrapper/pull/2572

              rh-ee-ahafe Ahmad Hafi
              rh-ee-ahafe Ahmad Hafi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: