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

Hypershift test job can segfault if teardown call times out

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.22
    • HyperShift
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Proposed
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Hypershift presubmit job for openshift/kubernetes can segfault in teardown if a GetResources call times out.

      Version-Release number of selected component (if applicable):

      Testing in the 1.35 rebase PR (#2523)

      How reproducible:

      Has just happened twice in a row. Did not happen yesterday. Probably depends on cloud provider flakiness.

      Steps to Reproduce:

      Please see https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_kubernetes/2610/pull-ci-openshift-kubernetes-master-e2e-aws-ovn-hypershift/2029266084124692480 for details. It looks like if an call to cloud provider infra times out, we still use the output object even though it's nil, and then panic around https://github.com/openshift/hypershift/blame/11b52dac18213e6ebb05b478744b2d409fbfbaf8/test/e2e/util/fixture.go#L339C5-L339C5    

      Actual results:

          

      Expected results:

          

      Additional info:

          

              trking W. Trevor King
              rhn-gps-jasee Jacob See
              Zheng Feng Zheng Feng
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: