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

OCP-70878 failed with error: fail [runtime/panic.go:114]: Test Panicked: runtime error: index out of range [0] with length 0

XMLWordPrintable

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: What actions or circumstances cause this bug to present.
      *Consequence*: What happens when the bug presents.
      *Fix*: What was done to fix the bug.
      *Result*: Bug doesn’t present anymore.
      Show
      *Cause*: What actions or circumstances cause this bug to present. *Consequence*: What happens when the bug presents. *Fix*: What was done to fix the bug. *Result*: Bug doesn’t present anymore.
    • Bug Fix
    • In Progress
    • Release Notes
    • Customer Facing

      Description of problem:

      When use wrong format for `file:/` , the oc-mirror command is stuck: 
      `oc-mirror -c config-op.yaml file:/outocp --v2`

       

       

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

      oc-mirror 4.16

      How reproducible:

      always

      Steps to Reproduce:

      1) Use following isc to do mirror2disk for v2:  
      apiVersion: mirror.openshift.io/v2alpha1
      kind: ImageSetConfiguration
      mirror:
        platform:
          architectures:
            - "amd64"
          channels:
            - name: stable-4.15
              minVersion: 4.15.2
              maxVersion: 4.15.5
      `oc-mirror --config config.yaml file:/outocp  --v2`
      
      

       

      Actual results: 

      1) mirror command stuck

      Expected results:

      1) should print error

      Additional information:

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              yinzhou@redhat.com ying zhou
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: