A local variable change was missed while merging in the ckct-on-demand
branch and an assignment was being made to a non-existant dictionary.
Fix this by using the new shortend variable.
Signed-off-by: Francis Ginther <email address hidden>
It is possible for package-version-results.json to be malformed. We
don't have strong validation on this file so be defensive. The problem
manifests because the recursive default dict returns itself which is by
definition unhashable.
lib:kernel-series -- update from latest kteam-tools
Update to the latest version of kernel-series. We also need to remove
the isort pre-commit hook because it is broken and the author will not
backport the fix to Python <3.10.
[ckct-on-demand] Add support for cbd / ci test reports
Adds support for the unofficial `t` sru cycles used to designated ci
testing via cbd. Add support for displaying results from cbd runs
including showing the cbd job id.
Signed-off-by: Francis Ginther <email address hidden>
summarize-results: explain how report is printed to console
Explain the purpose of and method used to generate pretty summary
reports on stdout. The key feature is that we're using a StringIO to
efficiently collect characters for each row in the report. We then
inspect the buffer at key points to determine how to align key columns.
Colored logs look pretty but make the code hard to read and even harder
to correctly format as a table. If we want a color in the future I
propose we delegate that to a library like pandas or tabulate since
ANSI codes mess up the column measurements.
Also add test operation to summary table so it doesn't look like each
test section is printed twice.