Conversation
Add progress bars to the CLI only output from CBT to better show progress to the user. It includes an estimated time for the run as well as percentage through the currnt task and the overall run. IBM Bob 2.0.1 and 2.0.3 were used to help with the change Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
harriscr
force-pushed
the
ch_wip_logging
branch
from
September 15, 2026 18:50
3686670 to
91ea4b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With PR #364 the cli output to the screen was reduced to show progress through the code, but remove all the extra debug statements to a log file. There is still an improvement that can be made though, showing how far through a particular CBT run we are as this is not obvious.
To do this we can add progress bars to the CLI output to give the user a better idea of how long their run may take, and how far through it they are. The bars are not shown when run through the teuthology suite as this would make the output less readable.
IBM Bob 2.0.1 and 2.0.3 were used to help with the change
###Example output###
###Testing###
All existing unit tests pass, and additional unit tests have been added for any new classes created.
Black, ruff, mypy and pylint all pass