luatest icon indicating copy to clipboard operation
luatest copied to clipboard

reduce, refactor logs

Open unera opened this issue 8 months ago • 2 comments

Now if I run a cluster that contains: 2 routers, 3 storages, 1 manager, etc I see all logs. But all tests runs only one host! I want watching only test-flow from the host.

Note: From time to time I have 60-100 screens log-text about ONE FAILED TEST.

So, It would be nice:

  1. Hide all logs that generated by not luatest host
    • You can provide an option to show them, if a user wants
  2. Solve logs, that required :exec:
    • user must know about there are errors in them WITHOUT looking through logs prefixed as router 1 |, router 2 | etc
  3. All logs (that stores to /tmp/t) MUST NOT contain 'color' ESC-sequences (i.e. be grepable, printable through html, etc)

PS:

if I do

$ make test

and one test is failed, I want a mode that showes only reduced pass-failed log without spam about all problems and happen things in cluster that contains 10-20 nodes.

Please, provide an option to see what test is ok and what is failed. Let's full log be placed somewhere but not showed in terminal!

unera avatar Jun 17 '24 15:06 unera