Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1300

openshift-tests panic when checking cluster infrastructure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • None
    • None
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 237

      Description of problem:

      Since the introduction of https://github.com/openshift/origin/pull/27570 the openshift-tests binary now looks for the cluster infra resource for later usage (setting TEST_PROVIDER env var when running run-test command to inject details about the cluster). Since microshift does not have this resource the returned value is nil and it panics when its used later in the code.

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

       

      How reproducible:

      Run openshift-tests and it immediately panics

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

            pacevedo@redhat.com Pablo Acevedo Montserrat
            pacevedo@redhat.com Pablo Acevedo Montserrat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: