Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

utils.py

  • Thomas Woerner's avatar
    3dfa026e
    Truncate stdout and stderr in upstream test log · 3dfa026e
    Thomas Woerner authored
    Truncate stdout and stderr in the way that it hopefully shows all
    important information. At least 15 lines of stdout (Ansible tasks) and
    remaining from stderr to fill up to maxlen size.
    
    The test log mostly only showed lines from stderr as the log was a
    concatenation of stdout and stderr and only the last 2500 chars of this
    have been used. This was hiding the test result from stdout and failures
    have not beeen visible.
    3dfa026e
    History
    Truncate stdout and stderr in upstream test log
    Thomas Woerner authored
    Truncate stdout and stderr in the way that it hopefully shows all
    important information. At least 15 lines of stdout (Ansible tasks) and
    remaining from stderr to fill up to maxlen size.
    
    The test log mostly only showed lines from stderr as the log was a
    concatenation of stdout and stderr and only the last 2500 chars of this
    have been used. This was hiding the test result from stdout and failures
    have not beeen visible.