You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: Filter out TMT's verbose DEBUG logging in CI
TMT's queue/worker implementation (used for parallel provisioning) emits
DEBUG-level log messages using Python's standard logging format that bypass
TMT's normal formatting and filtering. These messages appear as:
DEBUG:tmt.run.logger0.provision.provision.queue: ...
This results in over 100,000 lines of debug output in CI runs, making logs
difficult to read and consuming significant storage.
The DEBUG output:
- Uses Python's default logging format, not TMT's custom formatter
- Appears regardless of TMT's -v or -d flags
- Comes from TMT's internal queue worker threads during provision steps
- Contains messages like "memory: set to '2048 MB' because of no constraints"
This fix filters out these Python logging DEBUG lines while preserving:
- TMT's normal formatted output (test results, progress, etc.)
- Actual test output and errors
- INFO, WARNING, and ERROR level messages
The root issue should be reported upstream to TMT as the queue logger
should respect TMT's debug_level settings.
Assisted-by: Claude Code (Sonnet 4.5)
0 commit comments