Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce default log verbosity for itests #12565

Open
2 tasks
masih opened this issue Oct 8, 2024 · 1 comment
Open
2 tasks

Reduce default log verbosity for itests #12565

masih opened this issue Oct 8, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@masih
Copy link
Member

masih commented Oct 8, 2024

The log output for itests is so verbose that in cases GitHub Actions UI recommends downloading the log to look at it as it refuses to render it all on the page. They make seeing the cause of failures cumbersome.

  • Change the default log levels for itests to print nothing.
  • Add utilities to easily enable verbose logging manually for failing tests.
@masih masih added the good first issue Good for newcomers label Oct 8, 2024
@rjan90
Copy link
Contributor

rjan90 commented Oct 8, 2024

2024-10-08:
From triage meeting:

  • Ideally on failure get debug logs, else print nothing
  • Dump all logs to a file as a test artifact that way if there is a failure it can still be seen but it doesn't clutter standard output in GitHub UI. (This was the recommended approach in the UI.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 🐱 Todo
Development

No branches or pull requests

2 participants