Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-3156 (QE) Test automation issues and improvements
  3. OADP-4275

(QE) Stabilize ocp-todolist-mongodb-block application validation

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • 0
    • 0.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      todolist application uses buildconfig if something goes wrong it creates a new buildconfig object with different name. If it gets restarted due to any reason then it doesn't get the latest pod which causes the failure. 

      Error log

       

      2024-06-09 13:17:01,810 p=149925 u=1002280000 n=ansible | fatal: [localhost]: FAILED! => {"attempts": 30, "changed": true, "cmd": "oc --server https://api.oadp-83081.qe.devcluster.openshift.com:6443 --token sha256~EVuZOWCFe8O8Bz1I5bcWHHKN80yeoyqSGKkrQY0rKh0 -n test-oadp-492 logs todolist-1-jt6h4", "delta": "0:00:00.276658", "end": "2024-06-09 13:17:01.787781", "msg": "non-zero return code", "rc": 1, "start": "2024-06-09 13:17:01.511123", "stderr": "Error from server (NotFound): pods \"todolist-1-jt6h4\" not found", "stderr_lines": ["Error from server (NotFound): pods \"todolist-1-jt6h4\" not found"], "stdout": "", "stdout_lines": []}

       
      Oc events 

      2m4s        Normal    SuccessfulDelete         replicationcontroller/todolist-1    Deleted pod: todolist-1-jt6h4
      2m17s       Normal    Scheduled                pod/todolist-2-deploy               Successfully assigned test-oadp-492/todolist-2-deploy to ip-10-0-62-66.us-east-2.compute.internal
      2m17s       Normal    AddedInterface           pod/todolist-2-deploy               Add eth0 [10.129.2.113/23] from ovn-kubernetes
      2m17s       Normal    Pulled                   pod/todolist-2-deploy               Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:d87b9ddf5e54af1596c5118c42b066b1d80859d8f660242c5b0b65a03462ade8" already present on machine
      2m17s       Normal    Created                  pod/todolist-2-deploy               Created container deployment
      2m17s       Normal    Started                  pod/todolist-2-deploy               Started container deployment
      2m16s       Normal    Scheduled                pod/todolist-2-qrsbc                Successfully assigned test-oadp-492/todolist-2-qrsbc to ip-10-0-75-215.us-east-2.compute.internal
      2m16s       Normal    AddedInterface           pod/todolist-2-qrsbc                Add eth0 [10.131.0.153/23] from ovn-kubernetes
      2m16s       Normal    Pulling                  pod/todolist-2-qrsbc                Pulling image "registry.access.redhat.com/ubi8/ubi:latest"
      2m16s       Normal    Pulled                   pod/todolist-2-qrsbc                Successfully pulled image "registry.access.redhat.com/ubi8/ubi:latest" in 611ms (611ms including waiting)
      2m16s       Normal    Created                  pod/todolist-2-qrsbc                Created container init-myservice
      2m16s       Normal    Started                  pod/todolist-2-qrsbc                Started container init-myservice
      47s         Normal    Pulling                  pod/todolist-2-qrsbc                Pulling image "image-registry.openshift-image-registry.svc:5000/test-oadp-492/todolist-mongo-go@sha256:e9a495df99e6058734a5c8e5466d4677112f7b4e1d3d162bc01a9120b10a5d9f"
      2m4s        Normal    Pulled                   pod/todolist-2-qrsbc                Successfully pulled image "image-registry.openshift-image-registry.svc:5000/test-oadp-492/todolist-mongo-go@sha256:e9a495df99e6058734a5c8e5466d4677112f7b4e1d3d162bc01a9120b10a5d9f" in 578ms (578ms including waiting)
      47s         Normal    Created                  pod/todolist-2-qrsbc                Created container todolist
      47s         Normal    Started                  pod/todolist-2-qrsbc                Started container todolist
      94s         Normal    Pulled                   pod/todolist-2-qrsbc                Successfully pulled image "image-registry.openshift-image-registry.svc:5000/test-oadp-492/todolist-mongo-go@sha256:e9a495df99e6058734a5c8e5466d4677112f7b4e1d3d162bc01a9120b10a5d9f" in 143ms (143ms including waiting)
      5s          Warning   BackOff                  pod/todolist-2-qrsbc                Back-off restarting failed container todolist in pod todolist-2-qrsbc_test- 

       

              rhn-support-prajoshi Prasad Joshi
              rhn-support-prajoshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: