Skip to content

Instantly share code, notes, and snippets.

@rfairley
Last active June 29, 2018 21:56
Show Gist options
  • Save rfairley/2770a16900f30952e8f92eea1f7c0254 to your computer and use it in GitHub Desktop.
Save rfairley/2770a16900f30952e8f92eea1f7c0254 to your computer and use it in GitHub Desktop.
Kola-Output-Additions

Kola Output Additions

These are additional items I would like to see logged in the terminal, based on recent reading and getting familiar with kola and the Container Linux SDK.

Items

  1. console prompt before user input is required
  • affected commands:
    • check-console
  1. console message indicating a typically long wait time for test to finish
  • usually a wait time is before a cluster is spawning - can output a message indicating this
  • affected commands:
    • bootchart - not implementing as intended use is kola bootchart > bootchart.svg
    • spawn - already has under --verbose option
    • mkimage? - not worth adding (not long enough wait time)
  1. count of the number of tests remaining (similar idea to the ebuild script for the SDK giving number of jobs remaining)
  • affected commands:
    • run
  • can achieve this by putting something like: fmt.Fprintf(t.parent.w, "Tests remaining: %v\n", t.suite.waiting) before t.signal <- true in harness/harness.go however this may be complicating things too much as tests are not run sequentially - may not make sense
  1. console message to indicate why a test was excluded (based on filterTests)
  • affected commands:
    • run
  1. man pages which contain the same information as running --help flag on kola (?)
  • may involve build process to generate man pages
  • may be unwanted (man pages are extra + somewhat redundant bytes to ship)
  • requires sync with --help
  1. Upgrade test - loading pecentage is usually 0.28%

https://projects.engineering.redhat.com/browse/COREOS-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment