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

The in-memory output of Oc Logs command should be limited in CI

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • uShift Sprint 247
    • None
    • None
    • None

      Description of problem:

      Stdout of the command `oc logs -n "openshift-ingress" "deployment/router-default"` may be too big, which may cause RF output buffers to get full and hang.
      

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

      4.16, 4.15
      

      How reproducible:

      Occasionally in CI
      

      Steps to Reproduce:

      1. CI
      
      

      Additional info:

      See https://robotframework.org/robotframework/latest/libraries/Process.html

      Standard output and error streams
      By default processes are run so that their standard output and standard error streams are kept in the memory. This works fine normally, but if there is a lot of output, the output buffers may get full and the program can hang.
      
      To avoid the above mentioned problems, it is possible to use stdout and stderr arguments to specify files on the file system where to redirect the outputs. This can also be useful if other processes or other keywords need to read or manipulate the outputs somehow.
      

              eslutsky Evgeny Slutsky
              eslutsky Evgeny Slutsky
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: