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

v2: no progress output on non-tty console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.18, 4.19
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

          If running oc-mirror on a non-tty console (e.g, a piped command, output redirected to a file or a gitlab CI/CD pipeline) there's no output at all after "images to copy" because the spinners/progress uses special characters. Users need to wait until the end of the mirror process to see if it worked or not.

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

          4.18+

      How reproducible:

          always

      Steps to Reproduce:

          1. oc-mirror [...] | grep ''
          2. oc-mirror [...] > output.log then `tail -f output.log`
          3.
          

      Actual results:

          Missing progress output

      Expected results:

          Text based output when running on non-tty

      Additional info:

      Slack thread: https://redhat-internal.slack.com/archives/C02JW6VCYS1/p1737971046844729?thread_ts=1737707353.919199&cid=C02JW6VCYS1    

              rdossant Rafael Fonseca dos Santos
              rdossant Rafael Fonseca dos Santos
              None
              None
              Rama Kasturi Narra Rama Kasturi Narra
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: